Build Information
Successful build of PatreonAPI-Swift, reference master (21e9d6
), with Swift 6.0 for Linux on 1 Dec 2024 09:29:52 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amirsaam/PatreonAPI-Swift.git
Reference: master
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/amirsaam/PatreonAPI-Swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 21e9d6a Revert "Switch to Flight-School's `AnyCodable` from my own `CodableAny`"
Cloned https://github.com/amirsaam/PatreonAPI-Swift.git
Revision (git rev-parse @):
21e9d6a0c428ffd040b8ffabc0035d3ab3d9a581
SUCCESS checkout https://github.com/amirsaam/PatreonAPI-Swift.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/amirsaam/PatreonAPI-Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -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.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
Fetching https://github.com/amirsaam/CodableAny.git
Fetching https://github.com/groue/Semaphore.git
[1/34] Fetching codableany
[26/327] Fetching codableany, semaphore
Fetched https://github.com/groue/Semaphore.git from cache (0.28s)
[26/30051] Fetching codableany, alamofire
Fetched https://github.com/amirsaam/CodableAny.git from cache (3.15s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.23s)
Computing version for https://github.com/amirsaam/CodableAny.git
Computed https://github.com/amirsaam/CodableAny.git at 0.2.0 (0.75s)
Computing version for https://github.com/groue/Semaphore.git
Computed https://github.com/groue/Semaphore.git at 0.1.0 (0.62s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.58s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Creating working copy for https://github.com/groue/Semaphore.git
Working copy of https://github.com/groue/Semaphore.git resolved at 0.1.0
Creating working copy for https://github.com/amirsaam/CodableAny.git
Working copy of https://github.com/amirsaam/CodableAny.git resolved at 0.2.0
Building for debugging...
[0/6] Write sources
[0/6] Copying PrivacyInfo.xcprivacy
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/49] Emitting module CodableAny
[8/49] Compiling CodableAny CodableAny.swift
[10/50] Emitting module Semaphore
[11/50] Compiling Semaphore AsyncSemaphore.swift
[12/51] Compiling Alamofire WebSocketRequest.swift
[13/51] Compiling Alamofire DispatchQueue+Alamofire.swift
[14/51] Compiling Alamofire OperationQueue+Alamofire.swift
[15/51] Compiling Alamofire Result+Alamofire.swift
[16/51] Compiling Alamofire StringEncoding+Alamofire.swift
[17/51] Compiling Alamofire NetworkReachabilityManager.swift
[18/51] Compiling Alamofire RedirectHandler.swift
[19/51] Compiling Alamofire RequestCompression.swift
[20/51] Compiling Alamofire RequestInterceptor.swift
[21/51] Compiling Alamofire ResponseSerialization.swift
[23/56] Compiling Alamofire HTTPMethod.swift
[24/56] Compiling Alamofire Notifications.swift
[25/56] Compiling Alamofire ParameterEncoder.swift
[26/56] Compiling Alamofire ParameterEncoding.swift
[27/56] Compiling Alamofire Protected.swift
[28/56] Compiling Alamofire Request.swift
[29/56] Compiling Alamofire RequestTaskMap.swift
[30/56] Compiling Alamofire Response.swift
[31/56] Compiling Alamofire Session.swift
[32/56] Compiling Alamofire SessionDelegate.swift
[33/56] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[34/56] Compiling Alamofire UploadRequest.swift
[35/56] Compiling Alamofire URLRequest+Alamofire.swift
[36/56] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[37/56] Compiling Alamofire AlamofireExtended.swift
[38/56] Compiling Alamofire AuthenticationInterceptor.swift
[39/56] Compiling Alamofire CachedResponseHandler.swift
[40/56] Compiling Alamofire Combine.swift
[41/56] Compiling Alamofire Concurrency.swift
[42/56] Compiling Alamofire EventMonitor.swift
[43/56] Compiling Alamofire MultipartFormData.swift
[44/56] Compiling Alamofire MultipartUpload.swift
[45/56] Compiling Alamofire Alamofire.swift
[46/56] Compiling Alamofire AFError.swift
[47/56] Compiling Alamofire DataRequest.swift
[48/56] Compiling Alamofire DataStreamRequest.swift
[49/56] Compiling Alamofire DownloadRequest.swift
[50/56] Compiling Alamofire HTTPHeaders.swift
[51/56] Emitting module Alamofire
[52/56] Compiling Alamofire RetryPolicy.swift
[53/56] Compiling Alamofire ServerTrustEvaluation.swift
[54/56] Compiling Alamofire URLEncodedFormEncoder.swift
[55/56] Compiling Alamofire Validation.swift
[56/56] Compiling Alamofire resource_bundle_accessor.swift
[58/71] Compiling PatreonAPI OAuthData.swift
[59/71] Compiling PatreonAPI PatreonMedia.swift
[60/72] Compiling PatreonAPI PatreonDataCalls.swift
/host/spi-builder-workspace/Sources/PatreonAPI/PatreonDataCalls.swift:142:10: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
116 |
117 | // Fetch Patreon Data Fucntion
118 | fileprivate func fetchPatreonData<T: Codable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
119 | accessToken: String,
120 | apiPath: String,
:
140 | method: .get,
141 | headers: headers)
142 | .responseDecodable(of: T.self) {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
143 | (response: DataResponse<T, AFError>) in
144 | switch response.result {
/host/spi-builder-workspace/Sources/PatreonAPI/PatreonDataCalls.swift:144:29: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
116 |
117 | // Fetch Patreon Data Fucntion
118 | fileprivate func fetchPatreonData<T: Codable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
119 | accessToken: String,
120 | apiPath: String,
:
142 | .responseDecodable(of: T.self) {
143 | (response: DataResponse<T, AFError>) in
144 | switch response.result {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
145 | case .success(let value):
146 | data = value
/host/spi-builder-workspace/Sources/PatreonAPI/PatreonDataCalls.swift:146:17: warning: capture of 'data' with non-sendable type 'T?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 |
117 | // Fetch Patreon Data Fucntion
118 | fileprivate func fetchPatreonData<T: Codable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
119 | accessToken: String,
120 | apiPath: String,
:
144 | switch response.result {
145 | case .success(let value):
146 | data = value
| `- warning: capture of 'data' with non-sendable type 'T?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
147 | debugPrint("PatreonAPI: Data of type \(T.self) fetched.")
148 | case .failure(let error):
/host/spi-builder-workspace/Sources/PatreonAPI/PatreonDataCalls.swift:146:17: warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
144 | switch response.result {
145 | case .success(let value):
146 | data = value
| `- warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
147 | debugPrint("PatreonAPI: Data of type \(T.self) fetched.")
148 | case .failure(let error):
/host/spi-builder-workspace/Sources/PatreonAPI/PatreonDataCalls.swift:149:17: warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
147 | debugPrint("PatreonAPI: Data of type \(T.self) fetched.")
148 | case .failure(let error):
149 | data = nil
| `- warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode
150 | debugPrint("PatreonAPI: Failed to fetch data of type \(T.self). Alamofire error log: \(error)")
151 | }
[61/72] Compiling PatreonAPI PatreonOAuthCalls.swift
/host/spi-builder-workspace/Sources/PatreonAPI/PatreonOAuthCalls.swift:76:10: warning: type 'PatronOAuth' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
74 | parameters: parameters,
75 | headers: headers)
76 | .responseDecodable(of: PatronOAuth.self) {
| `- warning: type 'PatronOAuth' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
77 | (response: DataResponse<PatronOAuth, AFError>) in
78 | switch response.result {
/host/spi-builder-workspace/Sources/PatreonAPI/Patreon Data Structs/OAuthData.swift:10:15: note: consider making struct 'PatronOAuth' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct PatronOAuth: Codable {
| `- note: consider making struct 'PatronOAuth' conform to the 'Sendable' protocol
11 | public let access_token: String
12 | public let refresh_token: String
/host/spi-builder-workspace/Sources/PatreonAPI/PatreonOAuthCalls.swift:76:50: warning: type 'PatronOAuth' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
74 | parameters: parameters,
75 | headers: headers)
76 | .responseDecodable(of: PatronOAuth.self) {
| `- warning: type 'PatronOAuth' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
77 | (response: DataResponse<PatronOAuth, AFError>) in
78 | switch response.result {
/host/spi-builder-workspace/Sources/PatreonAPI/Patreon Data Structs/OAuthData.swift:10:15: note: consider making struct 'PatronOAuth' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct PatronOAuth: Codable {
| `- note: consider making struct 'PatronOAuth' conform to the 'Sendable' protocol
11 | public let access_token: String
12 | public let refresh_token: String
/host/spi-builder-workspace/Sources/PatreonAPI/PatreonOAuthCalls.swift:78:29: warning: type 'PatronOAuth' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
76 | .responseDecodable(of: PatronOAuth.self) {
77 | (response: DataResponse<PatronOAuth, AFError>) in
78 | switch response.result {
| `- warning: type 'PatronOAuth' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
79 | case .success(let data):
80 | requestResponse = data
/host/spi-builder-workspace/Sources/PatreonAPI/Patreon Data Structs/OAuthData.swift:10:15: note: consider making struct 'PatronOAuth' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct PatronOAuth: Codable {
| `- note: consider making struct 'PatronOAuth' conform to the 'Sendable' protocol
11 | public let access_token: String
12 | public let refresh_token: String
/host/spi-builder-workspace/Sources/PatreonAPI/PatreonOAuthCalls.swift:80:17: warning: capture of 'requestResponse' with non-sendable type 'PatronOAuth?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
78 | switch response.result {
79 | case .success(let data):
80 | requestResponse = data
| `- warning: capture of 'requestResponse' with non-sendable type 'PatronOAuth?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
81 | debugPrint("PatreonAPI: Data of type \(PatronOAuth.self) fetched.")
82 | case .failure(let error):
/host/spi-builder-workspace/Sources/PatreonAPI/Patreon Data Structs/OAuthData.swift:10:15: note: consider making struct 'PatronOAuth' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct PatronOAuth: Codable {
| `- note: consider making struct 'PatronOAuth' conform to the 'Sendable' protocol
11 | public let access_token: String
12 | public let refresh_token: String
/host/spi-builder-workspace/Sources/PatreonAPI/PatreonOAuthCalls.swift:80:17: warning: mutation of captured var 'requestResponse' in concurrently-executing code; this is an error in the Swift 6 language mode
78 | switch response.result {
79 | case .success(let data):
80 | requestResponse = data
| `- warning: mutation of captured var 'requestResponse' in concurrently-executing code; this is an error in the Swift 6 language mode
81 | debugPrint("PatreonAPI: Data of type \(PatronOAuth.self) fetched.")
82 | case .failure(let error):
/host/spi-builder-workspace/Sources/PatreonAPI/PatreonOAuthCalls.swift:83:17: warning: mutation of captured var 'requestResponse' in concurrently-executing code; this is an error in the Swift 6 language mode
81 | debugPrint("PatreonAPI: Data of type \(PatronOAuth.self) fetched.")
82 | case .failure(let error):
83 | requestResponse = nil
| `- warning: mutation of captured var 'requestResponse' in concurrently-executing code; this is an error in the Swift 6 language mode
84 | debugPrint("PatreonAPI: Failed to fetch data of type \(PatronOAuth.self). Alamofire error log: \(error)")
85 | }
[62/72] Compiling PatreonAPI CampaignPatrons.swift
[63/72] Compiling PatreonAPI DeliverablesAttsRel.swift
[64/72] Compiling PatreonAPI GoalsAttsRel.swift
[65/72] Compiling PatreonAPI Miscs.swift
[66/72] Compiling PatreonAPI UserIdentity.swift
[67/72] Compiling PatreonAPI PatreonAPIClass.swift
[68/72] Compiling PatreonAPI TiersAttsRel.swift
[69/72] Compiling PatreonAPI UserAddress.swift
[70/72] Compiling PatreonAPI BenefitsAttsRel.swift
[71/72] Compiling PatreonAPI CampaignData.swift
[72/72] Emitting module PatreonAPI
Build complete! (22.99s)
Build complete.
{
"dependencies" : [
{
"identity" : "alamofire",
"requirement" : {
"range" : [
{
"lower_bound" : "5.6.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Alamofire/Alamofire.git"
},
{
"identity" : "semaphore",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.6",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/groue/Semaphore.git"
},
{
"identity" : "codableany",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/amirsaam/CodableAny.git"
}
],
"manifest_display_name" : "PatreonAPI-Swift",
"name" : "PatreonAPI-Swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "PatreonAPI",
"targets" : [
"PatreonAPI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PatreonAPI_Tests",
"module_type" : "SwiftTarget",
"name" : "PatreonAPI-Tests",
"path" : "Tests/PatreonAPI-Tests",
"sources" : [
"PatreonAPI_SwiftTests.swift"
],
"target_dependencies" : [
"PatreonAPI"
],
"type" : "test"
},
{
"c99name" : "PatreonAPI",
"module_type" : "SwiftTarget",
"name" : "PatreonAPI",
"path" : "Sources/PatreonAPI",
"product_dependencies" : [
"Alamofire",
"Semaphore",
"CodableAny"
],
"product_memberships" : [
"PatreonAPI"
],
"sources" : [
"Patreon Data Structs/BenefitsAttsRel.swift",
"Patreon Data Structs/CampaignData.swift",
"Patreon Data Structs/CampaignPatrons.swift",
"Patreon Data Structs/DeliverablesAttsRel.swift",
"Patreon Data Structs/GoalsAttsRel.swift",
"Patreon Data Structs/Miscs.swift",
"Patreon Data Structs/OAuthData.swift",
"Patreon Data Structs/PatreonMedia.swift",
"Patreon Data Structs/TiersAttsRel.swift",
"Patreon Data Structs/UserAddress.swift",
"Patreon Data Structs/UserIdentity.swift",
"PatreonAPIClass.swift",
"PatreonDataCalls.swift",
"PatreonOAuthCalls.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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.