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 macOS (SPM) on 27 Apr 2025 17:24:02 UTC.

Swift 6 data race errors: 11

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/rock-n-code/swift-libs.git
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
[83/3686] Fetching swift-docc-plugin, swift-libs
[260/7061] Fetching swift-docc-plugin, swift-libs, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin from cache (1.21s)
Fetched https://github.com/rock-n-code/swift-libs.git from cache (1.21s)
Computing version for https://github.com/apple/swift-docc-plugin
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.21s)
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (1.83s)
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 (0.67s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.67s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "amiibo-service",
      "name": "AmiiboService",
      "url": "https://github.com/rock-n-code/amiibo-service.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/amiibo-service",
      "dependencies": [
        {
          "identity": "swift-libs",
          "name": "swift-libs",
          "url": "https://github.com/rock-n-code/swift-libs.git",
          "version": "0.2.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-libs",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/rock-n-code/amiibo-service.git
[1/1991] Fetching amiibo-service
Fetched https://github.com/rock-n-code/amiibo-service.git from cache (0.92s)
Fetching https://github.com/rock-n-code/swift-libs.git from cache
Fetched https://github.com/rock-n-code/swift-libs.git from cache (0.42s)
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 (0.47s)
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
Creating working copy for https://github.com/rock-n-code/amiibo-service.git
Working copy of https://github.com/rock-n-code/amiibo-service.git resolved at main (e9f08c6)
warning: '.resolve-product-dependencies': dependency 'amiibo-service' is not used by any target
Found 1 product dependencies
  - swift-libs
========================================
Build
========================================
Selected platform:         macosSpm
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
{
  "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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/9] Write sources
[8/9] Write swift-version-2F0A5646E1D333AE.txt
[10/42] Emitting module SwiftLibsDependency
[11/42] Compiling SwiftLibsDependency DependencyKey.swift
[12/42] Compiling SwiftLibsDependency DependencyService.swift
[13/42] Compiling SwiftLibsDependency Dependency.swift
[14/42] Compiling SwiftLibsCoordination Router.swift
[15/42] Compiling SwiftLibsCoordination ModalNavigationRouter.swift
[16/42] Compiling SwiftLibsCoordination BaseNavigationRouter.swift
[17/42] Compiling SwiftLibsCoordination PushNavigationRouter.swift
[18/42] Compiling SwiftLibsCoordination WindowRouter.swift
[19/42] Emitting module SwiftLibsCoordination
[20/42] Compiling SwiftLibsCoordination Coordinator.swift
[21/42] Compiling SwiftLibsFoundation Optional+Nil.swift
[22/42] Compiling SwiftLibsFoundation Collection+Empty.swift
[23/42] Compiling SwiftLibsFoundation LossyCodableList.swift
[24/42] Emitting module SwiftLibsFoundation
[25/42] Compiling SwiftLibsPersistence Service.swift
[26/42] Compiling SwiftLibsFoundation String+Empty.swift
[27/42] Compiling SwiftLibsCommunication Endpoint.swift
[28/42] Compiling SwiftLibsFoundation BundleError.swift
[29/42] Compiling SwiftLibsFoundation Bool+Init.swift
[30/42] Compiling SwiftLibsFoundation Bundle+LocalisationBundle.swift
[31/42] Compiling SwiftLibsFoundation String+Localisation.swift
[32/42] Compiling SwiftLibsFoundation TimeZone+Zone.swift
[33/42] Compiling SwiftLibsCommunication MakeURLRequestError.swift
[34/42] Compiling SwiftLibsCommunication MakeURLRequestUseCase.swift
[35/42] Compiling SwiftLibsCommunication HTTPResponseCode.swift
[36/42] Compiling SwiftLibsCommunication MockURLProtocol.swift
[37/42] Emitting module SwiftLibsCommunication
[38/42] Compiling SwiftLibsCommunication Client.swift
[39/42] Compiling SwiftLibsCommunication HTTPRequestMethod.swift
[40/42] Compiling SwiftLibsPersistence Fetcher.swift
[41/42] Emitting module SwiftLibsPersistence
[42/42] Compiling SwiftLibsPersistence URL+Devices.swift
[43/66] Emitting module AmiiboService
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
[44/68] Compiling AmiiboService AmiiboGameUsage.swift
[45/68] Compiling AmiiboService AmiiboRelease.swift
[46/68] Compiling AmiiboService GetTypeEndpoint.swift
[47/68] Compiling AmiiboService AmiiboClientError.swift
[48/68] Compiling AmiiboService DateFormatter+Formatter.swift
[49/68] Compiling AmiiboService AmiiboClient.swift
[50/68] Compiling AmiiboService GetAmiiboEndpoint.swift
[51/68] Compiling AmiiboService GetCharacterEndpoint.swift
[52/68] Compiling AmiiboService Service.swift
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[53/68] Compiling AmiiboService AmiiboService.swift
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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] {
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[54/68] Compiling AmiiboService AmiiboFilter.swift
[55/68] Compiling AmiiboService KeyNameFilter.swift
[56/68] Compiling AmiiboService DTO.swift
[57/68] Compiling AmiiboService String+Host.swift
[58/68] Compiling AmiiboService String+Path.swift
[59/68] Compiling AmiiboService String+Scheme.swift
[60/68] Compiling AmiiboService Result.swift
[61/68] Compiling AmiiboService Filter.swift
[62/68] Compiling AmiiboService KeyName.swift
[63/68] Compiling AmiiboService LastUpdated.swift
[64/68] Compiling AmiiboService GetGameSeriesEndpoint.swift
[65/68] Compiling AmiiboService GetLastUpdatedEndpoint.swift
[66/68] Compiling AmiiboService GetSeriesEndpoint.swift
[67/68] Compiling AmiiboService Amiibo.swift
[68/68] Compiling AmiiboService AmiiboGame.swift
Build complete! (16.48s)
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" : "/Users/admin/builder/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"
}
Done.