Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Test Failures
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
* frame #0: 0x000000010051d687 libswiftCore.dylib`::_swift_release_dealloc(object=0x0000000101509670) at HeapObject.cpp:558
frame #1: 0x0000000100528166 libswiftCore.dylib`bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1> >::doDecrementSlow<(this=0x0000000101509678, oldbits=(bits = 0), dec=1)0, (swift::PerformDeinit)1>(swift::RefCountBitsT<(swift::RefCountInlinedness)1>, unsigned int) at RefCount.h:1046
frame #2: 0x0000000100526b8c libswiftCore.dylib`bool swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1> >::doDecrement<(this=0x0000000101509678, dec=1)0, (swift::PerformDeinit)1>(unsigned int) at RefCount.h:1104
frame #3: 0x0000000100517381 libswiftCore.dylib`::_swift_release_(swift::HeapObject *) [inlined] swift::RefCounts<swift::RefCountBitsT<(swift::RefCountInlinedness)1> >::decrementAndMaybeDeinit(this=0x0000000101509678, dec=1) at RefCount.h:907
frame #4: 0x0000000100517379 libswiftCore.dylib`::_swift_release_(object=0x0000000101509670) at HeapObject.cpp:280
frame #5: 0x000000010015fa26 libswiftCore.dylib`=== infix(lhs=(instance_type = 0x0000000101509670), rhs=(instance_type = 0x0000000101509670)) -> Bool at Equatable.swift:238
frame #6: 0x0000000100002607 main`main.sameObject (Swift.Optional<Any>, Swift.Optional<Any>) -> Swift.Bool + 327
frame #7: 0x0000000100002a79 main`main.(closure #1) + 617
frame #8: 0x00000001011257a5 libswiftStdlibUnittest.dylib`TestSuite._runTest(testName="succeed", parameter=nil, self=<unavailable>) -> () at StdlibUnittest.swift:1681
frame #9: 0x000000010112d3ad libswiftStdlibUnittest.dylib`_ParentProcess.runOneTest(fullTestName="ErrorHandling.succeed", testSuite=<unavailable>, t=<unavailable>, testParameter=nil, self=<unavailable>) -> _ParentProcess._TestStatus at StdlibUnittest.swift:1361
frame #10: 0x0000000101130491 libswiftStdlibUnittest.dylib`_ParentProcess.run(self=<unavailable>) -> () at StdlibUnittest.swift:1451
frame #11: 0x0000000101133e4c libswiftStdlibUnittest.dylib`runAllTests() -> () at StdlibUnittest.swift:1600
frame #12: 0x0000000100001bd5 main`main + 1109
frame #13: 0x00007fffa44a3255 libdyld.dylib`start + 1
Failing Tests (22):
Swift(macosx-x86_64) :: stdlib/Reflection_objc.swift
Swift(macosx-x86_64) :: stdlib/NSDictionary.swift
Swift(macosx-x86_64) :: Interpreter/SDK/objc_extensions.swift
Swift(macosx-x86_64) :: Interpreter/SDK/objc_switch.swift
Swift(macosx-x86_64) :: Interpreter/imported_objc_generics.swift
Swift(macosx-x86_64) :: Interpreter/SDK/KVO.swift
Swift(macosx-x86_64) :: Interpreter/SDK/objc_array_of_classes.swift
Swift(macosx-x86_64) :: stdlib/NSObject.swift
Swift(macosx-x86_64) :: stdlib/OptionalBridge.swift
Swift(macosx-x86_64) :: stdlib/KVO.swift
Swift(macosx-x86_64) :: stdlib/ArrayBridge.swift.gyb
Swift(macosx-x86_64) :: stdlib/ErrorBridged.swift
Swift(macosx-x86_64) :: stdlib/NSSetAPI.swift
Swift(macosx-x86_64) :: Interpreter/SDK/cf_extensions.swift
Swift(macosx-x86_64) :: stdlib/BridgeIdAsAny.swift.gyb
Swift(macosx-x86_64) :: Interpreter/SDK/Reflection_KVO.swift
Swift(macosx-x86_64) :: Interpreter/SDK/objc_mangling.swift
Swift(macosx-x86_64) :: Interpreter/objc_class_properties.swift
Swift(macosx-x86_64) :: Interpreter/SDK/errors.swift
Swift(macosx-x86_64) :: Interpreter/builtin_bridge_object.swift
Swift(macosx-x86_64) :: Interpreter/objc_runtime_visible.swift
Swift(macosx-x86_64) :: stdlib/TestURL.swift
--- check-swift-macosx-x86_64 ---
Generating dry run test command from: /usr/local/bin/cmake --build /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64 -- -j8 -n -v check-swift-macosx-x86_64
Test command: cd /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test && /usr/local/Cellar/cmake/3.7.2/bin/cmake -E remove_directory /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/./swift-test-results/x86_64-apple-macosx10.9 && /usr/local/Cellar/cmake/3.7.2/bin/cmake -E make_directory /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/./swift-test-results/x86_64-apple-macosx10.9 && /usr/bin/python /Users/bking/sandbox/swift-source/llvm/utils/lit/lit.py --incremental -sv --xunit-xml-output=/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/./swift-test-results/x86_64-apple-macosx10.9/lit-tests.xml --param swift_test_subset=primary --param swift_test_mode=optimize_none /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64
+ cd /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test
+ /usr/local/Cellar/cmake/3.7.2/bin/cmake -E remove_directory /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/./swift-test-results/x86_64-apple-macosx10.9
+ /usr/local/Cellar/cmake/3.7.2/bin/cmake -E make_directory /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/./swift-test-results/x86_64-apple-macosx10.9
+ /usr/bin/python /Users/bking/sandbox/swift-source/llvm/utils/lit/lit.py --incremental -sv --xunit-xml-output=/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/./swift-test-results/x86_64-apple-macosx10.9/lit-tests.xml --param swift_test_subset=primary --param swift_test_mode=optimize_none /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using swift: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swift
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using swiftc: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using sil-opt: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/sil-opt
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using sil-func-extractor: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/sil-func-extractor
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using sil-llvm-gen: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/sil-llvm-gen
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using sil-nm: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/sil-nm
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using sil-passpipeline-dumper: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/sil-passpipeline-dumper
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using lldb-moduleimport-test: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/lldb-moduleimport-test
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using swift-ide-test: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swift-ide-test
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using swift-syntax-test: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swift-syntax-test
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using swift-reflection-dump: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swift-reflection-dump
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using swift-remoteast-test: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swift-remoteast-test
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using swift-format: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swift-format
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using clang: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/clang
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using llvm-link: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/llvm-link
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using swift-llvm-opt: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swift-llvm-opt
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using llvm-profdata: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/llvm-profdata
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using llvm-cov: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/llvm-cov
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using FileCheck: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using llvm-dwarfdump: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/llvm-dwarfdump
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:313: note: Using resource dir: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/lib/swift
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:338: note: Compiling with -swift-version 3
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:349: note: Using Clang module cache: /var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:350: note: Using test results dir: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/./swift-test-results/x86_64-apple-macosx10.9
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:354: note: Using code completion cache: /var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-completion-cacheY7jA71
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:658: note: Testing OS X x86_64-apple-macosx10.9
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:700: note: Running tests on Mac OS X version 10.12.3 (16D32)
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:1038: note: Using platform module dir: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/lib/swift/%target-sdk-name/x86_64
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:1083: note: Available features: swift_ast_verifier, asan_runtime, SWIFT_VERSION=3, CODEGENERATOR=PowerPC, profile_runtime, swift_stdlib_asserts, swift_test_mode_optimize_none, objc_interop, swift_test_mode_optimize_none_x86_64, no_lto, no_asan, tsan_runtime, CODEGENERATOR=X86, crash-recovery, CPU=x86_64, CODEGENERATOR=ARM, CPU=i386_or_x86_64, OS=macosx, CMAKE_GENERATOR=Ninja, swift_interpreter, swift-remoteast-test, nonexecutable_test, CODEGENERATOR=AArch64, safestack_runtime, CODEGENERATOR=SystemZ, ubsan_runtime, swift_repl, asserts, executable_test, PTRSIZE=64
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using swift-api-digester: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swift-api-digester
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using sourcekitd-test: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/sourcekitd-test
lit.py: /Users/bking/sandbox/swift-source/swift/test/lit.cfg:256: note: using complete-test: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/complete-test
-- Testing: 3386 tests, 8 threads --
Testing: 0 .. 10
FAIL: Swift(macosx-x86_64) :: Interpreter/imported_objc_generics.swift (523 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: Interpreter/imported_objc_generics.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/imported_objc_generics.swift.tmp
mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/imported_objc_generics.swift.tmp
xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk clang++ -arch x86_64 -mmacosx-version-min=10.9 -fmodules-cache-path='/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -fobjc-arc /Users/bking/sandbox/swift-source/swift/test/Interpreter/Inputs/ObjCClasses/ObjCClasses.m -c -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/imported_objc_generics.swift.tmp/ObjCClasses.o
xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -I /Users/bking/sandbox/swift-source/swift/test/Interpreter/Inputs/ObjCClasses/ /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/imported_objc_generics.swift.tmp/ObjCClasses.o /Users/bking/sandbox/swift-source/swift/test/Interpreter/imported_objc_generics.swift -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/imported_objc_generics.swift.tmp/a.out
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/imported_objc_generics.swift.tmp/a.out
--
Exit Code: 134
Command Output (stdout):
--
[ RUN ] ImportedObjCGenerics.Creation
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] ImportedObjCGenerics.Creation
[ RUN ] ImportedObjCGenerics.Blocks
[ OK ] ImportedObjCGenerics.Blocks
[ RUN ] ImportedObjCGenerics.Categories
[ OK ] ImportedObjCGenerics.Categories
[ RUN ] ImportedObjCGenerics.Subclasses
[ OK ] ImportedObjCGenerics.Subclasses
[ RUN ] ImportedObjCGenerics.SwiftGenerics
[ OK ] ImportedObjCGenerics.SwiftGenerics
[ RUN ] ImportedObjCGenerics.SwiftGenerics/Creation
[ OK ] ImportedObjCGenerics.SwiftGenerics/Creation
[ RUN ] ImportedObjCGenerics.ProtocolConstraints
[ OK ] ImportedObjCGenerics.ProtocolConstraints
[ RUN ] ImportedObjCGenerics.ClassConstraints
[ OK ] ImportedObjCGenerics.ClassConstraints
[ RUN ] ImportedObjCGenerics.ClassWithMethodsUsingObjCGenerics
[ OK ] ImportedObjCGenerics.ClassWithMethodsUsingObjCGenerics
[ RUN ] ImportedObjCGenerics.InheritanceFromNongeneric
[ OK ] ImportedObjCGenerics.InheritanceFromNongeneric
[ RUN ] ImportedObjCGenerics.InheritInSwift
[ OK ] ImportedObjCGenerics.InheritInSwift
[ RUN ] ImportedObjCGenerics.BridgedInitializer
[ OK ] ImportedObjCGenerics.BridgedInitializer
ImportedObjCGenerics: Some tests failed, aborting
UXPASS: []
FAIL: ["Creation"]
SKIP: []
To debug, run:
$ /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/imported_objc_generics.swift.tmp/a.out --stdlib-unittest-in-process --stdlib-unittest-filter "Creation"
--
Command Output (stderr):
--
/Users/bking/sandbox/swift-source/swift/test/Interpreter/Inputs/ObjCClasses/ObjCClasses.m:114:17: warning: class property 'value' requires method 'value' to be defined - use @dynamic or provide a method implementation in this class implementation [-Wobjc-property-implementation]
@implementation ObjCSubclassWithClassProperty
^
/Users/bking/sandbox/swift-source/swift/test/Interpreter/Inputs/ObjCClasses/ObjCClasses.h:76:23: note: property declared here
@property (class) int value;
^
/Users/bking/sandbox/swift-source/swift/test/Interpreter/Inputs/ObjCClasses/ObjCClasses.m:114:17: warning: class property 'value' requires method 'setValue:' to be defined - use @dynamic or provide a method implementation in this class implementation [-Wobjc-property-implementation]
@implementation ObjCSubclassWithClassProperty
^
/Users/bking/sandbox/swift-source/swift/test/Interpreter/Inputs/ObjCClasses/ObjCClasses.h:76:23: note: property declared here
@property (class) int value;
^
2 warnings generated.
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/imported_objc_generics.swift.script: line 5: 31688 Abort trap: 6 /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/imported_objc_generics.swift.tmp/a.out
--
********************
Testing: 0 .. 10
FAIL: Swift(macosx-x86_64) :: stdlib/NSDictionary.swift (525 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: stdlib/NSDictionary.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/NSDictionary.swift.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/NSDictionary.swift.tmp && xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' /Users/bking/sandbox/swift-source/swift/test/stdlib/NSDictionary.swift -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/NSDictionary.swift.tmp/a.out -module-name main && /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/NSDictionary.swift.tmp/a.out
--
Exit Code: 134
Command Output (stdout):
--
[ RUN ] NSDictionary.copy construction
stderr>>> a.out(31713,0x7fffad2f03c0) malloc: *** mach_vm_map(size=72057594037932032) failed (error code=3)
stderr>>> *** error: can't allocate region
stderr>>> *** set a breakpoint in malloc_error_break to debug
stderr>>> CRASHED: SIGILL
the test crashed unexpectedly
[ FAIL ] NSDictionary.copy construction
[ RUN ] NSDictionary.subscript with Any
[ OK ] NSDictionary.subscript with Any
NSDictionary: Some tests failed, aborting
UXPASS: []
FAIL: ["copy construction"]
SKIP: []
To debug, run:
$ /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/NSDictionary.swift.tmp/a.out --stdlib-unittest-in-process --stdlib-unittest-filter "copy construction"
--
Command Output (stderr):
--
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/NSDictionary.swift.script: line 1: 31712 Abort trap: 6 /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/NSDictionary.swift.tmp/a.out
--
********************
Testing: 0 .. 10
FAIL: Swift(macosx-x86_64) :: Interpreter/SDK/objc_extensions.swift (526 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: Interpreter/SDK/objc_extensions.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/objc_extensions.swift.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/objc_extensions.swift.tmp && xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/objc_extensions.swift -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/objc_extensions.swift.tmp/a.out -module-name main && /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/objc_extensions.swift.tmp/a.out | /Users/bking/sandbox/swift-source/swift/utils/PathSanitizingFileCheck --sanitize 'BUILD_DIR=/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64' --sanitize 'SOURCE_DIR=/Users/bking/sandbox/swift-source/swift' --use-filecheck '/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck' /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/objc_extensions.swift
--
Exit Code: 2
Command Output (stderr):
--
/Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/objc_extensions.swift:33:22: warning: use of string literal for Objective-C selectors is deprecated; use '#selector' instead
print(o.responds(to: "frob"))
^~~~~~
#selector(NSObject.frob)
/Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/objc_extensions.swift:35:22: warning: use of string literal for Objective-C selectors is deprecated; use '#selector' instead
print(o.responds(to: "asHerself"))
^~~~~~~~~~~
#selector(getter: NSObject.asHerself)
/Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/objc_extensions.swift:37:22: warning: no method declared with Objective-C selector 'setAsHerself:'
print(o.responds(to: "setAsHerself:"))
^
Selector( )
/Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/objc_extensions.swift:39:22: warning: use of string literal for Objective-C selectors is deprecated; use '#selector' instead
print(o.responds(to: "blackHoleWithHawkingRadiation"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#selector(getter: NSObject.blackHoleWithHawkingRadiation)
/Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/objc_extensions.swift:41:22: warning: use of string literal for Objective-C selectors is deprecated; use '#selector' instead
print(o.responds(to: "setBlackHoleWithHawkingRadiation:"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#selector(setter: NSObject.blackHoleWithHawkingRadiation)
FileCheck error: '-' is empty.
FileCheck command line: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/objc_extensions.swift
--
********************
Testing: 0 .. 10
FAIL: Swift(macosx-x86_64) :: Interpreter/SDK/KVO.swift (527 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: Interpreter/SDK/KVO.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/KVO.swift.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/KVO.swift.tmp && xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/KVO.swift -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/KVO.swift.tmp/a.out -module-name main && /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/KVO.swift.tmp/a.out | /Users/bking/sandbox/swift-source/swift/utils/PathSanitizingFileCheck --sanitize 'BUILD_DIR=/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64' --sanitize 'SOURCE_DIR=/Users/bking/sandbox/swift-source/swift' --use-filecheck '/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck' /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/KVO.swift
--
Exit Code: 2
Command Output (stderr):
--
/Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/KVO.swift:41:20: warning: expression implicitly coerced from 'Any?' to Any
print((object! as AnyObject).value(forKeyPath: keyPath!))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/KVO.swift:41:34: note: provide a default value to avoid this warning
print((object! as AnyObject).value(forKeyPath: keyPath!))
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
?? <#default value#>
/Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/KVO.swift:41:34: note: force-unwrap the value to avoid this warning
print((object! as AnyObject).value(forKeyPath: keyPath!))
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
!
/Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/KVO.swift:41:34: note: explicitly cast to Any with 'as Any' to silence this warning
print((object! as AnyObject).value(forKeyPath: keyPath!))
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
as Any
FileCheck error: '-' is empty.
FileCheck command line: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/KVO.swift
--
********************
Testing: 0 .. 10
FAIL: Swift(macosx-x86_64) :: Interpreter/SDK/objc_array_of_classes.swift (528 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: Interpreter/SDK/objc_array_of_classes.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/objc_array_of_classes.swift.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/objc_array_of_classes.swift.tmp && xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/objc_array_of_classes.swift -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/objc_array_of_classes.swift.tmp/a.out -module-name main && /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/objc_array_of_classes.swift.tmp/a.out
--
Exit Code: 134
Command Output (stdout):
--
[ RUN ] URLSessionConfigurationUsage.protocolClasses
[ OK ] URLSessionConfigurationUsage.protocolClasses
URLSessionConfigurationUsage: All tests passed
[ RUN ] ArrayOfClassObjectBridging.bridging class object array to NSArray
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] ArrayOfClassObjectBridging.bridging class object array to NSArray
[ RUN ] ArrayOfClassObjectBridging.bridging NSArray of class objects to [AnyObject]
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] ArrayOfClassObjectBridging.bridging NSArray of class objects to [AnyObject]
[ RUN ] ArrayOfClassObjectBridging.bridging NSArray of class objects to [AnyClass]
[ OK ] ArrayOfClassObjectBridging.bridging NSArray of class objects to [AnyClass]
[ RUN ] ArrayOfClassObjectBridging.bridging NSArray of class objects to [NSObject.Type]
[ OK ] ArrayOfClassObjectBridging.bridging NSArray of class objects to [NSObject.Type]
ArrayOfClassObjectBridging: Some tests failed, aborting
UXPASS: []
FAIL: ["bridging class object array to NSArray", "bridging NSArray of class objects to [AnyObject]"]
SKIP: []
To debug, run:
$ /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/objc_array_of_classes.swift.tmp/a.out --stdlib-unittest-in-process --stdlib-unittest-filter "bridging class object array to NSArray"
--
Command Output (stderr):
--
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/objc_array_of_classes.swift.script: line 1: 31745 Abort trap: 6 /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/objc_array_of_classes.swift.tmp/a.out
--
********************
Testing: 0 .. 10
FAIL: Swift(macosx-x86_64) :: Interpreter/SDK/objc_switch.swift (530 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: Interpreter/SDK/objc_switch.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/objc_switch.swift.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/objc_switch.swift.tmp && xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/objc_switch.swift -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/objc_switch.swift.tmp/a.out -module-name main && /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/objc_switch.swift.tmp/a.out | /Users/bking/sandbox/swift-source/swift/utils/PathSanitizingFileCheck --sanitize 'BUILD_DIR=/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64' --sanitize 'SOURCE_DIR=/Users/bking/sandbox/swift-source/swift' --use-filecheck '/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck' /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/objc_switch.swift
--
Exit Code: 2
Command Output (stderr):
--
a.out(31768,0x7fffad2f03c0) malloc: *** mach_vm_map(size=9259400833873743872) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
FileCheck error: '-' is empty.
FileCheck command line: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/objc_switch.swift
--
********************
Testing: 0 .. 10
FAIL: Swift(macosx-x86_64) :: stdlib/OptionalBridge.swift (531 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: stdlib/OptionalBridge.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/OptionalBridge.swift.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/OptionalBridge.swift.tmp && xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' /Users/bking/sandbox/swift-source/swift/test/stdlib/OptionalBridge.swift -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/OptionalBridge.swift.tmp/a.out -module-name main && /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/OptionalBridge.swift.tmp/a.out
--
Exit Code: 134
Command Output (stdout):
--
[ RUN ] OptionalBridge.wrapped value
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] OptionalBridge.wrapped value
[ RUN ] OptionalBridge.wrapped boxed value
[ OK ] OptionalBridge.wrapped boxed value
[ RUN ] OptionalBridge.wrapped class instance
[ OK ] OptionalBridge.wrapped class instance
[ RUN ] OptionalBridge.nil
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] OptionalBridge.nil
[ RUN ] OptionalBridge.nil in nested optional
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] OptionalBridge.nil in nested optional
[ RUN ] OptionalBridge.collection of Optional
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] OptionalBridge.collection of Optional
[ RUN ] OptionalBridge.NSArray of NSNull
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] OptionalBridge.NSArray of NSNull
OptionalBridge: Some tests failed, aborting
UXPASS: []
FAIL: ["wrapped value", "nil", "nil in nested optional", "collection of Optional", "NSArray of NSNull"]
SKIP: []
To debug, run:
$ /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/OptionalBridge.swift.tmp/a.out --stdlib-unittest-in-process --stdlib-unittest-filter "wrapped value"
--
Command Output (stderr):
--
/Users/bking/sandbox/swift-source/swift/test/stdlib/OptionalBridge.swift:36:57: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
expectUnreachable("\(T.self)?? values don't match: \(x) vs. \(y)")
^~~
/Users/bking/sandbox/swift-source/swift/test/stdlib/OptionalBridge.swift:36:58: note: use 'String(describing:)' to silence this warning
expectUnreachable("\(T.self)?? values don't match: \(x) vs. \(y)")
~^~
String(describing: )
/Users/bking/sandbox/swift-source/swift/test/stdlib/OptionalBridge.swift:36:58: note: provide a default value to avoid this warning
expectUnreachable("\(T.self)?? values don't match: \(x) vs. \(y)")
~^~
?? <#default value#>
/Users/bking/sandbox/swift-source/swift/test/stdlib/OptionalBridge.swift:36:66: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
expectUnreachable("\(T.self)?? values don't match: \(x) vs. \(y)")
^~~
/Users/bking/sandbox/swift-source/swift/test/stdlib/OptionalBridge.swift:36:67: note: use 'String(describing:)' to silence this warning
expectUnreachable("\(T.self)?? values don't match: \(x) vs. \(y)")
~^~
String(describing: )
/Users/bking/sandbox/swift-source/swift/test/stdlib/OptionalBridge.swift:36:67: note: provide a default value to avoid this warning
expectUnreachable("\(T.self)?? values don't match: \(x) vs. \(y)")
~^~
?? <#default value#>
/Users/bking/sandbox/swift-source/swift/test/stdlib/OptionalBridge.swift:46:58: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
expectUnreachable("\(T.self)??? values don't match: \(x) vs. \(y)")
^~~
/Users/bking/sandbox/swift-source/swift/test/stdlib/OptionalBridge.swift:46:59: note: use 'String(describing:)' to silence this warning
expectUnreachable("\(T.self)??? values don't match: \(x) vs. \(y)")
~^~
String(describing: )
/Users/bking/sandbox/swift-source/swift/test/stdlib/OptionalBridge.swift:46:59: note: provide a default value to avoid this warning
expectUnreachable("\(T.self)??? values don't match: \(x) vs. \(y)")
~^~
?? <#default value#>
/Users/bking/sandbox/swift-source/swift/test/stdlib/OptionalBridge.swift:46:67: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
expectUnreachable("\(T.self)??? values don't match: \(x) vs. \(y)")
^~~
/Users/bking/sandbox/swift-source/swift/test/stdlib/OptionalBridge.swift:46:68: note: use 'String(describing:)' to silence this warning
expectUnreachable("\(T.self)??? values don't match: \(x) vs. \(y)")
~^~
String(describing: )
/Users/bking/sandbox/swift-source/swift/test/stdlib/OptionalBridge.swift:46:68: note: provide a default value to avoid this warning
expectUnreachable("\(T.self)??? values don't match: \(x) vs. \(y)")
~^~
?? <#default value#>
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/OptionalBridge.swift.script: line 1: 31779 Abort trap: 6 /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/OptionalBridge.swift.tmp/a.out
--
********************
Testing: 0 .. 10
FAIL: Swift(macosx-x86_64) :: stdlib/KVO.swift (532 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: stdlib/KVO.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/KVO.swift.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/KVO.swift.tmp && xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' /Users/bking/sandbox/swift-source/swift/test/stdlib/KVO.swift -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/KVO.swift.tmp/a.out -module-name main && /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/KVO.swift.tmp/a.out | /Users/bking/sandbox/swift-source/swift/utils/PathSanitizingFileCheck --sanitize 'BUILD_DIR=/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64' --sanitize 'SOURCE_DIR=/Users/bking/sandbox/swift-source/swift' --use-filecheck '/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck' /Users/bking/sandbox/swift-source/swift/test/stdlib/KVO.swift
--
Exit Code: 2
Command Output (stderr):
--
FileCheck error: '-' is empty.
FileCheck command line: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck /Users/bking/sandbox/swift-source/swift/test/stdlib/KVO.swift
--
********************
Testing: 0 .. 10
FAIL: Swift(macosx-x86_64) :: stdlib/NSSetAPI.swift (533 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: stdlib/NSSetAPI.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/NSSetAPI.swift.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/NSSetAPI.swift.tmp && xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' /Users/bking/sandbox/swift-source/swift/test/stdlib/NSSetAPI.swift -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/NSSetAPI.swift.tmp/a.out -module-name main && /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/NSSetAPI.swift.tmp/a.out
--
Exit Code: 134
Command Output (stdout):
--
[ RUN ] NSSetAPI.Sequence
[ OK ] NSSetAPI.Sequence
[ RUN ] NSSetAPI.initWithObjects
[ OK ] NSSetAPI.initWithObjects
[ RUN ] NSSetAPI.ExpressibleByArrayLiteral
[ OK ] NSSetAPI.ExpressibleByArrayLiteral
[ RUN ] NSSetAPI.CustomStringConvertible
[ OK ] NSSetAPI.CustomStringConvertible
[ RUN ] NSSetAPI.AnyHashable containing NSSet
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] NSSetAPI.AnyHashable containing NSSet
[ RUN ] NSSetAPI.AnyHashable containing NSSet that contains an NSSet
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] NSSetAPI.AnyHashable containing NSSet that contains an NSSet
[ RUN ] NSSetAPI.copy construction
stderr>>> a.out(31807,0x7fffad2f03c0) malloc: *** mach_vm_map(size=13907115649320095744) failed (error code=3)
stderr>>> *** error: can't allocate region
stderr>>> *** set a breakpoint in malloc_error_break to debug
stderr>>> CRASHED: SIGILL
the test crashed unexpectedly
[ FAIL ] NSSetAPI.copy construction
NSSetAPI: Some tests failed, aborting
UXPASS: []
FAIL: ["AnyHashable containing NSSet", "AnyHashable containing NSSet that contains an NSSet", "copy construction"]
SKIP: []
To debug, run:
$ /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/NSSetAPI.swift.tmp/a.out --stdlib-unittest-in-process --stdlib-unittest-filter "AnyHashable containing NSSet"
--
Command Output (stderr):
--
/Users/bking/sandbox/swift-source/swift/test/stdlib/NSSetAPI.swift:15:3: warning: result of call to 'expectSequenceType' is unused
expectSequenceType(result)
^ ~~~~~~~~
/Users/bking/sandbox/swift-source/swift/test/stdlib/NSSetAPI.swift:74:3: warning: result of call to 'expectSequenceType' is unused
expectSequenceType(result)
^ ~~~~~~~~
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/NSSetAPI.swift.script: line 1: 31804 Abort trap: 6 /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/NSSetAPI.swift.tmp/a.out
--
********************
Testing: 0 .. 10
FAIL: Swift(macosx-x86_64) :: Interpreter/SDK/cf_extensions.swift (534 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: Interpreter/SDK/cf_extensions.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/cf_extensions.swift.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/cf_extensions.swift.tmp && xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/cf_extensions.swift -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/cf_extensions.swift.tmp/a.out -module-name main && /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/cf_extensions.swift.tmp/a.out
--
Exit Code: 134
Command Output (stdout):
--
[ RUN ] CFExtensions.methods
[ OK ] CFExtensions.methods
[ RUN ] CFExtensions.protocols
stderr>>> CRASHED: SIGTRAP
the test crashed unexpectedly
[ FAIL ] CFExtensions.protocols
[ RUN ] CFExtensions.protocols/downcast (XFAIL: [Always(reason: unimplemented)])
stdout>>> check failed at /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/cf_extensions.swift, line 73
stdout>>> expected optional to be non-nil
stderr>>> fatal error: unexpectedly found nil while unwrapping an Optional value: file /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/cf_extensions.swift, line 74
stderr>>> Current stack trace:
stderr>>> 0 libswiftCore.dylib 0x000000010d43c2f0 reportNow(unsigned int, char const*) + 232
stderr>>> 1 libswiftCore.dylib 0x000000010d43c2c0 swift_reportError + 27
stderr>>> 2 libswiftCore.dylib 0x000000010d500d90 _swift_stdlib_reportFatalErrorInFile + 168
stderr>>> 3 libswiftCore.dylib 0x000000010d025d60 (_fatalErrorMessage(StaticString, StaticString, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1).(closure #1).(closure #1) + 1319
stderr>>> 4 libswiftCore.dylib 0x000000010d423580 partial apply for (_fatalErrorMessage(StaticString, StaticString, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1).(closure #1).(closure #1) + 119
stderr>>> 5 libswiftCore.dylib 0x000000010d024b80 thunk for @callee_owned (@unowned UnsafeBufferPointer<UInt8>) -> () + 12
stderr>>> 6 libswiftCore.dylib 0x000000010d423640 partial apply for thunk for @callee_owned (@unowned UnsafeBufferPointer<UInt8>) -> () + 82
stderr>>> 7 libswiftCore.dylib 0x000000010d023870 StaticString.withUTF8Buffer<A> ((UnsafeBufferPointer<UInt8>) -> A) -> A + 1103
stderr>>> 8 libswiftCore.dylib 0x000000010d025bd0 (_fatalErrorMessage(StaticString, StaticString, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1).(closure #1) + 371
stderr>>> 9 libswiftCore.dylib 0x000000010d423430 partial apply for (_fatalErrorMessage(StaticString, StaticString, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1).(closure #1) + 135
stderr>>> 10 libswiftCore.dylib 0x000000010d024b80 thunk for @callee_owned (@unowned UnsafeBufferPointer<UInt8>) -> () + 12
stderr>>> 11 libswiftCore.dylib 0x000000010d423500 partial apply for thunk for @callee_owned (@unowned UnsafeBufferPointer<UInt8>) -> () + 82
stderr>>> 12 libswiftCore.dylib 0x000000010d023870 StaticString.withUTF8Buffer<A> ((UnsafeBufferPointer<UInt8>) -> A) -> A + 1103
stderr>>> 13 libswiftCore.dylib 0x000000010d025a20 (_fatalErrorMessage(StaticString, StaticString, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1) + 403
stderr>>> 14 libswiftCore.dylib 0x000000010d339a30 partial apply for (_fatalErrorMessage(StaticString, StaticString, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1) + 151
stderr>>> 15 libswiftCore.dylib 0x000000010d024b80 thunk for @callee_owned (@unowned UnsafeBufferPointer<UInt8>) -> () + 12
stderr>>> 16 libswiftCore.dylib 0x000000010d339b10 partial apply for thunk for @callee_owned (@unowned UnsafeBufferPointer<UInt8>) -> () + 82
stderr>>> 17 libswiftCore.dylib 0x000000010d023870 StaticString.withUTF8Buffer<A> ((UnsafeBufferPointer<UInt8>) -> A) -> A + 1103
stderr>>> 18 libswiftCore.dylib 0x000000010d0227d0 _fatalErrorMessage(StaticString, StaticString, file : StaticString, line : UInt, flags : UInt32) -> Never + 428
stderr>>> 19 a.out 0x000000010cf896f0 (closure #3) + 1160
stderr>>> 20 libswiftStdlibUnittest.dylib 0x000000010e0b20e0 TestSuite._runTest(name : String, parameter : Int?) -> () + 1733
stderr>>> 21 libswiftStdlibUnittest.dylib 0x000000010e0b01b0 _childProcess() -> () + 2317
stderr>>> 22 libswiftStdlibUnittest.dylib 0x000000010e0bfec0 runAllTests() -> () + 1020
stderr>>> 23 a.out 0x000000010cf87b80 main + 1349
stderr>>> 24 libdyld.dylib 0x00007fffa44a3254 start + 1
stderr>>> CRASHED: SIGILL
the test crashed unexpectedly
[ XFAIL ] CFExtensions.protocols/downcast
CFExtensions: Some tests failed, aborting
UXPASS: []
FAIL: ["protocols"]
SKIP: []
To debug, run:
$ /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/cf_extensions.swift.tmp/a.out --stdlib-unittest-in-process --stdlib-unittest-filter "protocols"
--
Command Output (stderr):
--
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/cf_extensions.swift.script: line 1: 31815 Abort trap: 6 /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/cf_extensions.swift.tmp/a.out
--
********************
Testing: 0 .. 10
FAIL: Swift(macosx-x86_64) :: stdlib/NSObject.swift (535 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: stdlib/NSObject.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/NSObject.swift.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/NSObject.swift.tmp && xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' /Users/bking/sandbox/swift-source/swift/test/stdlib/NSObject.swift -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/NSObject.swift.tmp/a.out -module-name main && /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/NSObject.swift.tmp/a.out | /Users/bking/sandbox/swift-source/swift/utils/PathSanitizingFileCheck --sanitize 'BUILD_DIR=/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64' --sanitize 'SOURCE_DIR=/Users/bking/sandbox/swift-source/swift' --use-filecheck '/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck' /Users/bking/sandbox/swift-source/swift/test/stdlib/NSObject.swift
--
Exit Code: 2
Command Output (stderr):
--
/Users/bking/sandbox/swift-source/swift/test/stdlib/NSObject.swift:231:24: warning: string literal is not a valid Objective-C selector
if native.responds(to: ".cxx_construct") {
^~~~~~~~~~~~~~~~
Selector( )
/Users/bking/sandbox/swift-source/swift/test/stdlib/NSObject.swift:236:24: warning: string literal is not a valid Objective-C selector
if native.responds(to: ".cxx_destruct") {
^~~~~~~~~~~~~~~
Selector( )
/Users/bking/sandbox/swift-source/swift/test/stdlib/NSObject.swift:244:24: warning: string literal is not a valid Objective-C selector
if native.responds(to: ".cxx_construct") {
^~~~~~~~~~~~~~~~
Selector( )
/Users/bking/sandbox/swift-source/swift/test/stdlib/NSObject.swift:249:24: warning: string literal is not a valid Objective-C selector
if native.responds(to: ".cxx_destruct") {
^~~~~~~~~~~~~~~
Selector( )
FileCheck error: '-' is empty.
FileCheck command line: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck /Users/bking/sandbox/swift-source/swift/test/stdlib/NSObject.swift
--
********************
Testing: 0 .. 10
FAIL: Swift(macosx-x86_64) :: Interpreter/SDK/Reflection_KVO.swift (536 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: Interpreter/SDK/Reflection_KVO.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/Reflection_KVO.swift.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/Reflection_KVO.swift.tmp && xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/Reflection_KVO.swift -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/Reflection_KVO.swift.tmp/a.out -module-name main && /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/Reflection_KVO.swift.tmp/a.out | /Users/bking/sandbox/swift-source/swift/utils/PathSanitizingFileCheck --sanitize 'BUILD_DIR=/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64' --sanitize 'SOURCE_DIR=/Users/bking/sandbox/swift-source/swift' --use-filecheck '/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck' /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/Reflection_KVO.swift
--
Exit Code: 2
Command Output (stderr):
--
FileCheck error: '-' is empty.
FileCheck command line: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/Reflection_KVO.swift
--
********************
Testing: 0 .. 10
FAIL: Swift(macosx-x86_64) :: stdlib/ErrorBridged.swift (537 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: stdlib/ErrorBridged.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/ErrorBridged.swift.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/ErrorBridged.swift.tmp && xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' /Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/ErrorBridged.swift.tmp/a.out -module-name main && /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/ErrorBridged.swift.tmp/a.out
--
Exit Code: 134
Command Output (stdout):
--
[ RUN ] ErrorBridging.NSError
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] ErrorBridging.NSError
[ RUN ] ErrorBridging.NSCopying
[ OK ] ErrorBridging.NSCopying
[ RUN ] ErrorBridging.NSCoding
[ OK ] ErrorBridging.NSCoding
[ RUN ] ErrorBridging.NSError-to-enum bridging
[ OK ] ErrorBridging.NSError-to-enum bridging
[ RUN ] ErrorBridging.Error-to-NSError bridging
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] ErrorBridging.Error-to-NSError bridging
[ RUN ] ErrorBridging.enum-to-NSError round trip
[ OK ] ErrorBridging.enum-to-NSError round trip
[ RUN ] ErrorBridging.Thrown NSError identity is preserved
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] ErrorBridging.Thrown NSError identity is preserved
[ RUN ] ErrorBridging.Customizing NSError via protocols
[ OK ] ErrorBridging.Customizing NSError via protocols
[ RUN ] ErrorBridging.Customizing localization/recovery via protocols
[ OK ] ErrorBridging.Customizing localization/recovery via protocols
[ RUN ] ErrorBridging.Customizing localization/recovery laziness
[ OK ] ErrorBridging.Customizing localization/recovery laziness
[ RUN ] ErrorBridging.Default-customized via CustomNSError
[ OK ] ErrorBridging.Default-customized via CustomNSError
[ RUN ] ErrorBridging.NSError subclass identity
[ OK ] ErrorBridging.NSError subclass identity
[ RUN ] ErrorBridging.Wrapped NSError identity
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] ErrorBridging.Wrapped NSError identity
[ RUN ] ErrorBridging.Error archetype identity
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] ErrorBridging.Error archetype identity
ErrorBridging: Some tests failed, aborting
UXPASS: []
FAIL: ["NSError", "Error-to-NSError bridging", "Thrown NSError identity is preserved", "Wrapped NSError identity", "Error archetype identity"]
SKIP: []
To debug, run:
$ /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/ErrorBridged.swift.tmp/a.out --stdlib-unittest-in-process --stdlib-unittest-filter "NSError"
--
Command Output (stderr):
--
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:96:39: warning: 'fileLockingError' is deprecated: renamed to 'fileLocking'
let underlyingError = CocoaError(.fileLockingError)
^
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:96:39: note: use 'fileLocking' instead
let underlyingError = CocoaError(.fileLockingError)
^~~~~~~~~~~~~~~~
fileLocking
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:117:38: warning: 'fileNoSuchFileError' is deprecated: renamed to 'fileNoSuchFile'
expectEqual(x.code, CocoaError.fileNoSuchFileError)
^
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:117:38: note: use 'fileNoSuchFile' instead
expectEqual(x.code, CocoaError.fileNoSuchFileError)
^~~~~~~~~~~~~~~~~~~
fileNoSuchFile
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:129:21: warning: 'fileNoSuchFileError' is deprecated: renamed to 'fileNoSuchFile'
case CocoaError.fileNoSuchFileError:
^
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:129:21: note: use 'fileNoSuchFile' instead
case CocoaError.fileNoSuchFileError:
^~~~~~~~~~~~~~~~~~~
fileNoSuchFile
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:96:39: warning: 'fileLockingError' is deprecated: renamed to 'fileLocking'
let underlyingError = CocoaError(.fileLockingError)
^
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:96:39: note: use 'fileLocking' instead
let underlyingError = CocoaError(.fileLockingError)
^~~~~~~~~~~~~~~~
fileLocking
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:117:38: warning: 'fileNoSuchFileError' is deprecated: renamed to 'fileNoSuchFile'
expectEqual(x.code, CocoaError.fileNoSuchFileError)
^
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:117:38: note: use 'fileNoSuchFile' instead
expectEqual(x.code, CocoaError.fileNoSuchFileError)
^~~~~~~~~~~~~~~~~~~
fileNoSuchFile
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:129:21: warning: 'fileNoSuchFileError' is deprecated: renamed to 'fileNoSuchFile'
case CocoaError.fileNoSuchFileError:
^
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:129:21: note: use 'fileNoSuchFile' instead
case CocoaError.fileNoSuchFileError:
^~~~~~~~~~~~~~~~~~~
fileNoSuchFile
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:96:39: warning: 'fileLockingError' is deprecated: renamed to 'fileLocking'
let underlyingError = CocoaError(.fileLockingError)
^
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:96:39: note: use 'fileLocking' instead
let underlyingError = CocoaError(.fileLockingError)
^~~~~~~~~~~~~~~~
fileLocking
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:117:38: warning: 'fileNoSuchFileError' is deprecated: renamed to 'fileNoSuchFile'
expectEqual(x.code, CocoaError.fileNoSuchFileError)
^
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:117:38: note: use 'fileNoSuchFile' instead
expectEqual(x.code, CocoaError.fileNoSuchFileError)
^~~~~~~~~~~~~~~~~~~
fileNoSuchFile
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:129:21: warning: 'fileNoSuchFileError' is deprecated: renamed to 'fileNoSuchFile'
case CocoaError.fileNoSuchFileError:
^
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:129:21: note: use 'fileNoSuchFile' instead
case CocoaError.fileNoSuchFileError:
^~~~~~~~~~~~~~~~~~~
fileNoSuchFile
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:168:9: warning: immutable value 'isHeadingFailure' was never used; consider replacing with '_' or removing it
let isHeadingFailure: Bool
^~~~~~~~~~~~~~~~
_
/Users/bking/sandbox/swift-source/swift/test/stdlib/ErrorBridged.swift:657:10: warning: value 'cocoaError2' was defined but never used; consider replacing with boolean test
if let cocoaError2 = error as? CocoaError {
~~~~^~~~~~~~~~~~~~ ~~~
is
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/ErrorBridged.swift.script: line 1: 31848 Abort trap: 6 /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/ErrorBridged.swift.tmp/a.out
--
********************
Testing: 0 .. 10
FAIL: Swift(macosx-x86_64) :: Interpreter/SDK/objc_mangling.swift (538 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: Interpreter/SDK/objc_mangling.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/objc_mangling.swift.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/objc_mangling.swift.tmp
xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -module-name MangleTest /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/objc_mangling.swift -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/objc_mangling.swift.tmp/a.out
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/objc_mangling.swift.tmp/a.out | /Users/bking/sandbox/swift-source/swift/utils/PathSanitizingFileCheck --sanitize 'BUILD_DIR=/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64' --sanitize 'SOURCE_DIR=/Users/bking/sandbox/swift-source/swift' --use-filecheck '/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck' /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/objc_mangling.swift
--
Exit Code: 2
Command Output (stderr):
--
/Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/objc_mangling.swift:29:9: warning: constant 'cls2' inferred to have type 'AnyClass' (aka 'AnyObject.Type'), which may be unexpected
let cls2 = NSClassFromString(query)!
^
/Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/objc_mangling.swift:29:9: note: add an explicit type annotation to silence this warning
let cls2 = NSClassFromString(query)!
^
FileCheck error: '-' is empty.
FileCheck command line: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/objc_mangling.swift
--
********************
Testing: 0 .. 10
FAIL: Swift(macosx-x86_64) :: stdlib/BridgeIdAsAny.swift.gyb (539 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: stdlib/BridgeIdAsAny.swift.gyb' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/BridgeIdAsAny.swift.gyb.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/BridgeIdAsAny.swift.gyb.tmp
/Users/bking/sandbox/swift-source/swift/utils/gyb /Users/bking/sandbox/swift-source/swift/test/stdlib/BridgeIdAsAny.swift.gyb -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/BridgeIdAsAny.swift.gyb.tmp/BridgeIdAsAny.swift
xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -g -module-name a /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/BridgeIdAsAny.swift.gyb.tmp/BridgeIdAsAny.swift -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/BridgeIdAsAny.swift.gyb.tmp.out
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/BridgeIdAsAny.swift.gyb.tmp.out
--
Exit Code: 134
Command Output (stdout):
--
[ RUN ] BridgeAnything.classes
[ OK ] BridgeAnything.classes
[ RUN ] BridgeAnything.strings
[ OK ] BridgeAnything.strings
[ RUN ] BridgeAnything.unbridged type
[ OK ] BridgeAnything.unbridged type
[ RUN ] BridgeAnything.tuple
[ OK ] BridgeAnything.tuple
[ RUN ] BridgeAnything.metatype
[ OK ] BridgeAnything.metatype
[ RUN ] BridgeAnything.generic metatype
[ OK ] BridgeAnything.generic metatype
[ RUN ] BridgeAnything.CF metatype
[ OK ] BridgeAnything.CF metatype
[ RUN ] BridgeAnything.generic CF metatype
[ OK ] BridgeAnything.generic CF metatype
[ RUN ] BridgeAnything.class metatype
stderr>>> Assertion failed: (getStrongExtraRefCount() >= dec && "releasing reference whose refcount is already zero"), function doDecrementStrongExtraRefCount, file /Users/bking/sandbox/swift-source/swift/include/swift/Runtime/../../../stdlib/public/SwiftShims/RefCount.h, line 399.
stderr>>> CRASHED: SIGABRT
the test crashed unexpectedly
[ FAIL ] BridgeAnything.class metatype
[ RUN ] BridgeAnything.objc metatype
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] BridgeAnything.objc metatype
[ RUN ] BridgeAnything.protocol
[ OK ] BridgeAnything.protocol
[ RUN ] BridgeAnything.objc protocol
[ OK ] BridgeAnything.objc protocol
[ RUN ] BridgeAnything.objc protocol composition
[ OK ] BridgeAnything.objc protocol composition
[ RUN ] BridgeAnything.mixed protocol composition
[ OK ] BridgeAnything.mixed protocol composition
[ RUN ] BridgeAnything.generic class metatype
stderr>>> Assertion failed: (getStrongExtraRefCount() >= dec && "releasing reference whose refcount is already zero"), function doDecrementStrongExtraRefCount, file /Users/bking/sandbox/swift-source/swift/include/swift/Runtime/../../../stdlib/public/SwiftShims/RefCount.h, line 399.
stderr>>> CRASHED: SIGABRT
the test crashed unexpectedly
[ FAIL ] BridgeAnything.generic class metatype
[ RUN ] BridgeAnything.generic objc metatype
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] BridgeAnything.generic objc metatype
[ RUN ] BridgeAnything.function
[ OK ] BridgeAnything.function
[ RUN ] BridgeAnything.description of boxed values
[ OK ] BridgeAnything.description of boxed values
[ RUN ] BridgeAnything.SwiftValue(mixed values)/Hashable
[ OK ] BridgeAnything.SwiftValue(mixed values)/Hashable
BridgeAnything: Some tests failed, aborting
UXPASS: []
FAIL: ["class metatype", "objc metatype", "generic class metatype", "generic objc metatype"]
SKIP: []
To debug, run:
$ /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/BridgeIdAsAny.swift.gyb.tmp.out --stdlib-unittest-in-process --stdlib-unittest-filter "class metatype"
--
Command Output (stderr):
--
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/BridgeIdAsAny.swift.gyb.tmp/BridgeIdAsAny.swift:105:34: warning: treating a forced downcast to 'Any.Type' as optional will never produce 'nil'
expectTrue(original == bridged as! Any.Type)
^
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/BridgeIdAsAny.swift.gyb.tmp/BridgeIdAsAny.swift:105:36: note: use 'as?' to perform a conditional downcast to 'Any.Type'
expectTrue(original == bridged as! Any.Type)
^
?
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/BridgeIdAsAny.swift.gyb.tmp/BridgeIdAsAny.swift:105:26: note: add parentheses around the cast to silence this warning
expectTrue(original == bridged as! Any.Type)
^
( )
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/BridgeIdAsAny.swift.gyb.tmp/BridgeIdAsAny.swift:110:34: warning: treating a forced downcast to 'Any.Type' as optional will never produce 'nil'
expectTrue(original == bridged as! Any.Type)
^
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/BridgeIdAsAny.swift.gyb.tmp/BridgeIdAsAny.swift:110:36: note: use 'as?' to perform a conditional downcast to 'Any.Type'
expectTrue(original == bridged as! Any.Type)
^
?
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/BridgeIdAsAny.swift.gyb.tmp/BridgeIdAsAny.swift:110:26: note: add parentheses around the cast to silence this warning
expectTrue(original == bridged as! Any.Type)
^
( )
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/BridgeIdAsAny.swift.gyb.tmp/BridgeIdAsAny.swift:115:34: warning: treating a forced downcast to 'Any.Type' as optional will never produce 'nil'
expectTrue(original == bridged as! Any.Type)
^
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/BridgeIdAsAny.swift.gyb.tmp/BridgeIdAsAny.swift:115:36: note: use 'as?' to perform a conditional downcast to 'Any.Type'
expectTrue(original == bridged as! Any.Type)
^
?
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/BridgeIdAsAny.swift.gyb.tmp/BridgeIdAsAny.swift:115:26: note: add parentheses around the cast to silence this warning
expectTrue(original == bridged as! Any.Type)
^
( )
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/BridgeIdAsAny.swift.gyb.script: line 4: 31874 Abort trap: 6 /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/BridgeIdAsAny.swift.gyb.tmp.out
--
********************
Testing: 0 .. 10
FAIL: Swift(macosx-x86_64) :: stdlib/ArrayBridge.swift.gyb (540 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: stdlib/ArrayBridge.swift.gyb' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/ArrayBridge.swift.gyb.tmp
mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/ArrayBridge.swift.gyb.tmp
/Users/bking/sandbox/swift-source/swift/utils/gyb /Users/bking/sandbox/swift-source/swift/test/stdlib/ArrayBridge.swift.gyb -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/ArrayBridge.swift.gyb.tmp/ArrayBridge.swift
xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk clang++ -arch x86_64 -mmacosx-version-min=10.9 -fmodules-cache-path='/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' /Users/bking/sandbox/swift-source/swift/test/stdlib/Inputs/ArrayBridge/ArrayBridge.m -c -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/ArrayBridge.swift.gyb.tmp/ArrayBridgeObjC.o -g
/Users/bking/sandbox/swift-source/swift/utils/line-directive /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/ArrayBridge.swift.gyb.tmp/ArrayBridge.swift -- xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/ArrayBridge.swift.gyb.tmp/ArrayBridge.swift -I /Users/bking/sandbox/swift-source/swift/test/stdlib/Inputs/ArrayBridge/ -Xlinker /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/ArrayBridge.swift.gyb.tmp/ArrayBridgeObjC.o -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/ArrayBridge.swift.gyb.tmp/ArrayBridge --
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/ArrayBridge.swift.gyb.tmp/ArrayBridge
--
Exit Code: 134
Command Output (stdout):
--
[ RUN ] ArrayBridge.testBridgedVerbatim
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] ArrayBridge.testBridgedVerbatim
[ RUN ] ArrayBridge.Another/Any
[ OK ] ArrayBridge.Another/Any
[ RUN ] ArrayBridge.testExplicitlyBridged/Any
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] ArrayBridge.testExplicitlyBridged/Any
[ RUN ] ArrayBridge.Another/AnyObject
[ OK ] ArrayBridge.Another/AnyObject
[ RUN ] ArrayBridge.testExplicitlyBridged/AnyObject
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] ArrayBridge.testExplicitlyBridged/AnyObject
[ RUN ] ArrayBridge.testThunks
[ OK ] ArrayBridge.testThunks
[ RUN ] ArrayBridge.testRoundTrip
[ OK ] ArrayBridge.testRoundTrip
[ RUN ] ArrayBridge.testMutableArray
[ OK ] ArrayBridge.testMutableArray
[ RUN ] ArrayBridge.rdar://problem/27905230
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] ArrayBridge.rdar://problem/27905230
ArrayBridge: Some tests failed, aborting
UXPASS: []
FAIL: ["testBridgedVerbatim", "testExplicitlyBridged/Any", "testExplicitlyBridged/AnyObject", "rdar://problem/27905230"]
SKIP: []
To debug, run:
$ /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/ArrayBridge.swift.gyb.tmp/ArrayBridge --stdlib-unittest-in-process --stdlib-unittest-filter "testBridgedVerbatim"
--
Command Output (stderr):
--
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/ArrayBridge.swift.gyb.script: line 6: 31888 Abort trap: 6 /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/ArrayBridge.swift.gyb.tmp/ArrayBridge
--
********************
Testing: 0 .. 10
FAIL: Swift(macosx-x86_64) :: Interpreter/objc_class_properties.swift (541 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: Interpreter/objc_class_properties.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_class_properties.swift.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_class_properties.swift.tmp
'/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/clang' "-fmodules-cache-path='/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16'" -arch x86_64 -mmacosx-version-min=10.9 -fmodules-cache-path='/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -isysroot "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk" -fobjc-arc /Users/bking/sandbox/swift-source/swift/test/Interpreter/Inputs/ObjCClasses/ObjCClasses.m -c -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_class_properties.swift.tmp/ObjCClasses.o
xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -I /Users/bking/sandbox/swift-source/swift/test/Interpreter/Inputs/ObjCClasses/ /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_class_properties.swift.tmp/ObjCClasses.o /Users/bking/sandbox/swift-source/swift/test/Interpreter/objc_class_properties.swift -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_class_properties.swift.tmp/a.out
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_class_properties.swift.tmp/a.out
--
Exit Code: 134
Command Output (stdout):
--
[ RUN ] ClassProperties.direct
[ OK ] ClassProperties.direct
[ RUN ] ClassProperties.existentials
[ OK ] ClassProperties.existentials
[ RUN ] ClassProperties.generics
[ OK ] ClassProperties.generics
[ RUN ] ClassProperties.inheritance
[ OK ] ClassProperties.inheritance
[ RUN ] ClassProperties.inheritance/generic
[ OK ] ClassProperties.inheritance/generic
[ RUN ] ClassProperties.optionalProp
[ OK ] ClassProperties.optionalProp
[ RUN ] ClassProperties.namingConflict
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] ClassProperties.namingConflict
[ RUN ] ClassProperties.namingConflict/protocol
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] ClassProperties.namingConflict/protocol
ClassProperties: Some tests failed, aborting
UXPASS: []
FAIL: ["namingConflict", "namingConflict/protocol"]
SKIP: []
To debug, run:
$ /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_class_properties.swift.tmp/a.out --stdlib-unittest-in-process --stdlib-unittest-filter "namingConflict"
--
Command Output (stderr):
--
clang-4.0: warning: argument unused during compilation: '-fmodules-cache-path='/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16'' [-Wunused-command-line-argument]
clang-4.0: warning: argument unused during compilation: '-fmodules-cache-path=/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' [-Wunused-command-line-argument]
/Users/bking/sandbox/swift-source/swift/test/Interpreter/Inputs/ObjCClasses/ObjCClasses.m:114:17: warning: class property 'value' requires method 'value' to be defined - use @dynamic or provide a method implementation in this class implementation [-Wobjc-property-implementation]
@implementation ObjCSubclassWithClassProperty
^
/Users/bking/sandbox/swift-source/swift/test/Interpreter/Inputs/ObjCClasses/ObjCClasses.h:76:23: note: property declared here
@property (class) int value;
^
/Users/bking/sandbox/swift-source/swift/test/Interpreter/Inputs/ObjCClasses/ObjCClasses.m:114:17: warning: class property 'value' requires method 'setValue:' to be defined - use @dynamic or provide a method implementation in this class implementation [-Wobjc-property-implementation]
@implementation ObjCSubclassWithClassProperty
^
/Users/bking/sandbox/swift-source/swift/test/Interpreter/Inputs/ObjCClasses/ObjCClasses.h:76:23: note: property declared here
@property (class) int value;
^
2 warnings generated.
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_class_properties.swift.script: line 4: 31897 Abort trap: 6 /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_class_properties.swift.tmp/a.out
--
********************
Testing: 0 .. 10.
FAIL: Swift(macosx-x86_64) :: Interpreter/builtin_bridge_object.swift (543 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: Interpreter/builtin_bridge_object.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/builtin_bridge_object.swift.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/builtin_bridge_object.swift.tmp
xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -parse-stdlib /Users/bking/sandbox/swift-source/swift/test/Interpreter/builtin_bridge_object.swift -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/builtin_bridge_object.swift.tmp/a.out
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/builtin_bridge_object.swift.tmp/a.out | /Users/bking/sandbox/swift-source/swift/utils/PathSanitizingFileCheck --sanitize 'BUILD_DIR=/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64' --sanitize 'SOURCE_DIR=/Users/bking/sandbox/swift-source/swift' --use-filecheck '/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck' /Users/bking/sandbox/swift-source/swift/test/Interpreter/builtin_bridge_object.swift
--
Exit Code: 2
Command Output (stderr):
--
FileCheck error: '-' is empty.
FileCheck command line: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck /Users/bking/sandbox/swift-source/swift/test/Interpreter/builtin_bridge_object.swift
--
********************
Testing: 0 .. 10.
FAIL: Swift(macosx-x86_64) :: Interpreter/SDK/errors.swift (544 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: Interpreter/SDK/errors.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/errors.swift.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/errors.swift.tmp
xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/errors.swift -import-objc-header /Users/bking/sandbox/swift-source/swift/test/Interpreter/SDK/Inputs/errors.h -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/errors.swift.tmp/main
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/errors.swift.tmp/main
--
Exit Code: 134
Command Output (stdout):
--
[ RUN ] ErrorHandling.succeed
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] ErrorHandling.succeed
[ RUN ] ErrorHandling.succeedIgnoringError
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] ErrorHandling.succeedIgnoringError
[ RUN ] ErrorHandling.fail
[ OK ] ErrorHandling.fail
[ RUN ] ErrorHandling.failIgnoringError
[ OK ] ErrorHandling.failIgnoringError
ErrorHandling: Some tests failed, aborting
UXPASS: []
FAIL: ["succeed", "succeedIgnoringError"]
SKIP: []
To debug, run:
$ /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/errors.swift.tmp/main --stdlib-unittest-in-process --stdlib-unittest-filter "succeed"
--
Command Output (stderr):
--
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/errors.swift.script: line 3: 31945 Abort trap: 6 /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/SDK/Output/errors.swift.tmp/main
--
********************
Testing: 0 .. 10.
FAIL: Swift(macosx-x86_64) :: stdlib/TestURL.swift (567 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: stdlib/TestURL.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/TestURL.swift.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/TestURL.swift.tmp && xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' /Users/bking/sandbox/swift-source/swift/test/stdlib/TestURL.swift -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/TestURL.swift.tmp/a.out -module-name main && /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/TestURL.swift.tmp/a.out
--
Exit Code: 134
Command Output (stdout):
--
[ RUN ] TestURL.testBasics
[ OK ] TestURL.testBasics
[ RUN ] TestURL.testProperties
[ OK ] TestURL.testProperties
[ RUN ] TestURL.testSetProperties
[ OK ] TestURL.testSetProperties
[ RUN ] TestURL.testQuarantineProperties
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] TestURL.testQuarantineProperties
[ RUN ] TestURL.testMoreSetProperties
[ OK ] TestURL.testMoreSetProperties
[ RUN ] TestURL.testURLComponents
[ OK ] TestURL.testURLComponents
[ RUN ] TestURL.testURLResourceValues
[ OK ] TestURL.testURLResourceValues
[ RUN ] TestURL.test_AnyHashableContainingURL
[ OK ] TestURL.test_AnyHashableContainingURL
[ RUN ] TestURL.test_AnyHashableCreatedFromNSURL
[ OK ] TestURL.test_AnyHashableCreatedFromNSURL
[ RUN ] TestURL.test_AnyHashableContainingURLComponents
[ OK ] TestURL.test_AnyHashableContainingURLComponents
[ RUN ] TestURL.test_AnyHashableCreatedFromNSURLComponents
[ OK ] TestURL.test_AnyHashableCreatedFromNSURLComponents
[ RUN ] TestURL.test_AnyHashableContainingURLQueryItem
[ OK ] TestURL.test_AnyHashableContainingURLQueryItem
[ RUN ] TestURL.test_AnyHashableCreatedFromNSURLQueryItem
[ OK ] TestURL.test_AnyHashableCreatedFromNSURLQueryItem
[ RUN ] TestURL.test_AnyHashableContainingURLRequest
[ OK ] TestURL.test_AnyHashableContainingURLRequest
[ RUN ] TestURL.test_AnyHashableCreatedFromNSURLRequest
[ OK ] TestURL.test_AnyHashableCreatedFromNSURLRequest
TestURL: Some tests failed, aborting
UXPASS: []
FAIL: ["testQuarantineProperties"]
SKIP: []
To debug, run:
$ /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/TestURL.swift.tmp/a.out --stdlib-unittest-in-process --stdlib-unittest-filter "testQuarantineProperties"
--
Command Output (stderr):
--
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/TestURL.swift.script: line 1: 32088 Abort trap: 6 /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/TestURL.swift.tmp/a.out
--
********************
Testing: 0 .. 10.
FAIL: Swift(macosx-x86_64) :: stdlib/Reflection_objc.swift (574 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: stdlib/Reflection_objc.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/Reflection_objc.swift.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/Reflection_objc.swift.tmp
xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk clang++ -arch x86_64 -mmacosx-version-min=10.9 -fmodules-cache-path='/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' /Users/bking/sandbox/swift-source/swift/test/stdlib/Inputs/Mirror/Mirror.mm -c -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/Reflection_objc.swift.tmp/Mirror.mm.o -g
xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -parse-stdlib /Users/bking/sandbox/swift-source/swift/test/stdlib/Reflection_objc.swift -module-name Reflection -I /Users/bking/sandbox/swift-source/swift/test/stdlib/Inputs/Mirror/ -Xlinker /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/Reflection_objc.swift.tmp/Mirror.mm.o -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/Reflection_objc.swift.tmp/a.out
/Users/bking/sandbox/swift-source/swift/test/stdlib/timeout.sh 360 /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/stdlib/Output/Reflection_objc.swift.tmp/a.out /Users/bking/sandbox/swift-source/swift/test/stdlib/Inputs/shuffle.jpg | /Users/bking/sandbox/swift-source/swift/utils/PathSanitizingFileCheck --sanitize 'BUILD_DIR=/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64' --sanitize 'SOURCE_DIR=/Users/bking/sandbox/swift-source/swift' --use-filecheck '/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck' /Users/bking/sandbox/swift-source/swift/test/stdlib/Reflection_objc.swift
--
Exit Code: 2
Command Output (stderr):
--
/Users/bking/sandbox/swift-source/swift/test/stdlib/timeout.sh: line 10: kill: (32124) - No such process
FileCheck error: '-' is empty.
FileCheck command line: /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck /Users/bking/sandbox/swift-source/swift/test/stdlib/Reflection_objc.swift
--
********************
Testing: 0 .. 10..
FAIL: Swift(macosx-x86_64) :: Interpreter/objc_runtime_visible.swift (617 of 3386)
******************** TEST 'Swift(macosx-x86_64) :: Interpreter/objc_runtime_visible.swift' FAILED ********************
Script:
--
rm -rf /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_runtime_visible.swift.tmp && mkdir -p /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_runtime_visible.swift.tmp
'/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/clang' "-fmodules-cache-path='/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16'" -arch x86_64 -mmacosx-version-min=10.9 -fmodules-cache-path='/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -isysroot "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk" -fobjc-arc /Users/bking/sandbox/swift-source/swift/test/Interpreter/Inputs/objc_runtime_visible.m -fmodules -nodefaultlibs -lc -dynamiclib -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_runtime_visible.swift.tmp/libobjc_runtime_visible.dylib -install_name @executable_path/libobjc_runtime_visible.dylib
codesign -f -s - /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_runtime_visible.swift.tmp/libobjc_runtime_visible.dylib
nm -g /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_runtime_visible.swift.tmp/libobjc_runtime_visible.dylib | /Users/bking/sandbox/swift-source/swift/utils/PathSanitizingFileCheck --sanitize 'BUILD_DIR=/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64' --sanitize 'SOURCE_DIR=/Users/bking/sandbox/swift-source/swift' --use-filecheck '/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/llvm-macosx-x86_64/./bin/FileCheck' /Users/bking/sandbox/swift-source/swift/test/Interpreter/objc_runtime_visible.swift
xcrun --toolchain default --sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/bin/swiftc -target x86_64-apple-macosx10.9 -module-cache-path '/var/folders/33/wl32_mc90t58zkt8sn1sm_sc0000gn/T/swift-testsuite-clang-module-cacheThDN16' -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -Xlinker -rpath -Xlinker /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/../../../Developer/Library/Frameworks -swift-version 3 -import-objc-header /Users/bking/sandbox/swift-source/swift/test/Interpreter/Inputs/objc_runtime_visible.h /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_runtime_visible.swift.tmp/libobjc_runtime_visible.dylib /Users/bking/sandbox/swift-source/swift/test/Interpreter/objc_runtime_visible.swift -o /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_runtime_visible.swift.tmp/main
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_runtime_visible.swift.tmp/main /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_runtime_visible.swift.tmp/libobjc_runtime_visible.dylib
--
Exit Code: 134
Command Output (stdout):
--
[ RUN ] ObjCRuntimeVisible.methods
[ OK ] ObjCRuntimeVisible.methods
[ RUN ] ObjCRuntimeVisible.downcast
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] ObjCRuntimeVisible.downcast
[ RUN ] ObjCRuntimeVisible.protocols
stderr>>> CRASHED: SIGSEGV
the test crashed unexpectedly
[ FAIL ] ObjCRuntimeVisible.protocols
[ RUN ] ObjCRuntimeVisible.protocols/downcast (XFAIL: [Always(reason: unimplemented)])
stdout>>> check failed at /Users/bking/sandbox/swift-source/swift/test/Interpreter/objc_runtime_visible.swift, line 70
stdout>>> expected optional to be non-nil
stderr>>> fatal error: unexpectedly found nil while unwrapping an Optional value: file /Users/bking/sandbox/swift-source/swift/test/Interpreter/objc_runtime_visible.swift, line 71
stderr>>> Current stack trace:
stderr>>> 0 libswiftCore.dylib 0x00000001069582f0 reportNow(unsigned int, char const*) + 232
stderr>>> 1 libswiftCore.dylib 0x00000001069582c0 swift_reportError + 27
stderr>>> 2 libswiftCore.dylib 0x0000000106a1cd90 _swift_stdlib_reportFatalErrorInFile + 168
stderr>>> 3 libswiftCore.dylib 0x0000000106541d60 (_fatalErrorMessage(StaticString, StaticString, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1).(closure #1).(closure #1) + 1319
stderr>>> 4 libswiftCore.dylib 0x000000010693f580 partial apply for (_fatalErrorMessage(StaticString, StaticString, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1).(closure #1).(closure #1) + 119
stderr>>> 5 libswiftCore.dylib 0x0000000106540b80 thunk for @callee_owned (@unowned UnsafeBufferPointer<UInt8>) -> () + 12
stderr>>> 6 libswiftCore.dylib 0x000000010693f640 partial apply for thunk for @callee_owned (@unowned UnsafeBufferPointer<UInt8>) -> () + 82
stderr>>> 7 libswiftCore.dylib 0x000000010653f870 StaticString.withUTF8Buffer<A> ((UnsafeBufferPointer<UInt8>) -> A) -> A + 1103
stderr>>> 8 libswiftCore.dylib 0x0000000106541bd0 (_fatalErrorMessage(StaticString, StaticString, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1).(closure #1) + 371
stderr>>> 9 libswiftCore.dylib 0x000000010693f430 partial apply for (_fatalErrorMessage(StaticString, StaticString, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1).(closure #1) + 135
stderr>>> 10 libswiftCore.dylib 0x0000000106540b80 thunk for @callee_owned (@unowned UnsafeBufferPointer<UInt8>) -> () + 12
stderr>>> 11 libswiftCore.dylib 0x000000010693f500 partial apply for thunk for @callee_owned (@unowned UnsafeBufferPointer<UInt8>) -> () + 82
stderr>>> 12 libswiftCore.dylib 0x000000010653f870 StaticString.withUTF8Buffer<A> ((UnsafeBufferPointer<UInt8>) -> A) -> A + 1103
stderr>>> 13 libswiftCore.dylib 0x0000000106541a20 (_fatalErrorMessage(StaticString, StaticString, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1) + 403
stderr>>> 14 libswiftCore.dylib 0x0000000106855a30 partial apply for (_fatalErrorMessage(StaticString, StaticString, file : StaticString, line : UInt, flags : UInt32) -> Never).(closure #1) + 151
stderr>>> 15 libswiftCore.dylib 0x0000000106540b80 thunk for @callee_owned (@unowned UnsafeBufferPointer<UInt8>) -> () + 12
stderr>>> 16 libswiftCore.dylib 0x0000000106855b10 partial apply for thunk for @callee_owned (@unowned UnsafeBufferPointer<UInt8>) -> () + 82
stderr>>> 17 libswiftCore.dylib 0x000000010653f870 StaticString.withUTF8Buffer<A> ((UnsafeBufferPointer<UInt8>) -> A) -> A + 1103
stderr>>> 18 libswiftCore.dylib 0x000000010653e7d0 _fatalErrorMessage(StaticString, StaticString, file : StaticString, line : UInt, flags : UInt32) -> Never + 428
stderr>>> 19 main 0x00000001064c7aa0 (closure #4) + 987
stderr>>> 20 libswiftStdlibUnittest.dylib 0x00000001075810e0 TestSuite._runTest(name : String, parameter : Int?) -> () + 1733
stderr>>> 21 libswiftStdlibUnittest.dylib 0x000000010757f1b0 _childProcess() -> () + 2317
stderr>>> 22 libswiftStdlibUnittest.dylib 0x000000010758eec0 runAllTests() -> () + 1020
stderr>>> 23 main 0x00000001064c65a0 main + 1619
stderr>>> 24 libdyld.dylib 0x00007fffa44a3254 start + 1
stderr>>> CRASHED: SIGILL
the test crashed unexpectedly
[ XFAIL ] ObjCRuntimeVisible.protocols/downcast
ObjCRuntimeVisible: Some tests failed, aborting
UXPASS: []
FAIL: ["downcast", "protocols"]
SKIP: []
To debug, run:
$ /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_runtime_visible.swift.tmp/main --stdlib-unittest-in-process --stdlib-unittest-filter "downcast"
--
Command Output (stderr):
--
/Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_runtime_visible.swift.script: line 6: 32509 Abort trap: 6 /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_runtime_visible.swift.tmp/main /Users/bking/sandbox/swift-source/build/Ninja-DebugAssert/swift-macosx-x86_64/test-macosx-x86_64/Interpreter/Output/objc_runtime_visible.swift.tmp/libobjc_runtime_visible.dylib
--
********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
Testing Time: 2643.27s
********************
Failing Tests (22):
Swift(macosx-x86_64) :: stdlib/Reflection_objc.swift
Swift(macosx-x86_64) :: stdlib/NSDictionary.swift
Swift(macosx-x86_64) :: Interpreter/SDK/objc_extensions.swift
Swift(macosx-x86_64) :: Interpreter/SDK/objc_switch.swift
Swift(macosx-x86_64) :: Interpreter/imported_objc_generics.swift
Swift(macosx-x86_64) :: Interpreter/SDK/KVO.swift
Swift(macosx-x86_64) :: Interpreter/SDK/objc_array_of_classes.swift
Swift(macosx-x86_64) :: stdlib/NSObject.swift
Swift(macosx-x86_64) :: stdlib/OptionalBridge.swift
Swift(macosx-x86_64) :: stdlib/KVO.swift
Swift(macosx-x86_64) :: stdlib/ArrayBridge.swift.gyb
Swift(macosx-x86_64) :: stdlib/ErrorBridged.swift
Swift(macosx-x86_64) :: stdlib/NSSetAPI.swift
Swift(macosx-x86_64) :: Interpreter/SDK/cf_extensions.swift
Swift(macosx-x86_64) :: stdlib/BridgeIdAsAny.swift.gyb
Swift(macosx-x86_64) :: Interpreter/SDK/Reflection_KVO.swift
Swift(macosx-x86_64) :: Interpreter/SDK/objc_mangling.swift
Swift(macosx-x86_64) :: Interpreter/objc_class_properties.swift
Swift(macosx-x86_64) :: Interpreter/SDK/errors.swift
Swift(macosx-x86_64) :: Interpreter/builtin_bridge_object.swift
Swift(macosx-x86_64) :: Interpreter/objc_runtime_visible.swift
Swift(macosx-x86_64) :: stdlib/TestURL.swift
Expected Passes : 3283
Expected Failures : 13
Unsupported Tests : 68
Unexpected Failures: 22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment