Build Information
Successful build of Firework, reference main (a9fd1b
), with Swift 6.1 for Linux on 27 Apr 2025 21:25:12 UTC.
Swift 6 data race errors: 0
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/jrsaruo/Firework.git
Reference: main
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/jrsaruo/Firework
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a9fd1b4 Merge pull request #42 from jrsaruo/release-3.0.2
Cloned https://github.com/jrsaruo/Firework.git
Revision (git rev-parse @):
a9fd1b49ebe41aa4a5dde44785796d8b258856ef
SUCCESS checkout https://github.com/jrsaruo/Firework.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/jrsaruo/Firework.git
https://github.com/jrsaruo/Firework.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "alamofire",
"requirement" : {
"range" : [
{
"lower_bound" : "5.6.2",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Alamofire/Alamofire.git"
}
],
"manifest_display_name" : "Firework",
"name" : "Firework",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "Firework",
"targets" : [
"Firework"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FireworkTests",
"module_type" : "SwiftTarget",
"name" : "FireworkTests",
"path" : "Tests/FireworkTests",
"sources" : [
"EndpointTests.swift",
"HTTPClientTests.swift",
"HTTPRequestTests.swift"
],
"target_dependencies" : [
"Firework"
],
"type" : "test"
},
{
"c99name" : "Firework",
"module_type" : "SwiftTarget",
"name" : "Firework",
"path" : "Sources/Firework",
"product_dependencies" : [
"Alamofire"
],
"product_memberships" : [
"Firework"
],
"sources" : [
"Endpoint.swift",
"HTTPClient.swift",
"HTTPRequest.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
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/Alamofire/Alamofire.git
[1/30137] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.36s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (2.80s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Building for debugging...
[0/4] Copying PrivacyInfo.xcprivacy
[1/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/43] Emitting module Alamofire
[6/48] Compiling Alamofire URLRequest+Alamofire.swift
[7/48] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[8/48] Compiling Alamofire AlamofireExtended.swift
[9/48] Compiling Alamofire AuthenticationInterceptor.swift
[10/48] Compiling Alamofire CachedResponseHandler.swift
[11/48] Compiling Alamofire HTTPMethod.swift
[12/48] Compiling Alamofire Notifications.swift
[13/48] Compiling Alamofire ParameterEncoder.swift
[14/48] Compiling Alamofire ParameterEncoding.swift
[15/48] Compiling Alamofire Protected.swift
[16/48] Compiling Alamofire Request.swift
[17/48] Compiling Alamofire WebSocketRequest.swift
[18/48] Compiling Alamofire DispatchQueue+Alamofire.swift
[19/48] Compiling Alamofire OperationQueue+Alamofire.swift
[20/48] Compiling Alamofire Result+Alamofire.swift
[21/48] Compiling Alamofire StringEncoding+Alamofire.swift
[22/48] Compiling Alamofire NetworkReachabilityManager.swift
[23/48] Compiling Alamofire RedirectHandler.swift
[24/48] Compiling Alamofire RequestCompression.swift
[25/48] Compiling Alamofire RequestInterceptor.swift
[26/48] Compiling Alamofire ResponseSerialization.swift
[27/48] Compiling Alamofire Combine.swift
[28/48] Compiling Alamofire Concurrency.swift
[29/48] Compiling Alamofire EventMonitor.swift
[30/48] Compiling Alamofire MultipartFormData.swift
[31/48] Compiling Alamofire MultipartUpload.swift
[32/48] Compiling Alamofire RetryPolicy.swift
[33/48] Compiling Alamofire ServerTrustEvaluation.swift
[34/48] Compiling Alamofire URLEncodedFormEncoder.swift
[35/48] Compiling Alamofire Validation.swift
[36/48] Compiling Alamofire resource_bundle_accessor.swift
[37/48] Compiling Alamofire RequestTaskMap.swift
[38/48] Compiling Alamofire Response.swift
[39/48] Compiling Alamofire Session.swift
[40/48] Compiling Alamofire SessionDelegate.swift
[41/48] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[42/48] Compiling Alamofire UploadRequest.swift
[43/48] Compiling Alamofire Alamofire.swift
[44/48] Compiling Alamofire AFError.swift
[45/48] Compiling Alamofire DataRequest.swift
[46/48] Compiling Alamofire DataStreamRequest.swift
[47/48] Compiling Alamofire DownloadRequest.swift
[48/48] Compiling Alamofire HTTPHeaders.swift
[50/53] Compiling Firework HTTPRequest.swift
[51/53] Emitting module Firework
[52/53] Compiling Firework Endpoint.swift
[53/53] Compiling Firework HTTPClient.swift
/host/spi-builder-workspace/Sources/Firework/HTTPClient.swift:67:56: warning: passing non-sendable parameter 'completion' to function expecting a @Sendable closure
63 | public func send(_ request: some HTTPRequest,
64 | receiveOn queue: DispatchQueue = .main,
65 | completion: @escaping (AFDataResponse<Data?>) -> Void) {
| `- note: parameter 'completion' is implicitly non-sendable
66 | makeDataRequest(from: request)
67 | .response(queue: queue, completionHandler: completion)
| `- warning: passing non-sendable parameter 'completion' to function expecting a @Sendable closure
68 | }
69 |
/host/spi-builder-workspace/Sources/Firework/HTTPClient.swift:78:70: warning: converting a value of type '@Sendable (sending AFDataResponse<Data?>) -> ()' (aka '@Sendable (sending DataResponse<Optional<Data>, AFError>) -> ()') to type '(AFDataResponse<Data?>) -> Void' (aka '(DataResponse<Optional<Data>, AFError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
76 | public func send(_ request: some HTTPRequest) async -> AFDataResponse<Data?> {
77 | await withCheckedContinuation { continuation in
78 | send(request, receiveOn: .main, completion: continuation.resume(returning:))
| |- warning: converting a value of type '@Sendable (sending AFDataResponse<Data?>) -> ()' (aka '@Sendable (sending DataResponse<Optional<Data>, AFError>) -> ()') to type '(AFDataResponse<Data?>) -> Void' (aka '(DataResponse<Optional<Data>, AFError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
79 | }
80 | }
/host/spi-builder-workspace/Sources/Firework/HTTPClient.swift:92:83: warning: passing non-sendable parameter 'decodingCompletion' to function expecting a @Sendable closure
87 | public func send<Request: DecodingRequest>(_ request: Request,
88 | receiveOn queue: DispatchQueue = .main,
89 | decodingCompletion: @escaping (AFDataResponse<Request.Response>) -> Void) {
| `- note: parameter 'decodingCompletion' is implicitly non-sendable
90 | let decoder = Request.preferredJSONDecoder ?? configuration.defaultJSONDecoder
91 | makeDataRequest(from: request)
92 | .responseDecodable(queue: queue, decoder: decoder, completionHandler: decodingCompletion)
| `- warning: passing non-sendable parameter 'decodingCompletion' to function expecting a @Sendable closure
93 | }
94 |
/host/spi-builder-workspace/Sources/Firework/HTTPClient.swift:92:14: warning: type 'Request.Response' does not conform to the 'Sendable' protocol
90 | let decoder = Request.preferredJSONDecoder ?? configuration.defaultJSONDecoder
91 | makeDataRequest(from: request)
92 | .responseDecodable(queue: queue, decoder: decoder, completionHandler: decodingCompletion)
| `- warning: type 'Request.Response' does not conform to the 'Sendable' protocol
93 | }
94 |
/host/spi-builder-workspace/Sources/Firework/HTTPClient.swift:102:78: warning: converting a value of type '@Sendable (sending AFDataResponse<Request.Response>) -> ()' (aka '@Sendable (sending DataResponse<Request.Response, AFError>) -> ()') to type '(DataResponse<Request.Response, AFError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
100 | public func send<Request: DecodingRequest>(_ request: Request) async -> AFDataResponse<Request.Response> {
101 | await withCheckedContinuation { continuation in
102 | send(request, receiveOn: .main, decodingCompletion: continuation.resume(returning:))
| |- warning: converting a value of type '@Sendable (sending AFDataResponse<Request.Response>) -> ()' (aka '@Sendable (sending DataResponse<Request.Response, AFError>) -> ()') to type '(DataResponse<Request.Response, AFError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
103 | }
104 | }
/host/spi-builder-workspace/Sources/Firework/HTTPClient.swift:110:70: warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
108 | .request(request.urlComponents,
109 | method: Request.httpMethod,
110 | parameters: (request as? any HTTPBodySendable)?.body,
| `- warning: type 'Any' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
111 | encoding: JSONEncoding.default,
112 | headers: request.headers)
/host/spi-builder-workspace/Sources/Firework/HTTPClient.swift:114:36: warning: implicit capture of 'request' requires that 'Request' conforms to 'Sendable'; this is an error in the Swift 6 language mode
104 | }
105 |
106 | private func makeDataRequest<Request: HTTPRequest>(from request: Request) -> DataRequest {
| `- note: consider making generic parameter 'Request' conform to the 'Sendable' protocol
107 | session
108 | .request(request.urlComponents,
:
112 | headers: request.headers)
113 | .validate(statusCode: request.acceptableStatusCodes)
114 | .validate(contentType: request.acceptableContentTypes)
| `- warning: implicit capture of 'request' requires that 'Request' conforms to 'Sendable'; this is an error in the Swift 6 language mode
115 | }
116 | }
Build complete! (11.24s)
Build complete.
{
"dependencies" : [
{
"identity" : "alamofire",
"requirement" : {
"range" : [
{
"lower_bound" : "5.6.2",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Alamofire/Alamofire.git"
}
],
"manifest_display_name" : "Firework",
"name" : "Firework",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "Firework",
"targets" : [
"Firework"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FireworkTests",
"module_type" : "SwiftTarget",
"name" : "FireworkTests",
"path" : "Tests/FireworkTests",
"sources" : [
"EndpointTests.swift",
"HTTPClientTests.swift",
"HTTPRequestTests.swift"
],
"target_dependencies" : [
"Firework"
],
"type" : "test"
},
{
"c99name" : "Firework",
"module_type" : "SwiftTarget",
"name" : "Firework",
"path" : "Sources/Firework",
"product_dependencies" : [
"Alamofire"
],
"product_memberships" : [
"Firework"
],
"sources" : [
"Endpoint.swift",
"HTTPClient.swift",
"HTTPRequest.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
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.