Build Information
Failed to build Bruynet, reference 1.0.2 (e5b8ec), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 19:24:07 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.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/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: 6.2
Building package at path: $PWD
https://github.com/barisuyar/Bruynet.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/7] Compiling Bruynet Requestable.swift
[4/7] Compiling Bruynet URLSession+Extensions.swift
[5/7] Compiling Bruynet Endpoint.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Emitting module Bruynet
/Users/admin/builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:5:66: error: 'AnyPublisher' is only available in macOS 10.15 or newer
2 | import Combine
3 |
4 | public protocol Calling {
| `- note: add @available attribute to enclosing protocol
5 | func call<T: Decodable>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error>
| | `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:13:62: error: 'AnyPublisher' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct Bruynet: Calling {
| `- note: add @available attribute to enclosing struct
9 | let session = URLSession.shared
10 |
11 | public init() {}
12 |
13 | public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
| | `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
14 | var request = URLRequest(url: endpoint.url)
15 | request.httpMethod = endpoint.httpMethod.rawValue
[7/7] Compiling Bruynet Bruynet.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:5:66: error: 'AnyPublisher' is only available in macOS 10.15 or newer
2 | import Combine
3 |
4 | public protocol Calling {
| `- note: add @available attribute to enclosing protocol
5 | func call<T: Decodable>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error>
| | `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:13:62: error: 'AnyPublisher' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct Bruynet: Calling {
| `- note: add @available attribute to enclosing struct
9 | let session = URLSession.shared
10 |
11 | public init() {}
12 |
13 | public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
| | `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
14 | var request = URLRequest(url: endpoint.url)
15 | request.httpMethod = endpoint.httpMethod.rawValue
/Users/admin/builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:21:24: error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct Bruynet: Calling {
| `- note: add @available attribute to enclosing struct
9 | let session = URLSession.shared
10 |
11 | public init() {}
12 |
13 | public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
| `- note: add @available attribute to enclosing instance method
14 | var request = URLRequest(url: endpoint.url)
15 | request.httpMethod = endpoint.httpMethod.rawValue
:
19 | request.httpBody = body
20 | }
21 | return session.dataTaskPublisher(for: request)
| |- error: 'dataTaskPublisher(for:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
22 | .tryMap {
23 | try JSONDecoder().decode(T.self, from: $0.data)
/Users/admin/builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:22:14: error: 'tryMap' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct Bruynet: Calling {
| `- note: add @available attribute to enclosing struct
9 | let session = URLSession.shared
10 |
11 | public init() {}
12 |
13 | public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
| `- note: add @available attribute to enclosing instance method
14 | var request = URLRequest(url: endpoint.url)
15 | request.httpMethod = endpoint.httpMethod.rawValue
:
20 | }
21 | return session.dataTaskPublisher(for: request)
22 | .tryMap {
| |- error: 'tryMap' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
23 | try JSONDecoder().decode(T.self, from: $0.data)
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:25:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct Bruynet: Calling {
| `- note: add @available attribute to enclosing struct
9 | let session = URLSession.shared
10 |
11 | public init() {}
12 |
13 | public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
| `- note: add @available attribute to enclosing instance method
14 | var request = URLRequest(url: endpoint.url)
15 | request.httpMethod = endpoint.httpMethod.rawValue
:
23 | try JSONDecoder().decode(T.self, from: $0.data)
24 | }
25 | .receive(on: DispatchQueue.main)
| |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
26 | .eraseToAnyPublisher()
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bruynet/Bruynet.swift:26:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
6 | }
7 |
8 | public struct Bruynet: Calling {
| `- note: add @available attribute to enclosing struct
9 | let session = URLSession.shared
10 |
11 | public init() {}
12 |
13 | public func call<T>(type: T.Type, endpoint: Endpoint) -> AnyPublisher<T, Error> where T: Decodable {
| `- note: add @available attribute to enclosing instance method
14 | var request = URLRequest(url: endpoint.url)
15 | request.httpMethod = endpoint.httpMethod.rawValue
:
24 | }
25 | .receive(on: DispatchQueue.main)
26 | .eraseToAnyPublisher()
| |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
27 | }
28 | }
BUILD FAILURE 6.2 macosSpm