Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-12807] Compiler Build Fails #55252

Closed
swift-ci opened this issue May 13, 2020 · 1 comment
Closed

[SR-12807] Compiler Build Fails #55252

swift-ci opened this issue May 13, 2020 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-12807
Radar None
Original Reporter Wildchild9 (JIRA User)
Type Bug
Status Resolved
Resolution Duplicate

Attachment: Download

Environment
  • Xcode version 11.4.1 (11E503a)

  • macOS Catalina 10.15.4 (19E287)

  • Swift version 5.2.2

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug
Assignee Wildchild9 (JIRA)
Priority Medium

md5: 59cb163ad51cb2be76f88fd98fdfc600

is duplicated by:

  • SR-12726 Can't build apple/swift master on macOS with Command Line Tools installed

Issue Description:

I tried to build the compiler for the first time and ran into an error.

Here is what I did before building the compiler:

mkdir swift-source && cd swift-source
# Forked the Swift project on GitHub
git clone https://github.com/Wildchild9/swift.git         
cd swift
git remote add upstream https://github.com/apple/swift.git
utils/update-checkout --clone

All of this seemed to work without issue. After this, I attempted to build the compiler with the following command:

utils/build-script --release-debuginfo --debug-swift --xcode

After a painstaking hour and a half, the build failed with the following:

=== BUILD TARGET sourcekitd-repl OF PROJECT Swift WITH CONFIGURATION Debug ===

Check dependencies

Write auxiliary files
/bin/mkdir -p /Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/sourcekitd-repl/Swift.build/Debug/sourcekitd-repl.build/Objects-normal/x86_64
write-file /Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/sourcekitd-repl/Swift.build/Debug/sourcekitd-repl.build/Objects-normal/x86_64/sourcekitd-repl.LinkFileList

CompileC /Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/sourcekitd-repl/Swift.build/Debug/sourcekitd-repl.build/Objects-normal/x86_64/sourcekitd-repl.o tools/SourceKit/tools/sourcekitd-repl/sourcekitd-repl.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/noahwilder/swift-source/swift
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -target x86_64-apple-macos10.15 -fmessage-length=202 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c++14 -stdlib=libc++ -Wno-trigraphs -fno-exceptions -fno-rtti -fno-sanitize=vptr -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wdocumentation -Wnon-virtual-dtor -Woverloaded-virtual -Wno-exit-time-destructors -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wsign-compare -Wno-shorten-64-to-32 -Wnewline-eof -Wno-c++11-extensions -DCMAKE_INTDIR=\"Debug\" -DGTEST_HAS_RTTI=0 -DSWIFT_ENABLE_RUNTIME_FUNCTION_COUNTERS -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DCMARK_STATIC_DEFINE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/Debug/bin/include -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/sourcekitd-repl -I/Users/noahwilder/swift-source/swift/tools/SourceKit/tools/sourcekitd-repl -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/include -I/Users/noahwilder/swift-source/swift/tools/SourceKit/include -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/include -I/Users/noahwilder/swift-source/swift/include -I/Users/noahwilder/swift-source/llvm-project/llvm/include -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/llvm-macosx-x86_64/include -I/Users/noahwilder/swift-source/llvm-project/clang/include -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/llvm-macosx-x86_64/tools/clang/include -I/Users/noahwilder/swift-source/cmark/src -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/cmark-macosx-x86_64/src -I/Users/noahwilder/swift-source/swift/tools/SourceKit/tools/sourcekitd/include -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/sourcekitd-repl/Swift.build/Debug/sourcekitd-repl.build/DerivedSources-normal/x86_64 -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/sourcekitd-repl/Swift.build/Debug/sourcekitd-repl.build/DerivedSources/x86_64 -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/sourcekitd-repl/Swift.build/Debug/sourcekitd-repl.build/DerivedSources -F/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/Debug/bin -Wno-unknown-warning-option -Werror=unguarded-availability-new -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-class-memaccess -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=switch -Wdocumentation -Wimplicit-fallthrough -Wunreachable-code -Woverloaded-virtual -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -fno-exceptions -fno-rtti -Werror=gnu -target x86_64-apple-macosx10.9 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -arch x86_64 -F/../../../Developer/Library/Frameworks -mmacosx-version-min=10.9 -UNDEBUG -fblocks -std=c++14 -MMD -MT dependencies -MF /Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/sourcekitd-repl/Swift.build/Debug/sourcekitd-repl.build/Objects-normal/x86_64/sourcekitd-repl.d --serialize-diagnostics /Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/sourcekitd-repl/Swift.build/Debug/sourcekitd-repl.build/Objects-normal/x86_64/sourcekitd-repl.dia -c /Users/noahwilder/swift-source/swift/tools/SourceKit/tools/sourcekitd-repl/sourcekitd-repl.cpp -o /Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/sourcekitd-repl/Swift.build/Debug/sourcekitd-repl.build/Objects-normal/x86_64/sourcekitd-repl.o
In file included from /Users/noahwilder/swift-source/swift/tools/SourceKit/tools/sourcekitd-repl/sourcekitd-repl.cpp:15:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:12:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm/ADT/Hashing.h:47:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm/Support/DataTypes.h:16:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm-c/DataTypes.h:28:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:317:9: error: no member named 'signbit' in the global namespace
using ::signbit;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:318:9: error: no member named 'fpclassify' in the global namespace
using ::fpclassify;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:319:9: error: no member named 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
      ~~^
In file included from /Users/noahwilder/swift-source/swift/tools/SourceKit/tools/sourcekitd-repl/sourcekitd-repl.cpp:15:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:12:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm/ADT/Hashing.h:47:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm/Support/DataTypes.h:16:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm-c/DataTypes.h:28:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:304:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/math.h:749:12: note: 'finite' declared here
extern int finite(double)
           ^
In file included from /Users/noahwilder/swift-source/swift/tools/SourceKit/tools/sourcekitd-repl/sourcekitd-repl.cpp:15:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:12:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm/ADT/Hashing.h:47:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm/Support/DataTypes.h:16:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm-c/DataTypes.h:28:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:320:9: error: no member named 'isinf' in the global namespace
using ::isinf;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:321:9: error: no member named 'isnan' in the global namespace
using ::isnan;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:322:9: error: no member named 'isnormal' in the global namespace
using ::isnormal;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:323:9: error: no member named 'isgreater' in the global namespace
using ::isgreater;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:324:9: error: no member named 'isgreaterequal' in the global namespace
using ::isgreaterequal;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:325:9: error: no member named 'isless' in the global namespace
using ::isless;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:326:9: error: no member named 'islessequal' in the global namespace
using ::islessequal;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:327:9: error: no member named 'islessgreater' in the global namespace
using ::islessgreater;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:328:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:329:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:335:9: error: no member named 'abs' in the global namespace; did you mean 'fabs'?
using ::abs;
      ~~^
In file included from /Users/noahwilder/swift-source/swift/tools/SourceKit/tools/sourcekitd-repl/sourcekitd-repl.cpp:15:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:12:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm/ADT/Hashing.h:47:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm/Support/DataTypes.h:16:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm-c/DataTypes.h:28:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:304:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/math.h:417:15: note: 'fabs' declared here
extern double fabs(double);
              ^
In file included from /Users/noahwilder/swift-source/swift/tools/SourceKit/tools/sourcekitd-repl/sourcekitd-repl.cpp:15:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:12:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm/ADT/Hashing.h:47:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm/Support/DataTypes.h:16:
In file included from /Users/noahwilder/swift-source/llvm-project/llvm/include/llvm-c/DataTypes.h:28:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:640:26: error: no template named 'numeric_limits'
    bool _FloatBigger = (numeric_limits<_FloatT>::digits > numeric_limits<_IntT>::digits),
                         ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:640:60: error: no template named 'numeric_limits'
    bool _FloatBigger = (numeric_limits<_FloatT>::digits > numeric_limits<_IntT>::digits),
                                                           ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:641:18: error: no template named 'numeric_limits'
    int _Bits = (numeric_limits<_IntT>::digits - numeric_limits<_FloatT>::digits)>
                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:641:50: error: no template named 'numeric_limits'
    int _Bits = (numeric_limits<_IntT>::digits - numeric_limits<_FloatT>::digits)>
                                                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:646:17: error: no template named 'numeric_limits'
  static_assert(numeric_limits<_FloatT>::radix == 2, "FloatT has incorrect radix");
                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

=== BUILD TARGET complete-test OF PROJECT Swift WITH CONFIGURATION Debug ===

Check dependencies

Write auxiliary files
/bin/mkdir -p /Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/complete-test/Swift.build/Debug/complete-test.build/Objects-normal/x86_64
write-file /Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/complete-test/Swift.build/Debug/complete-test.build/Objects-normal/x86_64/complete-test.LinkFileList

CompileC /Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/complete-test/Swift.build/Debug/complete-test.build/Objects-normal/x86_64/complete-test.o tools/SourceKit/tools/complete-test/complete-test.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
    cd /Users/noahwilder/swift-source/swift
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -target x86_64-apple-macos10.15 -fmessage-length=202 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c++14 -stdlib=libc++ -Wno-trigraphs -fno-exceptions -fno-rtti -fno-sanitize=vptr -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wdocumentation -Wnon-virtual-dtor -Woverloaded-virtual -Wno-exit-time-destructors -Wmissing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wsign-compare -Wno-shorten-64-to-32 -Wnewline-eof -Wno-c++11-extensions -DCMAKE_INTDIR=\"Debug\" -DGTEST_HAS_RTTI=0 -DSWIFT_ENABLE_RUNTIME_FUNCTION_COUNTERS -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DCMARK_STATIC_DEFINE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/Debug/bin/include -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/complete-test -I/Users/noahwilder/swift-source/swift/tools/SourceKit/tools/complete-test -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/include -I/Users/noahwilder/swift-source/swift/tools/SourceKit/include -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/include -I/Users/noahwilder/swift-source/swift/include -I/Users/noahwilder/swift-source/llvm-project/llvm/include -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/llvm-macosx-x86_64/include -I/Users/noahwilder/swift-source/llvm-project/clang/include -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/llvm-macosx-x86_64/tools/clang/include -I/Users/noahwilder/swift-source/cmark/src -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/cmark-macosx-x86_64/src -I/Users/noahwilder/swift-source/swift/tools/SourceKit/tools/sourcekitd/include -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/complete-test/Swift.build/Debug/complete-test.build/DerivedSources-normal/x86_64 -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/complete-test/Swift.build/Debug/complete-test.build/DerivedSources/x86_64 -I/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/complete-test/Swift.build/Debug/complete-test.build/DerivedSources -F/Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/Debug/bin -Wno-unknown-warning-option -Werror=unguarded-availability-new -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-class-memaccess -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=switch -Wdocumentation -Wimplicit-fallthrough -Wunreachable-code -Woverloaded-virtual -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -fno-exceptions -fno-rtti -Werror=gnu -target x86_64-apple-macosx10.9 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -arch x86_64 -F/../../../Developer/Library/Frameworks -mmacosx-version-min=10.9 -UNDEBUG -fblocks -std=c++14 -MMD -MT dependencies -MF /Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/complete-test/Swift.build/Debug/complete-test.build/Objects-normal/x86_64/complete-test.d --serialize-diagnostics /Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/complete-test/Swift.build/Debug/complete-test.build/Objects-normal/x86_64/complete-test.dia -c /Users/noahwilder/swift-source/swift/tools/SourceKit/tools/complete-test/complete-test.cpp -o /Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/complete-test/Swift.build/Debug/complete-test.build/Objects-normal/x86_64/complete-test.o

** BUILD FAILED **


The following build commands failed:
    CompileC /Users/noahwilder/swift-source/build/Xcode-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/tools/SourceKit/tools/sourcekitd-repl/Swift.build/Debug/sourcekitd-repl.build/Objects-normal/x86_64/sourcekitd-repl.o tools/SourceKit/tools/sourcekitd-repl/sourcekitd-repl.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
ERROR: command terminated with a non-zero exit status 65, aborting

Note that this is just then end of the much larger output which I thought might be relevant to this issue (the full output, split into 3 .txt files because of its size, is attached).

I initially raised this issue in a Swift Forums post here. It was also brought to my attention by theindigamer (JIRA User) that this issue somewhat corresponds to SR-12726.

@typesanitizer
Copy link

I think this is the same issue as SR-12726 if you look at the diagnostic; so I'm marking this as a duplicate.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

2 participants