The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Bruynet 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/barisuyar/Bruynet.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/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
Revision (git rev-parse @):
e5b8ec0b64a983e95b843f80b5c06920fc56c7f2
SUCCESS checkout https://github.com/barisuyar/Bruynet.git at 1.0.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/barisuyar/Bruynet.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/7] Compiling Bruynet URLSession+Extensions.swift
[4/7] Compiling Bruynet Requestable.swift
[5/7] Compiling Bruynet Endpoint.swift
[6/7] Emitting module Bruynet
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:4:17: note: add @available attribute to enclosing protocol
public protocol Calling {
                ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
              ^
[7/7] Compiling Bruynet Bruynet.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:4:17: note: add @available attribute to enclosing protocol
public protocol Calling {
                ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
              ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:21:24: note: add 'if #available' version check
        return session.dataTaskPublisher(for: request)
                       ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
              ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:22:14: note: add 'if #available' version check
            .tryMap {
             ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
              ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:25:14: note: add 'if #available' version check
            .receive(on: DispatchQueue.main)
             ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
              ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:26:14: note: add 'if #available' version check
            .eraseToAnyPublisher()
             ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/3] Compiling Bruynet Bruynet.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:4:17: note: add @available attribute to enclosing protocol
public protocol Calling {
                ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
              ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:21:24: note: add 'if #available' version check
        return session.dataTaskPublisher(for: request)
                       ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
              ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:22:14: note: add 'if #available' version check
            .tryMap {
             ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
              ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:25:14: note: add 'if #available' version check
            .receive(on: DispatchQueue.main)
             ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:8:15: note: add @available attribute to enclosing struct
public struct Bruynet: Calling {
              ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:26:14: note: add 'if #available' version check
            .eraseToAnyPublisher()
             ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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)
[3/3] Emitting module Bruynet
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:4:17: note: add @available attribute to enclosing protocol
public protocol Calling {
                ^
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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
BUILD FAILURE 5.10 macosSpm