Build Information
Successful build of swift-libs, reference v0.2.2 (fca5e0
), with Swift 6.1 for Linux on 27 Apr 2025 17:16:57 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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
========================================
Build
========================================
Selected platform: linux
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
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"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" : "/host/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"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftLibsFoundationTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsFoundationTests",
"path" : "Tests/Foundation",
"resources" : [
{
"path" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.33s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.80s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3375] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.30s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.81s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/35] Compiling SwiftLibsFoundation Collection+Empty.swift
[9/35] Compiling SwiftLibsDependency DependencyService.swift
/host/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
[10/36] Compiling SwiftLibsCoordination WindowRouter.swift
[11/36] Compiling SwiftLibsCoordination ModalNavigationRouter.swift
[12/36] Compiling SwiftLibsCoordination BaseNavigationRouter.swift
[13/36] Compiling SwiftLibsCoordination Router.swift
[14/36] Compiling SwiftLibsCoordination Coordinator.swift
[15/36] Emitting module SwiftLibsCoordination
[16/36] Compiling SwiftLibsCoordination PushNavigationRouter.swift
[17/37] Compiling SwiftLibsDependency Dependency.swift
[18/37] Emitting module SwiftLibsDependency
/host/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
[19/37] Compiling SwiftLibsDependency DependencyKey.swift
[20/38] Compiling SwiftLibsFoundation LossyCodableList.swift
[23/38] Compiling SwiftLibsCommunication HTTPRequestMethod.swift
[24/38] Compiling SwiftLibsCommunication MakeURLRequestError.swift
[25/38] Compiling SwiftLibsCommunication HTTPResponseCode.swift
[26/38] Emitting module SwiftLibsFoundation
[27/38] Compiling SwiftLibsFoundation Bundle+LocalisationBundle.swift
[28/38] Compiling SwiftLibsFoundation BundleError.swift
[29/38] Compiling SwiftLibsFoundation Bool+Init.swift
[30/38] Compiling SwiftLibsFoundation Optional+Nil.swift
[31/38] Compiling SwiftLibsFoundation String+Localisation.swift
[32/38] Compiling SwiftLibsFoundation TimeZone+Zone.swift
[33/38] Compiling SwiftLibsFoundation String+Empty.swift
[34/39] Compiling SwiftLibsCommunication Endpoint.swift
[35/39] Compiling SwiftLibsCommunication Client.swift
[36/39] Compiling SwiftLibsCommunication MakeURLRequestUseCase.swift
[37/39] Emitting module SwiftLibsCommunication
/host/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
[38/39] Compiling SwiftLibsCommunication MockURLProtocol.swift
/host/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
Build complete! (18.62s)
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" : "/host/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"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftLibsFoundationTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLibsFoundationTests",
"path" : "Tests/Foundation",
"resources" : [
{
"path" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.