Build Information
Successful build of Superhighway, reference 2.0.1 (7e942d
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 14:15:32 UTC.
Swift 6 data race errors: 0
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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhysforyou/Superhighway.git
Reference: 2.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rhysforyou/Superhighway
* tag 2.0.1 -> FETCH_HEAD
HEAD is now at 7e942df update CHANGELOG links
Cloned https://github.com/rhysforyou/Superhighway.git
Revision (git rev-parse @):
7e942dfbc799f9c0ea231490a2ce99b8ff78b2d5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/rhysforyou/Superhighway.git at 2.0.1
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2038] Fetching swift-docc-plugin
[226/5225] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.29s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.29s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.2.0 (0.56s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.59s)
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.2.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": "superhighway",
"name": "Superhighway",
"url": "https://github.com/rhysforyou/Superhighway.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Superhighway",
"dependencies": [
]
}
]
}
Fetching https://github.com/rhysforyou/Superhighway.git
[1/499] Fetching superhighway
Fetched https://github.com/rhysforyou/Superhighway.git from cache (0.77s)
Creating working copy for https://github.com/rhysforyou/Superhighway.git
Working copy of https://github.com/rhysforyou/Superhighway.git resolved at 2.0.1 (7e942df)
warning: '.resolve-product-dependencies': dependency 'superhighway' 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/rhysforyou/Superhighway.git
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "Superhighway",
"name" : "Superhighway",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "Superhighway",
"targets" : [
"Superhighway"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SuperhighwayTests",
"module_type" : "SwiftTarget",
"name" : "SuperhighwayTests",
"path" : "Tests/SuperhighwayTests",
"sources" : [
"CombineIntegrationTests.swift",
"ConcurrencyIntegrationTests.swift",
"EndpointTests.swift",
"HTTPStubURLProtocol.swift",
"TestFixtures.swift",
"URLSessionIntegrationTests.swift"
],
"target_dependencies" : [
"Superhighway"
],
"type" : "test"
},
{
"c99name" : "Superhighway",
"module_type" : "SwiftTarget",
"name" : "Superhighway",
"path" : "Sources/Superhighway",
"product_memberships" : [
"Superhighway"
],
"sources" : [
"Endpoint.swift",
"URLSession+Endpoint.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/7] Compiling Superhighway Endpoint.swift
[6/7] Emitting module Superhighway
[7/7] Compiling Superhighway URLSession+Endpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Superhighway/URLSession+Endpoint.swift:21:11: warning: capture of 'onComplete' with non-sendable type '(Result<Response, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 | completionHandler: { data, response, error in
20 | if let error {
21 | onComplete(.failure(error))
| |- warning: capture of 'onComplete' with non-sendable type '(Result<Response, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 | return
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Superhighway/URLSession+Endpoint.swift:30:15: warning: capture of 'endpoint' with non-sendable type 'Endpoint<Response>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | }
29 |
30 | guard endpoint.expectedStatusCode(urlResponse.statusCode) else {
| `- warning: capture of 'endpoint' with non-sendable type 'Endpoint<Response>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | onComplete(
32 | .failure(
/Users/admin/builder/spi-builder-workspace/Sources/Superhighway/Endpoint.swift:74:15: note: consider making generic struct 'Endpoint' conform to the 'Sendable' protocol
72 | /// let (people, _) = try await URLSession.shared.response(for: endpoint)
73 | /// ```
74 | public struct Endpoint<Response> {
| `- note: consider making generic struct 'Endpoint' conform to the 'Sendable' protocol
75 | /// The underlying `URLRequest` for this endpoint
76 | public let request: URLRequest
/Users/admin/builder/spi-builder-workspace/Sources/Superhighway/URLSession+Endpoint.swift:42:38: warning: capture of 'endpoint' with non-sendable type 'Endpoint<Response>' in an isolated closure; this is an error in the Swift 6 language mode
40 | }
41 |
42 | onComplete(Result.init { try endpoint.parse(data, response) })
| `- warning: capture of 'endpoint' with non-sendable type 'Endpoint<Response>' in an isolated closure; this is an error in the Swift 6 language mode
43 | }
44 | )
/Users/admin/builder/spi-builder-workspace/Sources/Superhighway/Endpoint.swift:74:15: note: consider making generic struct 'Endpoint' conform to the 'Sendable' protocol
72 | /// let (people, _) = try await URLSession.shared.response(for: endpoint)
73 | /// ```
74 | public struct Endpoint<Response> {
| `- note: consider making generic struct 'Endpoint' conform to the 'Sendable' protocol
75 | /// The underlying `URLRequest` for this endpoint
76 | public let request: URLRequest
Build complete! (17.19s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "Superhighway",
"name" : "Superhighway",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "Superhighway",
"targets" : [
"Superhighway"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SuperhighwayTests",
"module_type" : "SwiftTarget",
"name" : "SuperhighwayTests",
"path" : "Tests/SuperhighwayTests",
"sources" : [
"CombineIntegrationTests.swift",
"ConcurrencyIntegrationTests.swift",
"EndpointTests.swift",
"HTTPStubURLProtocol.swift",
"TestFixtures.swift",
"URLSessionIntegrationTests.swift"
],
"target_dependencies" : [
"Superhighway"
],
"type" : "test"
},
{
"c99name" : "Superhighway",
"module_type" : "SwiftTarget",
"name" : "Superhighway",
"path" : "Sources/Superhighway",
"product_memberships" : [
"Superhighway"
],
"sources" : [
"Endpoint.swift",
"URLSession+Endpoint.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.