Build Information
Successful build of StarCraftKit, reference 2.0.0 (313b9a
), with Swift 6.1 for Android on 13 Jul 2025 11:16:56 UTC.
Swift 6 data race errors: 9
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/guitaripod/StarCraftKit.git
Reference: 2.0.0
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/guitaripod/StarCraftKit
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at 313b9ac chore: update PKGBUILD checksum for 2.0.0 release
Cloned https://github.com/guitaripod/StarCraftKit.git
Revision (git rev-parse @):
313b9acb1f5e90b3927344b922e054a5d7d15419
SUCCESS checkout https://github.com/guitaripod/StarCraftKit.git at 2.0.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/guitaripod/StarCraftKit.git
https://github.com/guitaripod/StarCraftKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
}
],
"manifest_display_name" : "StarCraftKit",
"name" : "StarCraftKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "16.0"
}
],
"products" : [
{
"name" : "StarCraftKit",
"targets" : [
"StarCraftKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "starcraft-cli",
"targets" : [
"StarCraftKitCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "StarCraftKitTests",
"module_type" : "SwiftTarget",
"name" : "StarCraftKitTests",
"path" : "Tests/StarCraftKitTests",
"sources" : [
"StarCraftKitTests.swift",
"Unit/Core/APIErrorTests.swift",
"Unit/Core/CachePolicyTests.swift",
"Unit/Core/RetryConfigurationTests.swift",
"Unit/Models/MatchTests.swift",
"Unit/Models/PaginationInfoTests.swift",
"Unit/Models/PlayerTests.swift",
"Unit/Models/QueryParametersTests.swift"
],
"target_dependencies" : [
"StarCraftKit"
],
"type" : "test"
},
{
"c99name" : "StarCraftKitCLITests",
"module_type" : "SwiftTarget",
"name" : "StarCraftKitCLITests",
"path" : "Tests/StarCraftKitCLITests",
"sources" : [
"ExtensionsTests.swift",
"StarCraftKitCLITests.swift",
"UIEnhancementsTests.swift"
],
"target_dependencies" : [
"StarCraftKitCLI"
],
"type" : "test"
},
{
"c99name" : "StarCraftKitCLI",
"module_type" : "SwiftTarget",
"name" : "StarCraftKitCLI",
"path" : "Sources/StarCraftKitCLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"starcraft-cli"
],
"sources" : [
"Commands/CacheCommand.swift",
"Commands/DebugCommand.swift",
"Commands/ExportCommand.swift",
"Commands/LeaguesCommand.swift",
"Commands/LiveCommand.swift",
"Commands/MatchesCommand.swift",
"Commands/PlayerMatchesCommand.swift",
"Commands/PlayerScheduleCommand.swift",
"Commands/PlayersCommand.swift",
"Commands/SearchCommand.swift",
"Commands/SeriesCommand.swift",
"Commands/StreamCommand.swift",
"Commands/TeamsCommand.swift",
"Commands/TestCommand.swift",
"Commands/TodayCommand.swift",
"Commands/TournamentMatchesCommand.swift",
"Commands/TournamentsCommand.swift",
"Commands/UpcomingCommand.swift",
"StarCraftCLI.swift",
"Utilities/CLIContext.swift",
"Utilities/OpponentExtensions.swift",
"Utilities/String+Extensions.swift",
"Utilities/UIEnhancements.swift"
],
"target_dependencies" : [
"StarCraftKit"
],
"type" : "executable"
},
{
"c99name" : "StarCraftKit",
"module_type" : "SwiftTarget",
"name" : "StarCraftKit",
"path" : "Sources/StarCraftKit",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"StarCraftKit",
"starcraft-cli"
],
"sources" : [
"Core/Cache/ResponseCache.swift",
"Core/Networking/APIError.swift",
"Core/Networking/NetworkingClient.swift",
"Core/Networking/RetryHandler.swift",
"Core/Utilities/DateFormatter+Extensions.swift",
"Endpoints/LeagueEndpoint.swift",
"Endpoints/MatchEndpoint.swift",
"Endpoints/PlayerEndpoint.swift",
"Endpoints/SeriesEndpoint.swift",
"Endpoints/TeamEndpoint.swift",
"Endpoints/TournamentEndpoint.swift",
"Models/API/League.swift",
"Models/API/Match.swift",
"Models/API/PaginationInfo.swift",
"Models/API/Player.swift",
"Models/API/QueryParameters.swift",
"Models/API/Series.swift",
"Models/API/Team.swift",
"Models/API/Tournament.swift",
"Protocols/APIClientProtocol.swift",
"Protocols/APIRequest.swift",
"Protocols/Endpoint.swift",
"Protocols/StreamingRequest.swift",
"StarCraftClient.swift",
"StarCraftKit.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-docc-plugin
[1/2094] Fetching swift-docc-plugin
[232/5948] Fetching swift-docc-plugin, swift-log
[5949/21472] Fetching swift-docc-plugin, swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-docc-plugin from cache (2.31s)
Fetched https://github.com/apple/swift-log from cache (2.61s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.62s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (3.55s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (4.46s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3425] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.55s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.83s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.75s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/17] Write sources
[9/17] Write swift-version-24593BA9C3E375BF.txt
[11/24] Emitting module ArgumentParserToolInfo
[12/24] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/25] Wrapping AST for ArgumentParserToolInfo for debugging
[15/69] Compiling Logging MetadataProvider.swift
[16/69] Compiling Logging LogHandler.swift
[17/69] Emitting module Logging
[18/69] Compiling Logging Locks.swift
[19/69] Compiling Logging Logging.swift
[20/70] Wrapping AST for Logging for debugging
[22/93] Emitting module StarCraftKit
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/LeagueEndpoint.swift:20:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'LeaguesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
18 | public typealias Response = [League]
19 |
20 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'LeaguesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
21 |
22 | public var path: String {
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/MatchEndpoint.swift:33:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'MatchesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
31 |
32 | public let endpoint: MatchEndpoint
33 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'MatchesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
34 |
35 | public var path: String {
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/PlayerEndpoint.swift:20:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'PlayersRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
18 | public typealias Response = [Player]
19 |
20 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'PlayersRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
21 |
22 | public var path: String {
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/SeriesEndpoint.swift:33:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'SeriesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
31 |
32 | public let endpoint: SeriesEndpoint
33 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'SeriesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
34 |
35 | public var path: String {
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/TeamEndpoint.swift:20:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'TeamsRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
18 | public typealias Response = [Team]
19 |
20 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'TeamsRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
21 |
22 | public var path: String {
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/TournamentEndpoint.swift:33:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'TournamentsRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
31 |
32 | public let endpoint: TournamentEndpoint
33 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'TournamentsRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
34 |
35 | public var path: String {
/host/spi-builder-workspace/Sources/StarCraftKit/Models/API/QueryParameters.swift:12:16: warning: stored property 'filters' of 'Sendable'-conforming struct 'QueryParameters' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
10 |
11 | /// Filter parameters
12 | public var filters: [String: Any]?
| `- warning: stored property 'filters' of 'Sendable'-conforming struct 'QueryParameters' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
13 |
14 | /// Search parameters
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:149:17: warning: non-sendable type 'T' cannot be returned from actor-isolated implementation to caller of protocol requirement 'execute'; this is an error in the Swift 6 language mode
147 |
148 | /// Execute an API request
149 | public func execute<T: Decodable>(_ request: any APIRequest) async throws -> T {
| | `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
| `- warning: non-sendable type 'T' cannot be returned from actor-isolated implementation to caller of protocol requirement 'execute'; this is an error in the Swift 6 language mode
150 | let cacheKey = buildCacheKey(for: request)
151 |
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:189:17: warning: non-sendable type '[T]' cannot be returned from actor-isolated implementation to caller of protocol requirement 'executePaginated(_:maxPages:)'; this is an error in the Swift 6 language mode
187 |
188 | /// Execute a paginated request and return all pages
189 | public func executePaginated<T: Decodable>(_ request: any APIRequest, maxPages: Int? = nil) async throws -> [T] {
| | `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
| `- warning: non-sendable type '[T]' cannot be returned from actor-isolated implementation to caller of protocol requirement 'executePaginated(_:maxPages:)'; this is an error in the Swift 6 language mode
190 | var allItems: [T] = []
191 | var currentPage = 1
[23/96] Emitting module ArgumentParser
[24/102] Compiling ArgumentParser CollectionExtensions.swift
[25/102] Compiling ArgumentParser Mutex.swift
[26/102] Compiling ArgumentParser Platform.swift
[27/102] Compiling ArgumentParser SequenceExtensions.swift
[28/102] Compiling ArgumentParser StringExtensions.swift
[29/102] Compiling ArgumentParser SwiftExtensions.swift
[30/102] Compiling StarCraftKit APIClientProtocol.swift
[31/102] Compiling StarCraftKit APIRequest.swift
[32/102] Compiling StarCraftKit Endpoint.swift
[33/102] Compiling StarCraftKit DateFormatter+Extensions.swift
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/LeagueEndpoint.swift:20:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'LeaguesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
18 | public typealias Response = [League]
19 |
20 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'LeaguesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
21 |
22 | public var path: String {
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/MatchEndpoint.swift:33:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'MatchesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
31 |
32 | public let endpoint: MatchEndpoint
33 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'MatchesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
34 |
35 | public var path: String {
[34/102] Compiling StarCraftKit LeagueEndpoint.swift
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/LeagueEndpoint.swift:20:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'LeaguesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
18 | public typealias Response = [League]
19 |
20 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'LeaguesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
21 |
22 | public var path: String {
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/MatchEndpoint.swift:33:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'MatchesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
31 |
32 | public let endpoint: MatchEndpoint
33 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'MatchesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
34 |
35 | public var path: String {
[35/102] Compiling StarCraftKit MatchEndpoint.swift
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/LeagueEndpoint.swift:20:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'LeaguesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
18 | public typealias Response = [League]
19 |
20 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'LeaguesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
21 |
22 | public var path: String {
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/MatchEndpoint.swift:33:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'MatchesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
31 |
32 | public let endpoint: MatchEndpoint
33 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'MatchesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
34 |
35 | public var path: String {
[36/102] Compiling StarCraftKit Series.swift
[37/102] Compiling StarCraftKit Team.swift
[38/102] Compiling StarCraftKit Tournament.swift
[39/102] Compiling StarCraftKit StreamingRequest.swift
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:149:17: warning: non-sendable type 'T' cannot be returned from actor-isolated implementation to caller of protocol requirement 'execute'; this is an error in the Swift 6 language mode
147 |
148 | /// Execute an API request
149 | public func execute<T: Decodable>(_ request: any APIRequest) async throws -> T {
| | `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
| `- warning: non-sendable type 'T' cannot be returned from actor-isolated implementation to caller of protocol requirement 'execute'; this is an error in the Swift 6 language mode
150 | let cacheKey = buildCacheKey(for: request)
151 |
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:189:17: warning: non-sendable type '[T]' cannot be returned from actor-isolated implementation to caller of protocol requirement 'executePaginated(_:maxPages:)'; this is an error in the Swift 6 language mode
187 |
188 | /// Execute a paginated request and return all pages
189 | public func executePaginated<T: Decodable>(_ request: any APIRequest, maxPages: Int? = nil) async throws -> [T] {
| | `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
| `- warning: non-sendable type '[T]' cannot be returned from actor-isolated implementation to caller of protocol requirement 'executePaginated(_:maxPages:)'; this is an error in the Swift 6 language mode
190 | var allItems: [T] = []
191 | var currentPage = 1
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:175:20: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
173 | )
174 |
175 | let (data, headers): (T, [String: String]) = try await retryHandler.executeRequest(
| `- warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
176 | client: networkingClient,
177 | request: urlRequest,
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:153:83: warning: non-sendable result type '(data: T, headers: [String : String])?' cannot be sent from actor-isolated context in call to instance method 'get(for:type:decoder:)'; this is an error in the Swift 6 language mode
147 |
148 | /// Execute an API request
149 | public func execute<T: Decodable>(_ request: any APIRequest) async throws -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
150 | let cacheKey = buildCacheKey(for: request)
151 |
152 | if request.cachePolicy != .noCache {
153 | if let cached: (data: T, headers: [String: String]) = try await cache.get(
| `- warning: non-sendable result type '(data: T, headers: [String : String])?' cannot be sent from actor-isolated context in call to instance method 'get(for:type:decoder:)'; this is an error in the Swift 6 language mode
154 | for: cacheKey,
155 | type: T.self,
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:175:77: warning: non-sendable result type '(data: T, headers: [String : String])' cannot be sent from nonisolated context in call to instance method 'executeRequest(client:request:responseType:decoder:)'; this is an error in the Swift 6 language mode
147 |
148 | /// Execute an API request
149 | public func execute<T: Decodable>(_ request: any APIRequest) async throws -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
150 | let cacheKey = buildCacheKey(for: request)
151 |
:
173 | )
174 |
175 | let (data, headers): (T, [String: String]) = try await retryHandler.executeRequest(
| `- warning: non-sendable result type '(data: T, headers: [String : String])' cannot be sent from nonisolated context in call to instance method 'executeRequest(client:request:responseType:decoder:)'; this is an error in the Swift 6 language mode
176 | client: networkingClient,
177 | request: urlRequest,
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:208:81: warning: non-sendable result type '(data: [T], headers: [String : String])' cannot be sent from nonisolated context in call to instance method 'executeRequest(client:request:responseType:decoder:)'; this is an error in the Swift 6 language mode
187 |
188 | /// Execute a paginated request and return all pages
189 | public func executePaginated<T: Decodable>(_ request: any APIRequest, maxPages: Int? = nil) async throws -> [T] {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
190 | var allItems: [T] = []
191 | var currentPage = 1
:
206 | )
207 |
208 | let (response, _): ([T], [String: String]) = try await retryHandler.executeRequest(
| `- warning: non-sendable result type '(data: [T], headers: [String : String])' cannot be sent from nonisolated context in call to instance method 'executeRequest(client:request:responseType:decoder:)'; this is an error in the Swift 6 language mode
209 | client: networkingClient,
210 | request: urlRequest,
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:175:77: warning: sending 'self.retryHandler' risks causing data races; this is an error in the Swift 6 language mode
173 | )
174 |
175 | let (data, headers): (T, [String: String]) = try await retryHandler.executeRequest(
| |- warning: sending 'self.retryHandler' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.retryHandler' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
176 | client: networkingClient,
177 | request: urlRequest,
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:208:81: warning: sending 'self.retryHandler' risks causing data races; this is an error in the Swift 6 language mode
206 | )
207 |
208 | let (response, _): ([T], [String: String]) = try await retryHandler.executeRequest(
| |- warning: sending 'self.retryHandler' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.retryHandler' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
209 | client: networkingClient,
210 | request: urlRequest,
[40/102] Compiling StarCraftKit StarCraftClient.swift
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:149:17: warning: non-sendable type 'T' cannot be returned from actor-isolated implementation to caller of protocol requirement 'execute'; this is an error in the Swift 6 language mode
147 |
148 | /// Execute an API request
149 | public func execute<T: Decodable>(_ request: any APIRequest) async throws -> T {
| | `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
| `- warning: non-sendable type 'T' cannot be returned from actor-isolated implementation to caller of protocol requirement 'execute'; this is an error in the Swift 6 language mode
150 | let cacheKey = buildCacheKey(for: request)
151 |
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:189:17: warning: non-sendable type '[T]' cannot be returned from actor-isolated implementation to caller of protocol requirement 'executePaginated(_:maxPages:)'; this is an error in the Swift 6 language mode
187 |
188 | /// Execute a paginated request and return all pages
189 | public func executePaginated<T: Decodable>(_ request: any APIRequest, maxPages: Int? = nil) async throws -> [T] {
| | `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
| `- warning: non-sendable type '[T]' cannot be returned from actor-isolated implementation to caller of protocol requirement 'executePaginated(_:maxPages:)'; this is an error in the Swift 6 language mode
190 | var allItems: [T] = []
191 | var currentPage = 1
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:175:20: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
173 | )
174 |
175 | let (data, headers): (T, [String: String]) = try await retryHandler.executeRequest(
| `- warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
176 | client: networkingClient,
177 | request: urlRequest,
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:153:83: warning: non-sendable result type '(data: T, headers: [String : String])?' cannot be sent from actor-isolated context in call to instance method 'get(for:type:decoder:)'; this is an error in the Swift 6 language mode
147 |
148 | /// Execute an API request
149 | public func execute<T: Decodable>(_ request: any APIRequest) async throws -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
150 | let cacheKey = buildCacheKey(for: request)
151 |
152 | if request.cachePolicy != .noCache {
153 | if let cached: (data: T, headers: [String: String]) = try await cache.get(
| `- warning: non-sendable result type '(data: T, headers: [String : String])?' cannot be sent from actor-isolated context in call to instance method 'get(for:type:decoder:)'; this is an error in the Swift 6 language mode
154 | for: cacheKey,
155 | type: T.self,
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:175:77: warning: non-sendable result type '(data: T, headers: [String : String])' cannot be sent from nonisolated context in call to instance method 'executeRequest(client:request:responseType:decoder:)'; this is an error in the Swift 6 language mode
147 |
148 | /// Execute an API request
149 | public func execute<T: Decodable>(_ request: any APIRequest) async throws -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
150 | let cacheKey = buildCacheKey(for: request)
151 |
:
173 | )
174 |
175 | let (data, headers): (T, [String: String]) = try await retryHandler.executeRequest(
| `- warning: non-sendable result type '(data: T, headers: [String : String])' cannot be sent from nonisolated context in call to instance method 'executeRequest(client:request:responseType:decoder:)'; this is an error in the Swift 6 language mode
176 | client: networkingClient,
177 | request: urlRequest,
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:208:81: warning: non-sendable result type '(data: [T], headers: [String : String])' cannot be sent from nonisolated context in call to instance method 'executeRequest(client:request:responseType:decoder:)'; this is an error in the Swift 6 language mode
187 |
188 | /// Execute a paginated request and return all pages
189 | public func executePaginated<T: Decodable>(_ request: any APIRequest, maxPages: Int? = nil) async throws -> [T] {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
190 | var allItems: [T] = []
191 | var currentPage = 1
:
206 | )
207 |
208 | let (response, _): ([T], [String: String]) = try await retryHandler.executeRequest(
| `- warning: non-sendable result type '(data: [T], headers: [String : String])' cannot be sent from nonisolated context in call to instance method 'executeRequest(client:request:responseType:decoder:)'; this is an error in the Swift 6 language mode
209 | client: networkingClient,
210 | request: urlRequest,
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:175:77: warning: sending 'self.retryHandler' risks causing data races; this is an error in the Swift 6 language mode
173 | )
174 |
175 | let (data, headers): (T, [String: String]) = try await retryHandler.executeRequest(
| |- warning: sending 'self.retryHandler' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.retryHandler' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
176 | client: networkingClient,
177 | request: urlRequest,
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:208:81: warning: sending 'self.retryHandler' risks causing data races; this is an error in the Swift 6 language mode
206 | )
207 |
208 | let (response, _): ([T], [String: String]) = try await retryHandler.executeRequest(
| |- warning: sending 'self.retryHandler' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.retryHandler' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
209 | client: networkingClient,
210 | request: urlRequest,
[41/102] Compiling StarCraftKit StarCraftKit.swift
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:149:17: warning: non-sendable type 'T' cannot be returned from actor-isolated implementation to caller of protocol requirement 'execute'; this is an error in the Swift 6 language mode
147 |
148 | /// Execute an API request
149 | public func execute<T: Decodable>(_ request: any APIRequest) async throws -> T {
| | `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
| `- warning: non-sendable type 'T' cannot be returned from actor-isolated implementation to caller of protocol requirement 'execute'; this is an error in the Swift 6 language mode
150 | let cacheKey = buildCacheKey(for: request)
151 |
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:189:17: warning: non-sendable type '[T]' cannot be returned from actor-isolated implementation to caller of protocol requirement 'executePaginated(_:maxPages:)'; this is an error in the Swift 6 language mode
187 |
188 | /// Execute a paginated request and return all pages
189 | public func executePaginated<T: Decodable>(_ request: any APIRequest, maxPages: Int? = nil) async throws -> [T] {
| | `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
| `- warning: non-sendable type '[T]' cannot be returned from actor-isolated implementation to caller of protocol requirement 'executePaginated(_:maxPages:)'; this is an error in the Swift 6 language mode
190 | var allItems: [T] = []
191 | var currentPage = 1
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:175:20: warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
173 | )
174 |
175 | let (data, headers): (T, [String: String]) = try await retryHandler.executeRequest(
| `- warning: immutable value 'headers' was never used; consider replacing with '_' or removing it
176 | client: networkingClient,
177 | request: urlRequest,
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:153:83: warning: non-sendable result type '(data: T, headers: [String : String])?' cannot be sent from actor-isolated context in call to instance method 'get(for:type:decoder:)'; this is an error in the Swift 6 language mode
147 |
148 | /// Execute an API request
149 | public func execute<T: Decodable>(_ request: any APIRequest) async throws -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
150 | let cacheKey = buildCacheKey(for: request)
151 |
152 | if request.cachePolicy != .noCache {
153 | if let cached: (data: T, headers: [String: String]) = try await cache.get(
| `- warning: non-sendable result type '(data: T, headers: [String : String])?' cannot be sent from actor-isolated context in call to instance method 'get(for:type:decoder:)'; this is an error in the Swift 6 language mode
154 | for: cacheKey,
155 | type: T.self,
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:175:77: warning: non-sendable result type '(data: T, headers: [String : String])' cannot be sent from nonisolated context in call to instance method 'executeRequest(client:request:responseType:decoder:)'; this is an error in the Swift 6 language mode
147 |
148 | /// Execute an API request
149 | public func execute<T: Decodable>(_ request: any APIRequest) async throws -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
150 | let cacheKey = buildCacheKey(for: request)
151 |
:
173 | )
174 |
175 | let (data, headers): (T, [String: String]) = try await retryHandler.executeRequest(
| `- warning: non-sendable result type '(data: T, headers: [String : String])' cannot be sent from nonisolated context in call to instance method 'executeRequest(client:request:responseType:decoder:)'; this is an error in the Swift 6 language mode
176 | client: networkingClient,
177 | request: urlRequest,
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:208:81: warning: non-sendable result type '(data: [T], headers: [String : String])' cannot be sent from nonisolated context in call to instance method 'executeRequest(client:request:responseType:decoder:)'; this is an error in the Swift 6 language mode
187 |
188 | /// Execute a paginated request and return all pages
189 | public func executePaginated<T: Decodable>(_ request: any APIRequest, maxPages: Int? = nil) async throws -> [T] {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
190 | var allItems: [T] = []
191 | var currentPage = 1
:
206 | )
207 |
208 | let (response, _): ([T], [String: String]) = try await retryHandler.executeRequest(
| `- warning: non-sendable result type '(data: [T], headers: [String : String])' cannot be sent from nonisolated context in call to instance method 'executeRequest(client:request:responseType:decoder:)'; this is an error in the Swift 6 language mode
209 | client: networkingClient,
210 | request: urlRequest,
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:175:77: warning: sending 'self.retryHandler' risks causing data races; this is an error in the Swift 6 language mode
173 | )
174 |
175 | let (data, headers): (T, [String: String]) = try await retryHandler.executeRequest(
| |- warning: sending 'self.retryHandler' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.retryHandler' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
176 | client: networkingClient,
177 | request: urlRequest,
/host/spi-builder-workspace/Sources/StarCraftKit/StarCraftClient.swift:208:81: warning: sending 'self.retryHandler' risks causing data races; this is an error in the Swift 6 language mode
206 | )
207 |
208 | let (response, _): ([T], [String: String]) = try await retryHandler.executeRequest(
| |- warning: sending 'self.retryHandler' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.retryHandler' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
209 | client: networkingClient,
210 | request: urlRequest,
[42/102] Compiling StarCraftKit TournamentEndpoint.swift
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/TournamentEndpoint.swift:33:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'TournamentsRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
31 |
32 | public let endpoint: TournamentEndpoint
33 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'TournamentsRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
34 |
35 | public var path: String {
[43/102] Compiling StarCraftKit League.swift
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/TournamentEndpoint.swift:33:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'TournamentsRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
31 |
32 | public let endpoint: TournamentEndpoint
33 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'TournamentsRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
34 |
35 | public var path: String {
[44/102] Compiling StarCraftKit Match.swift
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/TournamentEndpoint.swift:33:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'TournamentsRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
31 |
32 | public let endpoint: TournamentEndpoint
33 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'TournamentsRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
34 |
35 | public var path: String {
[45/102] Compiling StarCraftKit PlayerEndpoint.swift
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/PlayerEndpoint.swift:20:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'PlayersRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
18 | public typealias Response = [Player]
19 |
20 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'PlayersRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
21 |
22 | public var path: String {
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/SeriesEndpoint.swift:33:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'SeriesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
31 |
32 | public let endpoint: SeriesEndpoint
33 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'SeriesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
34 |
35 | public var path: String {
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/TeamEndpoint.swift:20:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'TeamsRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
18 | public typealias Response = [Team]
19 |
20 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'TeamsRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
21 |
22 | public var path: String {
[46/102] Compiling StarCraftKit SeriesEndpoint.swift
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/PlayerEndpoint.swift:20:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'PlayersRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
18 | public typealias Response = [Player]
19 |
20 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'PlayersRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
21 |
22 | public var path: String {
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/SeriesEndpoint.swift:33:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'SeriesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
31 |
32 | public let endpoint: SeriesEndpoint
33 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'SeriesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
34 |
35 | public var path: String {
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/TeamEndpoint.swift:20:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'TeamsRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
18 | public typealias Response = [Team]
19 |
20 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'TeamsRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
21 |
22 | public var path: String {
[47/102] Compiling StarCraftKit TeamEndpoint.swift
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/PlayerEndpoint.swift:20:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'PlayersRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
18 | public typealias Response = [Player]
19 |
20 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'PlayersRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
21 |
22 | public var path: String {
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/SeriesEndpoint.swift:33:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'SeriesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
31 |
32 | public let endpoint: SeriesEndpoint
33 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'SeriesRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
34 |
35 | public var path: String {
/host/spi-builder-workspace/Sources/StarCraftKit/Endpoints/TeamEndpoint.swift:20:16: warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'TeamsRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
18 | public typealias Response = [Team]
19 |
20 | public let queryParameters: [String: Any]
| `- warning: stored property 'queryParameters' of 'Sendable'-conforming struct 'TeamsRequest' has non-sendable type '[String : Any]'; this is an error in the Swift 6 language mode
21 |
22 | public var path: String {
[48/102] Compiling StarCraftKit PaginationInfo.swift
/host/spi-builder-workspace/Sources/StarCraftKit/Models/API/QueryParameters.swift:12:16: warning: stored property 'filters' of 'Sendable'-conforming struct 'QueryParameters' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
10 |
11 | /// Filter parameters
12 | public var filters: [String: Any]?
| `- warning: stored property 'filters' of 'Sendable'-conforming struct 'QueryParameters' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
13 |
14 | /// Search parameters
[49/102] Compiling StarCraftKit Player.swift
/host/spi-builder-workspace/Sources/StarCraftKit/Models/API/QueryParameters.swift:12:16: warning: stored property 'filters' of 'Sendable'-conforming struct 'QueryParameters' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
10 |
11 | /// Filter parameters
12 | public var filters: [String: Any]?
| `- warning: stored property 'filters' of 'Sendable'-conforming struct 'QueryParameters' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
13 |
14 | /// Search parameters
[50/102] Compiling StarCraftKit QueryParameters.swift
/host/spi-builder-workspace/Sources/StarCraftKit/Models/API/QueryParameters.swift:12:16: warning: stored property 'filters' of 'Sendable'-conforming struct 'QueryParameters' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
10 |
11 | /// Filter parameters
12 | public var filters: [String: Any]?
| `- warning: stored property 'filters' of 'Sendable'-conforming struct 'QueryParameters' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
13 |
14 | /// Search parameters
[51/102] Compiling StarCraftKit ResponseCache.swift
/host/spi-builder-workspace/Sources/StarCraftKit/Core/Networking/RetryHandler.swift:136:30: warning: non-sendable result type '(data: T, headers: [String : String])' cannot be sent from actor-isolated context in call to instance method 'execute(_:responseType:decoder:)'; this is an error in the Swift 6 language mode
127 | /// Extension to make retry handler work with APIRequest
128 | public extension RetryHandler {
129 | func executeRequest<T: Decodable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
130 | client: NetworkingClient,
131 | request: URLRequest,
:
134 | ) async throws -> (data: T, headers: [String: String]) {
135 | try await execute {
136 | try await client.execute(request, responseType: responseType, decoder: decoder)
| `- warning: non-sendable result type '(data: T, headers: [String : String])' cannot be sent from actor-isolated context in call to instance method 'execute(_:responseType:decoder:)'; this is an error in the Swift 6 language mode
137 | }
138 | }
[52/102] Compiling StarCraftKit APIError.swift
/host/spi-builder-workspace/Sources/StarCraftKit/Core/Networking/RetryHandler.swift:136:30: warning: non-sendable result type '(data: T, headers: [String : String])' cannot be sent from actor-isolated context in call to instance method 'execute(_:responseType:decoder:)'; this is an error in the Swift 6 language mode
127 | /// Extension to make retry handler work with APIRequest
128 | public extension RetryHandler {
129 | func executeRequest<T: Decodable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
130 | client: NetworkingClient,
131 | request: URLRequest,
:
134 | ) async throws -> (data: T, headers: [String: String]) {
135 | try await execute {
136 | try await client.execute(request, responseType: responseType, decoder: decoder)
| `- warning: non-sendable result type '(data: T, headers: [String : String])' cannot be sent from actor-isolated context in call to instance method 'execute(_:responseType:decoder:)'; this is an error in the Swift 6 language mode
137 | }
138 | }
[53/102] Compiling StarCraftKit NetworkingClient.swift
/host/spi-builder-workspace/Sources/StarCraftKit/Core/Networking/RetryHandler.swift:136:30: warning: non-sendable result type '(data: T, headers: [String : String])' cannot be sent from actor-isolated context in call to instance method 'execute(_:responseType:decoder:)'; this is an error in the Swift 6 language mode
127 | /// Extension to make retry handler work with APIRequest
128 | public extension RetryHandler {
129 | func executeRequest<T: Decodable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
130 | client: NetworkingClient,
131 | request: URLRequest,
:
134 | ) async throws -> (data: T, headers: [String: String]) {
135 | try await execute {
136 | try await client.execute(request, responseType: responseType, decoder: decoder)
| `- warning: non-sendable result type '(data: T, headers: [String : String])' cannot be sent from actor-isolated context in call to instance method 'execute(_:responseType:decoder:)'; this is an error in the Swift 6 language mode
137 | }
138 | }
[54/102] Compiling StarCraftKit RetryHandler.swift
/host/spi-builder-workspace/Sources/StarCraftKit/Core/Networking/RetryHandler.swift:136:30: warning: non-sendable result type '(data: T, headers: [String : String])' cannot be sent from actor-isolated context in call to instance method 'execute(_:responseType:decoder:)'; this is an error in the Swift 6 language mode
127 | /// Extension to make retry handler work with APIRequest
128 | public extension RetryHandler {
129 | func executeRequest<T: Decodable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
130 | client: NetworkingClient,
131 | request: URLRequest,
:
134 | ) async throws -> (data: T, headers: [String: String]) {
135 | try await execute {
136 | try await client.execute(request, responseType: responseType, decoder: decoder)
| `- warning: non-sendable result type '(data: T, headers: [String : String])' cannot be sent from actor-isolated context in call to instance method 'execute(_:responseType:decoder:)'; this is an error in the Swift 6 language mode
137 | }
138 | }
[62/103] Compiling ArgumentParser Tree.swift
[63/103] Compiling ArgumentParser CodingKeyValidator.swift
[64/103] Compiling ArgumentParser NonsenseFlagsValidator.swift
[65/103] Compiling ArgumentParser ParsableArgumentsValidation.swift
[66/103] Compiling ArgumentParser PositionalArgumentsValidator.swift
[67/103] Compiling ArgumentParser UniqueNamesValidator.swift
[67/103] Wrapping AST for StarCraftKit for debugging
[82/103] Compiling ArgumentParser InputKey.swift
[83/103] Compiling ArgumentParser InputOrigin.swift
[84/103] Compiling ArgumentParser Name.swift
[85/103] Compiling ArgumentParser Parsed.swift
[86/103] Compiling ArgumentParser ParsedValues.swift
[87/103] Compiling ArgumentParser ParserError.swift
[88/103] Compiling ArgumentParser OptionGroup.swift
[89/103] Compiling ArgumentParser AsyncParsableCommand.swift
[90/103] Compiling ArgumentParser CommandConfiguration.swift
[91/103] Compiling ArgumentParser CommandGroup.swift
[92/103] Compiling ArgumentParser EnumerableFlag.swift
[93/103] Compiling ArgumentParser ExpressibleByArgument.swift
[100/104] Wrapping AST for ArgumentParser for debugging
[102/126] Compiling StarCraftKitCLI StarCraftCLI.swift
[103/126] Compiling StarCraftKitCLI CLIContext.swift
[104/126] Compiling StarCraftKitCLI OpponentExtensions.swift
[105/128] Compiling StarCraftKitCLI String+Extensions.swift
[106/128] Compiling StarCraftKitCLI UIEnhancements.swift
[107/128] Compiling StarCraftKitCLI TournamentMatchesCommand.swift
[108/128] Compiling StarCraftKitCLI TournamentsCommand.swift
[109/128] Compiling StarCraftKitCLI UpcomingCommand.swift
[110/128] Compiling StarCraftKitCLI LeaguesCommand.swift
[111/128] Compiling StarCraftKitCLI LiveCommand.swift
[112/128] Compiling StarCraftKitCLI MatchesCommand.swift
[113/128] Compiling StarCraftKitCLI CacheCommand.swift
[114/128] Compiling StarCraftKitCLI DebugCommand.swift
[115/128] Compiling StarCraftKitCLI ExportCommand.swift
[116/128] Emitting module StarCraftKitCLI
[117/128] Compiling StarCraftKitCLI SearchCommand.swift
[118/128] Compiling StarCraftKitCLI SeriesCommand.swift
[119/128] Compiling StarCraftKitCLI StreamCommand.swift
[120/128] Compiling StarCraftKitCLI TeamsCommand.swift
[121/128] Compiling StarCraftKitCLI TestCommand.swift
[122/128] Compiling StarCraftKitCLI TodayCommand.swift
[123/128] Compiling StarCraftKitCLI PlayerMatchesCommand.swift
[124/128] Compiling StarCraftKitCLI PlayerScheduleCommand.swift
[125/128] Compiling StarCraftKitCLI PlayersCommand.swift
[126/129] Wrapping AST for StarCraftKitCLI for debugging
[127/129] Write Objects.LinkFileList
[128/129] Linking starcraft-cli
Build complete! (61.16s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
}
],
"manifest_display_name" : "StarCraftKit",
"name" : "StarCraftKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "16.0"
}
],
"products" : [
{
"name" : "StarCraftKit",
"targets" : [
"StarCraftKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "starcraft-cli",
"targets" : [
"StarCraftKitCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "StarCraftKitTests",
"module_type" : "SwiftTarget",
"name" : "StarCraftKitTests",
"path" : "Tests/StarCraftKitTests",
"sources" : [
"StarCraftKitTests.swift",
"Unit/Core/APIErrorTests.swift",
"Unit/Core/CachePolicyTests.swift",
"Unit/Core/RetryConfigurationTests.swift",
"Unit/Models/MatchTests.swift",
"Unit/Models/PaginationInfoTests.swift",
"Unit/Models/PlayerTests.swift",
"Unit/Models/QueryParametersTests.swift"
],
"target_dependencies" : [
"StarCraftKit"
],
"type" : "test"
},
{
"c99name" : "StarCraftKitCLITests",
"module_type" : "SwiftTarget",
"name" : "StarCraftKitCLITests",
"path" : "Tests/StarCraftKitCLITests",
"sources" : [
"ExtensionsTests.swift",
"StarCraftKitCLITests.swift",
"UIEnhancementsTests.swift"
],
"target_dependencies" : [
"StarCraftKitCLI"
],
"type" : "test"
},
{
"c99name" : "StarCraftKitCLI",
"module_type" : "SwiftTarget",
"name" : "StarCraftKitCLI",
"path" : "Sources/StarCraftKitCLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"starcraft-cli"
],
"sources" : [
"Commands/CacheCommand.swift",
"Commands/DebugCommand.swift",
"Commands/ExportCommand.swift",
"Commands/LeaguesCommand.swift",
"Commands/LiveCommand.swift",
"Commands/MatchesCommand.swift",
"Commands/PlayerMatchesCommand.swift",
"Commands/PlayerScheduleCommand.swift",
"Commands/PlayersCommand.swift",
"Commands/SearchCommand.swift",
"Commands/SeriesCommand.swift",
"Commands/StreamCommand.swift",
"Commands/TeamsCommand.swift",
"Commands/TestCommand.swift",
"Commands/TodayCommand.swift",
"Commands/TournamentMatchesCommand.swift",
"Commands/TournamentsCommand.swift",
"Commands/UpcomingCommand.swift",
"StarCraftCLI.swift",
"Utilities/CLIContext.swift",
"Utilities/OpponentExtensions.swift",
"Utilities/String+Extensions.swift",
"Utilities/UIEnhancements.swift"
],
"target_dependencies" : [
"StarCraftKit"
],
"type" : "executable"
},
{
"c99name" : "StarCraftKit",
"module_type" : "SwiftTarget",
"name" : "StarCraftKit",
"path" : "Sources/StarCraftKit",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"StarCraftKit",
"starcraft-cli"
],
"sources" : [
"Core/Cache/ResponseCache.swift",
"Core/Networking/APIError.swift",
"Core/Networking/NetworkingClient.swift",
"Core/Networking/RetryHandler.swift",
"Core/Utilities/DateFormatter+Extensions.swift",
"Endpoints/LeagueEndpoint.swift",
"Endpoints/MatchEndpoint.swift",
"Endpoints/PlayerEndpoint.swift",
"Endpoints/SeriesEndpoint.swift",
"Endpoints/TeamEndpoint.swift",
"Endpoints/TournamentEndpoint.swift",
"Models/API/League.swift",
"Models/API/Match.swift",
"Models/API/PaginationInfo.swift",
"Models/API/Player.swift",
"Models/API/QueryParameters.swift",
"Models/API/Series.swift",
"Models/API/Team.swift",
"Models/API/Tournament.swift",
"Protocols/APIClientProtocol.swift",
"Protocols/APIRequest.swift",
"Protocols/Endpoint.swift",
"Protocols/StreamingRequest.swift",
"StarCraftClient.swift",
"StarCraftKit.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.