Build Information
Successful build of Impose, reference 3.6.0 (34e256
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 10:26:29 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hainayanda/Impose.git
Reference: 3.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hainayanda/Impose
* tag 3.6.0 -> FETCH_HEAD
HEAD is now at 34e256e Update Impose.podspec
Cloned https://github.com/hainayanda/Impose.git
Revision (git rev-parse @):
34e256e8a62550574a968c77d3bd073aeaa5eba8
SUCCESS checkout https://github.com/hainayanda/Impose.git at 3.6.0
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/hainayanda/Chary.git
[1/1257] Fetching cwlpreconditiontesting
[157/1771] Fetching cwlpreconditiontesting, chary
[753/16526] Fetching cwlpreconditiontesting, chary, quick
[2363/36093] Fetching cwlpreconditiontesting, chary, quick, nimble
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (1.34s)
[27401/34836] Fetching chary, quick, nimble
[34837/35291] Fetching chary, quick, nimble, cwlcatchexception
Fetched https://github.com/hainayanda/Chary.git from cache (2.70s)
Computing version for https://github.com/hainayanda/Chary.git
Fetched https://github.com/Quick/Quick.git from cache (2.70s)
Fetched https://github.com/Quick/Nimble.git from cache (2.70s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (2.70s)
Computed https://github.com/hainayanda/Chary.git at 1.0.7 (3.32s)
Creating working copy for https://github.com/hainayanda/Chary.git
Working copy of https://github.com/hainayanda/Chary.git resolved at 1.0.7
========================================
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": "impose",
"name": "Impose",
"url": "https://github.com/hainayanda/Impose.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Impose",
"dependencies": [
{
"identity": "chary",
"name": "Chary",
"url": "https://github.com/hainayanda/Chary.git",
"version": "1.0.7",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Chary",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/hainayanda/Impose.git
[1/1617] Fetching impose
Fetched https://github.com/hainayanda/Impose.git from cache (2.45s)
Fetching https://github.com/hainayanda/Chary.git from cache
Fetched https://github.com/hainayanda/Chary.git from cache (0.44s)
Computing version for https://github.com/hainayanda/Chary.git
Computed https://github.com/hainayanda/Chary.git at 1.0.7 (0.49s)
Creating working copy for https://github.com/hainayanda/Impose.git
Working copy of https://github.com/hainayanda/Impose.git resolved at 3.6.0 (34e256e)
Creating working copy for https://github.com/hainayanda/Chary.git
Working copy of https://github.com/hainayanda/Chary.git resolved at 1.0.7
warning: '.resolve-product-dependencies': dependency 'impose' is not used by any target
Found 1 product dependencies
- Chary
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/hainayanda/Impose.git
https://github.com/hainayanda/Impose.git
{
"dependencies" : [
{
"identity" : "chary",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.7",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/hainayanda/Chary.git"
}
],
"manifest_display_name" : "Impose",
"name" : "Impose",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "Impose",
"targets" : [
"Impose"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Impose",
"module_type" : "SwiftTarget",
"name" : "Impose",
"path" : "Impose/Classes",
"product_dependencies" : [
"Chary"
],
"product_memberships" : [
"Impose"
],
"sources" : [
"AutoInjectMock.swift",
"Dictionary+Extensions.swift",
"ImposeError.swift",
"InjectContext.swift",
"InjectionEnvironment.swift",
"Injector.swift",
"InstanceResolver.swift",
"Mirror+Extensions.swift",
"ModuleProvider.swift",
"PropertyWrapper.swift",
"ResolverFunction.swift",
"TypeHashable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/6] Compiling Chary Atomic.swift
[5/6] Compiling Chary DispatchQueue+Extensions.swift
[6/6] Emitting module Chary
[7/18] Compiling Impose ResolverFunction.swift
[8/18] Compiling Impose Mirror+Extensions.swift
[9/18] Compiling Impose PropertyWrapper.swift
[10/19] Compiling Impose AutoInjectMock.swift
[11/19] Compiling Impose Dictionary+Extensions.swift
[12/19] Emitting module Impose
/Users/admin/builder/spi-builder-workspace/Impose/Classes/InjectionEnvironment.swift:104:13: warning: var 'environmentInjectorKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | private var environmentInjectorKey: UnsafeMutableRawPointer = malloc(1)
| |- warning: var 'environmentInjectorKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'environmentInjectorKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'environmentInjectorKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | extension InjectionEnvironment {
/Users/admin/builder/spi-builder-workspace/Impose/Classes/Injector.swift:34:16: warning: static property 'defaultInjector' is not concurrency-safe because non-'Sendable' type 'Injector' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Injector class
12 | public final class Injector: InjectResolver {
| `- note: class 'Injector' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: Public Static
:
32 | // MARK: Internal Static
33 |
34 | static let defaultInjector: Injector = Injector()
| |- warning: static property 'defaultInjector' is not concurrency-safe because non-'Sendable' type 'Injector' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInjector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | static var customInjector: Injector?
36 |
/Users/admin/builder/spi-builder-workspace/Impose/Classes/Injector.swift:35:16: warning: static property 'customInjector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | static let defaultInjector: Injector = Injector()
35 | static var customInjector: Injector?
| |- warning: static property 'customInjector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'customInjector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'customInjector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | // MARK: Public Properties
[13/19] Compiling Impose Injector.swift
/Users/admin/builder/spi-builder-workspace/Impose/Classes/Injector.swift:34:16: warning: static property 'defaultInjector' is not concurrency-safe because non-'Sendable' type 'Injector' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Injector class
12 | public final class Injector: InjectResolver {
| `- note: class 'Injector' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: Public Static
:
32 | // MARK: Internal Static
33 |
34 | static let defaultInjector: Injector = Injector()
| |- warning: static property 'defaultInjector' is not concurrency-safe because non-'Sendable' type 'Injector' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultInjector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | static var customInjector: Injector?
36 |
/Users/admin/builder/spi-builder-workspace/Impose/Classes/Injector.swift:35:16: warning: static property 'customInjector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | static let defaultInjector: Injector = Injector()
35 | static var customInjector: Injector?
| |- warning: static property 'customInjector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'customInjector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'customInjector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | // MARK: Public Properties
[14/19] Compiling Impose ImposeError.swift
[15/19] Compiling Impose InjectContext.swift
[16/19] Compiling Impose InjectionEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Impose/Classes/InjectionEnvironment.swift:104:13: warning: var 'environmentInjectorKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | private var environmentInjectorKey: UnsafeMutableRawPointer = malloc(1)
| |- warning: var 'environmentInjectorKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'environmentInjectorKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'environmentInjectorKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | extension InjectionEnvironment {
[17/19] Compiling Impose ModuleProvider.swift
[18/19] Compiling Impose InstanceResolver.swift
[19/19] Compiling Impose TypeHashable.swift
Build complete! (6.48s)
Build complete.
{
"dependencies" : [
{
"identity" : "chary",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.7",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/hainayanda/Chary.git"
}
],
"manifest_display_name" : "Impose",
"name" : "Impose",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "Impose",
"targets" : [
"Impose"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Impose",
"module_type" : "SwiftTarget",
"name" : "Impose",
"path" : "Impose/Classes",
"product_dependencies" : [
"Chary"
],
"product_memberships" : [
"Impose"
],
"sources" : [
"AutoInjectMock.swift",
"Dictionary+Extensions.swift",
"ImposeError.swift",
"InjectContext.swift",
"InjectionEnvironment.swift",
"Injector.swift",
"InstanceResolver.swift",
"Mirror+Extensions.swift",
"ModuleProvider.swift",
"PropertyWrapper.swift",
"ResolverFunction.swift",
"TypeHashable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.