Build Information
Successful build of LightWeightDI, reference main (4cbae2), with Swift 6.1 for macOS (SPM) on 15 Jul 2026 22:32:26 UTC.
Swift 6 data race errors: 1
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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/daanibe12/LightWeightDI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/daanibe12/LightWeightDI
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4cbae26 Merge pull request #7 from daanibe12/feature/add_graph_container
Cloned https://github.com/daanibe12/LightWeightDI.git
Revision (git rev-parse @):
4cbae26ec8763fadd0919edddb9f682e197019d8
SUCCESS checkout https://github.com/daanibe12/LightWeightDI.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/daanibe12/LightWeightDI.git
https://github.com/daanibe12/LightWeightDI.git
{
"dependencies" : [
],
"manifest_display_name" : "LightWeightDI",
"name" : "LightWeightDI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "16.0"
}
],
"products" : [
{
"name" : "LightWeightDI",
"targets" : [
"LightWeightDI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LightWeightDITests",
"module_type" : "SwiftTarget",
"name" : "LightWeightDITests",
"path" : "Tests/LightWeightDITests",
"sources" : [
"LightWeightDITests.swift"
],
"target_dependencies" : [
"LightWeightDI"
],
"type" : "test"
},
{
"c99name" : "LightWeightDI",
"module_type" : "SwiftTarget",
"name" : "LightWeightDI",
"path" : "Sources/LightWeightDI",
"product_memberships" : [
"LightWeightDI"
],
"sources" : [
"LightWeightDI.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/4] Compiling LightWeightDI LightWeightDI.swift
/Users/admin/builder/spi-builder-workspace/Sources/LightWeightDI/LightWeightDI.swift:25:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DependencyResolver' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public final class DependencyResolver {
| `- note: class 'DependencyResolver' does not conform to the 'Sendable' protocol
25 | public static let shared = DependencyResolver()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DependencyResolver' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | internal let lock = NSRecursiveLock()
27 | private var registrations = [String: DIRegistration]()
[4/4] Emitting module LightWeightDI
/Users/admin/builder/spi-builder-workspace/Sources/LightWeightDI/LightWeightDI.swift:25:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DependencyResolver' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public final class DependencyResolver {
| `- note: class 'DependencyResolver' does not conform to the 'Sendable' protocol
25 | public static let shared = DependencyResolver()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DependencyResolver' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | internal let lock = NSRecursiveLock()
27 | private var registrations = [String: DIRegistration]()
Build complete! (4.02s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "LightWeightDI",
"name" : "LightWeightDI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "16.0"
}
],
"products" : [
{
"name" : "LightWeightDI",
"targets" : [
"LightWeightDI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LightWeightDITests",
"module_type" : "SwiftTarget",
"name" : "LightWeightDITests",
"path" : "Tests/LightWeightDITests",
"sources" : [
"LightWeightDITests.swift"
],
"target_dependencies" : [
"LightWeightDI"
],
"type" : "test"
},
{
"c99name" : "LightWeightDI",
"module_type" : "SwiftTarget",
"name" : "LightWeightDI",
"path" : "Sources/LightWeightDI",
"product_memberships" : [
"LightWeightDI"
],
"sources" : [
"LightWeightDI.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.