Build Information
Failed to build ScryfallKit, reference main (f38c41), with Swift 6.0 for macOS (SPM) on 12 Jan 2026 23:35:37 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JacobHearst/ScryfallKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/JacobHearst/ScryfallKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f38c41d Merge pull request #33 from seansfkelley/gamechanger-and-legalities
Cloned https://github.com/JacobHearst/ScryfallKit.git
Revision (git rev-parse @):
f38c41df4091d7dc79852fd928642a9027dfa26f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/JacobHearst/ScryfallKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/JacobHearst/ScryfallKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/32] Emitting module ScryfallKit
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Models/Card/Card+Legalities.swift:54:5: error: unexpected ',' separator
52 | premodern: Legality?,
53 | predh: Legality?,
54 | ) {
| `- error: unexpected ',' separator
55 | self.standard = standard
56 | self.historic = historic
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:18:15: error: 'Logger' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
| `- error: 'Logger' is only available in macOS 11.0 or newer
19 |
20 | init(logger: Logger?) {
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:20:16: error: 'Logger' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
20 | init(logger: Logger?) {
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing initializer
21 | self.logger = logger
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/ScryfallClient.swift:14:23: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | /// A client for interacting with the Scryfall API
9 | public final class ScryfallClient: Sendable {
| `- note: add @available attribute to enclosing class
10 | let networkService: NetworkServiceProtocol
11 |
12 | /// Initialize an instance of the ScryfallClient
13 | /// - Parameter logger: The logger to use. Pass nil to disable logging
14 | public init(logger: Logger? = nil) {
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing initializer
15 | self.networkService = NetworkService(logger: logger)
16 | }
[6/35] Compiling ScryfallKit Card+Preview.swift
[7/35] Compiling ScryfallKit Card+Prices.swift
[8/35] Compiling ScryfallKit Card+RelatedCard.swift
[9/35] Compiling ScryfallKit Card+helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Models/Card/Card+Legalities.swift:54:5: error: unexpected ',' separator
52 | premodern: Legality?,
53 | predh: Legality?,
54 | ) {
| `- error: unexpected ',' separator
55 | self.standard = standard
56 | self.historic = historic
[10/35] Compiling ScryfallKit MTGSet+date.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Models/Card/Card+Legalities.swift:54:5: error: unexpected ',' separator
52 | premodern: Legality?,
53 | predh: Legality?,
54 | ) {
| `- error: unexpected ',' separator
55 | self.standard = standard
56 | self.historic = historic
[11/35] Compiling ScryfallKit Card+Face.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Models/Card/Card+Legalities.swift:54:5: error: unexpected ',' separator
52 | premodern: Legality?,
53 | predh: Legality?,
54 | ) {
| `- error: unexpected ',' separator
55 | self.standard = standard
56 | self.historic = historic
[12/35] Compiling ScryfallKit ScryfallClient+Async.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/ScryfallClient+Async.swift:19:15: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
5 | import Foundation
6 |
7 | extension ScryfallClient {
| `- note: add @available attribute to enclosing extension
8 | /// Equivalent to ``searchCards(filters:unique:order:sortDirection:includeExtras:includeMultilingual:includeVariations:page:completion:)`` but with async/await syntax
9 | public func searchCards(
| `- note: add @available attribute to enclosing instance method
10 | filters: [CardFieldFilter],
11 | unique: UniqueMode? = nil,
:
17 | page: Int? = nil
18 | ) async throws -> ObjectList<Card> {
19 | try await withCheckedThrowingContinuation { continuation in
| |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | searchCards(
21 | filters: filters,
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/ScryfallClient+Async.swift:30:22: error: 'resume(with:)' is only available in macOS 10.15 or newer
5 | import Foundation
6 |
7 | extension ScryfallClient {
| `- note: add @available attribute to enclosing extension
8 | /// Equivalent to ``searchCards(filters:unique:order:sortDirection:includeExtras:includeMultilingual:includeVariations:page:completion:)`` but with async/await syntax
9 | public func searchCards(
| `- note: add @available attribute to enclosing instance method
10 | filters: [CardFieldFilter],
11 | unique: UniqueMode? = nil,
:
28 | page: page
29 | ) { result in
30 | continuation.resume(with: result)
| |- error: 'resume(with:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/ScryfallClient+Async.swift:19:48: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/ScryfallClient+Async.swift:19:47: note: expanded code originates here
5 | import Foundation
6 |
7 | extension ScryfallClient {
| `- note: add @available attribute to enclosing extension
8 | /// Equivalent to ``searchCards(filters:unique:order:sortDirection:includeExtras:includeMultilingual:includeVariations:page:completion:)`` but with async/await syntax
9 | public func searchCards(
| `- note: add @available attribute to enclosing instance method
10 | filters: [CardFieldFilter],
11 | unique: UniqueMode? = nil,
:
17 | page: Int? = nil
18 | ) async throws -> ObjectList<Card> {
19 | try await withCheckedThrowingContinuation { continuation in
+--- /Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/ScryfallClient+Async.swift
|17 |
|18 |
|19 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+----------------------------------------------------------------------------------------------
20 | searchCards(
21 | filters: filters,
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/ScryfallClient.swift:14:23: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | /// A client for interacting with the Scryfall API
9 | public final class ScryfallClient: Sendable {
| `- note: add @available attribute to enclosing class
10 | let networkService: NetworkServiceProtocol
11 |
12 | /// Initialize an instance of the ScryfallClient
13 | /// - Parameter logger: The logger to use. Pass nil to disable logging
14 | public init(logger: Logger? = nil) {
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing initializer
15 | self.networkService = NetworkService(logger: logger)
16 | }
[13/35] Compiling ScryfallKit ScryfallClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/ScryfallClient+Async.swift:19:15: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
5 | import Foundation
6 |
7 | extension ScryfallClient {
| `- note: add @available attribute to enclosing extension
8 | /// Equivalent to ``searchCards(filters:unique:order:sortDirection:includeExtras:includeMultilingual:includeVariations:page:completion:)`` but with async/await syntax
9 | public func searchCards(
| `- note: add @available attribute to enclosing instance method
10 | filters: [CardFieldFilter],
11 | unique: UniqueMode? = nil,
:
17 | page: Int? = nil
18 | ) async throws -> ObjectList<Card> {
19 | try await withCheckedThrowingContinuation { continuation in
| |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | searchCards(
21 | filters: filters,
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/ScryfallClient+Async.swift:30:22: error: 'resume(with:)' is only available in macOS 10.15 or newer
5 | import Foundation
6 |
7 | extension ScryfallClient {
| `- note: add @available attribute to enclosing extension
8 | /// Equivalent to ``searchCards(filters:unique:order:sortDirection:includeExtras:includeMultilingual:includeVariations:page:completion:)`` but with async/await syntax
9 | public func searchCards(
| `- note: add @available attribute to enclosing instance method
10 | filters: [CardFieldFilter],
11 | unique: UniqueMode? = nil,
:
28 | page: page
29 | ) { result in
30 | continuation.resume(with: result)
| |- error: 'resume(with:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/ScryfallClient+Async.swift:19:48: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/ScryfallClient+Async.swift:19:47: note: expanded code originates here
5 | import Foundation
6 |
7 | extension ScryfallClient {
| `- note: add @available attribute to enclosing extension
8 | /// Equivalent to ``searchCards(filters:unique:order:sortDirection:includeExtras:includeMultilingual:includeVariations:page:completion:)`` but with async/await syntax
9 | public func searchCards(
| `- note: add @available attribute to enclosing instance method
10 | filters: [CardFieldFilter],
11 | unique: UniqueMode? = nil,
:
17 | page: Int? = nil
18 | ) async throws -> ObjectList<Card> {
19 | try await withCheckedThrowingContinuation { continuation in
+--- /Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/ScryfallClient+Async.swift
|17 |
|18 |
|19 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+----------------------------------------------------------------------------------------------
20 | searchCards(
21 | filters: filters,
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/ScryfallClient.swift:14:23: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | /// A client for interacting with the Scryfall API
9 | public final class ScryfallClient: Sendable {
| `- note: add @available attribute to enclosing class
10 | let networkService: NetworkServiceProtocol
11 |
12 | /// Initialize an instance of the ScryfallClient
13 | /// - Parameter logger: The logger to use. Pass nil to disable logging
14 | public init(logger: Logger? = nil) {
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing initializer
15 | self.networkService = NetworkService(logger: logger)
16 | }
[14/35] Compiling ScryfallKit ScryfallKitError.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/ScryfallClient+Async.swift:19:15: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
5 | import Foundation
6 |
7 | extension ScryfallClient {
| `- note: add @available attribute to enclosing extension
8 | /// Equivalent to ``searchCards(filters:unique:order:sortDirection:includeExtras:includeMultilingual:includeVariations:page:completion:)`` but with async/await syntax
9 | public func searchCards(
| `- note: add @available attribute to enclosing instance method
10 | filters: [CardFieldFilter],
11 | unique: UniqueMode? = nil,
:
17 | page: Int? = nil
18 | ) async throws -> ObjectList<Card> {
19 | try await withCheckedThrowingContinuation { continuation in
| |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | searchCards(
21 | filters: filters,
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/ScryfallClient+Async.swift:30:22: error: 'resume(with:)' is only available in macOS 10.15 or newer
5 | import Foundation
6 |
7 | extension ScryfallClient {
| `- note: add @available attribute to enclosing extension
8 | /// Equivalent to ``searchCards(filters:unique:order:sortDirection:includeExtras:includeMultilingual:includeVariations:page:completion:)`` but with async/await syntax
9 | public func searchCards(
| `- note: add @available attribute to enclosing instance method
10 | filters: [CardFieldFilter],
11 | unique: UniqueMode? = nil,
:
28 | page: page
29 | ) { result in
30 | continuation.resume(with: result)
| |- error: 'resume(with:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
31 | }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/ScryfallClient+Async.swift:19:48: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/ScryfallClient+Async.swift:19:47: note: expanded code originates here
5 | import Foundation
6 |
7 | extension ScryfallClient {
| `- note: add @available attribute to enclosing extension
8 | /// Equivalent to ``searchCards(filters:unique:order:sortDirection:includeExtras:includeMultilingual:includeVariations:page:completion:)`` but with async/await syntax
9 | public func searchCards(
| `- note: add @available attribute to enclosing instance method
10 | filters: [CardFieldFilter],
11 | unique: UniqueMode? = nil,
:
17 | page: Int? = nil
18 | ) async throws -> ObjectList<Card> {
19 | try await withCheckedThrowingContinuation { continuation in
+--- /Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/ScryfallClient+Async.swift
|17 |
|18 |
|19 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+----------------------------------------------------------------------------------------------
20 | searchCards(
21 | filters: filters,
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/ScryfallClient.swift:14:23: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | /// A client for interacting with the Scryfall API
9 | public final class ScryfallClient: Sendable {
| `- note: add @available attribute to enclosing class
10 | let networkService: NetworkServiceProtocol
11 |
12 | /// Initialize an instance of the ScryfallClient
13 | /// - Parameter logger: The logger to use. Pass nil to disable logging
14 | public init(logger: Logger? = nil) {
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing initializer
15 | self.networkService = NetworkService(logger: logger)
16 | }
[15/35] Compiling ScryfallKit CatalogRequests.swift
[16/35] Compiling ScryfallKit EndpointRequest.swift
[17/35] Compiling ScryfallKit RulingsRequests.swift
[18/35] Compiling ScryfallKit Card+ImageUris.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Models/Card/Card+Legalities.swift:54:5: error: unexpected ',' separator
52 | premodern: Legality?,
53 | predh: Legality?,
54 | ) {
| `- error: unexpected ',' separator
55 | self.standard = standard
56 | self.historic = historic
[19/35] Compiling ScryfallKit Card+Legalities.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Models/Card/Card+Legalities.swift:54:5: error: unexpected ',' separator
52 | premodern: Legality?,
53 | predh: Legality?,
54 | ) {
| `- error: unexpected ',' separator
55 | self.standard = standard
56 | self.historic = historic
[20/35] Compiling ScryfallKit Card+ManaCost.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Models/Card/Card+Legalities.swift:54:5: error: unexpected ',' separator
52 | premodern: Legality?,
53 | predh: Legality?,
54 | ) {
| `- error: unexpected ',' separator
55 | self.standard = standard
56 | self.historic = historic
[21/35] Compiling ScryfallKit FieldFilter.swift
[22/35] Compiling ScryfallKit MTGSet.swift
[23/35] Compiling ScryfallKit ObjectList.swift
[24/35] Compiling ScryfallKit Card+Ruling.swift
[25/35] Compiling ScryfallKit Card+Symbol.swift
[26/35] Compiling ScryfallKit Card+enums.swift
[27/35] Compiling ScryfallKit ScryfallError.swift
[28/35] Compiling ScryfallKit UnknownDecodable.swift
[29/35] Compiling ScryfallKit CardRequests.swift
[30/35] Compiling ScryfallKit Card.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Models/Card/Card+Legalities.swift:54:5: error: unexpected ',' separator
52 | premodern: Legality?,
53 | predh: Legality?,
54 | ) {
| `- error: unexpected ',' separator
55 | self.standard = standard
56 | self.historic = historic
[31/35] Compiling ScryfallKit Catalog.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Models/Card/Card+Legalities.swift:54:5: error: unexpected ',' separator
52 | premodern: Legality?,
53 | predh: Legality?,
54 | ) {
| `- error: unexpected ',' separator
55 | self.standard = standard
56 | self.historic = historic
[32/35] Compiling ScryfallKit Enums.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Models/Card/Card+Legalities.swift:54:5: error: unexpected ',' separator
52 | premodern: Legality?,
53 | predh: Legality?,
54 | ) {
| `- error: unexpected ',' separator
55 | self.standard = standard
56 | self.historic = historic
[33/35] Compiling ScryfallKit SetRequests.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:18:15: error: 'Logger' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
| `- error: 'Logger' is only available in macOS 11.0 or newer
19 |
20 | init(logger: Logger?) {
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:20:16: error: 'Logger' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
20 | init(logger: Logger?) {
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing initializer
21 | self.logger = logger
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:29:21: error: 'OSLogMessage' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
22 | }
23 |
24 | func request<T: Decodable & Sendable>(
| `- note: add @available attribute to enclosing instance method
25 | _ request: EndpointRequest, as type: T.Type,
26 | completion: @Sendable @escaping (Result<T, Error>) -> Void
27 | ) {
28 | guard let urlRequest = request.urlRequest else {
29 | logger?.error("Invalid url request")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
30 | completion(.failure(ScryfallKitError.invalidUrl))
31 | return
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:34:19: error: 'OSLogMessage' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
22 | }
23 |
24 | func request<T: Decodable & Sendable>(
| `- note: add @available attribute to enclosing instance method
25 | _ request: EndpointRequest, as type: T.Type,
26 | completion: @Sendable @escaping (Result<T, Error>) -> Void
:
32 | }
33 |
34 | logger?.trace("Starting request: \(urlRequest.debugDescription)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
35 | let task = URLSession.shared.dataTask(with: urlRequest) { (data, response, error) in
36 | do {
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:34:39: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
22 | }
23 |
24 | func request<T: Decodable & Sendable>(
| `- note: add @available attribute to enclosing instance method
25 | _ request: EndpointRequest, as type: T.Type,
26 | completion: @Sendable @escaping (Result<T, Error>) -> Void
:
32 | }
33 |
34 | logger?.trace("Starting request: \(urlRequest.debugDescription)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
35 | let task = URLSession.shared.dataTask(with: urlRequest) { (data, response, error) in
36 | do {
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:44:19: error: 'OSLogMessage' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
22 | }
23 |
24 | func request<T: Decodable & Sendable>(
| `- note: add @available attribute to enclosing instance method
25 | _ request: EndpointRequest, as type: T.Type,
26 | completion: @Sendable @escaping (Result<T, Error>) -> Void
:
42 | }
43 |
44 | logger?.trace("Making request to: '\(String(describing: urlRequest.url?.absoluteString))'")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
45 | task.resume()
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:44:41: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
22 | }
23 |
24 | func request<T: Decodable & Sendable>(
| `- note: add @available attribute to enclosing instance method
25 | _ request: EndpointRequest, as type: T.Type,
26 | completion: @Sendable @escaping (Result<T, Error>) -> Void
:
42 | }
43 |
44 | logger?.trace("Making request to: '\(String(describing: urlRequest.url?.absoluteString))'")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
45 | task.resume()
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:68:21: error: 'OSLogMessage' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
46 | }
47 |
48 | func handle<T: Decodable>(dataType: T.Type, data: Data?, response: URLResponse?, error: Error?)
| `- note: add @available attribute to enclosing instance method
49 | throws -> T
50 | {
:
66 | if (200..<300).contains(httpStatus) {
67 | let responseBody = String(data: content, encoding: .utf8)
68 | logger?.debug("\(responseBody ?? "Couldn't represent response body as string")")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
69 | return try decoder.decode(dataType, from: content)
70 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:68:23: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
46 | }
47 |
48 | func handle<T: Decodable>(dataType: T.Type, data: Data?, response: URLResponse?, error: Error?)
| `- note: add @available attribute to enclosing instance method
49 | throws -> T
50 | {
:
66 | if (200..<300).contains(httpStatus) {
67 | let responseBody = String(data: content, encoding: .utf8)
68 | logger?.debug("\(responseBody ?? "Couldn't represent response body as string")")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
69 | return try decoder.decode(dataType, from: content)
70 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:78:15: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
74 | }
75 |
76 | func request<T: Decodable>(_ request: EndpointRequest, as type: T.Type) async throws -> T
| `- note: add @available attribute to enclosing instance method
77 | where T: Sendable {
78 | try await withCheckedThrowingContinuation { continuation in
| |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | self.request(request, as: type) { result in
80 | continuation.resume(with: result)
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:80:22: error: 'resume(with:)' is only available in macOS 10.15 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
74 | }
75 |
76 | func request<T: Decodable>(_ request: EndpointRequest, as type: T.Type) async throws -> T
| `- note: add @available attribute to enclosing instance method
77 | where T: Sendable {
78 | try await withCheckedThrowingContinuation { continuation in
79 | self.request(request, as: type) { result in
80 | continuation.resume(with: result)
| |- error: 'resume(with:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | }
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:78:48: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:78:47: note: expanded code originates here
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
74 | }
75 |
76 | func request<T: Decodable>(_ request: EndpointRequest, as type: T.Type) async throws -> T
| `- note: add @available attribute to enclosing instance method
77 | where T: Sendable {
78 | try await withCheckedThrowingContinuation { continuation in
+--- /Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift
|76 |
|77 |
|78 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+---------------------------------------------------------------------------------------------------
79 | self.request(request, as: type) { result in
80 | continuation.resume(with: result)
[34/35] Compiling ScryfallKit SymbolRequests.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:18:15: error: 'Logger' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
| `- error: 'Logger' is only available in macOS 11.0 or newer
19 |
20 | init(logger: Logger?) {
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:20:16: error: 'Logger' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
20 | init(logger: Logger?) {
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing initializer
21 | self.logger = logger
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:29:21: error: 'OSLogMessage' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
22 | }
23 |
24 | func request<T: Decodable & Sendable>(
| `- note: add @available attribute to enclosing instance method
25 | _ request: EndpointRequest, as type: T.Type,
26 | completion: @Sendable @escaping (Result<T, Error>) -> Void
27 | ) {
28 | guard let urlRequest = request.urlRequest else {
29 | logger?.error("Invalid url request")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
30 | completion(.failure(ScryfallKitError.invalidUrl))
31 | return
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:34:19: error: 'OSLogMessage' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
22 | }
23 |
24 | func request<T: Decodable & Sendable>(
| `- note: add @available attribute to enclosing instance method
25 | _ request: EndpointRequest, as type: T.Type,
26 | completion: @Sendable @escaping (Result<T, Error>) -> Void
:
32 | }
33 |
34 | logger?.trace("Starting request: \(urlRequest.debugDescription)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
35 | let task = URLSession.shared.dataTask(with: urlRequest) { (data, response, error) in
36 | do {
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:34:39: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
22 | }
23 |
24 | func request<T: Decodable & Sendable>(
| `- note: add @available attribute to enclosing instance method
25 | _ request: EndpointRequest, as type: T.Type,
26 | completion: @Sendable @escaping (Result<T, Error>) -> Void
:
32 | }
33 |
34 | logger?.trace("Starting request: \(urlRequest.debugDescription)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
35 | let task = URLSession.shared.dataTask(with: urlRequest) { (data, response, error) in
36 | do {
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:44:19: error: 'OSLogMessage' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
22 | }
23 |
24 | func request<T: Decodable & Sendable>(
| `- note: add @available attribute to enclosing instance method
25 | _ request: EndpointRequest, as type: T.Type,
26 | completion: @Sendable @escaping (Result<T, Error>) -> Void
:
42 | }
43 |
44 | logger?.trace("Making request to: '\(String(describing: urlRequest.url?.absoluteString))'")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
45 | task.resume()
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:44:41: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
22 | }
23 |
24 | func request<T: Decodable & Sendable>(
| `- note: add @available attribute to enclosing instance method
25 | _ request: EndpointRequest, as type: T.Type,
26 | completion: @Sendable @escaping (Result<T, Error>) -> Void
:
42 | }
43 |
44 | logger?.trace("Making request to: '\(String(describing: urlRequest.url?.absoluteString))'")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
45 | task.resume()
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:68:21: error: 'OSLogMessage' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
46 | }
47 |
48 | func handle<T: Decodable>(dataType: T.Type, data: Data?, response: URLResponse?, error: Error?)
| `- note: add @available attribute to enclosing instance method
49 | throws -> T
50 | {
:
66 | if (200..<300).contains(httpStatus) {
67 | let responseBody = String(data: content, encoding: .utf8)
68 | logger?.debug("\(responseBody ?? "Couldn't represent response body as string")")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
69 | return try decoder.decode(dataType, from: content)
70 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:68:23: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
46 | }
47 |
48 | func handle<T: Decodable>(dataType: T.Type, data: Data?, response: URLResponse?, error: Error?)
| `- note: add @available attribute to enclosing instance method
49 | throws -> T
50 | {
:
66 | if (200..<300).contains(httpStatus) {
67 | let responseBody = String(data: content, encoding: .utf8)
68 | logger?.debug("\(responseBody ?? "Couldn't represent response body as string")")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
69 | return try decoder.decode(dataType, from: content)
70 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:78:15: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
74 | }
75 |
76 | func request<T: Decodable>(_ request: EndpointRequest, as type: T.Type) async throws -> T
| `- note: add @available attribute to enclosing instance method
77 | where T: Sendable {
78 | try await withCheckedThrowingContinuation { continuation in
| |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | self.request(request, as: type) { result in
80 | continuation.resume(with: result)
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:80:22: error: 'resume(with:)' is only available in macOS 10.15 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
74 | }
75 |
76 | func request<T: Decodable>(_ request: EndpointRequest, as type: T.Type) async throws -> T
| `- note: add @available attribute to enclosing instance method
77 | where T: Sendable {
78 | try await withCheckedThrowingContinuation { continuation in
79 | self.request(request, as: type) { result in
80 | continuation.resume(with: result)
| |- error: 'resume(with:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | }
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:78:48: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:78:47: note: expanded code originates here
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
74 | }
75 |
76 | func request<T: Decodable>(_ request: EndpointRequest, as type: T.Type) async throws -> T
| `- note: add @available attribute to enclosing instance method
77 | where T: Sendable {
78 | try await withCheckedThrowingContinuation { continuation in
+--- /Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift
|76 |
|77 |
|78 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+---------------------------------------------------------------------------------------------------
79 | self.request(request, as: type) { result in
80 | continuation.resume(with: result)
[35/35] Compiling ScryfallKit NetworkService.swift
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:18:15: error: 'Logger' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
| `- error: 'Logger' is only available in macOS 11.0 or newer
19 |
20 | init(logger: Logger?) {
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:20:16: error: 'Logger' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
20 | init(logger: Logger?) {
| | `- error: 'Logger' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing initializer
21 | self.logger = logger
22 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:29:21: error: 'OSLogMessage' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
22 | }
23 |
24 | func request<T: Decodable & Sendable>(
| `- note: add @available attribute to enclosing instance method
25 | _ request: EndpointRequest, as type: T.Type,
26 | completion: @Sendable @escaping (Result<T, Error>) -> Void
27 | ) {
28 | guard let urlRequest = request.urlRequest else {
29 | logger?.error("Invalid url request")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
30 | completion(.failure(ScryfallKitError.invalidUrl))
31 | return
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:34:19: error: 'OSLogMessage' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
22 | }
23 |
24 | func request<T: Decodable & Sendable>(
| `- note: add @available attribute to enclosing instance method
25 | _ request: EndpointRequest, as type: T.Type,
26 | completion: @Sendable @escaping (Result<T, Error>) -> Void
:
32 | }
33 |
34 | logger?.trace("Starting request: \(urlRequest.debugDescription)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
35 | let task = URLSession.shared.dataTask(with: urlRequest) { (data, response, error) in
36 | do {
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:34:39: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
22 | }
23 |
24 | func request<T: Decodable & Sendable>(
| `- note: add @available attribute to enclosing instance method
25 | _ request: EndpointRequest, as type: T.Type,
26 | completion: @Sendable @escaping (Result<T, Error>) -> Void
:
32 | }
33 |
34 | logger?.trace("Starting request: \(urlRequest.debugDescription)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
35 | let task = URLSession.shared.dataTask(with: urlRequest) { (data, response, error) in
36 | do {
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:44:19: error: 'OSLogMessage' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
22 | }
23 |
24 | func request<T: Decodable & Sendable>(
| `- note: add @available attribute to enclosing instance method
25 | _ request: EndpointRequest, as type: T.Type,
26 | completion: @Sendable @escaping (Result<T, Error>) -> Void
:
42 | }
43 |
44 | logger?.trace("Making request to: '\(String(describing: urlRequest.url?.absoluteString))'")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
45 | task.resume()
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:44:41: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
22 | }
23 |
24 | func request<T: Decodable & Sendable>(
| `- note: add @available attribute to enclosing instance method
25 | _ request: EndpointRequest, as type: T.Type,
26 | completion: @Sendable @escaping (Result<T, Error>) -> Void
:
42 | }
43 |
44 | logger?.trace("Making request to: '\(String(describing: urlRequest.url?.absoluteString))'")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
45 | task.resume()
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:68:21: error: 'OSLogMessage' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
46 | }
47 |
48 | func handle<T: Decodable>(dataType: T.Type, data: Data?, response: URLResponse?, error: Error?)
| `- note: add @available attribute to enclosing instance method
49 | throws -> T
50 | {
:
66 | if (200..<300).contains(httpStatus) {
67 | let responseBody = String(data: content, encoding: .utf8)
68 | logger?.debug("\(responseBody ?? "Couldn't represent response body as string")")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
69 | return try decoder.decode(dataType, from: content)
70 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:68:23: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
46 | }
47 |
48 | func handle<T: Decodable>(dataType: T.Type, data: Data?, response: URLResponse?, error: Error?)
| `- note: add @available attribute to enclosing instance method
49 | throws -> T
50 | {
:
66 | if (200..<300).contains(httpStatus) {
67 | let responseBody = String(data: content, encoding: .utf8)
68 | logger?.debug("\(responseBody ?? "Couldn't represent response body as string")")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
69 | return try decoder.decode(dataType, from: content)
70 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:78:15: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
74 | }
75 |
76 | func request<T: Decodable>(_ request: EndpointRequest, as type: T.Type) async throws -> T
| `- note: add @available attribute to enclosing instance method
77 | where T: Sendable {
78 | try await withCheckedThrowingContinuation { continuation in
| |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | self.request(request, as: type) { result in
80 | continuation.resume(with: result)
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:80:22: error: 'resume(with:)' is only available in macOS 10.15 or newer
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
74 | }
75 |
76 | func request<T: Decodable>(_ request: EndpointRequest, as type: T.Type) async throws -> T
| `- note: add @available attribute to enclosing instance method
77 | where T: Sendable {
78 | try await withCheckedThrowingContinuation { continuation in
79 | self.request(request, as: type) { result in
80 | continuation.resume(with: result)
| |- error: 'resume(with:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | }
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:78:48: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift:78:47: note: expanded code originates here
15 | }
16 |
17 | struct NetworkService: NetworkServiceProtocol, Sendable {
| `- note: add @available attribute to enclosing struct
18 | let logger: Logger?
19 |
:
74 | }
75 |
76 | func request<T: Decodable>(_ request: EndpointRequest, as type: T.Type) async throws -> T
| `- note: add @available attribute to enclosing instance method
77 | where T: Sendable {
78 | try await withCheckedThrowingContinuation { continuation in
+--- /Users/admin/builder/spi-builder-workspace/Sources/ScryfallKit/Networking/NetworkService.swift
|76 |
|77 |
|78 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+---------------------------------------------------------------------------------------------------
79 | self.request(request, as: type) { result in
80 | continuation.resume(with: result)
Fetching https://github.com/apple/swift-docc-plugin
[1/2158] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.16s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (3.07s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3639] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.59s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
BUILD FAILURE 6.0 macosSpm