Build Information
Successful build of DependencyInjection, reference master (8e6599
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 13:03:09 UTC.
Swift 6 data race errors: 1
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/sebastianpixel/dependencyinjection.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sebastianpixel/dependencyinjection
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 8e65999 bump podspec version
Cloned https://github.com/sebastianpixel/dependencyinjection.git
Revision (git rev-parse @):
8e65999330f2cead7b0aa246792a14180c50c413
SUCCESS checkout https://github.com/sebastianpixel/dependencyinjection.git at master
Fetching https://github.com/realm/SwiftLint
[1/141188] Fetching swiftlint
Fetched https://github.com/realm/SwiftLint from cache (293.15s)
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/929] Fetching swiftytexttable
[11/3749] Fetching swiftytexttable, swxmlhash
[292/6072] Fetching swiftytexttable, swxmlhash, commandant
[572/15974] Fetching swiftytexttable, swxmlhash, commandant, yams
[2800/31990] Fetching swiftytexttable, swxmlhash, commandant, yams, sourcekitten
[2833/46713] Fetching swiftytexttable, swxmlhash, commandant, yams, sourcekitten, quick
[33837/65931] Fetching swiftytexttable, swxmlhash, commandant, yams, sourcekitten, quick, nimble
Fetched https://github.com/jpsim/Yams.git from cache (2.49s)
Fetched https://github.com/Quick/Quick.git from cache (2.49s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (2.49s)
[7802/25290] Fetching swiftytexttable, swxmlhash, commandant, nimble
Fetched https://github.com/Carthage/Commandant.git from cache (13.85s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (13.85s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (13.85s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Fetched https://github.com/Quick/Nimble.git from cache (13.85s)
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.55s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.62s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.29.0 (0.62s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (0.66s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.1 (0.61s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.1 (0.63s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.62s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.1
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 5.0.1
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.17.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at master (9e5557f)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.29.0
========================================
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": "dependencyinjection",
"name": "DependencyInjection",
"url": "https://github.com/sebastianpixel/dependencyinjection.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/dependencyinjection",
"dependencies": [
]
}
]
}
Fetching https://github.com/sebastianpixel/dependencyinjection.git
[1/302] Fetching dependencyinjection
Fetched https://github.com/sebastianpixel/dependencyinjection.git from cache (0.69s)
Creating working copy for https://github.com/sebastianpixel/dependencyinjection.git
Working copy of https://github.com/sebastianpixel/dependencyinjection.git resolved at master (8e65999)
warning: '.resolve-product-dependencies': dependency 'dependencyinjection' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/sebastianpixel/dependencyinjection.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/17] Compiling DependencyInjection New.swift
[4/18] Compiling DependencyInjection Shared.swift
[5/18] Compiling DependencyInjection Registration.swift
[6/18] Compiling DependencyInjection Resolver.swift
[7/18] Compiling DependencyInjection Registrar.swift
[8/18] Compiling DependencyInjection Module.swift
[9/18] Compiling DependencyInjection Inject.swift
[10/18] Compiling DependencyInjection ModuleBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/DependencyInjection/FunctionBuilders/ModuleBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
2 | public struct ModuleBuilder {
3 | public static func buildBlock(_ modules: Module...) -> [Module] {
/Users/admin/builder/spi-builder-workspace/Sources/DependencyInjection/FunctionBuilders/RegistrationBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
2 | public struct RegistrationBuilder {
3 | public static func buildBlock(_ registrations: Registration...) -> [Registration] {
[11/18] Compiling DependencyInjection RegistrationBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/DependencyInjection/FunctionBuilders/ModuleBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
2 | public struct ModuleBuilder {
3 | public static func buildBlock(_ modules: Module...) -> [Module] {
/Users/admin/builder/spi-builder-workspace/Sources/DependencyInjection/FunctionBuilders/RegistrationBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
2 | public struct RegistrationBuilder {
3 | public static func buildBlock(_ registrations: Registration...) -> [Registration] {
[12/18] Compiling DependencyInjection MutableLazyInject.swift
[13/18] Compiling DependencyInjection ReentrantSyncQueue.swift
[14/18] Compiling DependencyInjection LazyInject.swift
[15/18] Compiling DependencyInjection MutableInject.swift
[16/18] Emitting module DependencyInjection
/Users/admin/builder/spi-builder-workspace/Sources/DependencyInjection/FunctionBuilders/ModuleBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
2 | public struct ModuleBuilder {
3 | public static func buildBlock(_ modules: Module...) -> [Module] {
/Users/admin/builder/spi-builder-workspace/Sources/DependencyInjection/FunctionBuilders/RegistrationBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
2 | public struct RegistrationBuilder {
3 | public static func buildBlock(_ registrations: Registration...) -> [Registration] {
/Users/admin/builder/spi-builder-workspace/Sources/DependencyInjection/DIContainer.swift:7:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | public static var resolve: Resolver { shared }
6 |
7 | static var shared = DIContainer()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | private let queue = ReentrantSyncQueue(label: "dependency_injection")
[17/18] Compiling DependencyInjection DIContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/DependencyInjection/DIContainer.swift:7:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | public static var resolve: Resolver { shared }
6 |
7 | static var shared = DIContainer()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | private let queue = ReentrantSyncQueue(label: "dependency_injection")
[18/18] Compiling DependencyInjection DependencyRegistering.swift
/Users/admin/builder/spi-builder-workspace/Sources/DependencyInjection/DIContainer.swift:7:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | public static var resolve: Resolver { shared }
6 |
7 | static var shared = DIContainer()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | private let queue = ReentrantSyncQueue(label: "dependency_injection")
Build complete! (12.82s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftlint",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/SwiftLint"
}
],
"manifest_display_name" : "DependencyInjection",
"name" : "DependencyInjection",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "DependencyInjection",
"targets" : [
"DependencyInjection"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DependencyInjectionTests",
"module_type" : "SwiftTarget",
"name" : "DependencyInjectionTests",
"path" : "Tests/DependencyInjectionTests",
"sources" : [
"DependencyInjectionTests.swift",
"MockTypes.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"DependencyInjection"
],
"type" : "test"
},
{
"c99name" : "DependencyInjection",
"module_type" : "SwiftTarget",
"name" : "DependencyInjection",
"path" : "Sources/DependencyInjection",
"product_memberships" : [
"DependencyInjection"
],
"sources" : [
"DIContainer.swift",
"DependencyRegistering.swift",
"FunctionBuilders/ModuleBuilder.swift",
"FunctionBuilders/RegistrationBuilder.swift",
"Module.swift",
"PropertyWrappers/Inject.swift",
"PropertyWrappers/LazyInject.swift",
"PropertyWrappers/MutableInject.swift",
"PropertyWrappers/MutableLazyInject.swift",
"ReentrantSyncQueue.swift",
"Registrar.swift",
"Registration.swift",
"Registrations/New.swift",
"Registrations/Shared.swift",
"Resolver.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.