The Swift Package Index logo.Swift Package Index

Build Information

Successful build of StarCraftKit, reference 2.0.0 (313b9a), with Swift 6.1 for Linux on 13 Jul 2025 11:35:12 UTC.

Swift 6 data race errors: 9

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.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:         linux
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-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:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
[1/3854] Fetching swift-log
[657/5948] Fetching swift-log, swift-docc-plugin
[5949/21472] Fetching swift-log, swift-docc-plugin, swift-argument-parser
Fetched https://github.com/apple/swift-log from cache (1.24s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.25s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.25s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (1.91s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.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.43s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.07s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.59s)
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/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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
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
[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] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/24] Emitting module ArgumentParserToolInfo
[13/25] Wrapping AST for ArgumentParserToolInfo for debugging
[15/69] Compiling Logging MetadataProvider.swift
[16/69] Compiling Logging LogHandler.swift
[17/69] Compiling Logging Locks.swift
[18/69] Emitting module Logging
[19/69] Compiling Logging Logging.swift
[20/93] Wrapping AST for Logging for debugging
[22/93] Compiling StarCraftKit MatchEndpoint.swift
[23/93] Compiling StarCraftKit PlayerEndpoint.swift
[24/93] Compiling StarCraftKit SeriesEndpoint.swift
[25/93] Compiling StarCraftKit TeamEndpoint.swift
[26/93] Compiling StarCraftKit APIClientProtocol.swift
[27/93] Compiling StarCraftKit APIRequest.swift
[28/99] Emitting module ArgumentParser
[29/99] 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 {
[30/99] 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 {
/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/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/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 {
[35/102] 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
[36/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 |     }
[37/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 |     }
[38/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 |     }
[39/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 |     }
[42/102] Compiling StarCraftKit Endpoint.swift
[43/102] Compiling StarCraftKit Series.swift
[44/102] Compiling StarCraftKit Team.swift
[45/102] Compiling StarCraftKit Tournament.swift
[46/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
[47/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
[48/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
[49/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 {
[50/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 {
[51/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 {
[52/102] Compiling ArgumentParser Tree.swift
[53/102] Compiling ArgumentParser CodingKeyValidator.swift
[54/102] Compiling ArgumentParser NonsenseFlagsValidator.swift
[55/102] Compiling ArgumentParser ParsableArgumentsValidation.swift
[56/102] Compiling ArgumentParser PositionalArgumentsValidator.swift
[57/102] Compiling ArgumentParser UniqueNamesValidator.swift
[64/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,
[65/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,
[66/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,
[67/103] Wrapping AST for StarCraftKit for debugging
[75/103] Compiling ArgumentParser SplitArguments.swift
[76/103] Compiling ArgumentParser DumpHelpGenerator.swift
[77/103] Compiling ArgumentParser HelpCommand.swift
[78/103] Compiling ArgumentParser HelpGenerator.swift
[79/103] Compiling ArgumentParser MessageInfo.swift
[80/103] Compiling ArgumentParser UsageGenerator.swift
[88/103] Compiling ArgumentParser CompletionsGenerator.swift
[89/103] Compiling ArgumentParser FishCompletionsGenerator.swift
[90/103] Compiling ArgumentParser ZshCompletionsGenerator.swift
[91/103] Compiling ArgumentParser Argument.swift
[92/103] Compiling ArgumentParser ArgumentDiscussion.swift
[93/103] Compiling ArgumentParser ArgumentHelp.swift
[94/103] Compiling ArgumentParser ParsableArguments.swift
[95/103] Compiling ArgumentParser ParsableCommand.swift
[96/103] Compiling ArgumentParser ArgumentDecoder.swift
[97/103] Compiling ArgumentParser ArgumentDefinition.swift
[98/103] Compiling ArgumentParser ArgumentSet.swift
[99/103] Compiling ArgumentParser CommandParser.swift
[100/104] Wrapping AST for ArgumentParser for debugging
[102/126] Emitting module StarCraftKitCLI
[103/128] Compiling StarCraftKitCLI String+Extensions.swift
[104/128] Compiling StarCraftKitCLI UIEnhancements.swift
[105/128] Compiling StarCraftKitCLI LeaguesCommand.swift
[106/128] Compiling StarCraftKitCLI LiveCommand.swift
[107/128] Compiling StarCraftKitCLI MatchesCommand.swift
[108/128] Compiling StarCraftKitCLI CacheCommand.swift
[109/128] Compiling StarCraftKitCLI DebugCommand.swift
[110/128] Compiling StarCraftKitCLI ExportCommand.swift
[111/128] Compiling StarCraftKitCLI SearchCommand.swift
[112/128] Compiling StarCraftKitCLI SeriesCommand.swift
[113/128] Compiling StarCraftKitCLI StreamCommand.swift
[114/128] Compiling StarCraftKitCLI PlayerMatchesCommand.swift
[115/128] Compiling StarCraftKitCLI PlayerScheduleCommand.swift
[116/128] Compiling StarCraftKitCLI PlayersCommand.swift
[117/128] Compiling StarCraftKitCLI StarCraftCLI.swift
[118/128] Compiling StarCraftKitCLI CLIContext.swift
[119/128] Compiling StarCraftKitCLI OpponentExtensions.swift
[120/128] Compiling StarCraftKitCLI TournamentMatchesCommand.swift
[121/128] Compiling StarCraftKitCLI TournamentsCommand.swift
[122/128] Compiling StarCraftKitCLI UpcomingCommand.swift
[123/128] Compiling StarCraftKitCLI TeamsCommand.swift
[124/128] Compiling StarCraftKitCLI TestCommand.swift
[125/128] Compiling StarCraftKitCLI TodayCommand.swift
[126/129] Wrapping AST for StarCraftKitCLI for debugging
[127/129] Write Objects.LinkFileList
[128/129] Linking starcraft-cli
Build complete! (50.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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.