The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ScryfallKit, reference main (f38c41), with Swift 6.1 for macOS (SPM) on 12 Jan 2026 23:35:47 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build 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.1
Building package at path:  $PWD
https://github.com/JacobHearst/ScryfallKit.git
https://github.com/JacobHearst/ScryfallKit.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "ScryfallKit",
  "name" : "ScryfallKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "ScryfallKit",
      "targets" : [
        "ScryfallKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ScryfallKitTests",
      "module_type" : "SwiftTarget",
      "name" : "ScryfallKitTests",
      "path" : "Tests/ScryfallKitTests",
      "sources" : [
        "CaseIterableTests.swift",
        "ComparableTests.swift",
        "SmokeTests.swift"
      ],
      "target_dependencies" : [
        "ScryfallKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ScryfallKit",
      "module_type" : "SwiftTarget",
      "name" : "ScryfallKit",
      "path" : "Sources/ScryfallKit",
      "product_memberships" : [
        "ScryfallKit"
      ],
      "sources" : [
        "Extensions/Card+helpers.swift",
        "Extensions/MTGSet+date.swift",
        "Models/Card/Card+Face.swift",
        "Models/Card/Card+ImageUris.swift",
        "Models/Card/Card+Legalities.swift",
        "Models/Card/Card+ManaCost.swift",
        "Models/Card/Card+Preview.swift",
        "Models/Card/Card+Prices.swift",
        "Models/Card/Card+RelatedCard.swift",
        "Models/Card/Card+Ruling.swift",
        "Models/Card/Card+Symbol.swift",
        "Models/Card/Card+enums.swift",
        "Models/Card/Card.swift",
        "Models/Catalog.swift",
        "Models/Enums.swift",
        "Models/FieldFilter.swift",
        "Models/MTGSet.swift",
        "Models/ObjectList.swift",
        "Models/ScryfallError.swift",
        "Models/UnknownDecodable.swift",
        "Networking/EndpointRequests/CardRequests.swift",
        "Networking/EndpointRequests/CatalogRequests.swift",
        "Networking/EndpointRequests/EndpointRequest.swift",
        "Networking/EndpointRequests/RulingsRequests.swift",
        "Networking/EndpointRequests/SetRequests.swift",
        "Networking/EndpointRequests/SymbolRequests.swift",
        "Networking/NetworkService.swift",
        "ScryfallClient+Async.swift",
        "ScryfallClient.swift",
        "ScryfallKitError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.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/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 FieldFilter.swift
[10/35] Compiling ScryfallKit MTGSet.swift
[11/35] Compiling ScryfallKit ObjectList.swift
[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 Card+helpers.swift
[16/35] Compiling ScryfallKit MTGSet+date.swift
[17/35] Compiling ScryfallKit Card+Face.swift
[18/35] Compiling ScryfallKit Card+ImageUris.swift
[19/35] Compiling ScryfallKit Card+Legalities.swift
[20/35] Compiling ScryfallKit Card+ManaCost.swift
[21/35] Compiling ScryfallKit Card.swift
[22/35] Compiling ScryfallKit Catalog.swift
[23/35] Compiling ScryfallKit Enums.swift
[24/35] Compiling ScryfallKit ScryfallError.swift
[25/35] Compiling ScryfallKit UnknownDecodable.swift
[26/35] Compiling ScryfallKit CardRequests.swift
[27/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)
[28/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)
[29/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)
[30/35] Compiling ScryfallKit Card+Ruling.swift
[31/35] Compiling ScryfallKit Card+Symbol.swift
[32/35] Compiling ScryfallKit Card+enums.swift
[33/35] Compiling ScryfallKit CatalogRequests.swift
[34/35] Compiling ScryfallKit EndpointRequest.swift
[35/35] Compiling ScryfallKit RulingsRequests.swift
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.25s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (4.48s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.88s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.55s)
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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/31] Emitting module ScryfallKit
/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 |   }
[5/34] 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 |   }
[6/34] 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 |   }
[7/34] 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 |   }
[8/34] Compiling ScryfallKit CatalogRequests.swift
[9/34] Compiling ScryfallKit EndpointRequest.swift
[10/34] Compiling ScryfallKit RulingsRequests.swift
[11/34] Compiling ScryfallKit ScryfallError.swift
[12/34] Compiling ScryfallKit UnknownDecodable.swift
[13/34] Compiling ScryfallKit CardRequests.swift
[14/34] Compiling ScryfallKit Card+helpers.swift
[15/34] Compiling ScryfallKit MTGSet+date.swift
[16/34] Compiling ScryfallKit Card+Face.swift
[17/34] 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)
[18/34] 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)
[19/34] 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)
[20/34] Compiling ScryfallKit Card+Preview.swift
[21/34] Compiling ScryfallKit Card+Prices.swift
[22/34] Compiling ScryfallKit Card+RelatedCard.swift
[23/34] Compiling ScryfallKit Card+ImageUris.swift
[24/34] Compiling ScryfallKit Card+Legalities.swift
[25/34] Compiling ScryfallKit Card+ManaCost.swift
[26/34] Compiling ScryfallKit FieldFilter.swift
[27/34] Compiling ScryfallKit MTGSet.swift
[28/34] Compiling ScryfallKit ObjectList.swift
[29/34] Compiling ScryfallKit Card+Ruling.swift
[30/34] Compiling ScryfallKit Card+Symbol.swift
[31/34] Compiling ScryfallKit Card+enums.swift
[32/34] Compiling ScryfallKit Card.swift
[33/34] Compiling ScryfallKit Catalog.swift
[34/34] Compiling ScryfallKit Enums.swift
BUILD FAILURE 6.1 macosSpm