The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build CombineURLSession, reference 1.1.8 (668f56), with Swift 6.0 for macOS (SPM) on 10 Oct 2024 11:15:26 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DanielMandea/url-session-combine.git
Reference: 1.1.8
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DanielMandea/url-session-combine
 * tag               1.1.8      -> FETCH_HEAD
HEAD is now at 668f560 Added support for mapping errors under http error code
Cloned https://github.com/DanielMandea/url-session-combine.git
Revision (git rev-parse @):
668f5607d07f6d568751c1149caf0137ed2c8a1f
SUCCESS checkout https://github.com/DanielMandea/url-session-combine.git at 1.1.8
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
Fetched https://github.com/Flight-School/AnyCodable from cache (0.88s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.2 (0.70s)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "url-session-combine",
      "name": "CombineURLSession",
      "url": "https://github.com/DanielMandea/url-session-combine.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/url-session-combine",
      "dependencies": [
        {
          "identity": "anycodable",
          "name": "AnyCodable",
          "url": "https://github.com/Flight-School/AnyCodable",
          "version": "0.6.7",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AnyCodable",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/DanielMandea/url-session-combine.git
[4/167] Fetching url-session-combine
Fetched https://github.com/DanielMandea/url-session-combine.git from cache (0.71s)
Fetching https://github.com/Flight-School/AnyCodable from cache
Fetched https://github.com/Flight-School/AnyCodable from cache (0.45s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.02s)
Creating working copy for https://github.com/DanielMandea/url-session-combine.git
Working copy of https://github.com/DanielMandea/url-session-combine.git resolved at 1.1.8 (668f560)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
warning: '.resolve-product-dependencies': dependency 'url-session-combine' is not used by any target
Found 1 product dependencies
  - AnyCodable
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/DanielMandea/url-session-combine.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--4A847ED0836F2485.txt
[4/7] Compiling AnyCodable AnyDecodable.swift
[5/7] Compiling AnyCodable AnyEncodable.swift
[6/7] Compiling AnyCodable AnyCodable.swift
[7/7] Emitting module AnyCodable
[8/22] Compiling CombineURLSession SessionHolder.swift
[9/22] Compiling CombineURLSession URLRequestExtension.swift
[10/22] Compiling CombineURLSession URLSessionExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:66: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    |                 |                                                `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 14 |         dataTaskPublisher(for: urlRequest)
 15 |             .receive(on: RunLoop.main)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:100: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 25 |
 26 |     @available(iOS 13.0, *)
 27 |     public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 |                                                                                  `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 28 |         dataTaskPublisher(for: urlRequest)
 29 |             .receive(on: RunLoop.main)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:86: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 38 |
 39 |     @available(iOS 13.0, *)
 40 |     public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 |                                                                    `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 41 |         dataTaskPublisher(for: url)
 42 |             .receive(on: RunLoop.main)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:101: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 51 |
 52 |     @available(iOS 14.0, *)
 53 |     public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
    |                 |                                                                                   `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 54 |         configuration.urlCache?.cachedResponse(for: urlRequest).publisher
 55 |             .receive(on: RunLoop.main)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:73:67: error: 'DataTaskPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 71 |
 72 |     @available(iOS 13.0, *)
 73 |     static func validate(decoder: JSONDecoder, output: URLSession.DataTaskPublisher.Output) throws -> Data {
    |                 |                                                 `- error: 'DataTaskPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing static method
 74 |         // Cheks http response
 75 |         guard let httpResponse = output.response as? HTTPURLResponse, httpResponse.statusCode < 300 else {
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:14:9: error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 14 |         dataTaskPublisher(for: urlRequest)
    |         |- error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 15 |             .receive(on: RunLoop.main)
 16 |             .tryMap() { element -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:15:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 14 |         dataTaskPublisher(for: urlRequest)
 15 |             .receive(on: RunLoop.main)
    |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 16 |             .tryMap() { element -> Bool in
 17 |                 guard let httpResponse = element.response as? HTTPURLResponse, httpResponse.statusCode < 300 else { throw URLError(.badServerResponse)}
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:16:14: error: 'tryMap' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 14 |         dataTaskPublisher(for: urlRequest)
 15 |             .receive(on: RunLoop.main)
 16 |             .tryMap() { element -> Bool in
    |              |- error: 'tryMap' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 17 |                 guard let httpResponse = element.response as? HTTPURLResponse, httpResponse.statusCode < 300 else { throw URLError(.badServerResponse)}
 18 |                 return true
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:20:14: error: 'mapError' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 14 |         dataTaskPublisher(for: urlRequest)
 15 |             .receive(on: RunLoop.main)
    :
 18 |                 return true
 19 |             }
 20 |             .mapError {
    |              |- error: 'mapError' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 21 |                 SessionError.generic(error: $0)
 22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:23:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 14 |         dataTaskPublisher(for: urlRequest)
 15 |             .receive(on: RunLoop.main)
    :
 21 |                 SessionError.generic(error: $0)
 22 |             }
 23 |             .eraseToAnyPublisher()
    |              |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 24 |     }
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:28:9: error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 25 |
 26 |     @available(iOS 13.0, *)
 27 |     public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 28 |         dataTaskPublisher(for: urlRequest)
    |         |- error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 29 |             .receive(on: RunLoop.main)
 30 |             .tryMap { output -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:29:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 25 |
 26 |     @available(iOS 13.0, *)
 27 |     public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 28 |         dataTaskPublisher(for: urlRequest)
 29 |             .receive(on: RunLoop.main)
    |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 30 |             .tryMap { output -> Data in
 31 |                 try URLSession.validate(decoder: decoder, output: output)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:30:14: error: 'tryMap' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 25 |
 26 |     @available(iOS 13.0, *)
 27 |     public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 28 |         dataTaskPublisher(for: urlRequest)
 29 |             .receive(on: RunLoop.main)
 30 |             .tryMap { output -> Data in
    |              |- error: 'tryMap' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 31 |                 try URLSession.validate(decoder: decoder, output: output)
 32 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:33:14: error: 'tryMap' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 25 |
 26 |     @available(iOS 13.0, *)
 27 |     public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 28 |         dataTaskPublisher(for: urlRequest)
 29 |             .receive(on: RunLoop.main)
    :
 31 |                 try URLSession.validate(decoder: decoder, output: output)
 32 |             }
 33 |             .tryMap {
    |              |- error: 'tryMap' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 34 |                 try URLSession.decode(decoder: decoder, data: $0)
 35 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:36:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 25 |
 26 |     @available(iOS 13.0, *)
 27 |     public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 28 |         dataTaskPublisher(for: urlRequest)
 29 |             .receive(on: RunLoop.main)
    :
 34 |                 try URLSession.decode(decoder: decoder, data: $0)
 35 |             }
 36 |             .eraseToAnyPublisher()
    |              |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 37 |     }
 38 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:41:9: error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 38 |
 39 |     @available(iOS 13.0, *)
 40 |     public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 41 |         dataTaskPublisher(for: url)
    |         |- error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 42 |             .receive(on: RunLoop.main)
 43 |             .tryMap { output -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:42:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 38 |
 39 |     @available(iOS 13.0, *)
 40 |     public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 41 |         dataTaskPublisher(for: url)
 42 |             .receive(on: RunLoop.main)
    |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 43 |             .tryMap { output -> Data in
 44 |                 try URLSession.validate(decoder: decoder, output: output)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:43:14: error: 'tryMap' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 38 |
 39 |     @available(iOS 13.0, *)
 40 |     public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 41 |         dataTaskPublisher(for: url)
 42 |             .receive(on: RunLoop.main)
 43 |             .tryMap { output -> Data in
    |              |- error: 'tryMap' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 44 |                 try URLSession.validate(decoder: decoder, output: output)
 45 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:46:14: error: 'tryMap' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 38 |
 39 |     @available(iOS 13.0, *)
 40 |     public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 41 |         dataTaskPublisher(for: url)
 42 |             .receive(on: RunLoop.main)
    :
 44 |                 try URLSession.validate(decoder: decoder, output: output)
 45 |             }
 46 |             .tryMap {
    |              |- error: 'tryMap' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 47 |                 try URLSession.decode(decoder: decoder, data: $0)
 48 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:49:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 38 |
 39 |     @available(iOS 13.0, *)
 40 |     public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 41 |         dataTaskPublisher(for: url)
 42 |             .receive(on: RunLoop.main)
    :
 47 |                 try URLSession.decode(decoder: decoder, data: $0)
 48 |             }
 49 |             .eraseToAnyPublisher()
    |              |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 50 |     }
 51 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:54:65: error: 'publisher' is only available in macOS 11.0 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 51 |
 52 |     @available(iOS 14.0, *)
 53 |     public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
    |                 `- note: add @available attribute to enclosing instance method
 54 |         configuration.urlCache?.cachedResponse(for: urlRequest).publisher
    |                                                                 |- error: 'publisher' is only available in macOS 11.0 or newer
    |                                                                 `- note: add 'if #available' version check
 55 |             .receive(on: RunLoop.main)
 56 |             .tryMap { element -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:55:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 51 |
 52 |     @available(iOS 14.0, *)
 53 |     public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
    |                 `- note: add @available attribute to enclosing instance method
 54 |         configuration.urlCache?.cachedResponse(for: urlRequest).publisher
 55 |             .receive(on: RunLoop.main)
    |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 56 |             .tryMap { element -> Data in
 57 |                 try URLSession.validate(element: element)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:56:14: error: 'tryMap' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 51 |
 52 |     @available(iOS 14.0, *)
 53 |     public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
    |                 `- note: add @available attribute to enclosing instance method
 54 |         configuration.urlCache?.cachedResponse(for: urlRequest).publisher
 55 |             .receive(on: RunLoop.main)
 56 |             .tryMap { element -> Data in
    |              |- error: 'tryMap' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 57 |                 try URLSession.validate(element: element)
 58 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:59:14: error: 'tryMap' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 51 |
 52 |     @available(iOS 14.0, *)
 53 |     public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
    |                 `- note: add @available attribute to enclosing instance method
 54 |         configuration.urlCache?.cachedResponse(for: urlRequest).publisher
 55 |             .receive(on: RunLoop.main)
    :
 57 |                 try URLSession.validate(element: element)
 58 |             }
 59 |             .tryMap {
    |              |- error: 'tryMap' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 60 |                 try URLSession.decode(decoder: decoder, data: $0)
 61 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:62:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 51 |
 52 |     @available(iOS 14.0, *)
 53 |     public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
    |                 `- note: add @available attribute to enclosing instance method
 54 |         configuration.urlCache?.cachedResponse(for: urlRequest).publisher
 55 |             .receive(on: RunLoop.main)
    :
 60 |                 try URLSession.decode(decoder: decoder, data: $0)
 61 |             }
 62 |             .eraseToAnyPublisher()
    |              |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 63 |     }
 64 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:13:93: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
   |          |                                                                                  `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
14 |
15 |     @available(iOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:16:135: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
14 |
15 |     @available(iOS 13.0, *)
16 |     func post<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
   |          |                                                                                                                            `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
17 |
18 |     @available(iOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:19:134: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
   :
17 |
18 |     @available(iOS 13.0, *)
19 |     func put<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
   |          |                                                                                                                           `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
20 |
21 |     @available(iOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:22:166: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
   :
20 |
21 |     @available(iOS 13.0, *)
22 |     func multipart<T: Codable, M: Codable>(to url: URL, body: M?, headers: [String: String], multiparts: [Multipart], encoder: JSONEncoder, decoder: JSONDecoder) -> AnyPublisher<T, Error>
   |          |                                                                                                                                                           `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
23 |
24 |     @available(iOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:25:61: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
   :
23 |
24 |     @available(iOS 13.0, *)
25 |     func delete(for url: URL, headers: [String: String]) -> AnyPublisher<Bool, Error>
   |          |                                                  `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
26 |
27 |     @available(iOS 14.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:28:118: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
   :
26 |
27 |     @available(iOS 14.0, *)
28 |     func getCachedData<T: Codable>(for url: URL, headers: [String: String], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error>
   |          |                                                                                                           `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
29 |
30 |     @available(iOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:31:80: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
   :
29 |
30 |     @available(iOS 13.0, *)
31 |     func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>
   |          |                                                                     `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
32 | }
33 |
[11/22] Compiling CombineURLSession RestService.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:66: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    |                 |                                                `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 14 |         dataTaskPublisher(for: urlRequest)
 15 |             .receive(on: RunLoop.main)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:100: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 25 |
 26 |     @available(iOS 13.0, *)
 27 |     public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 |                                                                                  `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 28 |         dataTaskPublisher(for: urlRequest)
 29 |             .receive(on: RunLoop.main)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:86: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 38 |
 39 |     @available(iOS 13.0, *)
 40 |     public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 |                                                                    `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 41 |         dataTaskPublisher(for: url)
 42 |             .receive(on: RunLoop.main)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:101: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 51 |
 52 |     @available(iOS 14.0, *)
 53 |     public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
    |                 |                                                                                   `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 54 |         configuration.urlCache?.cachedResponse(for: urlRequest).publisher
 55 |             .receive(on: RunLoop.main)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:73:67: error: 'DataTaskPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 71 |
 72 |     @available(iOS 13.0, *)
 73 |     static func validate(decoder: JSONDecoder, output: URLSession.DataTaskPublisher.Output) throws -> Data {
    |                 |                                                 `- error: 'DataTaskPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing static method
 74 |         // Cheks http response
 75 |         guard let httpResponse = output.response as? HTTPURLResponse, httpResponse.statusCode < 300 else {
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:14:9: error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 14 |         dataTaskPublisher(for: urlRequest)
    |         |- error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 15 |             .receive(on: RunLoop.main)
 16 |             .tryMap() { element -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:15:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 14 |         dataTaskPublisher(for: urlRequest)
 15 |             .receive(on: RunLoop.main)
    |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 16 |             .tryMap() { element -> Bool in
 17 |                 guard let httpResponse = element.response as? HTTPURLResponse, httpResponse.statusCode < 300 else { throw URLError(.badServerResponse)}
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:16:14: error: 'tryMap' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 14 |         dataTaskPublisher(for: urlRequest)
 15 |             .receive(on: RunLoop.main)
 16 |             .tryMap() { element -> Bool in
    |              |- error: 'tryMap' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 17 |                 guard let httpResponse = element.response as? HTTPURLResponse, httpResponse.statusCode < 300 else { throw URLError(.badServerResponse)}
 18 |                 return true
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:20:14: error: 'mapError' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 14 |         dataTaskPublisher(for: urlRequest)
 15 |             .receive(on: RunLoop.main)
    :
 18 |                 return true
 19 |             }
 20 |             .mapError {
    |              |- error: 'mapError' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 21 |                 SessionError.generic(error: $0)
 22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:23:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 14 |         dataTaskPublisher(for: urlRequest)
 15 |             .receive(on: RunLoop.main)
    :
 21 |                 SessionError.generic(error: $0)
 22 |             }
 23 |             .eraseToAnyPublisher()
    |              |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 24 |     }
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:28:9: error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 25 |
 26 |     @available(iOS 13.0, *)
 27 |     public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 28 |         dataTaskPublisher(for: urlRequest)
    |         |- error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 29 |             .receive(on: RunLoop.main)
 30 |             .tryMap { output -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:29:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 25 |
 26 |     @available(iOS 13.0, *)
 27 |     public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 28 |         dataTaskPublisher(for: urlRequest)
 29 |             .receive(on: RunLoop.main)
    |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 30 |             .tryMap { output -> Data in
 31 |                 try URLSession.validate(decoder: decoder, output: output)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:30:14: error: 'tryMap' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 25 |
 26 |     @available(iOS 13.0, *)
 27 |     public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 28 |         dataTaskPublisher(for: urlRequest)
 29 |             .receive(on: RunLoop.main)
 30 |             .tryMap { output -> Data in
    |              |- error: 'tryMap' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 31 |                 try URLSession.validate(decoder: decoder, output: output)
 32 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:33:14: error: 'tryMap' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 25 |
 26 |     @available(iOS 13.0, *)
 27 |     public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 28 |         dataTaskPublisher(for: urlRequest)
 29 |             .receive(on: RunLoop.main)
    :
 31 |                 try URLSession.validate(decoder: decoder, output: output)
 32 |             }
 33 |             .tryMap {
    |              |- error: 'tryMap' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 34 |                 try URLSession.decode(decoder: decoder, data: $0)
 35 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:36:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 25 |
 26 |     @available(iOS 13.0, *)
 27 |     public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 28 |         dataTaskPublisher(for: urlRequest)
 29 |             .receive(on: RunLoop.main)
    :
 34 |                 try URLSession.decode(decoder: decoder, data: $0)
 35 |             }
 36 |             .eraseToAnyPublisher()
    |              |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 37 |     }
 38 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:41:9: error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 38 |
 39 |     @available(iOS 13.0, *)
 40 |     public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 41 |         dataTaskPublisher(for: url)
    |         |- error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 42 |             .receive(on: RunLoop.main)
 43 |             .tryMap { output -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:42:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 38 |
 39 |     @available(iOS 13.0, *)
 40 |     public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 41 |         dataTaskPublisher(for: url)
 42 |             .receive(on: RunLoop.main)
    |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 43 |             .tryMap { output -> Data in
 44 |                 try URLSession.validate(decoder: decoder, output: output)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:43:14: error: 'tryMap' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 38 |
 39 |     @available(iOS 13.0, *)
 40 |     public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 41 |         dataTaskPublisher(for: url)
 42 |             .receive(on: RunLoop.main)
 43 |             .tryMap { output -> Data in
    |              |- error: 'tryMap' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 44 |                 try URLSession.validate(decoder: decoder, output: output)
 45 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:46:14: error: 'tryMap' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 38 |
 39 |     @available(iOS 13.0, *)
 40 |     public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 41 |         dataTaskPublisher(for: url)
 42 |             .receive(on: RunLoop.main)
    :
 44 |                 try URLSession.validate(decoder: decoder, output: output)
 45 |             }
 46 |             .tryMap {
    |              |- error: 'tryMap' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 47 |                 try URLSession.decode(decoder: decoder, data: $0)
 48 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:49:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 38 |
 39 |     @available(iOS 13.0, *)
 40 |     public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 `- note: add @available attribute to enclosing instance method
 41 |         dataTaskPublisher(for: url)
 42 |             .receive(on: RunLoop.main)
    :
 47 |                 try URLSession.decode(decoder: decoder, data: $0)
 48 |             }
 49 |             .eraseToAnyPublisher()
    |              |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 50 |     }
 51 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:54:65: error: 'publisher' is only available in macOS 11.0 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 51 |
 52 |     @available(iOS 14.0, *)
 53 |     public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
    |                 `- note: add @available attribute to enclosing instance method
 54 |         configuration.urlCache?.cachedResponse(for: urlRequest).publisher
    |                                                                 |- error: 'publisher' is only available in macOS 11.0 or newer
    |                                                                 `- note: add 'if #available' version check
 55 |             .receive(on: RunLoop.main)
 56 |             .tryMap { element -> Data in
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:55:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 51 |
 52 |     @available(iOS 14.0, *)
 53 |     public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
    |                 `- note: add @available attribute to enclosing instance method
 54 |         configuration.urlCache?.cachedResponse(for: urlRequest).publisher
 55 |             .receive(on: RunLoop.main)
    |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 56 |             .tryMap { element -> Data in
 57 |                 try URLSession.validate(element: element)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:56:14: error: 'tryMap' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 51 |
 52 |     @available(iOS 14.0, *)
 53 |     public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
    |                 `- note: add @available attribute to enclosing instance method
 54 |         configuration.urlCache?.cachedResponse(for: urlRequest).publisher
 55 |             .receive(on: RunLoop.main)
 56 |             .tryMap { element -> Data in
    |              |- error: 'tryMap' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 57 |                 try URLSession.validate(element: element)
 58 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:59:14: error: 'tryMap' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 51 |
 52 |     @available(iOS 14.0, *)
 53 |     public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
    |                 `- note: add @available attribute to enclosing instance method
 54 |         configuration.urlCache?.cachedResponse(for: urlRequest).publisher
 55 |             .receive(on: RunLoop.main)
    :
 57 |                 try URLSession.validate(element: element)
 58 |             }
 59 |             .tryMap {
    |              |- error: 'tryMap' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 60 |                 try URLSession.decode(decoder: decoder, data: $0)
 61 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:62:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 51 |
 52 |     @available(iOS 14.0, *)
 53 |     public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
    |                 `- note: add @available attribute to enclosing instance method
 54 |         configuration.urlCache?.cachedResponse(for: urlRequest).publisher
 55 |             .receive(on: RunLoop.main)
    :
 60 |                 try URLSession.decode(decoder: decoder, data: $0)
 61 |             }
 62 |             .eraseToAnyPublisher()
    |              |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 63 |     }
 64 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:13:93: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
   |          |                                                                                  `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
14 |
15 |     @available(iOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:16:135: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
14 |
15 |     @available(iOS 13.0, *)
16 |     func post<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
   |          |                                                                                                                            `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
17 |
18 |     @available(iOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:19:134: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
   :
17 |
18 |     @available(iOS 13.0, *)
19 |     func put<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
   |          |                                                                                                                           `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
20 |
21 |     @available(iOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:22:166: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
   :
20 |
21 |     @available(iOS 13.0, *)
22 |     func multipart<T: Codable, M: Codable>(to url: URL, body: M?, headers: [String: String], multiparts: [Multipart], encoder: JSONEncoder, decoder: JSONDecoder) -> AnyPublisher<T, Error>
   |          |                                                                                                                                                           `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
23 |
24 |     @available(iOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:25:61: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
   :
23 |
24 |     @available(iOS 13.0, *)
25 |     func delete(for url: URL, headers: [String: String]) -> AnyPublisher<Bool, Error>
   |          |                                                  `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
26 |
27 |     @available(iOS 14.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:28:118: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
   :
26 |
27 |     @available(iOS 14.0, *)
28 |     func getCachedData<T: Codable>(for url: URL, headers: [String: String], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error>
   |          |                                                                                                           `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
29 |
30 |     @available(iOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:31:80: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
   :
29 |
30 |     @available(iOS 13.0, *)
31 |     func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>
   |          |                                                                     `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
32 | }
33 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/23] Compiling CombineURLSession CodableToDictionary.swift
[13/23] Compiling CombineURLSession DataToStringExtension.swift
[14/23] Compiling CombineURLSession SessionError.swift
[15/23] Compiling CombineURLSession TextError.swift
[16/23] Emitting module CombineURLSession
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:13:138: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   |                 |                                                                                                                        `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
14 |         session.dataTaskPublisher(for: URLRequest.empty(for: url, method: .GET, headers: headers), decoder: decoder)
15 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:18:180: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
16 |
17 |     @available(iOS 13.0, *)
18 |     public func post<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error> {
   |                 |                                                                                                                                                                  `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
19 |         session.dataTaskPublisher(for: URLRequest.request(for:url, method: .POST, headers: headers, httpBody: body, encoder: encoder), decoder: decoder)
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:23:179: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
21 |
22 |     @available(iOS 13.0, *)
23 |     public func put<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error> {
   |                 |                                                                                                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
24 |         session.dataTaskPublisher(for: URLRequest.request(for:url, method: .PUT, headers: headers, httpBody: body, encoder: encoder), decoder: decoder)
25 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:28:185: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
26 |
27 |     @available(iOS 13.0, *)
28 |     public func multipart<T: Codable, M: Codable>(to url: URL, body: M? = nil, headers: [String: String] = [:], multiparts: [Multipart], encoder: JSONEncoder, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   |                 |                                                                                                                                                                       `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
29 |         task(for: URLRequest.multipart(for: url, payload: body, multiparts: multiparts, encoder: encoder, decoder: decoder), decoder: decoder)
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:33:106: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
31 |
32 |     @available(iOS 13.0, *)
33 |     public func delete(for url: URL, headers: [String: String] = ["Content-Type":"application/json"]) -> AnyPublisher<Bool, Error> {
   |                 |                                                                                        `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
34 |         session.boolTaskPublisher(for: URLRequest.empty(for: url, method: .DELETE, headers: headers))
35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:38:163: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
36 |
37 |     @available(iOS 14.0, *)
38 |     public func getCachedData<T: Codable>(for url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error> {
   |                 |                                                                                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
39 |         session.dataCachePublisher(for: URLRequest.empty(for: url, method: .GET, headers: headers), decoder: decoder) ?? session.dataTaskPublisher(for: URLRequest.empty(for: url, method: .GET, headers: headers), decoder: decoder)
40 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:43:87: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
41 |
42 |     @available(iOS 13.0, *)
43 |     public func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>  {
   |                 |                                                                     `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
44 |         session.dataTaskPublisher(for: urlRequest, decoder: decoder)
45 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:48:53: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
46 |
47 |     @available(iOS 13.0, *)
48 |     public func bool(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error>  {
   |                 |                                   `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
49 |         session.boolTaskPublisher(for: urlRequest)
50 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:66: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    |                 |                                                `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 14 |         dataTaskPublisher(for: urlRequest)
 15 |             .receive(on: RunLoop.main)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:100: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 25 |
 26 |     @available(iOS 13.0, *)
 27 |     public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 |                                                                                  `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 28 |         dataTaskPublisher(for: urlRequest)
 29 |             .receive(on: RunLoop.main)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:86: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 38 |
 39 |     @available(iOS 13.0, *)
 40 |     public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
    |                 |                                                                    `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 41 |         dataTaskPublisher(for: url)
 42 |             .receive(on: RunLoop.main)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:101: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 51 |
 52 |     @available(iOS 14.0, *)
 53 |     public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
    |                 |                                                                                   `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 54 |         configuration.urlCache?.cachedResponse(for: urlRequest).publisher
 55 |             .receive(on: RunLoop.main)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:73:67: error: 'DataTaskPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | extension URLSession {
    | `- note: add @available attribute to enclosing extension
 12 |     @available(iOS 13.0, *)
 13 |     public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
    :
 71 |
 72 |     @available(iOS 13.0, *)
 73 |     static func validate(decoder: JSONDecoder, output: URLSession.DataTaskPublisher.Output) throws -> Data {
    |                 |                                                 `- error: 'DataTaskPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing static method
 74 |         // Cheks http response
 75 |         guard let httpResponse = output.response as? HTTPURLResponse, httpResponse.statusCode < 300 else {
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:13:93: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
   |          |                                                                                  `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
14 |
15 |     @available(iOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:16:135: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
14 |
15 |     @available(iOS 13.0, *)
16 |     func post<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
   |          |                                                                                                                            `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
17 |
18 |     @available(iOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:19:134: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
   :
17 |
18 |     @available(iOS 13.0, *)
19 |     func put<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
   |          |                                                                                                                           `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
20 |
21 |     @available(iOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:22:166: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
   :
20 |
21 |     @available(iOS 13.0, *)
22 |     func multipart<T: Codable, M: Codable>(to url: URL, body: M?, headers: [String: String], multiparts: [Multipart], encoder: JSONEncoder, decoder: JSONDecoder) -> AnyPublisher<T, Error>
   |          |                                                                                                                                                           `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
23 |
24 |     @available(iOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:25:61: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
   :
23 |
24 |     @available(iOS 13.0, *)
25 |     func delete(for url: URL, headers: [String: String]) -> AnyPublisher<Bool, Error>
   |          |                                                  `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
26 |
27 |     @available(iOS 14.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:28:118: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
   :
26 |
27 |     @available(iOS 14.0, *)
28 |     func getCachedData<T: Codable>(for url: URL, headers: [String: String], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error>
   |          |                                                                                                           `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
29 |
30 |     @available(iOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:31:80: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public protocol RestService {
   |                 `- note: add @available attribute to enclosing protocol
12 |     @available(iOS 13.0, *)
13 |     func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
   :
29 |
30 |     @available(iOS 13.0, *)
31 |     func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>
   |          |                                                                     `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
32 | }
33 |
[17/23] Compiling CombineURLSession BaseRestService.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:13:138: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   |                 |                                                                                                                        `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
14 |         session.dataTaskPublisher(for: URLRequest.empty(for: url, method: .GET, headers: headers), decoder: decoder)
15 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:18:180: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
16 |
17 |     @available(iOS 13.0, *)
18 |     public func post<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error> {
   |                 |                                                                                                                                                                  `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
19 |         session.dataTaskPublisher(for: URLRequest.request(for:url, method: .POST, headers: headers, httpBody: body, encoder: encoder), decoder: decoder)
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:23:179: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
21 |
22 |     @available(iOS 13.0, *)
23 |     public func put<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error> {
   |                 |                                                                                                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
24 |         session.dataTaskPublisher(for: URLRequest.request(for:url, method: .PUT, headers: headers, httpBody: body, encoder: encoder), decoder: decoder)
25 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:28:185: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
26 |
27 |     @available(iOS 13.0, *)
28 |     public func multipart<T: Codable, M: Codable>(to url: URL, body: M? = nil, headers: [String: String] = [:], multiparts: [Multipart], encoder: JSONEncoder, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   |                 |                                                                                                                                                                       `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
29 |         task(for: URLRequest.multipart(for: url, payload: body, multiparts: multiparts, encoder: encoder, decoder: decoder), decoder: decoder)
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:33:106: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
31 |
32 |     @available(iOS 13.0, *)
33 |     public func delete(for url: URL, headers: [String: String] = ["Content-Type":"application/json"]) -> AnyPublisher<Bool, Error> {
   |                 |                                                                                        `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
34 |         session.boolTaskPublisher(for: URLRequest.empty(for: url, method: .DELETE, headers: headers))
35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:38:163: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
36 |
37 |     @available(iOS 14.0, *)
38 |     public func getCachedData<T: Codable>(for url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error> {
   |                 |                                                                                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
39 |         session.dataCachePublisher(for: URLRequest.empty(for: url, method: .GET, headers: headers), decoder: decoder) ?? session.dataTaskPublisher(for: URLRequest.empty(for: url, method: .GET, headers: headers), decoder: decoder)
40 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:43:87: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
41 |
42 |     @available(iOS 13.0, *)
43 |     public func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>  {
   |                 |                                                                     `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
44 |         session.dataTaskPublisher(for: urlRequest, decoder: decoder)
45 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:48:53: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
46 |
47 |     @available(iOS 13.0, *)
48 |     public func bool(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error>  {
   |                 |                                   `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
49 |         session.boolTaskPublisher(for: urlRequest)
50 |     }
[18/23] Compiling CombineURLSession RestServiceExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:13:138: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   |                 |                                                                                                                        `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
14 |         session.dataTaskPublisher(for: URLRequest.empty(for: url, method: .GET, headers: headers), decoder: decoder)
15 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:18:180: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
16 |
17 |     @available(iOS 13.0, *)
18 |     public func post<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error> {
   |                 |                                                                                                                                                                  `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
19 |         session.dataTaskPublisher(for: URLRequest.request(for:url, method: .POST, headers: headers, httpBody: body, encoder: encoder), decoder: decoder)
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:23:179: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
21 |
22 |     @available(iOS 13.0, *)
23 |     public func put<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error> {
   |                 |                                                                                                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
24 |         session.dataTaskPublisher(for: URLRequest.request(for:url, method: .PUT, headers: headers, httpBody: body, encoder: encoder), decoder: decoder)
25 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:28:185: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
26 |
27 |     @available(iOS 13.0, *)
28 |     public func multipart<T: Codable, M: Codable>(to url: URL, body: M? = nil, headers: [String: String] = [:], multiparts: [Multipart], encoder: JSONEncoder, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   |                 |                                                                                                                                                                       `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
29 |         task(for: URLRequest.multipart(for: url, payload: body, multiparts: multiparts, encoder: encoder, decoder: decoder), decoder: decoder)
30 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:33:106: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
31 |
32 |     @available(iOS 13.0, *)
33 |     public func delete(for url: URL, headers: [String: String] = ["Content-Type":"application/json"]) -> AnyPublisher<Bool, Error> {
   |                 |                                                                                        `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
34 |         session.boolTaskPublisher(for: URLRequest.empty(for: url, method: .DELETE, headers: headers))
35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:38:163: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
36 |
37 |     @available(iOS 14.0, *)
38 |     public func getCachedData<T: Codable>(for url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error> {
   |                 |                                                                                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
39 |         session.dataCachePublisher(for: URLRequest.empty(for: url, method: .GET, headers: headers), decoder: decoder) ?? session.dataTaskPublisher(for: URLRequest.empty(for: url, method: .GET, headers: headers), decoder: decoder)
40 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:43:87: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
41 |
42 |     @available(iOS 13.0, *)
43 |     public func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>  {
   |                 |                                                                     `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
44 |         session.dataTaskPublisher(for: urlRequest, decoder: decoder)
45 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:48:53: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | extension RestService where Self: SessionHolder {
   | `- note: add @available attribute to enclosing extension
12 |     @available(iOS 13.0, *)
13 |     public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
   :
46 |
47 |     @available(iOS 13.0, *)
48 |     public func bool(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error>  {
   |                 |                                   `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
49 |         session.boolTaskPublisher(for: urlRequest)
50 |     }
[19/23] Compiling CombineURLSession MimeType.swift
[20/23] Compiling CombineURLSession Multipart.swift
[21/23] Compiling CombineURLSession HTTPMethod.swift
[22/23] Compiling CombineURLSession MultipartFormData.swift
[23/23] Compiling CombineURLSession MultipartURLRequest.swift
BUILD FAILURE 6.0 macosSpm