Build Information
Successful build of AmiiboService, reference main (e9f08c
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 11:01:43 UTC.
Swift 6 data race errors: 11
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
[1/1637] Fetching swift-libs
[2/3675] Fetching swift-libs, swift-docc-plugin
[259/6828] Fetching swift-libs, swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin from cache (2.63s)
Fetched https://github.com/rock-n-code/swift-libs.git from cache (2.63s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (2.63s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.74s)
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.77s)
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-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
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
========================================
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 (1.10s)
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.49s)
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.03s)
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.0
Building package at path: $PWD
https://github.com/rock-n-code/amiibo-service.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/9] Write sources
[8/9] Write swift-version--7754E27361AE5C74.txt
[10/42] Compiling SwiftLibsDependency DependencyKey.swift
[11/42] Compiling SwiftLibsDependency DependencyService.swift
[12/42] Emitting module SwiftLibsDependency
[13/42] Compiling SwiftLibsDependency Dependency.swift
[14/42] Compiling SwiftLibsCoordination PushNavigationRouter.swift
[15/42] Compiling SwiftLibsCoordination WindowRouter.swift
[16/42] Compiling SwiftLibsCoordination ModalNavigationRouter.swift
[17/42] Compiling SwiftLibsCoordination Router.swift
[18/42] Compiling SwiftLibsCoordination Coordinator.swift
[19/42] Compiling SwiftLibsCoordination BaseNavigationRouter.swift
[20/42] Emitting module SwiftLibsCoordination
[21/42] Compiling SwiftLibsFoundation LossyCodableList.swift
[22/42] Compiling SwiftLibsFoundation Collection+Empty.swift
[23/42] Compiling SwiftLibsCommunication HTTPResponseCode.swift
[24/42] Compiling SwiftLibsCommunication HTTPRequestMethod.swift
[25/42] Compiling SwiftLibsFoundation Optional+Nil.swift
[26/42] Emitting module SwiftLibsFoundation
[27/42] Compiling SwiftLibsFoundation BundleError.swift
[28/42] Compiling SwiftLibsPersistence URL+Devices.swift
[29/42] Compiling SwiftLibsFoundation TimeZone+Zone.swift
[30/42] Compiling SwiftLibsFoundation String+Localisation.swift
[31/42] Compiling SwiftLibsFoundation String+Empty.swift
[32/42] Emitting module SwiftLibsCommunication
[33/42] Compiling SwiftLibsCommunication MockURLProtocol.swift
[34/42] Compiling SwiftLibsCommunication MakeURLRequestError.swift
[35/42] Compiling SwiftLibsCommunication MakeURLRequestUseCase.swift
[36/42] Compiling SwiftLibsFoundation Bool+Init.swift
[37/42] Compiling SwiftLibsFoundation Bundle+LocalisationBundle.swift
[38/42] Compiling SwiftLibsCommunication Client.swift
[39/42] Compiling SwiftLibsCommunication Endpoint.swift
[40/42] Compiling SwiftLibsPersistence Service.swift
[41/42] Emitting module SwiftLibsPersistence
[42/42] Compiling SwiftLibsPersistence Fetcher.swift
[43/66] Compiling AmiiboService Result.swift
[44/66] Compiling AmiiboService Filter.swift
[45/68] Compiling AmiiboService GetTypeEndpoint.swift
[46/68] Compiling AmiiboService AmiiboClientError.swift
[47/68] Compiling AmiiboService DateFormatter+Formatter.swift
[48/68] Compiling AmiiboService GetGameSeriesEndpoint.swift
[49/68] Compiling AmiiboService GetLastUpdatedEndpoint.swift
[50/68] Compiling AmiiboService GetSeriesEndpoint.swift
[51/68] Compiling AmiiboService AmiiboGameUsage.swift
[52/68] Compiling AmiiboService AmiiboRelease.swift
[53/68] Compiling AmiiboService AmiiboClient.swift
[54/68] Compiling AmiiboService GetAmiiboEndpoint.swift
[55/68] Compiling AmiiboService GetCharacterEndpoint.swift
[56/68] Emitting module AmiiboService
/Users/admin/builder/spi-builder-workspace/Sources/Services/AmiiboService.swift:48:17: warning: non-sendable type '[DTO.Amiibo]' returned by actor-isolated instance method 'amiibos(filter:)' satisfying protocol requirement cannot cross actor boundary; 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]' returned by actor-isolated instance method 'amiibos(filter:)' satisfying protocol requirement cannot cross actor boundary; 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 type 'AmiiboFilter' in parameter of the protocol requirement satisfied by actor-isolated instance method 'amiibos(filter:)' cannot cross actor boundary; 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 'AmiiboFilter' in parameter of the protocol requirement satisfied by actor-isolated instance method 'amiibos(filter:)' cannot cross actor boundary; 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>') returned by actor-isolated instance method 'amiiboSeries(filter:)' satisfying protocol requirement cannot cross actor boundary; 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>') returned by actor-isolated instance method 'amiiboSeries(filter:)' satisfying protocol requirement cannot cross actor boundary; 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 type 'AmiiboSeriesFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'amiiboSeries(filter:)' cannot cross actor boundary; 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 'AmiiboSeriesFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'amiiboSeries(filter:)' cannot cross actor boundary; 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>') returned by actor-isolated instance method 'amiiboTypes(filter:)' satisfying protocol requirement cannot cross actor boundary; 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>') returned by actor-isolated instance method 'amiiboTypes(filter:)' satisfying protocol requirement cannot cross actor boundary; 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 type 'AmiiboTypeFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'amiiboTypes(filter:)' cannot cross actor boundary; 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 'AmiiboTypeFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'amiiboTypes(filter:)' cannot cross actor boundary; 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>') returned by actor-isolated instance method 'gameSeries(filter:)' satisfying protocol requirement cannot cross actor boundary; 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>') returned by actor-isolated instance method 'gameSeries(filter:)' satisfying protocol requirement cannot cross actor boundary; 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 type 'GameSeriesFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'gameSeries(filter:)' cannot cross actor boundary; 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 'GameSeriesFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'gameSeries(filter:)' cannot cross actor boundary; 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>') returned by actor-isolated instance method 'characters(filter:)' satisfying protocol requirement cannot cross actor boundary; 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>') returned by actor-isolated instance method 'characters(filter:)' satisfying protocol requirement cannot cross actor boundary; 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 type 'CharacterFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'characters(filter:)' cannot cross actor boundary; 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 'CharacterFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'characters(filter:)' cannot cross actor boundary; 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' returned by actor-isolated instance method 'lastUpdated()' satisfying protocol requirement cannot cross actor boundary; 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' returned by actor-isolated instance method 'lastUpdated()' satisfying protocol requirement cannot cross actor boundary; 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
[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 AmiiboFilter.swift
[61/68] Compiling AmiiboService KeyNameFilter.swift
[62/68] Compiling AmiiboService DTO.swift
[63/68] Compiling AmiiboService Amiibo.swift
[64/68] Compiling AmiiboService AmiiboGame.swift
[65/68] Compiling AmiiboService KeyName.swift
[66/68] Compiling AmiiboService LastUpdated.swift
[67/68] Compiling AmiiboService Service.swift
/Users/admin/builder/spi-builder-workspace/Sources/Services/AmiiboService.swift:48:17: warning: non-sendable type '[DTO.Amiibo]' returned by actor-isolated instance method 'amiibos(filter:)' satisfying protocol requirement cannot cross actor boundary; 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]' returned by actor-isolated instance method 'amiibos(filter:)' satisfying protocol requirement cannot cross actor boundary; 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 type 'AmiiboFilter' in parameter of the protocol requirement satisfied by actor-isolated instance method 'amiibos(filter:)' cannot cross actor boundary; 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 'AmiiboFilter' in parameter of the protocol requirement satisfied by actor-isolated instance method 'amiibos(filter:)' cannot cross actor boundary; 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>') returned by actor-isolated instance method 'amiiboSeries(filter:)' satisfying protocol requirement cannot cross actor boundary; 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>') returned by actor-isolated instance method 'amiiboSeries(filter:)' satisfying protocol requirement cannot cross actor boundary; 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 type 'AmiiboSeriesFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'amiiboSeries(filter:)' cannot cross actor boundary; 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 'AmiiboSeriesFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'amiiboSeries(filter:)' cannot cross actor boundary; 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>') returned by actor-isolated instance method 'amiiboTypes(filter:)' satisfying protocol requirement cannot cross actor boundary; 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>') returned by actor-isolated instance method 'amiiboTypes(filter:)' satisfying protocol requirement cannot cross actor boundary; 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 type 'AmiiboTypeFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'amiiboTypes(filter:)' cannot cross actor boundary; 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 'AmiiboTypeFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'amiiboTypes(filter:)' cannot cross actor boundary; 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>') returned by actor-isolated instance method 'gameSeries(filter:)' satisfying protocol requirement cannot cross actor boundary; 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>') returned by actor-isolated instance method 'gameSeries(filter:)' satisfying protocol requirement cannot cross actor boundary; 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 type 'GameSeriesFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'gameSeries(filter:)' cannot cross actor boundary; 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 'GameSeriesFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'gameSeries(filter:)' cannot cross actor boundary; 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>') returned by actor-isolated instance method 'characters(filter:)' satisfying protocol requirement cannot cross actor boundary; 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>') returned by actor-isolated instance method 'characters(filter:)' satisfying protocol requirement cannot cross actor boundary; 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 type 'CharacterFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'characters(filter:)' cannot cross actor boundary; 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 'CharacterFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'characters(filter:)' cannot cross actor boundary; 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' returned by actor-isolated instance method 'lastUpdated()' satisfying protocol requirement cannot cross actor boundary; 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' returned by actor-isolated instance method 'lastUpdated()' satisfying protocol requirement cannot cross actor boundary; 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 type 'Result<DTO.Amiibo>' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'Result<DTO.Amiibo>' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'Result<DTO.AmiiboSeries>' (aka 'Result<DTO.KeyName>') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
66 | client.setDateDecodingStrategy(.deferredToDate)
67 |
68 | return try await client.request(
| `- warning: non-sendable type 'Result<DTO.AmiiboSeries>' (aka 'Result<DTO.KeyName>') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'Result<DTO.AmiiboType>' (aka 'Result<DTO.KeyName>') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
81 | client.setDateDecodingStrategy(.deferredToDate)
82 |
83 | return try await client.request(
| `- warning: non-sendable type 'Result<DTO.AmiiboType>' (aka 'Result<DTO.KeyName>') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'Result<DTO.Character>' (aka 'Result<DTO.KeyName>') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
96 | client.setDateDecodingStrategy(.deferredToDate)
97 |
98 | return try await client.request(
| `- warning: non-sendable type 'Result<DTO.Character>' (aka 'Result<DTO.KeyName>') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'Result<DTO.GameSeries>' (aka 'Result<DTO.KeyName>') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
111 | client.setDateDecodingStrategy(.deferredToDate)
112 |
113 | return try await client.request(
| `- warning: non-sendable type 'Result<DTO.GameSeries>' (aka 'Result<DTO.KeyName>') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'DTO.LastUpdated' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'DTO.LastUpdated' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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
[68/68] Compiling AmiiboService AmiiboService.swift
/Users/admin/builder/spi-builder-workspace/Sources/Services/AmiiboService.swift:48:17: warning: non-sendable type '[DTO.Amiibo]' returned by actor-isolated instance method 'amiibos(filter:)' satisfying protocol requirement cannot cross actor boundary; 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]' returned by actor-isolated instance method 'amiibos(filter:)' satisfying protocol requirement cannot cross actor boundary; 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 type 'AmiiboFilter' in parameter of the protocol requirement satisfied by actor-isolated instance method 'amiibos(filter:)' cannot cross actor boundary; 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 'AmiiboFilter' in parameter of the protocol requirement satisfied by actor-isolated instance method 'amiibos(filter:)' cannot cross actor boundary; 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>') returned by actor-isolated instance method 'amiiboSeries(filter:)' satisfying protocol requirement cannot cross actor boundary; 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>') returned by actor-isolated instance method 'amiiboSeries(filter:)' satisfying protocol requirement cannot cross actor boundary; 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 type 'AmiiboSeriesFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'amiiboSeries(filter:)' cannot cross actor boundary; 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 'AmiiboSeriesFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'amiiboSeries(filter:)' cannot cross actor boundary; 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>') returned by actor-isolated instance method 'amiiboTypes(filter:)' satisfying protocol requirement cannot cross actor boundary; 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>') returned by actor-isolated instance method 'amiiboTypes(filter:)' satisfying protocol requirement cannot cross actor boundary; 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 type 'AmiiboTypeFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'amiiboTypes(filter:)' cannot cross actor boundary; 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 'AmiiboTypeFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'amiiboTypes(filter:)' cannot cross actor boundary; 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>') returned by actor-isolated instance method 'gameSeries(filter:)' satisfying protocol requirement cannot cross actor boundary; 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>') returned by actor-isolated instance method 'gameSeries(filter:)' satisfying protocol requirement cannot cross actor boundary; 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 type 'GameSeriesFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'gameSeries(filter:)' cannot cross actor boundary; 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 'GameSeriesFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'gameSeries(filter:)' cannot cross actor boundary; 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>') returned by actor-isolated instance method 'characters(filter:)' satisfying protocol requirement cannot cross actor boundary; 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>') returned by actor-isolated instance method 'characters(filter:)' satisfying protocol requirement cannot cross actor boundary; 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 type 'CharacterFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'characters(filter:)' cannot cross actor boundary; 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 'CharacterFilter' (aka 'KeyNameFilter') in parameter of the protocol requirement satisfied by actor-isolated instance method 'characters(filter:)' cannot cross actor boundary; 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' returned by actor-isolated instance method 'lastUpdated()' satisfying protocol requirement cannot cross actor boundary; 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' returned by actor-isolated instance method 'lastUpdated()' satisfying protocol requirement cannot cross actor boundary; 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 type 'Result<DTO.Amiibo>' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'Result<DTO.Amiibo>' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'Result<DTO.AmiiboSeries>' (aka 'Result<DTO.KeyName>') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
66 | client.setDateDecodingStrategy(.deferredToDate)
67 |
68 | return try await client.request(
| `- warning: non-sendable type 'Result<DTO.AmiiboSeries>' (aka 'Result<DTO.KeyName>') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'Result<DTO.AmiiboType>' (aka 'Result<DTO.KeyName>') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
81 | client.setDateDecodingStrategy(.deferredToDate)
82 |
83 | return try await client.request(
| `- warning: non-sendable type 'Result<DTO.AmiiboType>' (aka 'Result<DTO.KeyName>') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'Result<DTO.Character>' (aka 'Result<DTO.KeyName>') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
96 | client.setDateDecodingStrategy(.deferredToDate)
97 |
98 | return try await client.request(
| `- warning: non-sendable type 'Result<DTO.Character>' (aka 'Result<DTO.KeyName>') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'Result<DTO.GameSeries>' (aka 'Result<DTO.KeyName>') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
111 | client.setDateDecodingStrategy(.deferredToDate)
112 |
113 | return try await client.request(
| `- warning: non-sendable type 'Result<DTO.GameSeries>' (aka 'Result<DTO.KeyName>') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'DTO.LastUpdated' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'DTO.LastUpdated' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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
Build complete! (37.15s)
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.