The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Trellis, reference main (cb3a67), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 08:39:13 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/valentinradu/Trellis.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/valentinradu/Trellis
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cb3a675 Bootstrap is a main actor now
Cloned https://github.com/valentinradu/Trellis.git
Revision (git rev-parse @):
cb3a67537a39565c623efb891b451c82f8390298
SUCCESS checkout https://github.com/valentinradu/Trellis.git at main
Fetching https://github.com/wickwirew/Runtime.git
[1/1966] Fetching runtime
Fetched https://github.com/wickwirew/Runtime.git from cache (1.03s)
Computing version for https://github.com/wickwirew/Runtime.git
Computed https://github.com/wickwirew/Runtime.git at 2.2.4 (0.64s)
Creating working copy for https://github.com/wickwirew/Runtime.git
Working copy of https://github.com/wickwirew/Runtime.git resolved at 2.2.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "trellis",
      "name": "Trellis",
      "url": "https://github.com/valentinradu/Trellis.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Trellis",
      "dependencies": [
        {
          "identity": "runtime",
          "name": "Runtime",
          "url": "https://github.com/wickwirew/Runtime.git",
          "version": "2.2.7",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Runtime",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/valentinradu/Trellis.git
[1/994] Fetching trellis
Fetched https://github.com/valentinradu/Trellis.git from cache (0.80s)
Fetching https://github.com/wickwirew/Runtime.git from cache
Fetched https://github.com/wickwirew/Runtime.git from cache (0.46s)
Computing version for https://github.com/wickwirew/Runtime.git
Computed https://github.com/wickwirew/Runtime.git at 2.2.7 (0.02s)
Creating working copy for https://github.com/valentinradu/Trellis.git
Working copy of https://github.com/valentinradu/Trellis.git resolved at main (cb3a675)
Creating working copy for https://github.com/wickwirew/Runtime.git
Working copy of https://github.com/wickwirew/Runtime.git resolved at 2.2.7
warning: '.resolve-product-dependencies': dependency 'trellis' is not used by any target
Found 1 product dependencies
  - Runtime
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/valentinradu/Trellis.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[2/4] Compiling CRuntime dummy.c
[3/4] Write swift-version--7754E27361AE5C74.txt
error: compile command failed due to signal 6 (use -v to see invocation)
Call parameter type does not match function signature!
i64 32
 i32  %76 = call noalias ptr @swift_allocObject(ptr getelementptr inbounds (%swift.full_boxmetadata, ptr @metadata, i32 0, i32 2), i64 32, i64 7) #4, !dbg !370
<unknown>:0: error: fatal error encountered during compilation; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
<unknown>:0: note: Broken module found, compilation aborted!
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Factory/DefaultValue.swift -primary-file /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Factory/Factory.swift -primary-file /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/ClassHeader.swift -primary-file /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/ClassMetadataLayout.swift -primary-file /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/ClassTypeDescriptor.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/EnumMetadataLayout.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/EnumTypeDescriptor.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/ExistentialContainter.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/FieldDescriptor.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/FunctionMetadataLayout.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/MetadataLayoutType.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/ProtocolDescriptor.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/ProtocolMetadataLayout.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/ProtocolTypeContainer.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/StructMetadataLayout.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/StructTypeDescriptor.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/TargetTypeGenericContextDescriptorHeader.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/TupleMetadataLayout.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/TypeDescriptor.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Layouts/ValueWitnessTable.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/ClassMetadata.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/EnumMetadata.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/FuntionMetadata.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/Metadata.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/MetadataType.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/NominalMetadataType.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/ProtocolMetadata.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/StructMetadata.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Metadata/TupleMetadata.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Models/Case.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Models/Errors.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Models/FunctionInfo.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Models/Kind.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Models/PropertyInfo.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Models/TypeInfo.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Models/TypeInfoConvertible.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Pointers/Pointers.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Pointers/RelativePointer.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Pointers/RelativeVectorPointer.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Pointers/Union.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Pointers/Vector.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Utilities/GettersSetters.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Utilities/Pointer+Extensions.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Utilities/RetainCounts.swift /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/Runtime/Utilities/String+Extensions.swift -supplementary-output-file-map /var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/TemporaryDirectory.JBC4To/supplementaryOutputs-1 -target arm64-apple-macosx10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -I /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Modules -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -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 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-driver -stats-output-dir .stats -strict-concurrency=complete -empty-abi-descriptor -resource-dir /Applications/Xcode-16.1.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 -fmodule-map-file=/Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/CRuntime/include/module.modulemap -Xcc -I -Xcc /Users/admin/builder/spi-builder-workspace/.build/checkouts/Runtime/Sources/CRuntime/include -Xcc -isysroot -Xcc /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk -Xcc -F -Xcc /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -Xcc -fPIC -Xcc -g -module-name Runtime -disable-clang-spi -target-sdk-version 15.1 -target-sdk-name macosx15.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.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/Runtime.build/DefaultValue.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Runtime.build/Factory.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Runtime.build/ClassHeader.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Runtime.build/ClassMetadataLayout.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Runtime.build/ClassTypeDescriptor.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.0.2 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
2.	Compiling with effective version 5.10
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           0x00000001063229ac llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1  swift-frontend           0x0000000106320c00 llvm::sys::RunSignalHandlers() + 112
2  swift-frontend           0x0000000106322f78 SignalHandler(int) + 292
3  libsystem_platform.dylib 0x000000019537b584 _sigtramp + 56
4  libsystem_pthread.dylib  0x000000019534ac20 pthread_kill + 288
5  libsystem_c.dylib        0x0000000195257a30 abort + 180
6  swift-frontend           0x0000000101084bc8 createDispatchingDiagnosticConsumerIfNeeded(swift::FrontendInputsAndOutputs const&, llvm::function_ref<std::__1::unique_ptr<swift::DiagnosticConsumer, std::__1::default_delete<swift::DiagnosticConsumer>> (swift::InputFile const&)>) + 0
7  swift-frontend           0x0000000106292730 llvm::report_fatal_error(llvm::Twine const&, bool) + 280
8  swift-frontend           0x0000000106292618 llvm::report_fatal_error(llvm::Twine const&, bool) + 0
9  swift-frontend           0x00000001012c53a8 llvm::detail::PassModel<llvm::Module, llvm::VerifierPass, llvm::PreservedAnalyses, llvm::AnalysisManager<llvm::Module>>::printPipeline(llvm::raw_ostream&, llvm::function_ref<llvm::StringRef (llvm::StringRef)>) + 0
10 swift-frontend           0x000000010605a304 llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&) + 224
11 swift-frontend           0x00000001012b9de4 swift::performLLVMOptimizations(swift::IRGenOptions const&, llvm::Module*, llvm::TargetMachine*, llvm::raw_pwrite_stream*) + 3764
12 swift-frontend           0x00000001012bba20 swift::performLLVM(swift::IRGenOptions const&, swift::DiagnosticEngine&, llvm::sys::SmartMutex<false>*, llvm::GlobalVariable*, llvm::Module*, llvm::TargetMachine*, llvm::StringRef, llvm::vfs::OutputBackend&, swift::UnifiedStatsReporter*) + 2352
13 swift-frontend           0x0000000100cd0bc8 generateCode(swift::CompilerInstance&, llvm::StringRef, llvm::Module*, llvm::GlobalVariable*) + 368
14 swift-frontend           0x0000000100ccc05c 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*) + 2316
15 swift-frontend           0x0000000100ccaebc swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 984
16 swift-frontend           0x0000000100cce174 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 1684
17 swift-frontend           0x0000000100cccea0 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3572
18 swift-frontend           0x0000000100c53f64 swift::mainEntry(int, char const**) + 3680
19 dyld                     0x0000000194fc20e0 start + 2360
BUILD FAILURE 6.0 macosSpm