Build Information
Failed to build Bruynet with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/barisuyar/Bruynet.git
Reference: 1.0.2
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/barisuyar/Bruynet
* tag 1.0.2 -> FETCH_HEAD
HEAD is now at e5b8ec0 Readme.md arranged.
Cloned https://github.com/barisuyar/Bruynet.git into spi-builder-workspace
e5b8ec0b64a983e95b843f80b5c06920fc56c7f2
SUCCESS checkout https://github.com/barisuyar/Bruynet.git at 1.0.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Building for debugging...
[1/5] Compiling Bruynet Requestable.swift
[2/5] Compiling Bruynet URLSession+Extensions.swift
[3/5] Compiling Bruynet Bruynet.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:5:66: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func call<T: Decodable>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:5:10: note: add @available attribute to enclosing instance method
func call<T: Decodable>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:4:17: note: add @available attribute to enclosing protocol
public protocol Calling {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:13:62: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:13:17: note: add @available attribute to enclosing instance method
public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:21:24: error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
return session.dataTaskPublisher(for: request)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:21:24: note: add 'if #available' version check
return session.dataTaskPublisher(for: request)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:13:17: note: add @available attribute to enclosing instance method
public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:22:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:22:14: note: add 'if #available' version check
.tryMap {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:13:17: note: add @available attribute to enclosing instance method
public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:25:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
.receive(on: DispatchQueue.main)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:25:14: note: add 'if #available' version check
.receive(on: DispatchQueue.main)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:13:17: note: add @available attribute to enclosing instance method
public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:26:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:26:14: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:13:17: note: add @available attribute to enclosing instance method
public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Compiling Bruynet Endpoint.swift
[5/5] Emitting module Bruynet
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:5:66: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func call<T: Decodable>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:5:10: note: add @available attribute to enclosing instance method
func call<T: Decodable>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:4:17: note: add @available attribute to enclosing protocol
public protocol Calling {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:13:62: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:13:17: note: add @available attribute to enclosing instance method
public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
^
error: fatalError
Retrying in 0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module Bruynet
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:5:66: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func call<T: Decodable>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:5:10: note: add @available attribute to enclosing instance method
func call<T: Decodable>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:4:17: note: add @available attribute to enclosing protocol
public protocol Calling {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:13:62: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:13:17: note: add @available attribute to enclosing instance method
public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
^
[2/2] Compiling Bruynet Bruynet.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:5:66: error: 'AnyPublisher' is only available in macOS 10.15 or newer
func call<T: Decodable>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:5:10: note: add @available attribute to enclosing instance method
func call<T: Decodable>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error>
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:4:17: note: add @available attribute to enclosing protocol
public protocol Calling {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:13:62: error: 'AnyPublisher' is only available in macOS 10.15 or newer
public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:13:17: note: add @available attribute to enclosing instance method
public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:21:24: error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
return session.dataTaskPublisher(for: request)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:21:24: note: add 'if #available' version check
return session.dataTaskPublisher(for: request)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:13:17: note: add @available attribute to enclosing instance method
public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:22:14: error: 'tryMap' is only available in macOS 10.15 or newer
.tryMap {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:22:14: note: add 'if #available' version check
.tryMap {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:13:17: note: add @available attribute to enclosing instance method
public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:25:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
.receive(on: DispatchQueue.main)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:25:14: note: add 'if #available' version check
.receive(on: DispatchQueue.main)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:13:17: note: add @available attribute to enclosing instance method
public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:26:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
.eraseToAnyPublisher()
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:26:14: note: add 'if #available' version check
.eraseToAnyPublisher()
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:13:17: note: add @available attribute to enclosing instance method
public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
^
error: fatalError
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm