Build Information
Successful build of Injector, reference 2.0.1 (22dccc
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 05:41:21 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 -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/ptrkstr/Injector.git
Reference: 2.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ptrkstr/Injector
* tag 2.0.1 -> FETCH_HEAD
HEAD is now at 22dccc2 Update to Factory 1.3.7
Cloned https://github.com/ptrkstr/Injector.git
Revision (git rev-parse @):
22dccc25935bd12ba6301f012ed001cb314b9cda
SUCCESS checkout https://github.com/ptrkstr/Injector.git at 2.0.1
Fetching https://github.com/hmlongco/Factory.git
[1/13660] Fetching factory
Fetched https://github.com/hmlongco/Factory.git from cache (1.40s)
Computing version for https://github.com/hmlongco/Factory.git
Computed https://github.com/hmlongco/Factory.git at 1.3.7 (0.55s)
Creating working copy for https://github.com/hmlongco/Factory.git
Working copy of https://github.com/hmlongco/Factory.git resolved at 1.3.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": "injector",
"name": "Injector",
"url": "https://github.com/ptrkstr/Injector.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Injector",
"dependencies": [
{
"identity": "factory",
"name": "Factory",
"url": "https://github.com/hmlongco/Factory.git",
"version": "1.3.7",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Factory",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/ptrkstr/Injector.git
[1/99] Fetching injector
Fetched https://github.com/ptrkstr/Injector.git from cache (0.73s)
Fetching https://github.com/hmlongco/Factory.git from cache
Fetched https://github.com/hmlongco/Factory.git from cache (0.44s)
Computing version for https://github.com/hmlongco/Factory.git
Computed https://github.com/hmlongco/Factory.git at 1.3.7 (0.02s)
Creating working copy for https://github.com/hmlongco/Factory.git
Working copy of https://github.com/hmlongco/Factory.git resolved at 1.3.7
Creating working copy for https://github.com/ptrkstr/Injector.git
Working copy of https://github.com/ptrkstr/Injector.git resolved at 2.0.1 (22dccc2)
warning: '.resolve-product-dependencies': dependency 'injector' is not used by any target
Found 1 product dependencies
- Factory
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ptrkstr/Injector.git
{
"dependencies" : [
{
"identity" : "factory",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/hmlongco/Factory.git"
}
],
"manifest_display_name" : "Injector",
"name" : "Injector",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Injector",
"targets" : [
"Injector"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "InjectorTests",
"module_type" : "SwiftTarget",
"name" : "InjectorTests",
"path" : "Tests/InjectorTests",
"sources" : [
"InjectorTests.swift"
],
"target_dependencies" : [
"Injector"
],
"type" : "test"
},
{
"c99name" : "Injector",
"module_type" : "SwiftTarget",
"name" : "Injector",
"path" : "Sources/Injector",
"product_dependencies" : [
"Factory"
],
"product_memberships" : [
"Injector"
],
"sources" : [
"Injector.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
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/5] Emitting module Factory
[5/5] Compiling Factory Factory.swift
[6/7] Emitting module Injector
/Users/admin/builder/spi-builder-workspace/Sources/Injector/Injector.swift:32:16: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SharedContainer.Scope.Cached' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | private extension Container.Scope {
32 | static let cache = Cached()
| `- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SharedContainer.Scope.Cached' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Factory/Sources/Factory/Factory.swift:241:24: note: class 'Cached' does not conform to the 'Sendable' protocol
239 | /// Defines a cached scope. The same instance will be returned by the factory until the cache is reset.
240 | public static let cached = Cached()
241 | public final class Cached: SharedContainer.Scope {
| `- note: class 'Cached' does not conform to the 'Sendable' protocol
242 | public override init() {
243 | super.init()
/Users/admin/builder/spi-builder-workspace/Sources/Injector/Injector.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Factory'
1 | import Foundation
2 | import Factory
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Factory'
3 |
4 | public enum InjectorEnvironment {
:
30 |
31 | private extension Container.Scope {
32 | static let cache = Cached()
| |- note: annotate 'cache' 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
33 | }
34 |
[7/7] Compiling Injector Injector.swift
/Users/admin/builder/spi-builder-workspace/Sources/Injector/Injector.swift:32:16: warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SharedContainer.Scope.Cached' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | private extension Container.Scope {
32 | static let cache = Cached()
| `- warning: static property 'cache' is not concurrency-safe because non-'Sendable' type 'SharedContainer.Scope.Cached' may have shared mutable state; this is an error in the Swift 6 language mode
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Factory/Sources/Factory/Factory.swift:241:24: note: class 'Cached' does not conform to the 'Sendable' protocol
239 | /// Defines a cached scope. The same instance will be returned by the factory until the cache is reset.
240 | public static let cached = Cached()
241 | public final class Cached: SharedContainer.Scope {
| `- note: class 'Cached' does not conform to the 'Sendable' protocol
242 | public override init() {
243 | super.init()
/Users/admin/builder/spi-builder-workspace/Sources/Injector/Injector.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Factory'
1 | import Foundation
2 | import Factory
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Factory'
3 |
4 | public enum InjectorEnvironment {
:
30 |
31 | private extension Container.Scope {
32 | static let cache = Cached()
| |- note: annotate 'cache' 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
33 | }
34 |
Build complete! (6.13s)
Build complete.
{
"dependencies" : [
{
"identity" : "factory",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/hmlongco/Factory.git"
}
],
"manifest_display_name" : "Injector",
"name" : "Injector",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Injector",
"targets" : [
"Injector"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "InjectorTests",
"module_type" : "SwiftTarget",
"name" : "InjectorTests",
"path" : "Tests/InjectorTests",
"sources" : [
"InjectorTests.swift"
],
"target_dependencies" : [
"Injector"
],
"type" : "test"
},
{
"c99name" : "Injector",
"module_type" : "SwiftTarget",
"name" : "Injector",
"path" : "Sources/Injector",
"product_dependencies" : [
"Factory"
],
"product_memberships" : [
"Injector"
],
"sources" : [
"Injector.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.