266 failures - Build all projects failed on macOS

I'm not sure if this is the right place to ask these kind of questions. I didn't find any tags for swift compilation on StackOverflow.

I'm trying to compile Swift on my computer and work on some beginner bugs.
However, it's been a couple days that I can't figure out why it's not compiling it.

Most of the errors I'm facing are related to missing [lots of] files. I can't seem to find the reason, neither how to get those files created.

I've run these commands:
cd ~workspace/open-source-workspace/swift-source
rm -rf build
sudo xcode-select -switch /Applications/Xcode-beta.app/Contents/Developer/
./swift/utils/update-checkout --clone-with-ssh
./swift/utils/build-script --release-debuginfo -x -c

The logs are in the txt file hosted on drive below.
https://drive.google.com/open?id=1YvPKZCh4RjfhErmeL6sdgvuAqIlP_qDw

Any suggestions of how can I troubleshoot it? Is there a proper place to have this sort of discussion?

Rafael Guerreiro

I'm pasting one of the errors as example, so it will probably show up on searches indexes.

cd /Users/rguerreiro/workspace/open-source-workspace/swift-source/swift
    export MACOSX_DEPLOYMENT_TARGET=10.14
    /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -L/Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/bin -L/Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/RelWithDebInfo -L/Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib -F/Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/bin -filelist /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/tools/swift-refactor/Swift.build/RelWithDebInfo/swift-refactor.build/Objects-normal/x86_64/swift-refactor.LinkFileList -Xlinker -rpath -Xlinker /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib -mmacosx-version-min=10.14 -Xlinker -object_path_lto -Xlinker /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/tools/swift-refactor/Swift.build/RelWithDebInfo/swift-refactor.build/Objects-normal/x86_64/swift-refactor_lto.o -stdlib=libc++ -L/Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/swift/macosx -target x86_64-apple-macosx10.9 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/../../../Developer/Library/Frameworks -mmacosx-version-min=10.9 -Xlinker -rpath -Xlinker @executable_path/../lib/swift/macosx -Wl,-search_paths_first -Wl,-headerpad_max_install_names /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftDriver.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftFrontend.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftIDE.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftMigrator.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftFrontend.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftIDE.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftMigrator.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftParseSIL.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftSIL.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftSema.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftSerialization.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftClangImporter.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftParse.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftIndex.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftAST.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftMarkup.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/cmark-macosx-x86_64/src/RelWithDebInfo/libcmark.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftSyntax.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMDebugInfoDWARF.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMX86CodeGen.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMX86AsmParser.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMX86Desc.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMX86AsmPrinter.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMX86Disassembler.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMX86Info.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMX86Utils.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMARMCodeGen.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMARMAsmParser.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMARMDisassembler.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMARMDesc.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMARMAsmPrinter.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMARMInfo.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMARMUtils.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMAArch64CodeGen.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMGlobalISel.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMAArch64AsmParser.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMAArch64Disassembler.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMAArch64Desc.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMAArch64AsmPrinter.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMAArch64Info.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMAArch64Utils.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMPowerPCCodeGen.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMPowerPCAsmParser.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMPowerPCDesc.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMPowerPCAsmPrinter.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMPowerPCDisassembler.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMPowerPCInfo.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMSystemZCodeGen.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMSystemZAsmParser.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMSystemZDisassembler.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMSystemZDesc.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMSystemZAsmPrinter.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMSystemZInfo.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMMipsCodeGen.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMAsmPrinter.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMDebugInfoCodeView.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMDebugInfoMSF.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMSelectionDAG.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMMipsAsmParser.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMMipsDesc.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMMipsAsmPrinter.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMMipsDisassembler.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMMCDisassembler.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMMipsInfo.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangFrontendTool.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangCodeGen.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMCoroutines.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMCoverage.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMLTO.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMObjCARCOpts.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMPasses.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMipo.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMIRReader.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMAsmParser.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMInstrumentation.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMLinker.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMCodeGen.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMBitWriter.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMScalarOpts.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMInstCombine.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMVectorize.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMTransformUtils.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMTarget.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMAnalysis.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMObject.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangARCMigrate.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangStaticAnalyzerFrontend.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangStaticAnalyzerCheckers.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangStaticAnalyzerCore.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangCrossTU.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangIndex.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangFormat.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangToolingCore.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangASTMatchers.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangRewriteFrontend.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangFrontend.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMProfileData.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangDriver.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMOption.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangParse.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMMCParser.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangSerialization.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangSema.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangAnalysis.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangEdit.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangRewrite.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangAST.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangLex.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangAPINotes.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMBitReader.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libclangBasic.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMMC.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMCore.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMBinaryFormat.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftOption.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftBasic.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMSupport.a -lz -lcurses -lm /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/llvm-macosx-x86_64/RelWithDebInfo/lib/libLLVMDemangle.a /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftDemangling.a -Xlinker -dependency_info -Xlinker /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/tools/swift-refactor/Swift.build/RelWithDebInfo/swift-refactor.build/Objects-normal/x86_64/swift-refactor_dependency_info.dat -o /Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/bin/swift-refactor
clang: error: no such file or directory: '/Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftSyntax.a'
clang: error: no such file or directory: '/Users/rguerreiro/workspace/open-source-workspace/swift-source/build/Xcode-RelWithDebInfoAssert/swift-macosx-x86_64/RelWithDebInfo/lib/libswiftBasic.a'

@Xi_Ge do we have a dependency issue with libsyntax when building with Xcode?

We should have no problems building with Xcode. @rguerreiro could you do a clean build and see if the error persists?

I wiped out the swift-source folder and downloaded everything from scratch.
Then I ran the same commands.

sudo xcode-select -switch /Applications/Xcode-beta.app/Contents/Developer/
./swift/utils/build-script --release-debuginfo -x -c

I got the same error messages and 266 failures.
I'll try to run a clean build without xcode option.

-- EDIT

Building it without the xcode option seemed to have worked. But I still am unable to build with XCode.

Seems to be a problem with building for Xcode:


JIRA tickets have been created:
https://bugs.swift.org/browse/SR-7959
https://bugs.swift.org/browse/SR-7961

Terms of Service

Privacy Policy

Cookie Policy