Build Information
Successful build of swift-libs, reference v0.2.2 (fca5e0
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 17:21:51 UTC.
Swift 6 data race errors: 2
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/rock-n-code/swift-libs.git
Reference: v0.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rock-n-code/swift-libs
* tag v0.2.2 -> FETCH_HEAD
HEAD is now at fca5e03 [Bugfix] Reference to Coordination library amended (#25)
Cloned https://github.com/rock-n-code/swift-libs.git
Revision (git rev-parse @):
fca5e034d60bafeb450c9f23ab70c0712acc0c97
SUCCESS checkout https://github.com/rock-n-code/swift-libs.git at v0.2.2
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
[227/5424] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.20s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.20s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (1.77s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.61s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.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": "swift-libs",
"name": "swift-libs",
"url": "https://github.com/rock-n-code/swift-libs.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-libs",
"dependencies": [
]
}
]
}
Fetching https://github.com/rock-n-code/swift-libs.git
[1/1637] Fetching swift-libs
Fetched https://github.com/rock-n-code/swift-libs.git from cache (0.98s)
Creating working copy for https://github.com/rock-n-code/swift-libs.git
Working copy of https://github.com/rock-n-code/swift-libs.git resolved at v0.2.2 (fca5e03)
warning: '.resolve-product-dependencies': dependency 'swift-libs' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/rock-n-code/swift-libs.git
https://github.com/rock-n-code/swift-libs.git
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "swift-libs",
"name" : "swift-libs",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "SwiftLibs",
"targets" : [
"SwiftLibsCommunication",
"SwiftLibsCoordination",
"SwiftLibsFoundation",
"SwiftLibsDependency",
"SwiftLibsPersistence"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftLibsPersistenceTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsPersistenceTests",
"path" : "Tests/Persistence",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Persistence/Resources/TestModel.xcdatamodeld",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Cases/Classes/FetcherTests.swift",
"Cases/Extensions/URL+DevicesTests.swift",
"Helpers/NSFetchRequest+TestEntity.swift",
"Helpers/TestEntity.swift",
"Helpers/TestPersistenceService.swift"
],
"target_dependencies" : [
"SwiftLibsPersistence"
],
"type" : "test"
},
{
"c99name" : "SwiftLibsPersistence",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsPersistence",
"path" : "Libraries/Persistence",
"product_memberships" : [
"SwiftLibs"
],
"sources" : [
"Classes/Fetcher.swift",
"Extensions/URL+Devices.swift",
"Protocols/Service.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftLibsFoundationTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsFoundationTests",
"path" : "Tests/Foundation",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Foundation/Resources/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
}
],
"sources" : [
"Cases/Extensions/Bool+InitTests.swift",
"Cases/Extensions/Bundle+LocalisationBundleTests.swift",
"Cases/Extensions/Collection+EmptyTests.swift",
"Cases/Extensions/Optional+NilTests.swift",
"Cases/Extensions/String+EmptyTests.swift",
"Cases/Extensions/String+LocalisationTests.swift",
"Cases/Extensions/TimeZone+ZoneTests.swift",
"Cases/Property Wrappers/LossyCodableList+DecodableTests.swift",
"Cases/Property Wrappers/LossyCodableList+EncodableTests.swift",
"Helpers/Extensions/Data+Result.swift",
"Helpers/Extensions/Data+Seed.swift",
"Helpers/Extensions/String+Result.swift",
"Helpers/Extensions/String+Seed.swift",
"Helpers/Models/TestCodable.swift",
"Helpers/Models/TestCodableList.swift"
],
"target_dependencies" : [
"SwiftLibsFoundation"
],
"type" : "test"
},
{
"c99name" : "SwiftLibsFoundation",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsFoundation",
"path" : "Libraries/Foundation",
"product_memberships" : [
"SwiftLibs"
],
"sources" : [
"Errors/BundleError.swift",
"Extensions/Bool+Init.swift",
"Extensions/Bundle+LocalisationBundle.swift",
"Extensions/Collection+Empty.swift",
"Extensions/Optional+Nil.swift",
"Extensions/String+Empty.swift",
"Extensions/String+Localisation.swift",
"Extensions/TimeZone+Zone.swift",
"Property Wrappers/LossyCodableList.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftLibsDependencyTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsDependencyTests",
"path" : "Tests/Dependency",
"sources" : [
"Cases/Property Wrappers/DependencyTests.swift",
"Cases/Services/DependencyServiceTests.swift",
"Helpers/TestServices.swift"
],
"target_dependencies" : [
"SwiftLibsDependency"
],
"type" : "test"
},
{
"c99name" : "SwiftLibsDependency",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsDependency",
"path" : "Libraries/Dependency",
"product_memberships" : [
"SwiftLibs"
],
"sources" : [
"Property Wrappers/Dependency.swift",
"Protocols/DependencyKey.swift",
"Services/DependencyService.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftLibsCoordinationTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsCoordinationTests",
"path" : "Tests/Coordination",
"sources" : [
"Cases/Protocols/CoordinatorTests.swift",
"Helpers/TestCoordinators.swift"
],
"target_dependencies" : [
"SwiftLibsCoordination"
],
"type" : "test"
},
{
"c99name" : "SwiftLibsCoordination",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsCoordination",
"path" : "Libraries/Coordination",
"product_memberships" : [
"SwiftLibs"
],
"sources" : [
"Protocols/Coordinator.swift",
"Protocols/Router.swift",
"Routers/BaseNavigationRouter.swift",
"Routers/ModalNavigationRouter.swift",
"Routers/PushNavigationRouter.swift",
"Routers/WindowRouter.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftLibsCommunicationTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsCommunicationTests",
"path" : "Tests/Communication",
"sources" : [
"Cases/Use Cases/MakeURLRequestUseCaseTests.swift",
"Helpers/Endpoints/TestEndpoint.swift"
],
"target_dependencies" : [
"SwiftLibsCommunication"
],
"type" : "test"
},
{
"c99name" : "SwiftLibsCommunication",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsCommunication",
"path" : "Libraries/Communication",
"product_memberships" : [
"SwiftLibs"
],
"sources" : [
"Classes/MockURLProtocol.swift",
"Enumerations/HTTPRequestMethod.swift",
"Enumerations/HTTPResponseCode.swift",
"Errors/MakeURLRequestError.swift",
"Protocols/Client.swift",
"Protocols/Endpoint.swift",
"Use Cases/MakeURLRequestUseCase.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/8] Write sources
[7/8] Write swift-version-2F0A5646E1D333AE.txt
[9/41] Compiling SwiftLibsDependency DependencyKey.swift
[10/41] Compiling SwiftLibsDependency Dependency.swift
[11/41] Emitting module SwiftLibsDependency
/Users/admin/builder/spi-builder-workspace/Libraries/Dependency/Services/DependencyService.swift:18:24: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // MARK: Properties
17 |
18 | private static var current = DependencyService()
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | // MARK: Subscripts
[12/41] Compiling SwiftLibsDependency DependencyService.swift
/Users/admin/builder/spi-builder-workspace/Libraries/Dependency/Services/DependencyService.swift:18:24: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | // MARK: Properties
17 |
18 | private static var current = DependencyService()
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | // MARK: Subscripts
[13/41] Compiling SwiftLibsCoordination WindowRouter.swift
[14/41] Compiling SwiftLibsCoordination PushNavigationRouter.swift
[15/41] Compiling SwiftLibsCoordination ModalNavigationRouter.swift
[16/41] Compiling SwiftLibsCoordination BaseNavigationRouter.swift
[17/41] Compiling SwiftLibsCoordination Router.swift
[18/41] Emitting module SwiftLibsCoordination
[19/41] Compiling SwiftLibsCoordination Coordinator.swift
[20/41] Compiling SwiftLibsFoundation LossyCodableList.swift
[21/41] Compiling SwiftLibsFoundation Optional+Nil.swift
[22/41] Compiling SwiftLibsFoundation Collection+Empty.swift
[23/41] Compiling SwiftLibsFoundation Bool+Init.swift
[24/41] Emitting module SwiftLibsFoundation
[25/41] Compiling SwiftLibsFoundation BundleError.swift
[26/41] Compiling SwiftLibsFoundation Bundle+LocalisationBundle.swift
[27/41] Compiling SwiftLibsCommunication MakeURLRequestUseCase.swift
[28/41] Compiling SwiftLibsFoundation String+Empty.swift
[29/41] Compiling SwiftLibsFoundation String+Localisation.swift
[30/41] Compiling SwiftLibsFoundation TimeZone+Zone.swift
[31/41] Compiling SwiftLibsCommunication Endpoint.swift
[32/41] Compiling SwiftLibsPersistence Fetcher.swift
[33/41] Compiling SwiftLibsCommunication MakeURLRequestError.swift
[34/41] Compiling SwiftLibsPersistence Service.swift
[35/41] Compiling SwiftLibsCommunication HTTPRequestMethod.swift
[36/41] Compiling SwiftLibsCommunication HTTPResponseCode.swift
[37/41] Emitting module SwiftLibsPersistence
[38/41] Compiling SwiftLibsPersistence URL+Devices.swift
[39/41] Emitting module SwiftLibsCommunication
/Users/admin/builder/spi-builder-workspace/Libraries/Communication/Classes/MockURLProtocol.swift:25:23: warning: static property 'mockData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// The dictionary in which the mock requests with its respective mock responses will be injected.
25 | public static var mockData: [MockURLRequest: MockURLResponse] = [:]
| |- warning: static property 'mockData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockData' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // MARK: Functions
[40/41] Compiling SwiftLibsCommunication MockURLProtocol.swift
/Users/admin/builder/spi-builder-workspace/Libraries/Communication/Classes/MockURLProtocol.swift:25:23: warning: static property 'mockData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// The dictionary in which the mock requests with its respective mock responses will be injected.
25 | public static var mockData: [MockURLRequest: MockURLResponse] = [:]
| |- warning: static property 'mockData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockData' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | // MARK: Functions
[41/41] Compiling SwiftLibsCommunication Client.swift
Build complete! (14.63s)
Build complete.
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "swift-libs",
"name" : "swift-libs",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "SwiftLibs",
"targets" : [
"SwiftLibsCommunication",
"SwiftLibsCoordination",
"SwiftLibsFoundation",
"SwiftLibsDependency",
"SwiftLibsPersistence"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftLibsPersistenceTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsPersistenceTests",
"path" : "Tests/Persistence",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Persistence/Resources/TestModel.xcdatamodeld",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Cases/Classes/FetcherTests.swift",
"Cases/Extensions/URL+DevicesTests.swift",
"Helpers/NSFetchRequest+TestEntity.swift",
"Helpers/TestEntity.swift",
"Helpers/TestPersistenceService.swift"
],
"target_dependencies" : [
"SwiftLibsPersistence"
],
"type" : "test"
},
{
"c99name" : "SwiftLibsPersistence",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsPersistence",
"path" : "Libraries/Persistence",
"product_memberships" : [
"SwiftLibs"
],
"sources" : [
"Classes/Fetcher.swift",
"Extensions/URL+Devices.swift",
"Protocols/Service.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftLibsFoundationTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsFoundationTests",
"path" : "Tests/Foundation",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/Foundation/Resources/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
}
],
"sources" : [
"Cases/Extensions/Bool+InitTests.swift",
"Cases/Extensions/Bundle+LocalisationBundleTests.swift",
"Cases/Extensions/Collection+EmptyTests.swift",
"Cases/Extensions/Optional+NilTests.swift",
"Cases/Extensions/String+EmptyTests.swift",
"Cases/Extensions/String+LocalisationTests.swift",
"Cases/Extensions/TimeZone+ZoneTests.swift",
"Cases/Property Wrappers/LossyCodableList+DecodableTests.swift",
"Cases/Property Wrappers/LossyCodableList+EncodableTests.swift",
"Helpers/Extensions/Data+Result.swift",
"Helpers/Extensions/Data+Seed.swift",
"Helpers/Extensions/String+Result.swift",
"Helpers/Extensions/String+Seed.swift",
"Helpers/Models/TestCodable.swift",
"Helpers/Models/TestCodableList.swift"
],
"target_dependencies" : [
"SwiftLibsFoundation"
],
"type" : "test"
},
{
"c99name" : "SwiftLibsFoundation",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsFoundation",
"path" : "Libraries/Foundation",
"product_memberships" : [
"SwiftLibs"
],
"sources" : [
"Errors/BundleError.swift",
"Extensions/Bool+Init.swift",
"Extensions/Bundle+LocalisationBundle.swift",
"Extensions/Collection+Empty.swift",
"Extensions/Optional+Nil.swift",
"Extensions/String+Empty.swift",
"Extensions/String+Localisation.swift",
"Extensions/TimeZone+Zone.swift",
"Property Wrappers/LossyCodableList.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftLibsDependencyTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsDependencyTests",
"path" : "Tests/Dependency",
"sources" : [
"Cases/Property Wrappers/DependencyTests.swift",
"Cases/Services/DependencyServiceTests.swift",
"Helpers/TestServices.swift"
],
"target_dependencies" : [
"SwiftLibsDependency"
],
"type" : "test"
},
{
"c99name" : "SwiftLibsDependency",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsDependency",
"path" : "Libraries/Dependency",
"product_memberships" : [
"SwiftLibs"
],
"sources" : [
"Property Wrappers/Dependency.swift",
"Protocols/DependencyKey.swift",
"Services/DependencyService.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftLibsCoordinationTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsCoordinationTests",
"path" : "Tests/Coordination",
"sources" : [
"Cases/Protocols/CoordinatorTests.swift",
"Helpers/TestCoordinators.swift"
],
"target_dependencies" : [
"SwiftLibsCoordination"
],
"type" : "test"
},
{
"c99name" : "SwiftLibsCoordination",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsCoordination",
"path" : "Libraries/Coordination",
"product_memberships" : [
"SwiftLibs"
],
"sources" : [
"Protocols/Coordinator.swift",
"Protocols/Router.swift",
"Routers/BaseNavigationRouter.swift",
"Routers/ModalNavigationRouter.swift",
"Routers/PushNavigationRouter.swift",
"Routers/WindowRouter.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftLibsCommunicationTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsCommunicationTests",
"path" : "Tests/Communication",
"sources" : [
"Cases/Use Cases/MakeURLRequestUseCaseTests.swift",
"Helpers/Endpoints/TestEndpoint.swift"
],
"target_dependencies" : [
"SwiftLibsCommunication"
],
"type" : "test"
},
{
"c99name" : "SwiftLibsCommunication",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsCommunication",
"path" : "Libraries/Communication",
"product_memberships" : [
"SwiftLibs"
],
"sources" : [
"Classes/MockURLProtocol.swift",
"Enumerations/HTTPRequestMethod.swift",
"Enumerations/HTTPResponseCode.swift",
"Errors/MakeURLRequestError.swift",
"Protocols/Client.swift",
"Protocols/Endpoint.swift",
"Use Cases/MakeURLRequestUseCase.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.