Build Information
Successful build of URLScission, reference 0.0.3 (e3f788), with Swift 6.1 for macOS (SPM) on 22 Dec 2025 09:34:05 UTC.
Swift 6 data race errors: 7
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: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/inso1337/URLScission.git
Reference: 0.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/inso1337/URLScission
* tag 0.0.3 -> FETCH_HEAD
HEAD is now at e3f788f Add Swift Package Manager integration
Cloned https://github.com/inso1337/URLScission.git
Revision (git rev-parse @):
e3f788f07262fb896130452b1d1c991b6df1b88e
SUCCESS checkout https://github.com/inso1337/URLScission.git at 0.0.3
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/inso1337/URLScission.git
https://github.com/inso1337/URLScission.git
{
"dependencies" : [
],
"manifest_display_name" : "URLScission",
"name" : "URLScission",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "URLScission",
"targets" : [
"URLScission"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "URLScissionTests",
"module_type" : "SwiftTarget",
"name" : "URLScissionTests",
"path" : "Tests/URLScissionTests",
"sources" : [
"RestServiceNetwork.swift",
"URLScissionTests.swift"
],
"target_dependencies" : [
"URLScission"
],
"type" : "test"
},
{
"c99name" : "URLScission",
"module_type" : "SwiftTarget",
"name" : "URLScission",
"path" : "URLScission",
"product_memberships" : [
"URLScission"
],
"sources" : [
"DataMock.swift",
"Logger.swift",
"Mock.swift",
"MockAction.swift",
"MockClient.swift",
"MockParser.swift",
"MockSession.swift",
"MockSessionError.swift",
"MockSessionTask.swift",
"MockStorage.swift",
"URLSessionClient.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
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/13] Compiling URLScission MockClient.swift
[4/13] Compiling URLScission MockStorage.swift
[5/13] Compiling URLScission MockSessionError.swift
[6/13] Compiling URLScission MockSessionTask.swift
/Users/admin/builder/spi-builder-workspace/URLScission/MockSessionTask.swift:39:13: warning: capture of 'self' with non-sendable type 'MockSessionTask' in a '@Sendable' closure
9 | import Foundation
10 |
11 | public final class MockSessionTask: SessionDataTask {
| `- note: class 'MockSessionTask' does not conform to the 'Sendable' protocol
12 | public var delegateQueue = OperationQueue()
13 |
:
37 | public func resumeAfter(deadline: DispatchTime) {
38 | self.queue.asyncAfter(deadline: deadline) {
39 | self.resume()
| `- warning: capture of 'self' with non-sendable type 'MockSessionTask' in a '@Sendable' closure
40 | }
41 | }
[7/13] Compiling URLScission MockParser.swift
[8/13] Compiling URLScission MockAction.swift
[9/13] Compiling URLScission DataMock.swift
/Users/admin/builder/spi-builder-workspace/URLScission/Logger.swift:26:24: warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension OSLog {
26 | private static var subsystem = Bundle.main.bundleIdentifier!
| |- warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'subsystem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | private static var networkIdentifer = "network"
28 | private static var mockIdentier = "mock"
/Users/admin/builder/spi-builder-workspace/URLScission/Logger.swift:27:24: warning: static property 'networkIdentifer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | extension OSLog {
26 | private static var subsystem = Bundle.main.bundleIdentifier!
27 | private static var networkIdentifer = "network"
| |- warning: static property 'networkIdentifer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'networkIdentifer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'networkIdentifer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | private static var mockIdentier = "mock"
29 |
/Users/admin/builder/spi-builder-workspace/URLScission/Logger.swift:28:24: warning: static property 'mockIdentier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | private static var subsystem = Bundle.main.bundleIdentifier!
27 | private static var networkIdentifer = "network"
28 | private static var mockIdentier = "mock"
| |- warning: static property 'mockIdentier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockIdentier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockIdentier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Logs the network call.
/Users/admin/builder/spi-builder-workspace/URLScission/Logger.swift:34:16: warning: static property 'mock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Logs the mock call.
34 | static var mock: OSLog = OSLog(subsystem: subsystem, category: mockIdentier)
| |- warning: static property 'mock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | }
[10/13] Compiling URLScission Logger.swift
/Users/admin/builder/spi-builder-workspace/URLScission/Logger.swift:26:24: warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension OSLog {
26 | private static var subsystem = Bundle.main.bundleIdentifier!
| |- warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'subsystem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | private static var networkIdentifer = "network"
28 | private static var mockIdentier = "mock"
/Users/admin/builder/spi-builder-workspace/URLScission/Logger.swift:27:24: warning: static property 'networkIdentifer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | extension OSLog {
26 | private static var subsystem = Bundle.main.bundleIdentifier!
27 | private static var networkIdentifer = "network"
| |- warning: static property 'networkIdentifer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'networkIdentifer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'networkIdentifer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | private static var mockIdentier = "mock"
29 |
/Users/admin/builder/spi-builder-workspace/URLScission/Logger.swift:28:24: warning: static property 'mockIdentier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | private static var subsystem = Bundle.main.bundleIdentifier!
27 | private static var networkIdentifer = "network"
28 | private static var mockIdentier = "mock"
| |- warning: static property 'mockIdentier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockIdentier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockIdentier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Logs the network call.
/Users/admin/builder/spi-builder-workspace/URLScission/Logger.swift:34:16: warning: static property 'mock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Logs the mock call.
34 | static var mock: OSLog = OSLog(subsystem: subsystem, category: mockIdentier)
| |- warning: static property 'mock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | }
[11/13] Compiling URLScission Mock.swift
[12/13] Emitting module URLScission
/Users/admin/builder/spi-builder-workspace/URLScission/Logger.swift:26:24: warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | extension OSLog {
26 | private static var subsystem = Bundle.main.bundleIdentifier!
| |- warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'subsystem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | private static var networkIdentifer = "network"
28 | private static var mockIdentier = "mock"
/Users/admin/builder/spi-builder-workspace/URLScission/Logger.swift:27:24: warning: static property 'networkIdentifer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | extension OSLog {
26 | private static var subsystem = Bundle.main.bundleIdentifier!
27 | private static var networkIdentifer = "network"
| |- warning: static property 'networkIdentifer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'networkIdentifer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'networkIdentifer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | private static var mockIdentier = "mock"
29 |
/Users/admin/builder/spi-builder-workspace/URLScission/Logger.swift:28:24: warning: static property 'mockIdentier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | private static var subsystem = Bundle.main.bundleIdentifier!
27 | private static var networkIdentifer = "network"
28 | private static var mockIdentier = "mock"
| |- warning: static property 'mockIdentier' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockIdentier' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockIdentier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Logs the network call.
/Users/admin/builder/spi-builder-workspace/URLScission/Logger.swift:34:16: warning: static property 'mock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Logs the mock call.
34 | static var mock: OSLog = OSLog(subsystem: subsystem, category: mockIdentier)
| |- warning: static property 'mock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | }
/Users/admin/builder/spi-builder-workspace/URLScission/MockSession.swift:13:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'URLScissionDefault' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import os.log
11 |
12 | class URLScissionDefault {
| `- note: class 'URLScissionDefault' does not conform to the 'Sendable' protocol
13 | static let shared = URLScissionDefault()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'URLScissionDefault' 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
14 |
15 | var currentRouter: URLScissionRouter?
/Users/admin/builder/spi-builder-workspace/URLScission/MockSession.swift:20:23: warning: static property 'mockStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | public class URLScission {
19 |
20 | public static var mockStorage = MockStorage()
| |- warning: static property 'mockStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | public static func start(logNetwork: Bool = true, urlSessionRedirect: Bool = true) {
/Users/admin/builder/spi-builder-workspace/URLScission/MockSession.swift:156:22: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MockSession' may have shared mutable state; this is an error in the Swift 6 language mode
153 | }
154 |
155 | @objc public final class MockSession: NSObject, SessionClient {
| `- note: class 'MockSession' does not conform to the 'Sendable' protocol
156 | @objc static let shared = MockSession()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MockSession' 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
157 |
158 | public func dataTask(with mock: MockAction,
[13/13] Compiling URLScission MockSession.swift
/Users/admin/builder/spi-builder-workspace/URLScission/MockSession.swift:13:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'URLScissionDefault' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import os.log
11 |
12 | class URLScissionDefault {
| `- note: class 'URLScissionDefault' does not conform to the 'Sendable' protocol
13 | static let shared = URLScissionDefault()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'URLScissionDefault' 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
14 |
15 | var currentRouter: URLScissionRouter?
/Users/admin/builder/spi-builder-workspace/URLScission/MockSession.swift:20:23: warning: static property 'mockStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 | public class URLScission {
19 |
20 | public static var mockStorage = MockStorage()
| |- warning: static property 'mockStorage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockStorage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | public static func start(logNetwork: Bool = true, urlSessionRedirect: Bool = true) {
/Users/admin/builder/spi-builder-workspace/URLScission/MockSession.swift:156:22: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MockSession' may have shared mutable state; this is an error in the Swift 6 language mode
153 | }
154 |
155 | @objc public final class MockSession: NSObject, SessionClient {
| `- note: class 'MockSession' does not conform to the 'Sendable' protocol
156 | @objc static let shared = MockSession()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MockSession' 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
157 |
158 | public func dataTask(with mock: MockAction,
[14/14] Compiling URLScission URLSessionClient.swift
/Users/admin/builder/spi-builder-workspace/URLScission/URLSessionClient.swift:33:87: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
30 |
31 | extension URLSession: SessionClient {
32 | public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask {
| `- note: parameter 'completionHandler' is implicitly non-sendable
33 | let res: URLSessionDataTask = self.dataTask(with: request, completionHandler: completionHandler)
| `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
34 | return res as SessionDataTask
35 | }
/Users/admin/builder/spi-builder-workspace/URLScission/URLSessionClient.swift:26:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
24 | public func resumeAfter(deadline: DispatchTime) {
25 | DispatchQueue.main.asyncAfter(deadline: deadline) {
26 | self.resume()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
27 | }
28 | }
Build complete! (4.98s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "URLScission",
"name" : "URLScission",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "URLScission",
"targets" : [
"URLScission"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "URLScissionTests",
"module_type" : "SwiftTarget",
"name" : "URLScissionTests",
"path" : "Tests/URLScissionTests",
"sources" : [
"RestServiceNetwork.swift",
"URLScissionTests.swift"
],
"target_dependencies" : [
"URLScission"
],
"type" : "test"
},
{
"c99name" : "URLScission",
"module_type" : "SwiftTarget",
"name" : "URLScission",
"path" : "URLScission",
"product_memberships" : [
"URLScission"
],
"sources" : [
"DataMock.swift",
"Logger.swift",
"Mock.swift",
"MockAction.swift",
"MockClient.swift",
"MockParser.swift",
"MockSession.swift",
"MockSessionError.swift",
"MockSessionTask.swift",
"MockStorage.swift",
"URLSessionClient.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.