The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of AmiiboService, reference main (e9f08c), with Swift 6.1 for Linux on 27 Apr 2025 17:16:35 UTC.

Swift 6 data race errors: 11

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rock-n-code/amiibo-service.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/rock-n-code/amiibo-service
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e9f08c6 [Improvement] SwiftLibs package update (#22)
Cloned https://github.com/rock-n-code/amiibo-service.git
Revision (git rev-parse @):
e9f08c68da018271ef2b05a1f80b782a376fe71a
SUCCESS checkout https://github.com/rock-n-code/amiibo-service.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/rock-n-code/amiibo-service.git
https://github.com/rock-n-code/amiibo-service.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-libs",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.7",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rock-n-code/swift-libs.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "AmiiboService",
  "name" : "AmiiboService",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "AmiiboService",
      "targets" : [
        "AmiiboService"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AmiiboServiceTests",
      "module_type" : "SwiftTarget",
      "name" : "AmiiboServiceTests",
      "path" : "Tests",
      "product_dependencies" : [
        "SwiftLibs"
      ],
      "sources" : [
        "Clients/AmiiboClientTests.swift",
        "Helpers/Endpoints/TestEndpoint.swift",
        "Helpers/Extensions/Data+Seed.swift",
        "Helpers/Extensions/GetAmiiboEndpoint+Init.swift",
        "Helpers/Extensions/GetCharacterEndpoint+Init.swift",
        "Helpers/Extensions/GetGameSeriesEndpoint+Init.swift",
        "Helpers/Extensions/GetSeriesEndpoint+Init.swift",
        "Helpers/Extensions/GetTypeEndpoint+Init.swift",
        "Helpers/Extensions/MockURLRequest+Init.swift",
        "Helpers/Extensions/String+Seed.swift",
        "Helpers/Models/TestModel.swift",
        "Services/AmiiboServiceTests.swift"
      ],
      "target_dependencies" : [
        "AmiiboService"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AmiiboService",
      "module_type" : "SwiftTarget",
      "name" : "AmiiboService",
      "path" : "Sources",
      "product_dependencies" : [
        "SwiftLibs"
      ],
      "product_memberships" : [
        "AmiiboService"
      ],
      "sources" : [
        "Clients/AmiiboClient.swift",
        "Endpoints/GetAmiiboEndpoint.swift",
        "Endpoints/GetCharacterEndpoint.swift",
        "Endpoints/GetGameSeriesEndpoint.swift",
        "Endpoints/GetLastUpdatedEndpoint.swift",
        "Endpoints/GetSeriesEndpoint.swift",
        "Endpoints/GetTypeEndpoint.swift",
        "Errors/AmiiboClientError.swift",
        "Extensions/DateFormatter+Formatter.swift",
        "Extensions/String+Host.swift",
        "Extensions/String+Path.swift",
        "Extensions/String+Scheme.swift",
        "Filters/AmiiboFilter.swift",
        "Filters/KeyNameFilter.swift",
        "Models/DTO.swift",
        "Models/DTO/Amiibo.swift",
        "Models/DTO/AmiiboGame.swift",
        "Models/DTO/AmiiboGameUsage.swift",
        "Models/DTO/AmiiboRelease.swift",
        "Models/DTO/KeyName.swift",
        "Models/DTO/LastUpdated.swift",
        "Models/Result.swift",
        "Protocols/Filter.swift",
        "Protocols/Service.swift",
        "Services/AmiiboService.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/rock-n-code/swift-libs.git
[1/2049] Fetching swift-docc-plugin
[227/3686] Fetching swift-docc-plugin, swift-libs
Fetched https://github.com/rock-n-code/swift-libs.git from cache (0.80s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.80s)
Computing version for https://github.com/rock-n-code/swift-libs.git
Computed https://github.com/rock-n-code/swift-libs.git at 0.2.2 (1.53s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.60s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3375] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.99s)
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.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
Creating working copy for https://github.com/rock-n-code/swift-libs.git
Working copy of https://github.com/rock-n-code/swift-libs.git resolved at 0.2.2
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/36] Emitting module SwiftLibsCoordination
[10/36] Compiling SwiftLibsFoundation Optional+Nil.swift
[11/37] Compiling SwiftLibsCoordination Coordinator.swift
[12/37] Compiling SwiftLibsCoordination BaseNavigationRouter.swift
[13/37] Compiling SwiftLibsCoordination Router.swift
[14/37] Compiling SwiftLibsCoordination WindowRouter.swift
[15/37] Compiling SwiftLibsCoordination ModalNavigationRouter.swift
[16/37] Compiling SwiftLibsCoordination PushNavigationRouter.swift
[17/37] Emitting module SwiftLibsDependency
[18/37] Compiling SwiftLibsDependency Dependency.swift
[19/37] Compiling SwiftLibsDependency DependencyService.swift
[20/37] Compiling SwiftLibsDependency DependencyKey.swift
[21/39] Compiling SwiftLibsFoundation LossyCodableList.swift
[24/39] Compiling SwiftLibsFoundation BundleError.swift
[25/39] Compiling SwiftLibsFoundation Bool+Init.swift
[26/39] Emitting module SwiftLibsFoundation
[27/39] Compiling SwiftLibsFoundation Bundle+LocalisationBundle.swift
[28/39] Compiling SwiftLibsFoundation TimeZone+Zone.swift
[29/39] Compiling SwiftLibsFoundation String+Empty.swift
[30/39] Compiling SwiftLibsFoundation Collection+Empty.swift
[31/39] Compiling SwiftLibsFoundation String+Localisation.swift
[32/39] Compiling SwiftLibsCommunication Client.swift
[33/39] Compiling SwiftLibsCommunication Endpoint.swift
[34/39] Compiling SwiftLibsCommunication HTTPResponseCode.swift
[35/39] Compiling SwiftLibsCommunication HTTPRequestMethod.swift
[36/39] Compiling SwiftLibsCommunication MakeURLRequestUseCase.swift
[37/40] Compiling SwiftLibsCommunication MakeURLRequestError.swift
[38/40] Emitting module SwiftLibsCommunication
[39/40] Compiling SwiftLibsCommunication MockURLProtocol.swift
[42/64] Compiling AmiiboService String+Path.swift
[43/64] Compiling AmiiboService String+Scheme.swift
[44/64] Compiling AmiiboService AmiiboFilter.swift
[45/64] Compiling AmiiboService AmiiboClientError.swift
[46/64] Compiling AmiiboService DateFormatter+Formatter.swift
[47/64] Compiling AmiiboService String+Host.swift
[48/67] Emitting module AmiiboService
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:48:17: warning: non-sendable type '[DTO.Amiibo]' cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiibos(filter:)'; this is an error in the Swift 6 language mode
 46 |     /// - Returns: A list of decoded ``DTO.Amiibo`` instances that matches the given filter criteria.
 47 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 48 |     public func amiibos(
    |                 `- warning: non-sendable type '[DTO.Amiibo]' cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiibos(filter:)'; this is an error in the Swift 6 language mode
 49 |         filter: AmiiboFilter = .init()
 50 |     ) async throws -> [DTO.Amiibo] {
/host/spi-builder-workspace/Sources/Models/DTO/Amiibo.swift:18:19: note: consider making struct 'Amiibo' conform to the 'Sendable' protocol
 16 |
 17 |     /// This model struct represents an amiibo that is retrieved from the respective [remote API endpoint](https://www.amiiboapi.com/docs/#amiibo).
 18 |     public struct Amiibo {
    |                   `- note: consider making struct 'Amiibo' conform to the 'Sendable' protocol
 19 |
 20 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:48:17: warning: non-sendable parameter type 'AmiiboFilter' cannot be sent from caller of protocol requirement 'amiibos(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 46 |     /// - Returns: A list of decoded ``DTO.Amiibo`` instances that matches the given filter criteria.
 47 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 48 |     public func amiibos(
    |                 `- warning: non-sendable parameter type 'AmiiboFilter' cannot be sent from caller of protocol requirement 'amiibos(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 49 |         filter: AmiiboFilter = .init()
 50 |     ) async throws -> [DTO.Amiibo] {
/host/spi-builder-workspace/Sources/Filters/AmiiboFilter.swift:14:15: note: consider making struct 'AmiiboFilter' conform to the 'Sendable' protocol
 12 |
 13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos.
 14 | public struct AmiiboFilter {
    |               `- note: consider making struct 'AmiiboFilter' conform to the 'Sendable' protocol
 15 |
 16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:63:17: warning: non-sendable type '[DTO.AmiiboSeries]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiiboSeries(filter:)'; this is an error in the Swift 6 language mode
 61 |     /// - Returns: A list of decoded ``DTO.AmiiboSeries`` instances that matches the given filter criteria.
 62 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 63 |     public func amiiboSeries(
    |                 `- warning: non-sendable type '[DTO.AmiiboSeries]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiiboSeries(filter:)'; this is an error in the Swift 6 language mode
 64 |         filter: AmiiboSeriesFilter = .init()
 65 |     ) async throws -> [DTO.AmiiboSeries] {
/host/spi-builder-workspace/Sources/Models/DTO/KeyName.swift:16:19: note: consider making struct 'KeyName' conform to the 'Sendable' protocol
14 |
15 |     /// This model is a concrete genetic definition that represents the following models: ``AmiiboSeries``, ``AmiiboType``, ``Character`` and ``GameSeries``.
16 |     public struct KeyName {
   |                   `- note: consider making struct 'KeyName' conform to the 'Sendable' protocol
17 |
18 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:63:17: warning: non-sendable parameter type 'AmiiboSeriesFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'amiiboSeries(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 61 |     /// - Returns: A list of decoded ``DTO.AmiiboSeries`` instances that matches the given filter criteria.
 62 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 63 |     public func amiiboSeries(
    |                 `- warning: non-sendable parameter type 'AmiiboSeriesFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'amiiboSeries(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 64 |         filter: AmiiboSeriesFilter = .init()
 65 |     ) async throws -> [DTO.AmiiboSeries] {
/host/spi-builder-workspace/Sources/Filters/KeyNameFilter.swift:14:15: note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
12 |
13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos series (``AmiiboSeriesFilter``), amiibo types (``AmiiboTypeFilter``), characters (``CharacterFilter``), or game series (``GameSeriesFilter``).
14 | public struct KeyNameFilter {
   |               `- note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
15 |
16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:78:17: warning: non-sendable type '[DTO.AmiiboType]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiiboTypes(filter:)'; this is an error in the Swift 6 language mode
 76 |     /// - Returns: A list of decoded ``DTO.AmiiboType`` instances that matches the given filter criteria.
 77 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 78 |     public func amiiboTypes(
    |                 `- warning: non-sendable type '[DTO.AmiiboType]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiiboTypes(filter:)'; this is an error in the Swift 6 language mode
 79 |         filter: AmiiboTypeFilter = .init()
 80 |     ) async throws -> [DTO.AmiiboType] {
/host/spi-builder-workspace/Sources/Models/DTO/KeyName.swift:16:19: note: consider making struct 'KeyName' conform to the 'Sendable' protocol
14 |
15 |     /// This model is a concrete genetic definition that represents the following models: ``AmiiboSeries``, ``AmiiboType``, ``Character`` and ``GameSeries``.
16 |     public struct KeyName {
   |                   `- note: consider making struct 'KeyName' conform to the 'Sendable' protocol
17 |
18 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:78:17: warning: non-sendable parameter type 'AmiiboTypeFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'amiiboTypes(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 76 |     /// - Returns: A list of decoded ``DTO.AmiiboType`` instances that matches the given filter criteria.
 77 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 78 |     public func amiiboTypes(
    |                 `- warning: non-sendable parameter type 'AmiiboTypeFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'amiiboTypes(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 79 |         filter: AmiiboTypeFilter = .init()
 80 |     ) async throws -> [DTO.AmiiboType] {
/host/spi-builder-workspace/Sources/Filters/KeyNameFilter.swift:14:15: note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
12 |
13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos series (``AmiiboSeriesFilter``), amiibo types (``AmiiboTypeFilter``), characters (``CharacterFilter``), or game series (``GameSeriesFilter``).
14 | public struct KeyNameFilter {
   |               `- note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
15 |
16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:108:17: warning: non-sendable type '[DTO.GameSeries]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'gameSeries(filter:)'; this is an error in the Swift 6 language mode
106 |     /// - Returns: A list of decoded ``DTO.GameSeries`` instances that matches the given filter criteria.
107 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
108 |     public func gameSeries(
    |                 `- warning: non-sendable type '[DTO.GameSeries]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'gameSeries(filter:)'; this is an error in the Swift 6 language mode
109 |         filter: GameSeriesFilter = .init()
110 |     ) async throws -> [DTO.GameSeries] {
/host/spi-builder-workspace/Sources/Models/DTO/KeyName.swift:16:19: note: consider making struct 'KeyName' conform to the 'Sendable' protocol
14 |
15 |     /// This model is a concrete genetic definition that represents the following models: ``AmiiboSeries``, ``AmiiboType``, ``Character`` and ``GameSeries``.
16 |     public struct KeyName {
   |                   `- note: consider making struct 'KeyName' conform to the 'Sendable' protocol
17 |
18 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:108:17: warning: non-sendable parameter type 'GameSeriesFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'gameSeries(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
106 |     /// - Returns: A list of decoded ``DTO.GameSeries`` instances that matches the given filter criteria.
107 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
108 |     public func gameSeries(
    |                 `- warning: non-sendable parameter type 'GameSeriesFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'gameSeries(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
109 |         filter: GameSeriesFilter = .init()
110 |     ) async throws -> [DTO.GameSeries] {
/host/spi-builder-workspace/Sources/Filters/KeyNameFilter.swift:14:15: note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
12 |
13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos series (``AmiiboSeriesFilter``), amiibo types (``AmiiboTypeFilter``), characters (``CharacterFilter``), or game series (``GameSeriesFilter``).
14 | public struct KeyNameFilter {
   |               `- note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
15 |
16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:93:17: warning: non-sendable type '[DTO.Character]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'characters(filter:)'; this is an error in the Swift 6 language mode
 91 |     /// - Returns: A list of decoded ``DTO.Character`` instances that matches the given filter criteria.
 92 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 93 |     public func characters(
    |                 `- warning: non-sendable type '[DTO.Character]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'characters(filter:)'; this is an error in the Swift 6 language mode
 94 |         filter: CharacterFilter = .init()
 95 |     ) async throws -> [DTO.Character] {
/host/spi-builder-workspace/Sources/Models/DTO/KeyName.swift:16:19: note: consider making struct 'KeyName' conform to the 'Sendable' protocol
14 |
15 |     /// This model is a concrete genetic definition that represents the following models: ``AmiiboSeries``, ``AmiiboType``, ``Character`` and ``GameSeries``.
16 |     public struct KeyName {
   |                   `- note: consider making struct 'KeyName' conform to the 'Sendable' protocol
17 |
18 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:93:17: warning: non-sendable parameter type 'CharacterFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'characters(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 91 |     /// - Returns: A list of decoded ``DTO.Character`` instances that matches the given filter criteria.
 92 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 93 |     public func characters(
    |                 `- warning: non-sendable parameter type 'CharacterFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'characters(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 94 |         filter: CharacterFilter = .init()
 95 |     ) async throws -> [DTO.Character] {
/host/spi-builder-workspace/Sources/Filters/KeyNameFilter.swift:14:15: note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
12 |
13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos series (``AmiiboSeriesFilter``), amiibo types (``AmiiboTypeFilter``), characters (``CharacterFilter``), or game series (``GameSeriesFilter``).
14 | public struct KeyNameFilter {
   |               `- note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
15 |
16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:122:17: warning: non-sendable type 'DTO.LastUpdated' cannot be returned from actor-isolated implementation to caller of protocol requirement 'lastUpdated()'; this is an error in the Swift 6 language mode
120 |     /// - Returns: A decoded `DTO.LastUpdated` instance that represents the date in which the remote API was last updated.
121 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
122 |     public func lastUpdated() async throws -> DTO.LastUpdated {
    |                 `- warning: non-sendable type 'DTO.LastUpdated' cannot be returned from actor-isolated implementation to caller of protocol requirement 'lastUpdated()'; this is an error in the Swift 6 language mode
123 |         client.setDateDecodingStrategy(.formatted(.dateAndTime))
124 |
/host/spi-builder-workspace/Sources/Models/DTO/LastUpdated.swift:18:12: note: consider making struct 'LastUpdated' conform to the 'Sendable' protocol
16 |
17 |     /// This model represents the latest date when the remote API has been updated.
18 |     struct LastUpdated {
   |            `- note: consider making struct 'LastUpdated' conform to the 'Sendable' protocol
19 |
20 |         // MARK: Properties
[49/67] Compiling AmiiboService KeyName.swift
[50/67] Compiling AmiiboService LastUpdated.swift
[51/67] Compiling AmiiboService Result.swift
[52/67] Compiling AmiiboService KeyNameFilter.swift
[53/67] Compiling AmiiboService DTO.swift
[54/67] Compiling AmiiboService Amiibo.swift
[55/67] Compiling AmiiboService GetLastUpdatedEndpoint.swift
[56/67] Compiling AmiiboService GetSeriesEndpoint.swift
[57/67] Compiling AmiiboService GetTypeEndpoint.swift
[58/67] Compiling AmiiboService AmiiboGame.swift
[59/67] Compiling AmiiboService AmiiboGameUsage.swift
[60/67] Compiling AmiiboService AmiiboRelease.swift
[61/67] Compiling AmiiboService Filter.swift
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:48:17: warning: non-sendable type '[DTO.Amiibo]' cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiibos(filter:)'; this is an error in the Swift 6 language mode
 46 |     /// - Returns: A list of decoded ``DTO.Amiibo`` instances that matches the given filter criteria.
 47 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 48 |     public func amiibos(
    |                 `- warning: non-sendable type '[DTO.Amiibo]' cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiibos(filter:)'; this is an error in the Swift 6 language mode
 49 |         filter: AmiiboFilter = .init()
 50 |     ) async throws -> [DTO.Amiibo] {
/host/spi-builder-workspace/Sources/Models/DTO/Amiibo.swift:18:19: note: consider making struct 'Amiibo' conform to the 'Sendable' protocol
 16 |
 17 |     /// This model struct represents an amiibo that is retrieved from the respective [remote API endpoint](https://www.amiiboapi.com/docs/#amiibo).
 18 |     public struct Amiibo {
    |                   `- note: consider making struct 'Amiibo' conform to the 'Sendable' protocol
 19 |
 20 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:48:17: warning: non-sendable parameter type 'AmiiboFilter' cannot be sent from caller of protocol requirement 'amiibos(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 46 |     /// - Returns: A list of decoded ``DTO.Amiibo`` instances that matches the given filter criteria.
 47 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 48 |     public func amiibos(
    |                 `- warning: non-sendable parameter type 'AmiiboFilter' cannot be sent from caller of protocol requirement 'amiibos(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 49 |         filter: AmiiboFilter = .init()
 50 |     ) async throws -> [DTO.Amiibo] {
/host/spi-builder-workspace/Sources/Filters/AmiiboFilter.swift:14:15: note: consider making struct 'AmiiboFilter' conform to the 'Sendable' protocol
 12 |
 13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos.
 14 | public struct AmiiboFilter {
    |               `- note: consider making struct 'AmiiboFilter' conform to the 'Sendable' protocol
 15 |
 16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:63:17: warning: non-sendable type '[DTO.AmiiboSeries]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiiboSeries(filter:)'; this is an error in the Swift 6 language mode
 61 |     /// - Returns: A list of decoded ``DTO.AmiiboSeries`` instances that matches the given filter criteria.
 62 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 63 |     public func amiiboSeries(
    |                 `- warning: non-sendable type '[DTO.AmiiboSeries]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiiboSeries(filter:)'; this is an error in the Swift 6 language mode
 64 |         filter: AmiiboSeriesFilter = .init()
 65 |     ) async throws -> [DTO.AmiiboSeries] {
/host/spi-builder-workspace/Sources/Models/DTO/KeyName.swift:16:19: note: consider making struct 'KeyName' conform to the 'Sendable' protocol
14 |
15 |     /// This model is a concrete genetic definition that represents the following models: ``AmiiboSeries``, ``AmiiboType``, ``Character`` and ``GameSeries``.
16 |     public struct KeyName {
   |                   `- note: consider making struct 'KeyName' conform to the 'Sendable' protocol
17 |
18 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:63:17: warning: non-sendable parameter type 'AmiiboSeriesFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'amiiboSeries(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 61 |     /// - Returns: A list of decoded ``DTO.AmiiboSeries`` instances that matches the given filter criteria.
 62 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 63 |     public func amiiboSeries(
    |                 `- warning: non-sendable parameter type 'AmiiboSeriesFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'amiiboSeries(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 64 |         filter: AmiiboSeriesFilter = .init()
 65 |     ) async throws -> [DTO.AmiiboSeries] {
/host/spi-builder-workspace/Sources/Filters/KeyNameFilter.swift:14:15: note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
12 |
13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos series (``AmiiboSeriesFilter``), amiibo types (``AmiiboTypeFilter``), characters (``CharacterFilter``), or game series (``GameSeriesFilter``).
14 | public struct KeyNameFilter {
   |               `- note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
15 |
16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:78:17: warning: non-sendable type '[DTO.AmiiboType]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiiboTypes(filter:)'; this is an error in the Swift 6 language mode
 76 |     /// - Returns: A list of decoded ``DTO.AmiiboType`` instances that matches the given filter criteria.
 77 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 78 |     public func amiiboTypes(
    |                 `- warning: non-sendable type '[DTO.AmiiboType]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiiboTypes(filter:)'; this is an error in the Swift 6 language mode
 79 |         filter: AmiiboTypeFilter = .init()
 80 |     ) async throws -> [DTO.AmiiboType] {
/host/spi-builder-workspace/Sources/Models/DTO/KeyName.swift:16:19: note: consider making struct 'KeyName' conform to the 'Sendable' protocol
14 |
15 |     /// This model is a concrete genetic definition that represents the following models: ``AmiiboSeries``, ``AmiiboType``, ``Character`` and ``GameSeries``.
16 |     public struct KeyName {
   |                   `- note: consider making struct 'KeyName' conform to the 'Sendable' protocol
17 |
18 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:78:17: warning: non-sendable parameter type 'AmiiboTypeFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'amiiboTypes(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 76 |     /// - Returns: A list of decoded ``DTO.AmiiboType`` instances that matches the given filter criteria.
 77 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 78 |     public func amiiboTypes(
    |                 `- warning: non-sendable parameter type 'AmiiboTypeFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'amiiboTypes(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 79 |         filter: AmiiboTypeFilter = .init()
 80 |     ) async throws -> [DTO.AmiiboType] {
/host/spi-builder-workspace/Sources/Filters/KeyNameFilter.swift:14:15: note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
12 |
13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos series (``AmiiboSeriesFilter``), amiibo types (``AmiiboTypeFilter``), characters (``CharacterFilter``), or game series (``GameSeriesFilter``).
14 | public struct KeyNameFilter {
   |               `- note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
15 |
16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:108:17: warning: non-sendable type '[DTO.GameSeries]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'gameSeries(filter:)'; this is an error in the Swift 6 language mode
106 |     /// - Returns: A list of decoded ``DTO.GameSeries`` instances that matches the given filter criteria.
107 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
108 |     public func gameSeries(
    |                 `- warning: non-sendable type '[DTO.GameSeries]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'gameSeries(filter:)'; this is an error in the Swift 6 language mode
109 |         filter: GameSeriesFilter = .init()
110 |     ) async throws -> [DTO.GameSeries] {
/host/spi-builder-workspace/Sources/Models/DTO/KeyName.swift:16:19: note: consider making struct 'KeyName' conform to the 'Sendable' protocol
14 |
15 |     /// This model is a concrete genetic definition that represents the following models: ``AmiiboSeries``, ``AmiiboType``, ``Character`` and ``GameSeries``.
16 |     public struct KeyName {
   |                   `- note: consider making struct 'KeyName' conform to the 'Sendable' protocol
17 |
18 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:108:17: warning: non-sendable parameter type 'GameSeriesFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'gameSeries(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
106 |     /// - Returns: A list of decoded ``DTO.GameSeries`` instances that matches the given filter criteria.
107 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
108 |     public func gameSeries(
    |                 `- warning: non-sendable parameter type 'GameSeriesFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'gameSeries(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
109 |         filter: GameSeriesFilter = .init()
110 |     ) async throws -> [DTO.GameSeries] {
/host/spi-builder-workspace/Sources/Filters/KeyNameFilter.swift:14:15: note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
12 |
13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos series (``AmiiboSeriesFilter``), amiibo types (``AmiiboTypeFilter``), characters (``CharacterFilter``), or game series (``GameSeriesFilter``).
14 | public struct KeyNameFilter {
   |               `- note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
15 |
16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:93:17: warning: non-sendable type '[DTO.Character]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'characters(filter:)'; this is an error in the Swift 6 language mode
 91 |     /// - Returns: A list of decoded ``DTO.Character`` instances that matches the given filter criteria.
 92 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 93 |     public func characters(
    |                 `- warning: non-sendable type '[DTO.Character]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'characters(filter:)'; this is an error in the Swift 6 language mode
 94 |         filter: CharacterFilter = .init()
 95 |     ) async throws -> [DTO.Character] {
/host/spi-builder-workspace/Sources/Models/DTO/KeyName.swift:16:19: note: consider making struct 'KeyName' conform to the 'Sendable' protocol
14 |
15 |     /// This model is a concrete genetic definition that represents the following models: ``AmiiboSeries``, ``AmiiboType``, ``Character`` and ``GameSeries``.
16 |     public struct KeyName {
   |                   `- note: consider making struct 'KeyName' conform to the 'Sendable' protocol
17 |
18 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:93:17: warning: non-sendable parameter type 'CharacterFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'characters(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 91 |     /// - Returns: A list of decoded ``DTO.Character`` instances that matches the given filter criteria.
 92 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 93 |     public func characters(
    |                 `- warning: non-sendable parameter type 'CharacterFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'characters(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 94 |         filter: CharacterFilter = .init()
 95 |     ) async throws -> [DTO.Character] {
/host/spi-builder-workspace/Sources/Filters/KeyNameFilter.swift:14:15: note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
12 |
13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos series (``AmiiboSeriesFilter``), amiibo types (``AmiiboTypeFilter``), characters (``CharacterFilter``), or game series (``GameSeriesFilter``).
14 | public struct KeyNameFilter {
   |               `- note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
15 |
16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:122:17: warning: non-sendable type 'DTO.LastUpdated' cannot be returned from actor-isolated implementation to caller of protocol requirement 'lastUpdated()'; this is an error in the Swift 6 language mode
120 |     /// - Returns: A decoded `DTO.LastUpdated` instance that represents the date in which the remote API was last updated.
121 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
122 |     public func lastUpdated() async throws -> DTO.LastUpdated {
    |                 `- warning: non-sendable type 'DTO.LastUpdated' cannot be returned from actor-isolated implementation to caller of protocol requirement 'lastUpdated()'; this is an error in the Swift 6 language mode
123 |         client.setDateDecodingStrategy(.formatted(.dateAndTime))
124 |
/host/spi-builder-workspace/Sources/Models/DTO/LastUpdated.swift:18:12: note: consider making struct 'LastUpdated' conform to the 'Sendable' protocol
16 |
17 |     /// This model represents the latest date when the remote API has been updated.
18 |     struct LastUpdated {
   |            `- note: consider making struct 'LastUpdated' conform to the 'Sendable' protocol
19 |
20 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:53:33: warning: non-sendable result type 'Result<DTO.Amiibo>' cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 51 |         client.setDateDecodingStrategy(.formatted(.dateOnly))
 52 |
 53 |         return try await client.request(
    |                                 `- warning: non-sendable result type 'Result<DTO.Amiibo>' cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 54 |             endpoint: GetAmiiboEndpoint(parameters: filter.makeParameters()),
 55 |             as: Result<DTO.Amiibo>.self
/host/spi-builder-workspace/Sources/Models/Result.swift:13:8: note: consider making generic struct 'Result' conform to the 'Sendable' protocol
11 | //===----------------------------------------------------------------------===//
12 |
13 | struct Result<Model: Decodable> {
   |        `- note: consider making generic struct 'Result' conform to the 'Sendable' protocol
14 |     let items: [Model]
15 | }
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:68:33: warning: non-sendable result type 'Result<DTO.AmiiboSeries>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 66 |         client.setDateDecodingStrategy(.deferredToDate)
 67 |
 68 |         return try await client.request(
    |                                 `- warning: non-sendable result type 'Result<DTO.AmiiboSeries>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 69 |             endpoint: GetSeriesEndpoint(parameters: filter.makeParameters()),
 70 |             as: Result<DTO.AmiiboSeries>.self
/host/spi-builder-workspace/Sources/Models/Result.swift:13:8: note: consider making generic struct 'Result' conform to the 'Sendable' protocol
11 | //===----------------------------------------------------------------------===//
12 |
13 | struct Result<Model: Decodable> {
   |        `- note: consider making generic struct 'Result' conform to the 'Sendable' protocol
14 |     let items: [Model]
15 | }
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:83:33: warning: non-sendable result type 'Result<DTO.AmiiboType>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 81 |         client.setDateDecodingStrategy(.deferredToDate)
 82 |
 83 |         return try await client.request(
    |                                 `- warning: non-sendable result type 'Result<DTO.AmiiboType>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 84 |             endpoint: GetTypeEndpoint(parameters: filter.makeParameters()),
 85 |             as: Result<DTO.AmiiboType>.self
/host/spi-builder-workspace/Sources/Models/Result.swift:13:8: note: consider making generic struct 'Result' conform to the 'Sendable' protocol
11 | //===----------------------------------------------------------------------===//
12 |
13 | struct Result<Model: Decodable> {
   |        `- note: consider making generic struct 'Result' conform to the 'Sendable' protocol
14 |     let items: [Model]
15 | }
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:98:33: warning: non-sendable result type 'Result<DTO.Character>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 96 |         client.setDateDecodingStrategy(.deferredToDate)
 97 |
 98 |         return try await client.request(
    |                                 `- warning: non-sendable result type 'Result<DTO.Character>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 99 |             endpoint: GetCharacterEndpoint(parameters: filter.makeParameters()),
100 |             as: Result<DTO.Character>.self
/host/spi-builder-workspace/Sources/Models/Result.swift:13:8: note: consider making generic struct 'Result' conform to the 'Sendable' protocol
11 | //===----------------------------------------------------------------------===//
12 |
13 | struct Result<Model: Decodable> {
   |        `- note: consider making generic struct 'Result' conform to the 'Sendable' protocol
14 |     let items: [Model]
15 | }
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:113:33: warning: non-sendable result type 'Result<DTO.GameSeries>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
111 |         client.setDateDecodingStrategy(.deferredToDate)
112 |
113 |         return try await client.request(
    |                                 `- warning: non-sendable result type 'Result<DTO.GameSeries>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
114 |             endpoint: GetGameSeriesEndpoint(parameters: filter.makeParameters()),
115 |             as: Result<DTO.GameSeries>.self
/host/spi-builder-workspace/Sources/Models/Result.swift:13:8: note: consider making generic struct 'Result' conform to the 'Sendable' protocol
11 | //===----------------------------------------------------------------------===//
12 |
13 | struct Result<Model: Decodable> {
   |        `- note: consider making generic struct 'Result' conform to the 'Sendable' protocol
14 |     let items: [Model]
15 | }
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:125:33: warning: non-sendable result type 'DTO.LastUpdated' cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
123 |         client.setDateDecodingStrategy(.formatted(.dateAndTime))
124 |
125 |         return try await client.request(
    |                                 `- warning: non-sendable result type 'DTO.LastUpdated' cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
126 |             endpoint: GetLastUpdatedEndpoint(),
127 |             as: DTO.LastUpdated.self
/host/spi-builder-workspace/Sources/Models/DTO/LastUpdated.swift:18:12: note: consider making struct 'LastUpdated' conform to the 'Sendable' protocol
16 |
17 |     /// This model represents the latest date when the remote API has been updated.
18 |     struct LastUpdated {
   |            `- note: consider making struct 'LastUpdated' conform to the 'Sendable' protocol
19 |
20 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:53:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 51 |         client.setDateDecodingStrategy(.formatted(.dateOnly))
 52 |
 53 |         return try await client.request(
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 54 |             endpoint: GetAmiiboEndpoint(parameters: filter.makeParameters()),
 55 |             as: Result<DTO.Amiibo>.self
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:68:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 66 |         client.setDateDecodingStrategy(.deferredToDate)
 67 |
 68 |         return try await client.request(
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 69 |             endpoint: GetSeriesEndpoint(parameters: filter.makeParameters()),
 70 |             as: Result<DTO.AmiiboSeries>.self
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:83:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 81 |         client.setDateDecodingStrategy(.deferredToDate)
 82 |
 83 |         return try await client.request(
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 84 |             endpoint: GetTypeEndpoint(parameters: filter.makeParameters()),
 85 |             as: Result<DTO.AmiiboType>.self
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:98:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 96 |         client.setDateDecodingStrategy(.deferredToDate)
 97 |
 98 |         return try await client.request(
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 99 |             endpoint: GetCharacterEndpoint(parameters: filter.makeParameters()),
100 |             as: Result<DTO.Character>.self
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:113:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
111 |         client.setDateDecodingStrategy(.deferredToDate)
112 |
113 |         return try await client.request(
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
114 |             endpoint: GetGameSeriesEndpoint(parameters: filter.makeParameters()),
115 |             as: Result<DTO.GameSeries>.self
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:125:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
123 |         client.setDateDecodingStrategy(.formatted(.dateAndTime))
124 |
125 |         return try await client.request(
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
126 |             endpoint: GetLastUpdatedEndpoint(),
127 |             as: DTO.LastUpdated.self
[62/67] Compiling AmiiboService Service.swift
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:48:17: warning: non-sendable type '[DTO.Amiibo]' cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiibos(filter:)'; this is an error in the Swift 6 language mode
 46 |     /// - Returns: A list of decoded ``DTO.Amiibo`` instances that matches the given filter criteria.
 47 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 48 |     public func amiibos(
    |                 `- warning: non-sendable type '[DTO.Amiibo]' cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiibos(filter:)'; this is an error in the Swift 6 language mode
 49 |         filter: AmiiboFilter = .init()
 50 |     ) async throws -> [DTO.Amiibo] {
/host/spi-builder-workspace/Sources/Models/DTO/Amiibo.swift:18:19: note: consider making struct 'Amiibo' conform to the 'Sendable' protocol
 16 |
 17 |     /// This model struct represents an amiibo that is retrieved from the respective [remote API endpoint](https://www.amiiboapi.com/docs/#amiibo).
 18 |     public struct Amiibo {
    |                   `- note: consider making struct 'Amiibo' conform to the 'Sendable' protocol
 19 |
 20 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:48:17: warning: non-sendable parameter type 'AmiiboFilter' cannot be sent from caller of protocol requirement 'amiibos(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 46 |     /// - Returns: A list of decoded ``DTO.Amiibo`` instances that matches the given filter criteria.
 47 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 48 |     public func amiibos(
    |                 `- warning: non-sendable parameter type 'AmiiboFilter' cannot be sent from caller of protocol requirement 'amiibos(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 49 |         filter: AmiiboFilter = .init()
 50 |     ) async throws -> [DTO.Amiibo] {
/host/spi-builder-workspace/Sources/Filters/AmiiboFilter.swift:14:15: note: consider making struct 'AmiiboFilter' conform to the 'Sendable' protocol
 12 |
 13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos.
 14 | public struct AmiiboFilter {
    |               `- note: consider making struct 'AmiiboFilter' conform to the 'Sendable' protocol
 15 |
 16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:63:17: warning: non-sendable type '[DTO.AmiiboSeries]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiiboSeries(filter:)'; this is an error in the Swift 6 language mode
 61 |     /// - Returns: A list of decoded ``DTO.AmiiboSeries`` instances that matches the given filter criteria.
 62 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 63 |     public func amiiboSeries(
    |                 `- warning: non-sendable type '[DTO.AmiiboSeries]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiiboSeries(filter:)'; this is an error in the Swift 6 language mode
 64 |         filter: AmiiboSeriesFilter = .init()
 65 |     ) async throws -> [DTO.AmiiboSeries] {
/host/spi-builder-workspace/Sources/Models/DTO/KeyName.swift:16:19: note: consider making struct 'KeyName' conform to the 'Sendable' protocol
14 |
15 |     /// This model is a concrete genetic definition that represents the following models: ``AmiiboSeries``, ``AmiiboType``, ``Character`` and ``GameSeries``.
16 |     public struct KeyName {
   |                   `- note: consider making struct 'KeyName' conform to the 'Sendable' protocol
17 |
18 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:63:17: warning: non-sendable parameter type 'AmiiboSeriesFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'amiiboSeries(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 61 |     /// - Returns: A list of decoded ``DTO.AmiiboSeries`` instances that matches the given filter criteria.
 62 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 63 |     public func amiiboSeries(
    |                 `- warning: non-sendable parameter type 'AmiiboSeriesFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'amiiboSeries(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 64 |         filter: AmiiboSeriesFilter = .init()
 65 |     ) async throws -> [DTO.AmiiboSeries] {
/host/spi-builder-workspace/Sources/Filters/KeyNameFilter.swift:14:15: note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
12 |
13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos series (``AmiiboSeriesFilter``), amiibo types (``AmiiboTypeFilter``), characters (``CharacterFilter``), or game series (``GameSeriesFilter``).
14 | public struct KeyNameFilter {
   |               `- note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
15 |
16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:78:17: warning: non-sendable type '[DTO.AmiiboType]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiiboTypes(filter:)'; this is an error in the Swift 6 language mode
 76 |     /// - Returns: A list of decoded ``DTO.AmiiboType`` instances that matches the given filter criteria.
 77 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 78 |     public func amiiboTypes(
    |                 `- warning: non-sendable type '[DTO.AmiiboType]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiiboTypes(filter:)'; this is an error in the Swift 6 language mode
 79 |         filter: AmiiboTypeFilter = .init()
 80 |     ) async throws -> [DTO.AmiiboType] {
/host/spi-builder-workspace/Sources/Models/DTO/KeyName.swift:16:19: note: consider making struct 'KeyName' conform to the 'Sendable' protocol
14 |
15 |     /// This model is a concrete genetic definition that represents the following models: ``AmiiboSeries``, ``AmiiboType``, ``Character`` and ``GameSeries``.
16 |     public struct KeyName {
   |                   `- note: consider making struct 'KeyName' conform to the 'Sendable' protocol
17 |
18 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:78:17: warning: non-sendable parameter type 'AmiiboTypeFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'amiiboTypes(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 76 |     /// - Returns: A list of decoded ``DTO.AmiiboType`` instances that matches the given filter criteria.
 77 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 78 |     public func amiiboTypes(
    |                 `- warning: non-sendable parameter type 'AmiiboTypeFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'amiiboTypes(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 79 |         filter: AmiiboTypeFilter = .init()
 80 |     ) async throws -> [DTO.AmiiboType] {
/host/spi-builder-workspace/Sources/Filters/KeyNameFilter.swift:14:15: note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
12 |
13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos series (``AmiiboSeriesFilter``), amiibo types (``AmiiboTypeFilter``), characters (``CharacterFilter``), or game series (``GameSeriesFilter``).
14 | public struct KeyNameFilter {
   |               `- note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
15 |
16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:108:17: warning: non-sendable type '[DTO.GameSeries]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'gameSeries(filter:)'; this is an error in the Swift 6 language mode
106 |     /// - Returns: A list of decoded ``DTO.GameSeries`` instances that matches the given filter criteria.
107 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
108 |     public func gameSeries(
    |                 `- warning: non-sendable type '[DTO.GameSeries]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'gameSeries(filter:)'; this is an error in the Swift 6 language mode
109 |         filter: GameSeriesFilter = .init()
110 |     ) async throws -> [DTO.GameSeries] {
/host/spi-builder-workspace/Sources/Models/DTO/KeyName.swift:16:19: note: consider making struct 'KeyName' conform to the 'Sendable' protocol
14 |
15 |     /// This model is a concrete genetic definition that represents the following models: ``AmiiboSeries``, ``AmiiboType``, ``Character`` and ``GameSeries``.
16 |     public struct KeyName {
   |                   `- note: consider making struct 'KeyName' conform to the 'Sendable' protocol
17 |
18 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:108:17: warning: non-sendable parameter type 'GameSeriesFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'gameSeries(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
106 |     /// - Returns: A list of decoded ``DTO.GameSeries`` instances that matches the given filter criteria.
107 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
108 |     public func gameSeries(
    |                 `- warning: non-sendable parameter type 'GameSeriesFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'gameSeries(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
109 |         filter: GameSeriesFilter = .init()
110 |     ) async throws -> [DTO.GameSeries] {
/host/spi-builder-workspace/Sources/Filters/KeyNameFilter.swift:14:15: note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
12 |
13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos series (``AmiiboSeriesFilter``), amiibo types (``AmiiboTypeFilter``), characters (``CharacterFilter``), or game series (``GameSeriesFilter``).
14 | public struct KeyNameFilter {
   |               `- note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
15 |
16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:93:17: warning: non-sendable type '[DTO.Character]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'characters(filter:)'; this is an error in the Swift 6 language mode
 91 |     /// - Returns: A list of decoded ``DTO.Character`` instances that matches the given filter criteria.
 92 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 93 |     public func characters(
    |                 `- warning: non-sendable type '[DTO.Character]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'characters(filter:)'; this is an error in the Swift 6 language mode
 94 |         filter: CharacterFilter = .init()
 95 |     ) async throws -> [DTO.Character] {
/host/spi-builder-workspace/Sources/Models/DTO/KeyName.swift:16:19: note: consider making struct 'KeyName' conform to the 'Sendable' protocol
14 |
15 |     /// This model is a concrete genetic definition that represents the following models: ``AmiiboSeries``, ``AmiiboType``, ``Character`` and ``GameSeries``.
16 |     public struct KeyName {
   |                   `- note: consider making struct 'KeyName' conform to the 'Sendable' protocol
17 |
18 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:93:17: warning: non-sendable parameter type 'CharacterFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'characters(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 91 |     /// - Returns: A list of decoded ``DTO.Character`` instances that matches the given filter criteria.
 92 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 93 |     public func characters(
    |                 `- warning: non-sendable parameter type 'CharacterFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'characters(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 94 |         filter: CharacterFilter = .init()
 95 |     ) async throws -> [DTO.Character] {
/host/spi-builder-workspace/Sources/Filters/KeyNameFilter.swift:14:15: note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
12 |
13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos series (``AmiiboSeriesFilter``), amiibo types (``AmiiboTypeFilter``), characters (``CharacterFilter``), or game series (``GameSeriesFilter``).
14 | public struct KeyNameFilter {
   |               `- note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
15 |
16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:122:17: warning: non-sendable type 'DTO.LastUpdated' cannot be returned from actor-isolated implementation to caller of protocol requirement 'lastUpdated()'; this is an error in the Swift 6 language mode
120 |     /// - Returns: A decoded `DTO.LastUpdated` instance that represents the date in which the remote API was last updated.
121 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
122 |     public func lastUpdated() async throws -> DTO.LastUpdated {
    |                 `- warning: non-sendable type 'DTO.LastUpdated' cannot be returned from actor-isolated implementation to caller of protocol requirement 'lastUpdated()'; this is an error in the Swift 6 language mode
123 |         client.setDateDecodingStrategy(.formatted(.dateAndTime))
124 |
/host/spi-builder-workspace/Sources/Models/DTO/LastUpdated.swift:18:12: note: consider making struct 'LastUpdated' conform to the 'Sendable' protocol
16 |
17 |     /// This model represents the latest date when the remote API has been updated.
18 |     struct LastUpdated {
   |            `- note: consider making struct 'LastUpdated' conform to the 'Sendable' protocol
19 |
20 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:53:33: warning: non-sendable result type 'Result<DTO.Amiibo>' cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 51 |         client.setDateDecodingStrategy(.formatted(.dateOnly))
 52 |
 53 |         return try await client.request(
    |                                 `- warning: non-sendable result type 'Result<DTO.Amiibo>' cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 54 |             endpoint: GetAmiiboEndpoint(parameters: filter.makeParameters()),
 55 |             as: Result<DTO.Amiibo>.self
/host/spi-builder-workspace/Sources/Models/Result.swift:13:8: note: consider making generic struct 'Result' conform to the 'Sendable' protocol
11 | //===----------------------------------------------------------------------===//
12 |
13 | struct Result<Model: Decodable> {
   |        `- note: consider making generic struct 'Result' conform to the 'Sendable' protocol
14 |     let items: [Model]
15 | }
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:68:33: warning: non-sendable result type 'Result<DTO.AmiiboSeries>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 66 |         client.setDateDecodingStrategy(.deferredToDate)
 67 |
 68 |         return try await client.request(
    |                                 `- warning: non-sendable result type 'Result<DTO.AmiiboSeries>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 69 |             endpoint: GetSeriesEndpoint(parameters: filter.makeParameters()),
 70 |             as: Result<DTO.AmiiboSeries>.self
/host/spi-builder-workspace/Sources/Models/Result.swift:13:8: note: consider making generic struct 'Result' conform to the 'Sendable' protocol
11 | //===----------------------------------------------------------------------===//
12 |
13 | struct Result<Model: Decodable> {
   |        `- note: consider making generic struct 'Result' conform to the 'Sendable' protocol
14 |     let items: [Model]
15 | }
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:83:33: warning: non-sendable result type 'Result<DTO.AmiiboType>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 81 |         client.setDateDecodingStrategy(.deferredToDate)
 82 |
 83 |         return try await client.request(
    |                                 `- warning: non-sendable result type 'Result<DTO.AmiiboType>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 84 |             endpoint: GetTypeEndpoint(parameters: filter.makeParameters()),
 85 |             as: Result<DTO.AmiiboType>.self
/host/spi-builder-workspace/Sources/Models/Result.swift:13:8: note: consider making generic struct 'Result' conform to the 'Sendable' protocol
11 | //===----------------------------------------------------------------------===//
12 |
13 | struct Result<Model: Decodable> {
   |        `- note: consider making generic struct 'Result' conform to the 'Sendable' protocol
14 |     let items: [Model]
15 | }
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:98:33: warning: non-sendable result type 'Result<DTO.Character>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 96 |         client.setDateDecodingStrategy(.deferredToDate)
 97 |
 98 |         return try await client.request(
    |                                 `- warning: non-sendable result type 'Result<DTO.Character>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 99 |             endpoint: GetCharacterEndpoint(parameters: filter.makeParameters()),
100 |             as: Result<DTO.Character>.self
/host/spi-builder-workspace/Sources/Models/Result.swift:13:8: note: consider making generic struct 'Result' conform to the 'Sendable' protocol
11 | //===----------------------------------------------------------------------===//
12 |
13 | struct Result<Model: Decodable> {
   |        `- note: consider making generic struct 'Result' conform to the 'Sendable' protocol
14 |     let items: [Model]
15 | }
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:113:33: warning: non-sendable result type 'Result<DTO.GameSeries>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
111 |         client.setDateDecodingStrategy(.deferredToDate)
112 |
113 |         return try await client.request(
    |                                 `- warning: non-sendable result type 'Result<DTO.GameSeries>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
114 |             endpoint: GetGameSeriesEndpoint(parameters: filter.makeParameters()),
115 |             as: Result<DTO.GameSeries>.self
/host/spi-builder-workspace/Sources/Models/Result.swift:13:8: note: consider making generic struct 'Result' conform to the 'Sendable' protocol
11 | //===----------------------------------------------------------------------===//
12 |
13 | struct Result<Model: Decodable> {
   |        `- note: consider making generic struct 'Result' conform to the 'Sendable' protocol
14 |     let items: [Model]
15 | }
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:125:33: warning: non-sendable result type 'DTO.LastUpdated' cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
123 |         client.setDateDecodingStrategy(.formatted(.dateAndTime))
124 |
125 |         return try await client.request(
    |                                 `- warning: non-sendable result type 'DTO.LastUpdated' cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
126 |             endpoint: GetLastUpdatedEndpoint(),
127 |             as: DTO.LastUpdated.self
/host/spi-builder-workspace/Sources/Models/DTO/LastUpdated.swift:18:12: note: consider making struct 'LastUpdated' conform to the 'Sendable' protocol
16 |
17 |     /// This model represents the latest date when the remote API has been updated.
18 |     struct LastUpdated {
   |            `- note: consider making struct 'LastUpdated' conform to the 'Sendable' protocol
19 |
20 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:53:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 51 |         client.setDateDecodingStrategy(.formatted(.dateOnly))
 52 |
 53 |         return try await client.request(
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 54 |             endpoint: GetAmiiboEndpoint(parameters: filter.makeParameters()),
 55 |             as: Result<DTO.Amiibo>.self
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:68:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 66 |         client.setDateDecodingStrategy(.deferredToDate)
 67 |
 68 |         return try await client.request(
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 69 |             endpoint: GetSeriesEndpoint(parameters: filter.makeParameters()),
 70 |             as: Result<DTO.AmiiboSeries>.self
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:83:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 81 |         client.setDateDecodingStrategy(.deferredToDate)
 82 |
 83 |         return try await client.request(
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 84 |             endpoint: GetTypeEndpoint(parameters: filter.makeParameters()),
 85 |             as: Result<DTO.AmiiboType>.self
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:98:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 96 |         client.setDateDecodingStrategy(.deferredToDate)
 97 |
 98 |         return try await client.request(
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 99 |             endpoint: GetCharacterEndpoint(parameters: filter.makeParameters()),
100 |             as: Result<DTO.Character>.self
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:113:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
111 |         client.setDateDecodingStrategy(.deferredToDate)
112 |
113 |         return try await client.request(
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
114 |             endpoint: GetGameSeriesEndpoint(parameters: filter.makeParameters()),
115 |             as: Result<DTO.GameSeries>.self
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:125:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
123 |         client.setDateDecodingStrategy(.formatted(.dateAndTime))
124 |
125 |         return try await client.request(
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
126 |             endpoint: GetLastUpdatedEndpoint(),
127 |             as: DTO.LastUpdated.self
[63/67] Compiling AmiiboService AmiiboService.swift
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:48:17: warning: non-sendable type '[DTO.Amiibo]' cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiibos(filter:)'; this is an error in the Swift 6 language mode
 46 |     /// - Returns: A list of decoded ``DTO.Amiibo`` instances that matches the given filter criteria.
 47 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 48 |     public func amiibos(
    |                 `- warning: non-sendable type '[DTO.Amiibo]' cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiibos(filter:)'; this is an error in the Swift 6 language mode
 49 |         filter: AmiiboFilter = .init()
 50 |     ) async throws -> [DTO.Amiibo] {
/host/spi-builder-workspace/Sources/Models/DTO/Amiibo.swift:18:19: note: consider making struct 'Amiibo' conform to the 'Sendable' protocol
 16 |
 17 |     /// This model struct represents an amiibo that is retrieved from the respective [remote API endpoint](https://www.amiiboapi.com/docs/#amiibo).
 18 |     public struct Amiibo {
    |                   `- note: consider making struct 'Amiibo' conform to the 'Sendable' protocol
 19 |
 20 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:48:17: warning: non-sendable parameter type 'AmiiboFilter' cannot be sent from caller of protocol requirement 'amiibos(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 46 |     /// - Returns: A list of decoded ``DTO.Amiibo`` instances that matches the given filter criteria.
 47 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 48 |     public func amiibos(
    |                 `- warning: non-sendable parameter type 'AmiiboFilter' cannot be sent from caller of protocol requirement 'amiibos(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 49 |         filter: AmiiboFilter = .init()
 50 |     ) async throws -> [DTO.Amiibo] {
/host/spi-builder-workspace/Sources/Filters/AmiiboFilter.swift:14:15: note: consider making struct 'AmiiboFilter' conform to the 'Sendable' protocol
 12 |
 13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos.
 14 | public struct AmiiboFilter {
    |               `- note: consider making struct 'AmiiboFilter' conform to the 'Sendable' protocol
 15 |
 16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:63:17: warning: non-sendable type '[DTO.AmiiboSeries]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiiboSeries(filter:)'; this is an error in the Swift 6 language mode
 61 |     /// - Returns: A list of decoded ``DTO.AmiiboSeries`` instances that matches the given filter criteria.
 62 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 63 |     public func amiiboSeries(
    |                 `- warning: non-sendable type '[DTO.AmiiboSeries]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiiboSeries(filter:)'; this is an error in the Swift 6 language mode
 64 |         filter: AmiiboSeriesFilter = .init()
 65 |     ) async throws -> [DTO.AmiiboSeries] {
/host/spi-builder-workspace/Sources/Models/DTO/KeyName.swift:16:19: note: consider making struct 'KeyName' conform to the 'Sendable' protocol
14 |
15 |     /// This model is a concrete genetic definition that represents the following models: ``AmiiboSeries``, ``AmiiboType``, ``Character`` and ``GameSeries``.
16 |     public struct KeyName {
   |                   `- note: consider making struct 'KeyName' conform to the 'Sendable' protocol
17 |
18 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:63:17: warning: non-sendable parameter type 'AmiiboSeriesFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'amiiboSeries(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 61 |     /// - Returns: A list of decoded ``DTO.AmiiboSeries`` instances that matches the given filter criteria.
 62 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 63 |     public func amiiboSeries(
    |                 `- warning: non-sendable parameter type 'AmiiboSeriesFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'amiiboSeries(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 64 |         filter: AmiiboSeriesFilter = .init()
 65 |     ) async throws -> [DTO.AmiiboSeries] {
/host/spi-builder-workspace/Sources/Filters/KeyNameFilter.swift:14:15: note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
12 |
13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos series (``AmiiboSeriesFilter``), amiibo types (``AmiiboTypeFilter``), characters (``CharacterFilter``), or game series (``GameSeriesFilter``).
14 | public struct KeyNameFilter {
   |               `- note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
15 |
16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:78:17: warning: non-sendable type '[DTO.AmiiboType]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiiboTypes(filter:)'; this is an error in the Swift 6 language mode
 76 |     /// - Returns: A list of decoded ``DTO.AmiiboType`` instances that matches the given filter criteria.
 77 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 78 |     public func amiiboTypes(
    |                 `- warning: non-sendable type '[DTO.AmiiboType]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'amiiboTypes(filter:)'; this is an error in the Swift 6 language mode
 79 |         filter: AmiiboTypeFilter = .init()
 80 |     ) async throws -> [DTO.AmiiboType] {
/host/spi-builder-workspace/Sources/Models/DTO/KeyName.swift:16:19: note: consider making struct 'KeyName' conform to the 'Sendable' protocol
14 |
15 |     /// This model is a concrete genetic definition that represents the following models: ``AmiiboSeries``, ``AmiiboType``, ``Character`` and ``GameSeries``.
16 |     public struct KeyName {
   |                   `- note: consider making struct 'KeyName' conform to the 'Sendable' protocol
17 |
18 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:78:17: warning: non-sendable parameter type 'AmiiboTypeFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'amiiboTypes(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 76 |     /// - Returns: A list of decoded ``DTO.AmiiboType`` instances that matches the given filter criteria.
 77 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 78 |     public func amiiboTypes(
    |                 `- warning: non-sendable parameter type 'AmiiboTypeFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'amiiboTypes(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 79 |         filter: AmiiboTypeFilter = .init()
 80 |     ) async throws -> [DTO.AmiiboType] {
/host/spi-builder-workspace/Sources/Filters/KeyNameFilter.swift:14:15: note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
12 |
13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos series (``AmiiboSeriesFilter``), amiibo types (``AmiiboTypeFilter``), characters (``CharacterFilter``), or game series (``GameSeriesFilter``).
14 | public struct KeyNameFilter {
   |               `- note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
15 |
16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:108:17: warning: non-sendable type '[DTO.GameSeries]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'gameSeries(filter:)'; this is an error in the Swift 6 language mode
106 |     /// - Returns: A list of decoded ``DTO.GameSeries`` instances that matches the given filter criteria.
107 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
108 |     public func gameSeries(
    |                 `- warning: non-sendable type '[DTO.GameSeries]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'gameSeries(filter:)'; this is an error in the Swift 6 language mode
109 |         filter: GameSeriesFilter = .init()
110 |     ) async throws -> [DTO.GameSeries] {
/host/spi-builder-workspace/Sources/Models/DTO/KeyName.swift:16:19: note: consider making struct 'KeyName' conform to the 'Sendable' protocol
14 |
15 |     /// This model is a concrete genetic definition that represents the following models: ``AmiiboSeries``, ``AmiiboType``, ``Character`` and ``GameSeries``.
16 |     public struct KeyName {
   |                   `- note: consider making struct 'KeyName' conform to the 'Sendable' protocol
17 |
18 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:108:17: warning: non-sendable parameter type 'GameSeriesFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'gameSeries(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
106 |     /// - Returns: A list of decoded ``DTO.GameSeries`` instances that matches the given filter criteria.
107 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
108 |     public func gameSeries(
    |                 `- warning: non-sendable parameter type 'GameSeriesFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'gameSeries(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
109 |         filter: GameSeriesFilter = .init()
110 |     ) async throws -> [DTO.GameSeries] {
/host/spi-builder-workspace/Sources/Filters/KeyNameFilter.swift:14:15: note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
12 |
13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos series (``AmiiboSeriesFilter``), amiibo types (``AmiiboTypeFilter``), characters (``CharacterFilter``), or game series (``GameSeriesFilter``).
14 | public struct KeyNameFilter {
   |               `- note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
15 |
16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:93:17: warning: non-sendable type '[DTO.Character]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'characters(filter:)'; this is an error in the Swift 6 language mode
 91 |     /// - Returns: A list of decoded ``DTO.Character`` instances that matches the given filter criteria.
 92 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 93 |     public func characters(
    |                 `- warning: non-sendable type '[DTO.Character]' (aka 'Array<DTO.KeyName>') cannot be returned from actor-isolated implementation to caller of protocol requirement 'characters(filter:)'; this is an error in the Swift 6 language mode
 94 |         filter: CharacterFilter = .init()
 95 |     ) async throws -> [DTO.Character] {
/host/spi-builder-workspace/Sources/Models/DTO/KeyName.swift:16:19: note: consider making struct 'KeyName' conform to the 'Sendable' protocol
14 |
15 |     /// This model is a concrete genetic definition that represents the following models: ``AmiiboSeries``, ``AmiiboType``, ``Character`` and ``GameSeries``.
16 |     public struct KeyName {
   |                   `- note: consider making struct 'KeyName' conform to the 'Sendable' protocol
17 |
18 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:93:17: warning: non-sendable parameter type 'CharacterFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'characters(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 91 |     /// - Returns: A list of decoded ``DTO.Character`` instances that matches the given filter criteria.
 92 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
 93 |     public func characters(
    |                 `- warning: non-sendable parameter type 'CharacterFilter' (aka 'KeyNameFilter') cannot be sent from caller of protocol requirement 'characters(filter:)' into actor-isolated implementation; this is an error in the Swift 6 language mode
 94 |         filter: CharacterFilter = .init()
 95 |     ) async throws -> [DTO.Character] {
/host/spi-builder-workspace/Sources/Filters/KeyNameFilter.swift:14:15: note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
12 |
13 | /// This filter provides all the possible parameters (and combinations) available at the remote API applies when filtering amiibos series (``AmiiboSeriesFilter``), amiibo types (``AmiiboTypeFilter``), characters (``CharacterFilter``), or game series (``GameSeriesFilter``).
14 | public struct KeyNameFilter {
   |               `- note: consider making struct 'KeyNameFilter' conform to the 'Sendable' protocol
15 |
16 |     // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:122:17: warning: non-sendable type 'DTO.LastUpdated' cannot be returned from actor-isolated implementation to caller of protocol requirement 'lastUpdated()'; this is an error in the Swift 6 language mode
120 |     /// - Returns: A decoded `DTO.LastUpdated` instance that represents the date in which the remote API was last updated.
121 |     /// - Throws: A ``AmiiboClientError`` is thrown in case a request failed, or a `DecodingError` is thrown in case the decoding of some object failed.
122 |     public func lastUpdated() async throws -> DTO.LastUpdated {
    |                 `- warning: non-sendable type 'DTO.LastUpdated' cannot be returned from actor-isolated implementation to caller of protocol requirement 'lastUpdated()'; this is an error in the Swift 6 language mode
123 |         client.setDateDecodingStrategy(.formatted(.dateAndTime))
124 |
/host/spi-builder-workspace/Sources/Models/DTO/LastUpdated.swift:18:12: note: consider making struct 'LastUpdated' conform to the 'Sendable' protocol
16 |
17 |     /// This model represents the latest date when the remote API has been updated.
18 |     struct LastUpdated {
   |            `- note: consider making struct 'LastUpdated' conform to the 'Sendable' protocol
19 |
20 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:53:33: warning: non-sendable result type 'Result<DTO.Amiibo>' cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 51 |         client.setDateDecodingStrategy(.formatted(.dateOnly))
 52 |
 53 |         return try await client.request(
    |                                 `- warning: non-sendable result type 'Result<DTO.Amiibo>' cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 54 |             endpoint: GetAmiiboEndpoint(parameters: filter.makeParameters()),
 55 |             as: Result<DTO.Amiibo>.self
/host/spi-builder-workspace/Sources/Models/Result.swift:13:8: note: consider making generic struct 'Result' conform to the 'Sendable' protocol
11 | //===----------------------------------------------------------------------===//
12 |
13 | struct Result<Model: Decodable> {
   |        `- note: consider making generic struct 'Result' conform to the 'Sendable' protocol
14 |     let items: [Model]
15 | }
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:68:33: warning: non-sendable result type 'Result<DTO.AmiiboSeries>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 66 |         client.setDateDecodingStrategy(.deferredToDate)
 67 |
 68 |         return try await client.request(
    |                                 `- warning: non-sendable result type 'Result<DTO.AmiiboSeries>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 69 |             endpoint: GetSeriesEndpoint(parameters: filter.makeParameters()),
 70 |             as: Result<DTO.AmiiboSeries>.self
/host/spi-builder-workspace/Sources/Models/Result.swift:13:8: note: consider making generic struct 'Result' conform to the 'Sendable' protocol
11 | //===----------------------------------------------------------------------===//
12 |
13 | struct Result<Model: Decodable> {
   |        `- note: consider making generic struct 'Result' conform to the 'Sendable' protocol
14 |     let items: [Model]
15 | }
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:83:33: warning: non-sendable result type 'Result<DTO.AmiiboType>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 81 |         client.setDateDecodingStrategy(.deferredToDate)
 82 |
 83 |         return try await client.request(
    |                                 `- warning: non-sendable result type 'Result<DTO.AmiiboType>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 84 |             endpoint: GetTypeEndpoint(parameters: filter.makeParameters()),
 85 |             as: Result<DTO.AmiiboType>.self
/host/spi-builder-workspace/Sources/Models/Result.swift:13:8: note: consider making generic struct 'Result' conform to the 'Sendable' protocol
11 | //===----------------------------------------------------------------------===//
12 |
13 | struct Result<Model: Decodable> {
   |        `- note: consider making generic struct 'Result' conform to the 'Sendable' protocol
14 |     let items: [Model]
15 | }
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:98:33: warning: non-sendable result type 'Result<DTO.Character>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 96 |         client.setDateDecodingStrategy(.deferredToDate)
 97 |
 98 |         return try await client.request(
    |                                 `- warning: non-sendable result type 'Result<DTO.Character>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
 99 |             endpoint: GetCharacterEndpoint(parameters: filter.makeParameters()),
100 |             as: Result<DTO.Character>.self
/host/spi-builder-workspace/Sources/Models/Result.swift:13:8: note: consider making generic struct 'Result' conform to the 'Sendable' protocol
11 | //===----------------------------------------------------------------------===//
12 |
13 | struct Result<Model: Decodable> {
   |        `- note: consider making generic struct 'Result' conform to the 'Sendable' protocol
14 |     let items: [Model]
15 | }
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:113:33: warning: non-sendable result type 'Result<DTO.GameSeries>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
111 |         client.setDateDecodingStrategy(.deferredToDate)
112 |
113 |         return try await client.request(
    |                                 `- warning: non-sendable result type 'Result<DTO.GameSeries>' (aka 'Result<DTO.KeyName>') cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
114 |             endpoint: GetGameSeriesEndpoint(parameters: filter.makeParameters()),
115 |             as: Result<DTO.GameSeries>.self
/host/spi-builder-workspace/Sources/Models/Result.swift:13:8: note: consider making generic struct 'Result' conform to the 'Sendable' protocol
11 | //===----------------------------------------------------------------------===//
12 |
13 | struct Result<Model: Decodable> {
   |        `- note: consider making generic struct 'Result' conform to the 'Sendable' protocol
14 |     let items: [Model]
15 | }
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:125:33: warning: non-sendable result type 'DTO.LastUpdated' cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
123 |         client.setDateDecodingStrategy(.formatted(.dateAndTime))
124 |
125 |         return try await client.request(
    |                                 `- warning: non-sendable result type 'DTO.LastUpdated' cannot be sent from nonisolated context in call to instance method 'request(endpoint:as:)'; this is an error in the Swift 6 language mode
126 |             endpoint: GetLastUpdatedEndpoint(),
127 |             as: DTO.LastUpdated.self
/host/spi-builder-workspace/Sources/Models/DTO/LastUpdated.swift:18:12: note: consider making struct 'LastUpdated' conform to the 'Sendable' protocol
16 |
17 |     /// This model represents the latest date when the remote API has been updated.
18 |     struct LastUpdated {
   |            `- note: consider making struct 'LastUpdated' conform to the 'Sendable' protocol
19 |
20 |         // MARK: Properties
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:53:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 51 |         client.setDateDecodingStrategy(.formatted(.dateOnly))
 52 |
 53 |         return try await client.request(
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 54 |             endpoint: GetAmiiboEndpoint(parameters: filter.makeParameters()),
 55 |             as: Result<DTO.Amiibo>.self
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:68:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 66 |         client.setDateDecodingStrategy(.deferredToDate)
 67 |
 68 |         return try await client.request(
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 69 |             endpoint: GetSeriesEndpoint(parameters: filter.makeParameters()),
 70 |             as: Result<DTO.AmiiboSeries>.self
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:83:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 81 |         client.setDateDecodingStrategy(.deferredToDate)
 82 |
 83 |         return try await client.request(
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 84 |             endpoint: GetTypeEndpoint(parameters: filter.makeParameters()),
 85 |             as: Result<DTO.AmiiboType>.self
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:98:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
 96 |         client.setDateDecodingStrategy(.deferredToDate)
 97 |
 98 |         return try await client.request(
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
 99 |             endpoint: GetCharacterEndpoint(parameters: filter.makeParameters()),
100 |             as: Result<DTO.Character>.self
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:113:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
111 |         client.setDateDecodingStrategy(.deferredToDate)
112 |
113 |         return try await client.request(
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
114 |             endpoint: GetGameSeriesEndpoint(parameters: filter.makeParameters()),
115 |             as: Result<DTO.GameSeries>.self
/host/spi-builder-workspace/Sources/Services/AmiiboService.swift:125:33: warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
123 |         client.setDateDecodingStrategy(.formatted(.dateAndTime))
124 |
125 |         return try await client.request(
    |                                 |- warning: sending 'self.client' risks causing data races; this is an error in the Swift 6 language mode
    |                                 `- note: sending 'self'-isolated 'self.client' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
126 |             endpoint: GetLastUpdatedEndpoint(),
127 |             as: DTO.LastUpdated.self
[64/67] Compiling AmiiboService AmiiboClient.swift
/host/spi-builder-workspace/Sources/Clients/AmiiboClient.swift:74:25: warning: result of call to 'dataTask(with:completionHandler:)' is unused
 72 |         #if canImport(FoundationNetworking)
 73 |             try await withCheckedThrowingContinuation { continuation in
 74 |                 session.dataTask(with: urlRequest) { data, response, error in
    |                         `- warning: result of call to 'dataTask(with:completionHandler:)' is unused
 75 |                     if let error {
 76 |                         continuation.resume(with: .failure(error))
[65/67] Compiling AmiiboService GetAmiiboEndpoint.swift
/host/spi-builder-workspace/Sources/Clients/AmiiboClient.swift:74:25: warning: result of call to 'dataTask(with:completionHandler:)' is unused
 72 |         #if canImport(FoundationNetworking)
 73 |             try await withCheckedThrowingContinuation { continuation in
 74 |                 session.dataTask(with: urlRequest) { data, response, error in
    |                         `- warning: result of call to 'dataTask(with:completionHandler:)' is unused
 75 |                     if let error {
 76 |                         continuation.resume(with: .failure(error))
[66/67] Compiling AmiiboService GetCharacterEndpoint.swift
/host/spi-builder-workspace/Sources/Clients/AmiiboClient.swift:74:25: warning: result of call to 'dataTask(with:completionHandler:)' is unused
 72 |         #if canImport(FoundationNetworking)
 73 |             try await withCheckedThrowingContinuation { continuation in
 74 |                 session.dataTask(with: urlRequest) { data, response, error in
    |                         `- warning: result of call to 'dataTask(with:completionHandler:)' is unused
 75 |                     if let error {
 76 |                         continuation.resume(with: .failure(error))
[67/67] Compiling AmiiboService GetGameSeriesEndpoint.swift
/host/spi-builder-workspace/Sources/Clients/AmiiboClient.swift:74:25: warning: result of call to 'dataTask(with:completionHandler:)' is unused
 72 |         #if canImport(FoundationNetworking)
 73 |             try await withCheckedThrowingContinuation { continuation in
 74 |                 session.dataTask(with: urlRequest) { data, response, error in
    |                         `- warning: result of call to 'dataTask(with:completionHandler:)' is unused
 75 |                     if let error {
 76 |                         continuation.resume(with: .failure(error))
Build complete! (26.09s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-libs",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.7",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rock-n-code/swift-libs.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "AmiiboService",
  "name" : "AmiiboService",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "AmiiboService",
      "targets" : [
        "AmiiboService"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AmiiboServiceTests",
      "module_type" : "SwiftTarget",
      "name" : "AmiiboServiceTests",
      "path" : "Tests",
      "product_dependencies" : [
        "SwiftLibs"
      ],
      "sources" : [
        "Clients/AmiiboClientTests.swift",
        "Helpers/Endpoints/TestEndpoint.swift",
        "Helpers/Extensions/Data+Seed.swift",
        "Helpers/Extensions/GetAmiiboEndpoint+Init.swift",
        "Helpers/Extensions/GetCharacterEndpoint+Init.swift",
        "Helpers/Extensions/GetGameSeriesEndpoint+Init.swift",
        "Helpers/Extensions/GetSeriesEndpoint+Init.swift",
        "Helpers/Extensions/GetTypeEndpoint+Init.swift",
        "Helpers/Extensions/MockURLRequest+Init.swift",
        "Helpers/Extensions/String+Seed.swift",
        "Helpers/Models/TestModel.swift",
        "Services/AmiiboServiceTests.swift"
      ],
      "target_dependencies" : [
        "AmiiboService"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AmiiboService",
      "module_type" : "SwiftTarget",
      "name" : "AmiiboService",
      "path" : "Sources",
      "product_dependencies" : [
        "SwiftLibs"
      ],
      "product_memberships" : [
        "AmiiboService"
      ],
      "sources" : [
        "Clients/AmiiboClient.swift",
        "Endpoints/GetAmiiboEndpoint.swift",
        "Endpoints/GetCharacterEndpoint.swift",
        "Endpoints/GetGameSeriesEndpoint.swift",
        "Endpoints/GetLastUpdatedEndpoint.swift",
        "Endpoints/GetSeriesEndpoint.swift",
        "Endpoints/GetTypeEndpoint.swift",
        "Errors/AmiiboClientError.swift",
        "Extensions/DateFormatter+Formatter.swift",
        "Extensions/String+Host.swift",
        "Extensions/String+Path.swift",
        "Extensions/String+Scheme.swift",
        "Filters/AmiiboFilter.swift",
        "Filters/KeyNameFilter.swift",
        "Models/DTO.swift",
        "Models/DTO/Amiibo.swift",
        "Models/DTO/AmiiboGame.swift",
        "Models/DTO/AmiiboGameUsage.swift",
        "Models/DTO/AmiiboRelease.swift",
        "Models/DTO/KeyName.swift",
        "Models/DTO/LastUpdated.swift",
        "Models/Result.swift",
        "Protocols/Filter.swift",
        "Protocols/Service.swift",
        "Services/AmiiboService.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.