Build Information
Successful build of Firework, reference main (a9fd1b
), with Swift 6.0 for Linux on 3 Nov 2024 15:55:26 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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.0
Building package at path: $PWD
https://github.com/jrsaruo/Firework.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Alamofire/Alamofire.git
[1/29795] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.95s)
Computing version for https://github.com/Alamofire/Alamofire.git
warning: 'alamofire': /Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
26 | import PackageDescription
27 |
28 | let package = Package(name: "Alamofire",
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
29 | platforms: [.macOS(.v10_13),
30 | .iOS(.v12),
Computed https://github.com/Alamofire/Alamofire.git at 5.10.1 (0.51s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.1
warning: 'alamofire': /host/spi-builder-workspace/.build/checkouts/Alamofire/Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
26 | import PackageDescription
27 |
28 | let package = Package(name: "Alamofire",
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
29 | platforms: [.macOS(.v10_13),
30 | .iOS(.v12),
Building for debugging...
[0/4] Write sources
[1/4] Copying PrivacyInfo.xcprivacy
[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 RetryPolicy.swift
[18/48] Compiling Alamofire ServerTrustEvaluation.swift
[19/48] Compiling Alamofire URLEncodedFormEncoder.swift
[20/48] Compiling Alamofire Validation.swift
[21/48] Compiling Alamofire resource_bundle_accessor.swift
[22/48] Compiling Alamofire Combine.swift
[23/48] Compiling Alamofire Concurrency.swift
[24/48] Compiling Alamofire EventMonitor.swift
[25/48] Compiling Alamofire MultipartFormData.swift
[26/48] Compiling Alamofire MultipartUpload.swift
[27/48] Compiling Alamofire WebSocketRequest.swift
[28/48] Compiling Alamofire DispatchQueue+Alamofire.swift
[29/48] Compiling Alamofire OperationQueue+Alamofire.swift
[30/48] Compiling Alamofire Result+Alamofire.swift
[31/48] Compiling Alamofire StringEncoding+Alamofire.swift
[32/48] Compiling Alamofire NetworkReachabilityManager.swift
[33/48] Compiling Alamofire RedirectHandler.swift
[34/48] Compiling Alamofire RequestCompression.swift
[35/48] Compiling Alamofire RequestInterceptor.swift
[36/48] Compiling Alamofire ResponseSerialization.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] Compiling Firework Endpoint.swift
[52/53] Emitting module Firework
[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 '(sending AFDataResponse<Data?>) -> ()' (aka '(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 '(sending AFDataResponse<Data?>) -> ()' (aka '(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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
93 | }
94 |
/host/spi-builder-workspace/Sources/Firework/HTTPClient.swift:102:78: warning: converting a value of type '(sending AFDataResponse<Request.Response>) -> ()' (aka '(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 '(sending AFDataResponse<Request.Response>) -> ()' (aka '(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)
Build complete! (25.29s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.