The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwanCore, reference 1.0.0 (71be03), with Swift 6.1 for macOS (SPM) on 1 Dec 2026 20:57:46 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.2.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwanSuite/SwanCore.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwanSuite/SwanCore
 * tag               1.0.0      -> FETCH_HEAD
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 1.0.0
========================================
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 VersionFormatter+Presets.swift
[5/39] Compiling SwanCore VersionFormatter.swift
[6/39] Compiling SwanCore VoidVersionStage.swift
[7/39] Compiling SwanCore Storable.swift
/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.
[8/39] Compiling SwanCore UserDefaults+PersistentStorage.swift
/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.
[9/39] Compiling SwanCore CanonicalVersionStage.swift
/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.
[10/39] Compiling SwanCore DataDetector.swift
[11/39] Compiling SwanCore StringValidator.swift
[12/39] Compiling SwanCore Dictionary+LazyResolution.swift
[13/39] Compiling SwanCore Dictionary+RawRepresentable+Aliases.swift
[14/39] Compiling SwanCore Codable.swift
[15/39] Compiling SwanCore JSONDecodingExt.swift
[16/39] Compiling SwanCore JSONEncodingExt.swift
[17/39] Compiling SwanCore String+CaseConverting.swift
[18/39] Compiling SwanCore Version.swift
[19/39] Compiling SwanCore VersionFormatter+AST.swift
[20/39] Compiling SwanCore VersionFormatter+Parse.swift
[21/39] Compiling SwanCore Dictionary+RawRepresentable+Optional.swift
[22/39] Compiling SwanCore Dictionary+RawRepresentable.swift
[23/39] Compiling SwanCore Dictionary+compactMapToDictionary.swift
[24/39] Compiling SwanCore Dictionary+mapToDictionary.swift
[25/39] Compiling SwanCore Emptiable+Conformances.swift
[26/39] Compiling SwanCore Emptiable.swift
[27/39] Compiling SwanCore Bundle+Localization.swift
[28/39] Compiling SwanCore Bundle+Metadata.swift
error: compile command failed due to signal 5 (use -v to see invocation)
[29/39] Compiling SwanCore RWLocking.swift
[30/39] Compiling SwanCore FileStorage.swift
[31/39] Compiling SwanCore PersistentStorage.swift
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.uO80n7/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           0x0000000106ae2c28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1  swift-frontend           0x0000000106ae0a60 llvm::sys::RunSignalHandlers() + 112
2  swift-frontend           0x0000000106ae3264 SignalHandler(int) + 360
3  libsystem_platform.dylib 0x0000000192727624 _sigtramp + 56
4  swift-frontend           0x00000001017c6650 swift::SILInstructionVisitor<(anonymous namespace)::SILMoveOnlyWrappedTypeEliminatorVisitor, bool>::visitAllocPackInst(swift::AllocPackInst*) + 40
5  swift-frontend           0x00000001017c60e0 (anonymous namespace)::SILMoveOnlyWrappedTypeEliminatorPass::run() + 6876
6  swift-frontend           0x00000001017d3810 swift::SILPassManager::runFunctionPasses(unsigned int, unsigned int) + 3336
7  swift-frontend           0x00000001017cfc54 swift::SILPassManager::executePassPipelinePlan(swift::SILPassPipelinePlan const&) + 12100
8  swift-frontend           0x000000010180ac50 swift::SimpleRequest<swift::ExecuteSILPipelineRequest, std::__1::tuple<> (swift::SILPipelineExecutionDescriptor), (swift::RequestFlags)1>::evaluateRequest(swift::ExecuteSILPipelineRequest const&, swift::Evaluator&) + 52
9  swift-frontend           0x00000001017ee6e0 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           0x00000001017f19e0 swift::runSILDiagnosticPasses(swift::SILModule&) + 416
11 swift-frontend           0x0000000100cf466c swift::CompilerInstance::performSILProcessing(swift::SILModule*) + 656
12 swift-frontend           0x0000000100934d90 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           0x00000001009340a8 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 1036
14 swift-frontend           0x0000000100937654 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 1764
15 swift-frontend           0x0000000100935fd8 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3716
16 swift-frontend           0x00000001008ba0bc swift::mainEntry(int, char const**) + 5428
17 dyld                     0x000000019234eb4c 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.
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.cxKiAd/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           0x000000010894ec28 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1  swift-frontend           0x000000010894ca60 llvm::sys::RunSignalHandlers() + 112
2  swift-frontend           0x000000010894f264 SignalHandler(int) + 360
3  libsystem_platform.dylib 0x0000000192727624 _sigtramp + 56
4  swift-frontend           0x0000000103632650 swift::SILInstructionVisitor<(anonymous namespace)::SILMoveOnlyWrappedTypeEliminatorVisitor, bool>::visitAllocPackInst(swift::AllocPackInst*) + 40
5  swift-frontend           0x00000001036320e0 (anonymous namespace)::SILMoveOnlyWrappedTypeEliminatorPass::run() + 6876
6  swift-frontend           0x000000010363f810 swift::SILPassManager::runFunctionPasses(unsigned int, unsigned int) + 3336
7  swift-frontend           0x000000010363bc54 swift::SILPassManager::executePassPipelinePlan(swift::SILPassPipelinePlan const&) + 12100
8  swift-frontend           0x0000000103676c50 swift::SimpleRequest<swift::ExecuteSILPipelineRequest, std::__1::tuple<> (swift::SILPipelineExecutionDescriptor), (swift::RequestFlags)1>::evaluateRequest(swift::ExecuteSILPipelineRequest const&, swift::Evaluator&) + 52
9  swift-frontend           0x000000010365a6e0 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           0x000000010365d9e0 swift::runSILDiagnosticPasses(swift::SILModule&) + 416
11 swift-frontend           0x0000000102b6066c swift::CompilerInstance::performSILProcessing(swift::SILModule*) + 656
12 swift-frontend           0x00000001027a0d90 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           0x00000001027a00a8 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 1036
14 swift-frontend           0x00000001027a3654 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 1764
15 swift-frontend           0x00000001027a1fd8 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3716
16 swift-frontend           0x00000001027260bc swift::mainEntry(int, char const**) + 5428
17 dyld                     0x000000019234eb4c 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