Build Information
Successful build of TestURLProtocol, reference 0.1.0 (979863
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 06:00:50 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mgopsill/TestURLProtocol.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mgopsill/TestURLProtocol
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 9798638 🕸 TestURLProtocol
Cloned https://github.com/mgopsill/TestURLProtocol.git
Revision (git rev-parse @):
97986386f569b706e81e86713edaeafb0caadc2e
SUCCESS checkout https://github.com/mgopsill/TestURLProtocol.git at 0.1.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": "testurlprotocol",
"name": "TestURLProtocol",
"url": "https://github.com/mgopsill/TestURLProtocol.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TestURLProtocol",
"dependencies": [
]
}
]
}
Fetching https://github.com/mgopsill/TestURLProtocol.git
[1/20] Fetching testurlprotocol
Fetched https://github.com/mgopsill/TestURLProtocol.git from cache (0.65s)
Creating working copy for https://github.com/mgopsill/TestURLProtocol.git
Working copy of https://github.com/mgopsill/TestURLProtocol.git resolved at 0.1.0 (9798638)
warning: '.resolve-product-dependencies': dependency 'testurlprotocol' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/mgopsill/TestURLProtocol.git
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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/4] Compiling TestURLProtocol TestURLProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestURLProtocol/TestURLProtocol.swift:11:20: warning: static property 'mockResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | )
10 | /// A dictionary storing the mock responses for specific URLs.
11 | public static var mockResponses: [URL: MockResponse] = [:]
| |- warning: static property 'mockResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockResponses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockResponses' 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
12 |
13 | public override class func canInit(with request: URLRequest) -> Bool {
[4/4] Emitting module TestURLProtocol
/Users/admin/builder/spi-builder-workspace/Sources/TestURLProtocol/TestURLProtocol.swift:11:20: warning: static property 'mockResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | )
10 | /// A dictionary storing the mock responses for specific URLs.
11 | public static var mockResponses: [URL: MockResponse] = [:]
| |- warning: static property 'mockResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockResponses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockResponses' 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
12 |
13 | public override class func canInit(with request: URLRequest) -> Bool {
Build complete! (5.28s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "TestURLProtocol",
"name" : "TestURLProtocol",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "TestURLProtocol",
"targets" : [
"TestURLProtocol"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TestURLProtocolTests",
"module_type" : "SwiftTarget",
"name" : "TestURLProtocolTests",
"path" : "Tests/TestURLProtocolTests",
"sources" : [
"TestURLProtocolTests.swift"
],
"target_dependencies" : [
"TestURLProtocol"
],
"type" : "test"
},
{
"c99name" : "TestURLProtocol",
"module_type" : "SwiftTarget",
"name" : "TestURLProtocol",
"path" : "Sources/TestURLProtocol",
"product_memberships" : [
"TestURLProtocol"
],
"sources" : [
"TestURLProtocol.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.