Build Information
Failed to build SwanCore, reference main (71be03), with Swift 6.1 for macOS (SPM) on 1 Dec 2026 20:57:44 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.2.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwanSuite/SwanCore.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwanSuite/SwanCore
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 71be032 Correct watchOS availability for 128-bit integers
Cloned https://github.com/SwanSuite/SwanCore.git
Revision (git rev-parse @):
71be0321da129d4c08a2769d614fd821e70caafc
SUCCESS checkout https://github.com/SwanSuite/SwanCore.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/SwanSuite/SwanCore.git
https://github.com/SwanSuite/SwanCore.git
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "SwanCore",
"name" : "SwanCore",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "SwanCore",
"targets" : [
"SwanCore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwanCoreTests",
"module_type" : "SwiftTarget",
"name" : "SwanCoreTests",
"path" : "Tests",
"sources" : [
"Coding/JSONDecodingExtTests.swift",
"Coding/JSONEncodingExtTests.swift",
"Coding/String+CaseConvertingTests.swift",
"Collections/CacheTests.swift",
"Collections/WeakDictionaryTests.swift",
"DataValidation/DataDetectorTests.swift",
"DataValidation/StringValidatorTests.swift",
"Dictionary+RawRepresentable/Dictionary+RawRepresentable+OptionalTests.swift",
"Dictionary+RawRepresentable/Dictionary+RawRepresentableTests.swift",
"Dictionary+RawRepresentable/Dictionary+compactMapToDictionaryTests.swift",
"Dictionary+RawRepresentable/Dictionary+mapToDictionaryTests.swift",
"EmptyableTests.swift",
"Extensions/Bundle+LocalizationTests.swift",
"Extensions/Bundle+MetadataTests.swift",
"Storage/FileStorageTests.swift",
"Storage/PersistentStorageTests.swift",
"Storage/StorableTests.swift",
"Version/VersionFormatter+ParseTests.swift",
"Version/VersionFormatterTests.swift",
"Version/VersionTests.swift"
],
"target_dependencies" : [
"SwanCore"
],
"type" : "test"
},
{
"c99name" : "SwanCore",
"module_type" : "SwiftTarget",
"name" : "SwanCore",
"path" : "Sources",
"product_memberships" : [
"SwanCore"
],
"sources" : [
"Coding/Codable.swift",
"Coding/JSONDecodingExt.swift",
"Coding/JSONEncodingExt.swift",
"Coding/String+CaseConverting.swift",
"Collections/Cache.swift",
"Collections/Costable+Conformances.swift",
"Collections/MapTable.swift",
"Collections/WeakDictionary.swift",
"DataValidation/DataDetector.swift",
"DataValidation/StringValidator.swift",
"Dictionary+RawRepresentable/Dictionary+LazyResolution.swift",
"Dictionary+RawRepresentable/Dictionary+RawRepresentable+Aliases.swift",
"Dictionary+RawRepresentable/Dictionary+RawRepresentable+Optional.swift",
"Dictionary+RawRepresentable/Dictionary+RawRepresentable.swift",
"Dictionary+RawRepresentable/Dictionary+compactMapToDictionary.swift",
"Dictionary+RawRepresentable/Dictionary+mapToDictionary.swift",
"Emptiable+Conformances.swift",
"Emptiable.swift",
"Extensions/Bundle+Localization.swift",
"Extensions/Bundle+Metadata.swift",
"Extensions/Bundle+UIKit.swift",
"Extensions/NSObject+swizzling.swift",
"Extensions/String+Localization.swift",
"Locking/Locking.swift",
"Locking/RWLocking.swift",
"Storage/FileStorage.swift",
"Storage/PersistentStorage.swift",
"Storage/Storable.swift",
"Storage/UserDefaults+PersistentStorage.swift",
"Version/CanonicalVersionStage.swift",
"Version/Version.swift",
"Version/VersionFormatter+AST.swift",
"Version/VersionFormatter+Parse.swift",
"Version/VersionFormatter+Presets.swift",
"Version/VersionFormatter.swift",
"Version/VoidVersionStage.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/36] Emitting module SwanCore
/Users/admin/builder/spi-builder-workspace/Sources/Collections/Costable+Conformances.swift:51:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
49 | }
50 |
51 | extension NSData: Costable {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
52 |
53 | /// Automatically returns the underlying byte length memory footprint as its allocation cost metric.
/Users/admin/builder/spi-builder-workspace/Sources/Collections/Costable+Conformances.swift:51:1: error: conformance to 'Sendable' must occur in the same source file as class 'NSData'; use '@unchecked Sendable' for retroactive conformance
49 | }
50 |
51 | extension NSData: Costable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'NSData'; use '@unchecked Sendable' for retroactive conformance
52 |
53 | /// Automatically returns the underlying byte length memory footprint as its allocation cost metric.
/Users/admin/builder/spi-builder-workspace/Sources/Storage/UserDefaults+PersistentStorage.swift:17:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
15 | /// Since `UserDefaults` is intrinsically thread-safe and verified by Apple's core frameworks, it naturally aligns
16 | /// with the `Sendable` requirements under Swift 6's compilation constraints.
17 | extension UserDefaults: PersistentStorage {
| |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
18 |
19 | /// Saves a raw binary data chunk into user defaults under the given string key.
/Users/admin/builder/spi-builder-workspace/Sources/Storage/UserDefaults+PersistentStorage.swift:17:1: error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
15 | /// Since `UserDefaults` is intrinsically thread-safe and verified by Apple's core frameworks, it naturally aligns
16 | /// with the `Sendable` requirements under Swift 6's compilation constraints.
17 | extension UserDefaults: PersistentStorage {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
18 |
19 | /// Saves a raw binary data chunk into user defaults under the given string key.
[4/39] Compiling SwanCore Version.swift
[5/39] Compiling SwanCore VersionFormatter+AST.swift
[6/39] Compiling SwanCore VersionFormatter+Parse.swift
[7/39] Compiling SwanCore VersionFormatter+Presets.swift
[8/39] Compiling SwanCore VersionFormatter.swift
[9/39] Compiling SwanCore VoidVersionStage.swift
[10/39] Compiling SwanCore Codable.swift
[11/39] Compiling SwanCore JSONDecodingExt.swift
[12/39] Compiling SwanCore JSONEncodingExt.swift
[13/39] Compiling SwanCore String+CaseConverting.swift
[14/39] Compiling SwanCore Dictionary+RawRepresentable+Optional.swift
[15/39] Compiling SwanCore Dictionary+RawRepresentable.swift
[16/39] Compiling SwanCore Dictionary+compactMapToDictionary.swift
[17/39] Compiling SwanCore Dictionary+mapToDictionary.swift
[18/39] Compiling SwanCore Cache.swift
/Users/admin/builder/spi-builder-workspace/Sources/Collections/Costable+Conformances.swift:51:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
49 | }
50 |
51 | extension NSData: Costable {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
52 |
53 | /// Automatically returns the underlying byte length memory footprint as its allocation cost metric.
/Users/admin/builder/spi-builder-workspace/Sources/Collections/Costable+Conformances.swift:51:1: error: conformance to 'Sendable' must occur in the same source file as class 'NSData'; use '@unchecked Sendable' for retroactive conformance
49 | }
50 |
51 | extension NSData: Costable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'NSData'; use '@unchecked Sendable' for retroactive conformance
52 |
53 | /// Automatically returns the underlying byte length memory footprint as its allocation cost metric.
[19/39] Compiling SwanCore Costable+Conformances.swift
/Users/admin/builder/spi-builder-workspace/Sources/Collections/Costable+Conformances.swift:51:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
49 | }
50 |
51 | extension NSData: Costable {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
52 |
53 | /// Automatically returns the underlying byte length memory footprint as its allocation cost metric.
/Users/admin/builder/spi-builder-workspace/Sources/Collections/Costable+Conformances.swift:51:1: error: conformance to 'Sendable' must occur in the same source file as class 'NSData'; use '@unchecked Sendable' for retroactive conformance
49 | }
50 |
51 | extension NSData: Costable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'NSData'; use '@unchecked Sendable' for retroactive conformance
52 |
53 | /// Automatically returns the underlying byte length memory footprint as its allocation cost metric.
[20/39] Compiling SwanCore MapTable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Collections/Costable+Conformances.swift:51:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
49 | }
50 |
51 | extension NSData: Costable {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
52 |
53 | /// Automatically returns the underlying byte length memory footprint as its allocation cost metric.
/Users/admin/builder/spi-builder-workspace/Sources/Collections/Costable+Conformances.swift:51:1: error: conformance to 'Sendable' must occur in the same source file as class 'NSData'; use '@unchecked Sendable' for retroactive conformance
49 | }
50 |
51 | extension NSData: Costable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'NSData'; use '@unchecked Sendable' for retroactive conformance
52 |
53 | /// Automatically returns the underlying byte length memory footprint as its allocation cost metric.
[21/39] Compiling SwanCore WeakDictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/Collections/Costable+Conformances.swift:51:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
49 | }
50 |
51 | extension NSData: Costable {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
52 |
53 | /// Automatically returns the underlying byte length memory footprint as its allocation cost metric.
/Users/admin/builder/spi-builder-workspace/Sources/Collections/Costable+Conformances.swift:51:1: error: conformance to 'Sendable' must occur in the same source file as class 'NSData'; use '@unchecked Sendable' for retroactive conformance
49 | }
50 |
51 | extension NSData: Costable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'NSData'; use '@unchecked Sendable' for retroactive conformance
52 |
53 | /// Automatically returns the underlying byte length memory footprint as its allocation cost metric.
[22/39] Compiling SwanCore DataDetector.swift
[23/39] Compiling SwanCore StringValidator.swift
[24/39] Compiling SwanCore Dictionary+LazyResolution.swift
[25/39] Compiling SwanCore Dictionary+RawRepresentable+Aliases.swift
[26/39] Compiling SwanCore Emptiable+Conformances.swift
[27/39] Compiling SwanCore Emptiable.swift
[28/39] Compiling SwanCore Bundle+Localization.swift
[29/39] Compiling SwanCore Bundle+Metadata.swift
[30/39] Compiling SwanCore RWLocking.swift
[31/39] Compiling SwanCore FileStorage.swift
[32/39] Compiling SwanCore PersistentStorage.swift
error: compile command failed due to signal 5 (use -v to see invocation)
Unhandled SIL Instruction: %4 = objc_method %3 : $NSLock, #NSLock.`try`!foreign : (NSLock) -> () -> Bool, $@convention(objc_method) (NSLock) -> Bool // user: %6
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/Coding/Codable.swift /Users/admin/builder/spi-builder-workspace/Sources/Coding/JSONDecodingExt.swift /Users/admin/builder/spi-builder-workspace/Sources/Coding/JSONEncodingExt.swift /Users/admin/builder/spi-builder-workspace/Sources/Coding/String+CaseConverting.swift /Users/admin/builder/spi-builder-workspace/Sources/Collections/Cache.swift /Users/admin/builder/spi-builder-workspace/Sources/Collections/Costable+Conformances.swift /Users/admin/builder/spi-builder-workspace/Sources/Collections/MapTable.swift /Users/admin/builder/spi-builder-workspace/Sources/Collections/WeakDictionary.swift /Users/admin/builder/spi-builder-workspace/Sources/DataValidation/DataDetector.swift /Users/admin/builder/spi-builder-workspace/Sources/DataValidation/StringValidator.swift /Users/admin/builder/spi-builder-workspace/Sources/Dictionary+RawRepresentable/Dictionary+LazyResolution.swift /Users/admin/builder/spi-builder-workspace/Sources/Dictionary+RawRepresentable/Dictionary+RawRepresentable+Aliases.swift /Users/admin/builder/spi-builder-workspace/Sources/Dictionary+RawRepresentable/Dictionary+RawRepresentable+Optional.swift /Users/admin/builder/spi-builder-workspace/Sources/Dictionary+RawRepresentable/Dictionary+RawRepresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/Dictionary+RawRepresentable/Dictionary+compactMapToDictionary.swift /Users/admin/builder/spi-builder-workspace/Sources/Dictionary+RawRepresentable/Dictionary+mapToDictionary.swift /Users/admin/builder/spi-builder-workspace/Sources/Emptiable+Conformances.swift /Users/admin/builder/spi-builder-workspace/Sources/Emptiable.swift /Users/admin/builder/spi-builder-workspace/Sources/Extensions/Bundle+Localization.swift /Users/admin/builder/spi-builder-workspace/Sources/Extensions/Bundle+Metadata.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Extensions/Bundle+UIKit.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSObject+swizzling.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Extensions/String+Localization.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Locking/Locking.swift /Users/admin/builder/spi-builder-workspace/Sources/Locking/RWLocking.swift /Users/admin/builder/spi-builder-workspace/Sources/Storage/FileStorage.swift /Users/admin/builder/spi-builder-workspace/Sources/Storage/PersistentStorage.swift /Users/admin/builder/spi-builder-workspace/Sources/Storage/Storable.swift /Users/admin/builder/spi-builder-workspace/Sources/Storage/UserDefaults+PersistentStorage.swift /Users/admin/builder/spi-builder-workspace/Sources/Version/CanonicalVersionStage.swift /Users/admin/builder/spi-builder-workspace/Sources/Version/Version.swift /Users/admin/builder/spi-builder-workspace/Sources/Version/VersionFormatter+AST.swift /Users/admin/builder/spi-builder-workspace/Sources/Version/VersionFormatter+Parse.swift /Users/admin/builder/spi-builder-workspace/Sources/Version/VersionFormatter+Presets.swift /Users/admin/builder/spi-builder-workspace/Sources/Version/VersionFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/Version/VoidVersionStage.swift -supplementary-output-file-map /var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/T/TemporaryDirectory.brmoku/supplementaryOutputs-6 -target arm64-apple-macosx13.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -I /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Modules -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-driver -stats-output-dir .stats -empty-abi-descriptor -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace -Xcc -isysroot -Xcc /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -Xcc -F -Xcc /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -Xcc -F -Xcc /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks -Xcc -fPIC -Xcc -g -module-name SwanCore -package-name spi_builder_workspace -disable-clang-spi -target-sdk-version 15.4 -target-sdk-name macosx15.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwanCore.build/Bundle+UIKit.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwanCore.build/NSObject+swizzling.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwanCore.build/String+Localization.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwanCore.build/Locking.swift.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/index/store -index-system-modules
1. Apple Swift version 6.1 (swiftlang-6.1.0.110.21 clang-1700.0.13.3)
2. Compiling with the current language version
3. While evaluating request ExecuteSILPipelineRequest(Run pipelines { Mandatory Diagnostic Passes + Enabling Optimization Passes } on SIL for SwanCore)
4. While running pass #677 SILFunctionTransform "MoveOnlyTypeEliminator" on SILFunction "@$sSo6NSLockC8SwanCoreE15lockIfAvailableSbyF".
for 'lockIfAvailable()' (at /Users/admin/builder/spi-builder-workspace/Sources/Locking/Locking.swift:70:51)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x0000000108d46c28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 swift-frontend 0x0000000108d44a60 llvm::sys::RunSignalHandlers() + 112
2 swift-frontend 0x0000000108d47264 SignalHandler(int) + 360
3 libsystem_platform.dylib 0x0000000199717624 _sigtramp + 56
4 swift-frontend 0x0000000103a2a650 swift::SILInstructionVisitor<(anonymous namespace)::SILMoveOnlyWrappedTypeEliminatorVisitor, bool>::visitAllocPackInst(swift::AllocPackInst*) + 40
5 swift-frontend 0x0000000103a2a0e0 (anonymous namespace)::SILMoveOnlyWrappedTypeEliminatorPass::run() + 6876
6 swift-frontend 0x0000000103a37810 swift::SILPassManager::runFunctionPasses(unsigned int, unsigned int) + 3336
7 swift-frontend 0x0000000103a33c54 swift::SILPassManager::executePassPipelinePlan(swift::SILPassPipelinePlan const&) + 12100
8 swift-frontend 0x0000000103a6ec50 swift::SimpleRequest<swift::ExecuteSILPipelineRequest, std::__1::tuple<> (swift::SILPipelineExecutionDescriptor), (swift::RequestFlags)1>::evaluateRequest(swift::ExecuteSILPipelineRequest const&, swift::Evaluator&) + 52
9 swift-frontend 0x0000000103a526e0 swift::ExecuteSILPipelineRequest::OutputType swift::Evaluator::getResultUncached<swift::ExecuteSILPipelineRequest, swift::ExecuteSILPipelineRequest::OutputType swift::evaluateOrFatal<swift::ExecuteSILPipelineRequest>(swift::Evaluator&, swift::ExecuteSILPipelineRequest)::'lambda'()>(swift::ExecuteSILPipelineRequest const&, swift::ExecuteSILPipelineRequest::OutputType swift::evaluateOrFatal<swift::ExecuteSILPipelineRequest>(swift::Evaluator&, swift::ExecuteSILPipelineRequest)::'lambda'()) + 412
10 swift-frontend 0x0000000103a559e0 swift::runSILDiagnosticPasses(swift::SILModule&) + 416
11 swift-frontend 0x0000000102f5866c swift::CompilerInstance::performSILProcessing(swift::SILModule*) + 656
12 swift-frontend 0x0000000102b98d90 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 1360
13 swift-frontend 0x0000000102b980a8 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 1036
14 swift-frontend 0x0000000102b9b654 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 1764
15 swift-frontend 0x0000000102b99fd8 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3716
16 swift-frontend 0x0000000102b1e0bc swift::mainEntry(int, char const**) + 5428
17 dyld 0x000000019933eb4c start + 6000
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/35] Emitting module SwanCore
/Users/admin/builder/spi-builder-workspace/Sources/Collections/Costable+Conformances.swift:51:1: warning: extension declares a conformance of imported type 'NSData' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
49 | }
50 |
51 | extension NSData: Costable {
| |- warning: extension declares a conformance of imported type 'NSData' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
52 |
53 | /// Automatically returns the underlying byte length memory footprint as its allocation cost metric.
/Users/admin/builder/spi-builder-workspace/Sources/Collections/Costable+Conformances.swift:51:1: error: conformance to 'Sendable' must occur in the same source file as class 'NSData'; use '@unchecked Sendable' for retroactive conformance
49 | }
50 |
51 | extension NSData: Costable {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'NSData'; use '@unchecked Sendable' for retroactive conformance
52 |
53 | /// Automatically returns the underlying byte length memory footprint as its allocation cost metric.
/Users/admin/builder/spi-builder-workspace/Sources/Storage/UserDefaults+PersistentStorage.swift:17:1: warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
15 | /// Since `UserDefaults` is intrinsically thread-safe and verified by Apple's core frameworks, it naturally aligns
16 | /// with the `Sendable` requirements under Swift 6's compilation constraints.
17 | extension UserDefaults: PersistentStorage {
| |- warning: extension declares a conformance of imported type 'UserDefaults' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
18 |
19 | /// Saves a raw binary data chunk into user defaults under the given string key.
/Users/admin/builder/spi-builder-workspace/Sources/Storage/UserDefaults+PersistentStorage.swift:17:1: error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
15 | /// Since `UserDefaults` is intrinsically thread-safe and verified by Apple's core frameworks, it naturally aligns
16 | /// with the `Sendable` requirements under Swift 6's compilation constraints.
17 | extension UserDefaults: PersistentStorage {
| `- error: conformance to 'Sendable' must occur in the same source file as class 'UserDefaults'; use '@unchecked Sendable' for retroactive conformance
18 |
19 | /// Saves a raw binary data chunk into user defaults under the given string key.
[3/38] Compiling SwanCore Codable.swift
[4/38] Compiling SwanCore JSONDecodingExt.swift
[5/38] Compiling SwanCore JSONEncodingExt.swift
[6/38] Compiling SwanCore String+CaseConverting.swift
[7/38] Compiling SwanCore Dictionary+RawRepresentable+Optional.swift
[8/38] Compiling SwanCore Dictionary+RawRepresentable.swift
[9/38] Compiling SwanCore Dictionary+compactMapToDictionary.swift
[10/38] Compiling SwanCore Dictionary+mapToDictionary.swift
error: compile command failed due to signal 5 (use -v to see invocation)
Unhandled SIL Instruction: %4 = objc_method %3 : $NSLock, #NSLock.`try`!foreign : (NSLock) -> () -> Bool, $@convention(objc_method) (NSLock) -> Bool // user: %6
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/Coding/Codable.swift /Users/admin/builder/spi-builder-workspace/Sources/Coding/JSONDecodingExt.swift /Users/admin/builder/spi-builder-workspace/Sources/Coding/JSONEncodingExt.swift /Users/admin/builder/spi-builder-workspace/Sources/Coding/String+CaseConverting.swift /Users/admin/builder/spi-builder-workspace/Sources/Collections/Cache.swift /Users/admin/builder/spi-builder-workspace/Sources/Collections/Costable+Conformances.swift /Users/admin/builder/spi-builder-workspace/Sources/Collections/MapTable.swift /Users/admin/builder/spi-builder-workspace/Sources/Collections/WeakDictionary.swift /Users/admin/builder/spi-builder-workspace/Sources/DataValidation/DataDetector.swift /Users/admin/builder/spi-builder-workspace/Sources/DataValidation/StringValidator.swift /Users/admin/builder/spi-builder-workspace/Sources/Dictionary+RawRepresentable/Dictionary+LazyResolution.swift /Users/admin/builder/spi-builder-workspace/Sources/Dictionary+RawRepresentable/Dictionary+RawRepresentable+Aliases.swift /Users/admin/builder/spi-builder-workspace/Sources/Dictionary+RawRepresentable/Dictionary+RawRepresentable+Optional.swift /Users/admin/builder/spi-builder-workspace/Sources/Dictionary+RawRepresentable/Dictionary+RawRepresentable.swift /Users/admin/builder/spi-builder-workspace/Sources/Dictionary+RawRepresentable/Dictionary+compactMapToDictionary.swift /Users/admin/builder/spi-builder-workspace/Sources/Dictionary+RawRepresentable/Dictionary+mapToDictionary.swift /Users/admin/builder/spi-builder-workspace/Sources/Emptiable+Conformances.swift /Users/admin/builder/spi-builder-workspace/Sources/Emptiable.swift /Users/admin/builder/spi-builder-workspace/Sources/Extensions/Bundle+Localization.swift /Users/admin/builder/spi-builder-workspace/Sources/Extensions/Bundle+Metadata.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Extensions/Bundle+UIKit.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSObject+swizzling.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Extensions/String+Localization.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/Locking/Locking.swift /Users/admin/builder/spi-builder-workspace/Sources/Locking/RWLocking.swift /Users/admin/builder/spi-builder-workspace/Sources/Storage/FileStorage.swift /Users/admin/builder/spi-builder-workspace/Sources/Storage/PersistentStorage.swift /Users/admin/builder/spi-builder-workspace/Sources/Storage/Storable.swift /Users/admin/builder/spi-builder-workspace/Sources/Storage/UserDefaults+PersistentStorage.swift /Users/admin/builder/spi-builder-workspace/Sources/Version/CanonicalVersionStage.swift /Users/admin/builder/spi-builder-workspace/Sources/Version/Version.swift /Users/admin/builder/spi-builder-workspace/Sources/Version/VersionFormatter+AST.swift /Users/admin/builder/spi-builder-workspace/Sources/Version/VersionFormatter+Parse.swift /Users/admin/builder/spi-builder-workspace/Sources/Version/VersionFormatter+Presets.swift /Users/admin/builder/spi-builder-workspace/Sources/Version/VersionFormatter.swift /Users/admin/builder/spi-builder-workspace/Sources/Version/VoidVersionStage.swift -supplementary-output-file-map /var/folders/5k/5yc19ymj0jqd5v0zvgfqz0xw0000gn/T/TemporaryDirectory.grqxbs/supplementaryOutputs-6 -target arm64-apple-macosx13.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -I /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Modules -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-driver -empty-abi-descriptor -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace -Xcc -isysroot -Xcc /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -Xcc -F -Xcc /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -Xcc -F -Xcc /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks -Xcc -fPIC -Xcc -g -module-name SwanCore -package-name spi_builder_workspace -disable-clang-spi -target-sdk-version 15.4 -target-sdk-name macosx15.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwanCore.build/Bundle+UIKit.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwanCore.build/NSObject+swizzling.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwanCore.build/String+Localization.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/SwanCore.build/Locking.swift.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/index/store -index-system-modules
1. Apple Swift version 6.1 (swiftlang-6.1.0.110.21 clang-1700.0.13.3)
2. Compiling with the current language version
3. While evaluating request ExecuteSILPipelineRequest(Run pipelines { Mandatory Diagnostic Passes + Enabling Optimization Passes } on SIL for SwanCore)
4. While running pass #677 SILFunctionTransform "MoveOnlyTypeEliminator" on SILFunction "@$sSo6NSLockC8SwanCoreE15lockIfAvailableSbyF".
for 'lockIfAvailable()' (at /Users/admin/builder/spi-builder-workspace/Sources/Locking/Locking.swift:70:51)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x000000010ae02c28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 swift-frontend 0x000000010ae00a60 llvm::sys::RunSignalHandlers() + 112
2 swift-frontend 0x000000010ae03264 SignalHandler(int) + 360
3 libsystem_platform.dylib 0x0000000199717624 _sigtramp + 56
4 swift-frontend 0x0000000105ae6650 swift::SILInstructionVisitor<(anonymous namespace)::SILMoveOnlyWrappedTypeEliminatorVisitor, bool>::visitAllocPackInst(swift::AllocPackInst*) + 40
5 swift-frontend 0x0000000105ae60e0 (anonymous namespace)::SILMoveOnlyWrappedTypeEliminatorPass::run() + 6876
6 swift-frontend 0x0000000105af3810 swift::SILPassManager::runFunctionPasses(unsigned int, unsigned int) + 3336
7 swift-frontend 0x0000000105aefc54 swift::SILPassManager::executePassPipelinePlan(swift::SILPassPipelinePlan const&) + 12100
8 swift-frontend 0x0000000105b2ac50 swift::SimpleRequest<swift::ExecuteSILPipelineRequest, std::__1::tuple<> (swift::SILPipelineExecutionDescriptor), (swift::RequestFlags)1>::evaluateRequest(swift::ExecuteSILPipelineRequest const&, swift::Evaluator&) + 52
9 swift-frontend 0x0000000105b0e6e0 swift::ExecuteSILPipelineRequest::OutputType swift::Evaluator::getResultUncached<swift::ExecuteSILPipelineRequest, swift::ExecuteSILPipelineRequest::OutputType swift::evaluateOrFatal<swift::ExecuteSILPipelineRequest>(swift::Evaluator&, swift::ExecuteSILPipelineRequest)::'lambda'()>(swift::ExecuteSILPipelineRequest const&, swift::ExecuteSILPipelineRequest::OutputType swift::evaluateOrFatal<swift::ExecuteSILPipelineRequest>(swift::Evaluator&, swift::ExecuteSILPipelineRequest)::'lambda'()) + 412
10 swift-frontend 0x0000000105b119e0 swift::runSILDiagnosticPasses(swift::SILModule&) + 416
11 swift-frontend 0x000000010501466c swift::CompilerInstance::performSILProcessing(swift::SILModule*) + 656
12 swift-frontend 0x0000000104c54d90 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 1360
13 swift-frontend 0x0000000104c540a8 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 1036
14 swift-frontend 0x0000000104c57654 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 1764
15 swift-frontend 0x0000000104c55fd8 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3716
16 swift-frontend 0x0000000104bda0bc swift::mainEntry(int, char const**) + 5428
17 dyld 0x000000019933eb4c start + 6000
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Tests/Info.plist
BUILD FAILURE 6.1 macosSpm