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 Factory, reference v2.4.11 (98e965), with Swift 6.0 for macOS (SPM) on 5 May 2025 19:47:49 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hmlongco/Factory.git
Reference: v2.4.11
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hmlongco/Factory
 * tag               v2.4.11    -> FETCH_HEAD
HEAD is now at 98e965b Updates for 2.4.11
Cloned https://github.com/hmlongco/Factory.git
Revision (git rev-parse @):
98e965ba52769132a298769894f9741f8c291509
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hmlongco/Factory.git at v2.4.11
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/hmlongco/Factory.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/6] Write sources
[3/6] Copying PrivacyInfo.xcprivacy
[3/6] Write sources
[5/6] Write swift-version-5BDAB9E9C0126B9D.txt
[7/20] Compiling Factory Resolver.swift
[8/20] Compiling Factory Scopes.swift
[9/20] Compiling Factory Resolutions.swift
[10/21] Compiling Factory resource_bundle_accessor.swift
[11/21] Compiling Factory Aliases.swift
[12/21] Compiling Factory Containers.swift
[13/21] Emitting module Factory
[14/21] Compiling Factory Contexts.swift
[15/21] Compiling Factory Factory.swift
[16/21] Compiling Factory Globals.swift
[17/21] Compiling Factory Injections.swift
[18/21] Compiling Factory Modifiers.swift
[19/21] Compiling Factory Key.swift
[20/21] Compiling Factory Locking.swift
[21/21] Compiling Factory Registrations.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/23] Emitting module FactoryTesting
/Users/admin/builder/spi-builder-workspace/Sources/FactoryTesting/ContainerTrait.swift:41:74: error: cannot find type 'TestScoping' in scope
39 | /// That said, it's also possible to leverage this behavior in `XCTestCase`, by using the `@TaskLocal` provided `withValue` method.
40 | /// See examples in the ``ParallelXCTests`` file.
41 | public struct ContainerTrait<C: SharedContainer>: TestTrait, SuiteTrait, TestScoping {
   |                                                                          `- error: cannot find type 'TestScoping' in scope
42 |
43 |     public typealias Transform = @Sendable (C) async -> Void
[23/23] Compiling FactoryTesting ContainerTrait.swift
/Users/admin/builder/spi-builder-workspace/Sources/FactoryTesting/ContainerTrait.swift:41:74: error: cannot find type 'TestScoping' in scope
39 | /// That said, it's also possible to leverage this behavior in `XCTestCase`, by using the `@TaskLocal` provided `withValue` method.
40 | /// See examples in the ``ParallelXCTests`` file.
41 | public struct ContainerTrait<C: SharedContainer>: TestTrait, SuiteTrait, TestScoping {
   |                                                                          `- error: cannot find type 'TestScoping' in scope
42 |
43 |     public typealias Transform = @Sendable (C) async -> Void
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.12s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (3.05s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3376] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.63s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.60s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
BUILD FAILURE 6.0 macosSpm