Build Information
Successful build of Impose, reference 3.6.0 (34e256
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 16:23:34 UTC.
Swift 6 data race errors: 3
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 -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.58.1
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/hainayanda/Chary.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/Quick/Quick.git
[11/514] Fetching chary
[212/969] Fetching chary, cwlcatchexception
[404/2226] Fetching chary, cwlcatchexception, cwlpreconditiontesting
Fetched https://github.com/hainayanda/Chary.git from cache (0.84s)
Computing version for https://github.com/hainayanda/Chary.git
[1047/1712] Fetching cwlcatchexception, cwlpreconditiontesting
[1663/16452] Fetching cwlcatchexception, cwlpreconditiontesting, quick
[14192/35727] Fetching cwlcatchexception, cwlpreconditiontesting, quick, nimble
Computed https://github.com/hainayanda/Chary.git at 1.0.7 (0.54s)
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 (1.05s)
Fetching https://github.com/hainayanda/Chary.git from cache
Fetched https://github.com/hainayanda/Chary.git from cache (0.46s)
Computing version for https://github.com/hainayanda/Chary.git
Computed https://github.com/hainayanda/Chary.git at 1.0.7 (0.02s)
Creating working copy for https://github.com/hainayanda/Chary.git
Working copy of https://github.com/hainayanda/Chary.git resolved at 1.0.7
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)
warning: '.resolve-product-dependencies': dependency 'impose' is not used by any target
Found 1 product dependencies
- Chary
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
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.1.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--7754E27361AE5C74.txt
[4/6] Compiling Chary DispatchQueue+Extensions.swift
[5/6] Emitting module Chary
[6/6] Compiling Chary Atomic.swift
[7/18] Compiling Impose ResolverFunction.swift
[8/18] Compiling Impose PropertyWrapper.swift
[9/18] 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: annotate 'defaultInjector' 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
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: annotate 'customInjector' 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
36 |
37 | // MARK: Public Properties
[10/18] Compiling Impose ModuleProvider.swift
[11/19] Compiling Impose Mirror+Extensions.swift
[12/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: annotate 'environmentInjectorKey' 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
105 |
106 | extension InjectionEnvironment {
[13/19] Compiling Impose ImposeError.swift
[14/19] Compiling Impose InjectContext.swift
[15/19] Compiling Impose AutoInjectMock.swift
[16/19] Compiling Impose Dictionary+Extensions.swift
[17/19] Compiling Impose InstanceResolver.swift
[18/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: annotate 'environmentInjectorKey' 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
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: annotate 'defaultInjector' 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
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: annotate 'customInjector' 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
36 |
37 | // MARK: Public Properties
[19/19] Compiling Impose TypeHashable.swift
Build complete! (8.09s)
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.