Build Information
Successful build of TinyNetworking, reference master (45ba23
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 23:36:57 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/objcio/tiny-networking.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/objcio/tiny-networking
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 45ba230 Fix for Xcode 13
Cloned https://github.com/objcio/tiny-networking.git
Revision (git rev-parse @):
45ba230cc9a843bf82a642803a43ef8838dc5b70
SUCCESS checkout https://github.com/objcio/tiny-networking.git at master
========================================
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": "tiny-networking",
"name": "TinyNetworking",
"url": "https://github.com/objcio/tiny-networking.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/tiny-networking",
"dependencies": [
]
}
]
}
Fetching https://github.com/objcio/tiny-networking.git
[7/305] Fetching tiny-networking
Fetched https://github.com/objcio/tiny-networking.git from cache (0.78s)
Creating working copy for https://github.com/objcio/tiny-networking.git
Working copy of https://github.com/objcio/tiny-networking.git resolved at master (45ba230)
warning: '.resolve-product-dependencies': dependency 'tiny-networking' 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/objcio/tiny-networking.git
{
"dependencies" : [
],
"manifest_display_name" : "TinyNetworking",
"name" : "TinyNetworking",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "TinyNetworking",
"targets" : [
"TinyNetworking"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TinyNetworkingTests",
"module_type" : "SwiftTarget",
"name" : "TinyNetworkingTests",
"path" : "Tests/TinyNetworkingTests",
"sources" : [
"TestFixtures.swift",
"TinyHTTPStubURLProtocol.swift",
"TinyNetworkingTests.swift",
"URLSessionIntegrationTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"TinyNetworking"
],
"type" : "test"
},
{
"c99name" : "TinyNetworking",
"module_type" : "SwiftTarget",
"name" : "TinyNetworking",
"path" : "Sources/TinyNetworking",
"product_memberships" : [
"TinyNetworking"
],
"sources" : [
"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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/4] Emitting module TinyNetworking
[4/4] Compiling TinyNetworking Endpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/TinyNetworking/Endpoint.swift:235:17: warning: capture of 'onComplete' with non-sendable type '(Result<A, any Error>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
233 | let task = dataTask(with: r, completionHandler: { data, resp, err in
234 | if let err = err {
235 | onComplete(.failure(err))
| |- warning: capture of 'onComplete' with non-sendable type '(Result<A, any Error>) -> ()' 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'
236 | return
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/TinyNetworking/Endpoint.swift:244:19: warning: capture of 'e' with non-sendable type 'Endpoint<A>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 |
18 | /// This describes an endpoint returning `A` values. It contains both a `URLRequest` and a way to parse the response.
19 | public struct Endpoint<A> {
| `- note: consider making generic struct 'Endpoint' conform to the 'Sendable' protocol
20 |
21 | /// The HTTP Method
:
242 | }
243 |
244 | guard e.expectedStatusCode(h.statusCode) else {
| `- warning: capture of 'e' with non-sendable type 'Endpoint<A>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
245 | onComplete(.failure(WrongStatusCodeError(statusCode: h.statusCode, response: h, responseBody: data)))
246 | return
Build complete! (5.71s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "TinyNetworking",
"name" : "TinyNetworking",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "TinyNetworking",
"targets" : [
"TinyNetworking"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TinyNetworkingTests",
"module_type" : "SwiftTarget",
"name" : "TinyNetworkingTests",
"path" : "Tests/TinyNetworkingTests",
"sources" : [
"TestFixtures.swift",
"TinyHTTPStubURLProtocol.swift",
"TinyNetworkingTests.swift",
"URLSessionIntegrationTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"TinyNetworking"
],
"type" : "test"
},
{
"c99name" : "TinyNetworking",
"module_type" : "SwiftTarget",
"name" : "TinyNetworking",
"path" : "Sources/TinyNetworking",
"product_memberships" : [
"TinyNetworking"
],
"sources" : [
"Endpoint.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.