Build Information
Failed to build CombineURLSession with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DanielMandea/url-session-combine.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/DanielMandea/url-session-combine
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/DanielMandea/url-session-combine.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--423B1241ED78D482.txt
[4/7] Compiling AnyCodable AnyDecodable.swift
[5/7] Emitting module AnyCodable
[6/7] Compiling AnyCodable AnyEncodable.swift
[7/7] Compiling AnyCodable AnyCodable.swift
[8/22] Compiling CombineURLSession URLSessionExtension.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:66: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:100: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:86: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:101: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:73:67: error: 'DataTaskPublisher' is only available in macOS 10.15 or newer
static func validate(decoder: JSONDecoder, output: URLSession.DataTaskPublisher.Output) throws -> Data {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:73:17: note: add @available attribute to enclosing static method
static func validate(decoder: JSONDecoder, output: URLSession.DataTaskPublisher.Output) throws -> Data {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:14:9: error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
dataTaskPublisher(for: urlRequest)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:14:9: note: add 'if #available' version check
dataTaskPublisher(for: urlRequest)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:15:14: note: add 'if #available' version check
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:16:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap() { element -> Bool in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:16:14: note: add 'if #available' version check
.tryMap() { element -> Bool in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:20:14: error: 'mapError' is only available in macOS 10.15 or newer
.mapError {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:20:14: note: add 'if #available' version check
.mapError {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:23:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:23:14: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:28:9: error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
dataTaskPublisher(for: urlRequest)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:28:9: note: add 'if #available' version check
dataTaskPublisher(for: urlRequest)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:29:14: note: add 'if #available' version check
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:30:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap { output -> Data in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:30:14: note: add 'if #available' version check
.tryMap { output -> Data in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:33:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:33:14: note: add 'if #available' version check
.tryMap {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:36:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:36:14: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:41:9: error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
dataTaskPublisher(for: url)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:41:9: note: add 'if #available' version check
dataTaskPublisher(for: url)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:42:14: note: add 'if #available' version check
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:43:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap { output -> Data in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:43:14: note: add 'if #available' version check
.tryMap { output -> Data in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:46:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:46:14: note: add 'if #available' version check
.tryMap {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:49:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:49:14: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:54:65: error: 'publisher' is only available in macOS 11.0 or newer
configuration.urlCache?.cachedResponse(for: urlRequest).publisher
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:54:65: note: add 'if #available' version check
configuration.urlCache?.cachedResponse(for: urlRequest).publisher
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:55:14: note: add 'if #available' version check
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:56:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap { element -> Data in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:56:14: note: add 'if #available' version check
.tryMap { element -> Data in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:59:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:59:14: note: add 'if #available' version check
.tryMap {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:62:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:62:14: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:13:93: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:13:10: note: add @available attribute to enclosing instance method
func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:16:135: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func post<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:16:10: note: add @available attribute to enclosing instance method
func post<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:19:134: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func put<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:19:10: note: add @available attribute to enclosing instance method
func put<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:22:166: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func multipart<T: Codable, M: Codable>(to url: URL, body: M?, headers: [String: String], multiparts: [Multipart], encoder: JSONEncoder, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:22:10: note: add @available attribute to enclosing instance method
func multipart<T: Codable, M: Codable>(to url: URL, body: M?, headers: [String: String], multiparts: [Multipart], encoder: JSONEncoder, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:25:61: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func delete(for url: URL, headers: [String: String]) -> AnyPublisher<Bool, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:25:10: note: add @available attribute to enclosing instance method
func delete(for url: URL, headers: [String: String]) -> AnyPublisher<Bool, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:28:118: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func getCachedData<T: Codable>(for url: URL, headers: [String: String], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:28:10: note: add @available attribute to enclosing instance method
func getCachedData<T: Codable>(for url: URL, headers: [String: String], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:31:80: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:31:10: note: add @available attribute to enclosing instance method
func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
[9/22] Compiling CombineURLSession RestService.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:66: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:100: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:86: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:101: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:73:67: error: 'DataTaskPublisher' is only available in macOS 10.15 or newer
static func validate(decoder: JSONDecoder, output: URLSession.DataTaskPublisher.Output) throws -> Data {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:73:17: note: add @available attribute to enclosing static method
static func validate(decoder: JSONDecoder, output: URLSession.DataTaskPublisher.Output) throws -> Data {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:14:9: error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
dataTaskPublisher(for: urlRequest)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:14:9: note: add 'if #available' version check
dataTaskPublisher(for: urlRequest)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:15:14: note: add 'if #available' version check
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:16:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap() { element -> Bool in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:16:14: note: add 'if #available' version check
.tryMap() { element -> Bool in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:20:14: error: 'mapError' is only available in macOS 10.15 or newer
.mapError {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:20:14: note: add 'if #available' version check
.mapError {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:23:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:23:14: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:28:9: error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
dataTaskPublisher(for: urlRequest)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:28:9: note: add 'if #available' version check
dataTaskPublisher(for: urlRequest)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:29:14: note: add 'if #available' version check
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:30:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap { output -> Data in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:30:14: note: add 'if #available' version check
.tryMap { output -> Data in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:33:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:33:14: note: add 'if #available' version check
.tryMap {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:36:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:36:14: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:41:9: error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
dataTaskPublisher(for: url)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:41:9: note: add 'if #available' version check
dataTaskPublisher(for: url)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:42:14: note: add 'if #available' version check
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:43:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap { output -> Data in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:43:14: note: add 'if #available' version check
.tryMap { output -> Data in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:46:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:46:14: note: add 'if #available' version check
.tryMap {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:49:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:49:14: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:54:65: error: 'publisher' is only available in macOS 11.0 or newer
configuration.urlCache?.cachedResponse(for: urlRequest).publisher
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:54:65: note: add 'if #available' version check
configuration.urlCache?.cachedResponse(for: urlRequest).publisher
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:55:14: note: add 'if #available' version check
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:56:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap { element -> Data in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:56:14: note: add 'if #available' version check
.tryMap { element -> Data in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:59:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:59:14: note: add 'if #available' version check
.tryMap {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:62:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:62:14: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:13:93: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:13:10: note: add @available attribute to enclosing instance method
func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:16:135: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func post<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:16:10: note: add @available attribute to enclosing instance method
func post<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:19:134: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func put<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:19:10: note: add @available attribute to enclosing instance method
func put<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:22:166: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func multipart<T: Codable, M: Codable>(to url: URL, body: M?, headers: [String: String], multiparts: [Multipart], encoder: JSONEncoder, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:22:10: note: add @available attribute to enclosing instance method
func multipart<T: Codable, M: Codable>(to url: URL, body: M?, headers: [String: String], multiparts: [Multipart], encoder: JSONEncoder, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:25:61: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func delete(for url: URL, headers: [String: String]) -> AnyPublisher<Bool, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:25:10: note: add @available attribute to enclosing instance method
func delete(for url: URL, headers: [String: String]) -> AnyPublisher<Bool, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:28:118: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func getCachedData<T: Codable>(for url: URL, headers: [String: String], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:28:10: note: add @available attribute to enclosing instance method
func getCachedData<T: Codable>(for url: URL, headers: [String: String], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:31:80: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:31:10: note: add @available attribute to enclosing instance method
func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/23] Emitting module CombineURLSession
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:13:138: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:18:180: error: 'AnyPublisher' is only available in macOS 10.15 or newer
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:18:17: note: add @available attribute to enclosing instance method
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:23:179: error: 'AnyPublisher' is only available in macOS 10.15 or newer
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:23:17: note: add @available attribute to enclosing instance method
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:28:185: error: 'AnyPublisher' is only available in macOS 10.15 or newer
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:28:17: note: add @available attribute to enclosing instance method
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:33:106: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func delete(for url: URL, headers: [String: String] = ["Content-Type":"application/json"]) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:33:17: note: add @available attribute to enclosing instance method
public func delete(for url: URL, headers: [String: String] = ["Content-Type":"application/json"]) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:38:163: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func getCachedData<T: Codable>(for url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:38:17: note: add @available attribute to enclosing instance method
public func getCachedData<T: Codable>(for url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:43:87: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:43:17: note: add @available attribute to enclosing instance method
public func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:48:53: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func bool(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:48:17: note: add @available attribute to enclosing instance method
public func bool(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:66: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:100: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:86: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:101: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:73:67: error: 'DataTaskPublisher' is only available in macOS 10.15 or newer
static func validate(decoder: JSONDecoder, output: URLSession.DataTaskPublisher.Output) throws -> Data {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:73:17: note: add @available attribute to enclosing static method
static func validate(decoder: JSONDecoder, output: URLSession.DataTaskPublisher.Output) throws -> Data {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:13:93: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:13:10: note: add @available attribute to enclosing instance method
func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:16:135: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func post<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:16:10: note: add @available attribute to enclosing instance method
func post<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:19:134: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func put<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:19:10: note: add @available attribute to enclosing instance method
func put<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:22:166: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func multipart<T: Codable, M: Codable>(to url: URL, body: M?, headers: [String: String], multiparts: [Multipart], encoder: JSONEncoder, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:22:10: note: add @available attribute to enclosing instance method
func multipart<T: Codable, M: Codable>(to url: URL, body: M?, headers: [String: String], multiparts: [Multipart], encoder: JSONEncoder, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:25:61: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func delete(for url: URL, headers: [String: String]) -> AnyPublisher<Bool, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:25:10: note: add @available attribute to enclosing instance method
func delete(for url: URL, headers: [String: String]) -> AnyPublisher<Bool, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:28:118: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func getCachedData<T: Codable>(for url: URL, headers: [String: String], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:28:10: note: add @available attribute to enclosing instance method
func getCachedData<T: Codable>(for url: URL, headers: [String: String], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:31:80: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:31:10: note: add @available attribute to enclosing instance method
func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
[11/23] Compiling CombineURLSession HTTPMethod.swift
[12/23] Compiling CombineURLSession MimeType.swift
[13/23] Compiling CombineURLSession CodableToDictionary.swift
[14/23] Compiling CombineURLSession DataToStringExtension.swift
[15/23] Compiling CombineURLSession SessionHolder.swift
[16/23] Compiling CombineURLSession URLRequestExtension.swift
[17/23] Compiling CombineURLSession Multipart.swift
[18/23] Compiling CombineURLSession MultipartFormData.swift
[19/23] Compiling CombineURLSession SessionError.swift
[20/23] Compiling CombineURLSession TextError.swift
[21/23] Compiling CombineURLSession BaseRestService.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:13:138: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:18:180: error: 'AnyPublisher' is only available in macOS 10.15 or newer
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:18:17: note: add @available attribute to enclosing instance method
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:23:179: error: 'AnyPublisher' is only available in macOS 10.15 or newer
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:23:17: note: add @available attribute to enclosing instance method
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:28:185: error: 'AnyPublisher' is only available in macOS 10.15 or newer
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:28:17: note: add @available attribute to enclosing instance method
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:33:106: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func delete(for url: URL, headers: [String: String] = ["Content-Type":"application/json"]) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:33:17: note: add @available attribute to enclosing instance method
public func delete(for url: URL, headers: [String: String] = ["Content-Type":"application/json"]) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:38:163: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func getCachedData<T: Codable>(for url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:38:17: note: add @available attribute to enclosing instance method
public func getCachedData<T: Codable>(for url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:43:87: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:43:17: note: add @available attribute to enclosing instance method
public func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:48:53: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func bool(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:48:17: note: add @available attribute to enclosing instance method
public func bool(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
[22/23] Compiling CombineURLSession RestServiceExtension.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:13:138: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:18:180: error: 'AnyPublisher' is only available in macOS 10.15 or newer
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:18:17: note: add @available attribute to enclosing instance method
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:23:179: error: 'AnyPublisher' is only available in macOS 10.15 or newer
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:23:17: note: add @available attribute to enclosing instance method
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:28:185: error: 'AnyPublisher' is only available in macOS 10.15 or newer
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:28:17: note: add @available attribute to enclosing instance method
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:33:106: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func delete(for url: URL, headers: [String: String] = ["Content-Type":"application/json"]) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:33:17: note: add @available attribute to enclosing instance method
public func delete(for url: URL, headers: [String: String] = ["Content-Type":"application/json"]) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:38:163: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func getCachedData<T: Codable>(for url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:38:17: note: add @available attribute to enclosing instance method
public func getCachedData<T: Codable>(for url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:43:87: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:43:17: note: add @available attribute to enclosing instance method
public func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:48:53: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func bool(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:48:17: note: add @available attribute to enclosing instance method
public func bool(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
[23/23] Compiling CombineURLSession MultipartURLRequest.swift
error: fatalError
Fetching https://github.com/Flight-School/AnyCodable from cache
Fetched https://github.com/Flight-School/AnyCodable from cache (0.18s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.2 (0.03s)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.2
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/6] Compiling CombineURLSession BaseRestService.swift
[3/6] Emitting module CombineURLSession
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:13:138: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:18:180: error: 'AnyPublisher' is only available in macOS 10.15 or newer
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:18:17: note: add @available attribute to enclosing instance method
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:23:179: error: 'AnyPublisher' is only available in macOS 10.15 or newer
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:23:17: note: add @available attribute to enclosing instance method
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:28:185: error: 'AnyPublisher' is only available in macOS 10.15 or newer
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:28:17: note: add @available attribute to enclosing instance method
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:33:106: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func delete(for url: URL, headers: [String: String] = ["Content-Type":"application/json"]) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:33:17: note: add @available attribute to enclosing instance method
public func delete(for url: URL, headers: [String: String] = ["Content-Type":"application/json"]) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:38:163: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func getCachedData<T: Codable>(for url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:38:17: note: add @available attribute to enclosing instance method
public func getCachedData<T: Codable>(for url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:43:87: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:43:17: note: add @available attribute to enclosing instance method
public func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:48:53: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func bool(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:48:17: note: add @available attribute to enclosing instance method
public func bool(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:66: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:100: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:86: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:101: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:73:67: error: 'DataTaskPublisher' is only available in macOS 10.15 or newer
static func validate(decoder: JSONDecoder, output: URLSession.DataTaskPublisher.Output) throws -> Data {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:73:17: note: add @available attribute to enclosing static method
static func validate(decoder: JSONDecoder, output: URLSession.DataTaskPublisher.Output) throws -> Data {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:13:93: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:13:10: note: add @available attribute to enclosing instance method
func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:16:135: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func post<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:16:10: note: add @available attribute to enclosing instance method
func post<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:19:134: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func put<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:19:10: note: add @available attribute to enclosing instance method
func put<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:22:166: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func multipart<T: Codable, M: Codable>(to url: URL, body: M?, headers: [String: String], multiparts: [Multipart], encoder: JSONEncoder, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:22:10: note: add @available attribute to enclosing instance method
func multipart<T: Codable, M: Codable>(to url: URL, body: M?, headers: [String: String], multiparts: [Multipart], encoder: JSONEncoder, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:25:61: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func delete(for url: URL, headers: [String: String]) -> AnyPublisher<Bool, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:25:10: note: add @available attribute to enclosing instance method
func delete(for url: URL, headers: [String: String]) -> AnyPublisher<Bool, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:28:118: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func getCachedData<T: Codable>(for url: URL, headers: [String: String], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:28:10: note: add @available attribute to enclosing instance method
func getCachedData<T: Codable>(for url: URL, headers: [String: String], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:31:80: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:31:10: note: add @available attribute to enclosing instance method
func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
[4/6] Compiling CombineURLSession RestService.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:13:93: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:13:10: note: add @available attribute to enclosing instance method
func get<T: Codable>(from url: URL, headers: [String: String], decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:16:135: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func post<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:16:10: note: add @available attribute to enclosing instance method
func post<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:19:134: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func put<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:19:10: note: add @available attribute to enclosing instance method
func put<T: Codable, M: Codable>(to url: URL, body: M, headers: [String: String], decoder: JSONDecoder, encoder: JSONEncoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:22:166: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func multipart<T: Codable, M: Codable>(to url: URL, body: M?, headers: [String: String], multiparts: [Multipart], encoder: JSONEncoder, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:22:10: note: add @available attribute to enclosing instance method
func multipart<T: Codable, M: Codable>(to url: URL, body: M?, headers: [String: String], multiparts: [Multipart], encoder: JSONEncoder, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:25:61: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func delete(for url: URL, headers: [String: String]) -> AnyPublisher<Bool, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:25:10: note: add @available attribute to enclosing instance method
func delete(for url: URL, headers: [String: String]) -> AnyPublisher<Bool, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:28:118: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func getCachedData<T: Codable>(for url: URL, headers: [String: String], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:28:10: note: add @available attribute to enclosing instance method
func getCachedData<T: Codable>(for url: URL, headers: [String: String], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:31:80: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:31:10: note: add @available attribute to enclosing instance method
func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/RestService.swift:11:17: note: add @available attribute to enclosing protocol
public protocol RestService {
^
[5/6] Compiling CombineURLSession URLSessionExtension.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:66: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:100: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:86: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:101: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:73:67: error: 'DataTaskPublisher' is only available in macOS 10.15 or newer
static func validate(decoder: JSONDecoder, output: URLSession.DataTaskPublisher.Output) throws -> Data {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:73:17: note: add @available attribute to enclosing static method
static func validate(decoder: JSONDecoder, output: URLSession.DataTaskPublisher.Output) throws -> Data {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:14:9: error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
dataTaskPublisher(for: urlRequest)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:14:9: note: add 'if #available' version check
dataTaskPublisher(for: urlRequest)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:15:14: note: add 'if #available' version check
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:16:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap() { element -> Bool in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:16:14: note: add 'if #available' version check
.tryMap() { element -> Bool in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:20:14: error: 'mapError' is only available in macOS 10.15 or newer
.mapError {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:20:14: note: add 'if #available' version check
.mapError {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:23:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:23:14: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func boolTaskPublisher(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:28:9: error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
dataTaskPublisher(for: urlRequest)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:28:9: note: add 'if #available' version check
dataTaskPublisher(for: urlRequest)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:29:14: note: add 'if #available' version check
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:30:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap { output -> Data in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:30:14: note: add 'if #available' version check
.tryMap { output -> Data in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:33:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:33:14: note: add 'if #available' version check
.tryMap {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:36:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:36:14: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:27:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:41:9: error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
dataTaskPublisher(for: url)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:41:9: note: add 'if #available' version check
dataTaskPublisher(for: url)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:42:14: note: add 'if #available' version check
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:43:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap { output -> Data in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:43:14: note: add 'if #available' version check
.tryMap { output -> Data in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:46:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:46:14: note: add 'if #available' version check
.tryMap {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:49:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:49:14: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:40:17: note: add @available attribute to enclosing instance method
public func dataTaskPublisher<T: Codable>(for url: URL, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:54:65: error: 'publisher' is only available in macOS 11.0 or newer
configuration.urlCache?.cachedResponse(for: urlRequest).publisher
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:54:65: note: add 'if #available' version check
configuration.urlCache?.cachedResponse(for: urlRequest).publisher
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:55:14: note: add 'if #available' version check
.receive(on: RunLoop.main)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:56:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap { element -> Data in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:56:14: note: add 'if #available' version check
.tryMap { element -> Data in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:59:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:59:14: note: add 'if #available' version check
.tryMap {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:62:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:62:14: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:53:17: note: add @available attribute to enclosing instance method
public func dataCachePublisher<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error>? {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/URLSessionExtension.swift:11:1: note: add @available attribute to enclosing extension
extension URLSession {
^
[6/6] Compiling CombineURLSession RestServiceExtension.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:13:138: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:13:17: note: add @available attribute to enclosing instance method
public func get<T: Codable>(from url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:18:180: error: 'AnyPublisher' is only available in macOS 10.15 or newer
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:18:17: note: add @available attribute to enclosing instance method
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:23:179: error: 'AnyPublisher' is only available in macOS 10.15 or newer
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:23:17: note: add @available attribute to enclosing instance method
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:28:185: error: 'AnyPublisher' is only available in macOS 10.15 or newer
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:28:17: note: add @available attribute to enclosing instance method
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> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:33:106: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func delete(for url: URL, headers: [String: String] = ["Content-Type":"application/json"]) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:33:17: note: add @available attribute to enclosing instance method
public func delete(for url: URL, headers: [String: String] = ["Content-Type":"application/json"]) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:38:163: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func getCachedData<T: Codable>(for url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:38:17: note: add @available attribute to enclosing instance method
public func getCachedData<T: Codable>(for url: URL, headers: [String: String] = ["Content-Type":"application/json"], decoder: JSONDecoder, useCache: Bool) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:43:87: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:43:17: note: add @available attribute to enclosing instance method
public func task<T: Codable>(for urlRequest: URLRequest, decoder: JSONDecoder) -> AnyPublisher<T, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:48:53: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func bool(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:48:17: note: add @available attribute to enclosing instance method
public func bool(for urlRequest: URLRequest) -> AnyPublisher<Bool, Error> {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CombineURLSession/Session/Extensions/RestServiceExtension.swift:11:1: note: add @available attribute to enclosing extension
extension RestService where Self: SessionHolder {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm