The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LightweightObservable, reference main (a54bfd), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 18:15:25 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fxm90/LightweightObservable.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fxm90/LightweightObservable
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a54bfdc Refactor CI setup (#10)
Cloned https://github.com/fxm90/LightweightObservable.git
Revision (git rev-parse @):
a54bfdcffe8aca708f78cc7fea222ed593d7abd3
SUCCESS checkout https://github.com/fxm90/LightweightObservable.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/fxm90/LightweightObservable.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/8] Compiling LightweightObservable Observable+KeyPath.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Compiling LightweightObservable Observable.swift
[5/8] Compiling LightweightObservable Observable+Equatable.swift
[6/8] Compiling LightweightObservable Disposable.swift
[7/8] Emitting module LightweightObservable
/Users/admin/builder/spi-builder-workspace/LightweightObservable/Sources/Extensions/Observable+Combine.swift:24:28: error: 'Subscriber' is only available in macOS 10.15 or newer
13 |
14 | @available(iOS 13.0, *)
15 | extension Observable: Publisher {
   | `- note: add @available attribute to enclosing extension
16 |
17 |     // MARK: - Types
   :
22 |     // MARK: - Public methods
23 |
24 |     public func receive<S: Subscriber>(subscriber: S) where S.Input == Output, S.Failure == Failure {
   |                 |          `- error: 'Subscriber' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
25 |         let subscription = Subscription<S>()
26 |         subscription.subscriber = subscriber
/Users/admin/builder/spi-builder-workspace/LightweightObservable/Sources/Extensions/Observable+Combine.swift:39:33: error: 'Subscriber' is only available in macOS 10.15 or newer
37 | private extension Observable {
38 |     /// A custom subscription to forward events from an `Observable` instance.
39 |     final class Subscription<S: Subscriber> where S.Input == Output, S.Failure == Failure {
   |                 |               `- error: 'Subscriber' is only available in macOS 10.15 or newer
   |                 |- note: add @available attribute to enclosing generic class
   |                 `- note: add @available attribute to enclosing generic class
40 |
41 |         // MARK: - Public properties
/Users/admin/builder/spi-builder-workspace/LightweightObservable/Sources/Extensions/Observable+Combine.swift:67:21: error: 'Subscribers' is only available in macOS 10.15 or newer
64 |
65 | @available(iOS 13.0, *)
66 | extension Observable.Subscription: Subscription {
   | `- note: add @available attribute to enclosing extension
67 |     func request(_: Subscribers.Demand) {
   |          |          `- error: 'Subscribers' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
68 |         // This subscription doesn't respond to demand, since it'll only emit events
69 |         // according to its underlying `Observable` instance.
[8/8] Compiling LightweightObservable Observable+Combine.swift
/Users/admin/builder/spi-builder-workspace/LightweightObservable/Sources/Extensions/Observable+Combine.swift:24:28: error: 'Subscriber' is only available in macOS 10.15 or newer
13 |
14 | @available(iOS 13.0, *)
15 | extension Observable: Publisher {
   | `- note: add @available attribute to enclosing extension
16 |
17 |     // MARK: - Types
   :
22 |     // MARK: - Public methods
23 |
24 |     public func receive<S: Subscriber>(subscriber: S) where S.Input == Output, S.Failure == Failure {
   |                 |          `- error: 'Subscriber' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
25 |         let subscription = Subscription<S>()
26 |         subscription.subscriber = subscriber
/Users/admin/builder/spi-builder-workspace/LightweightObservable/Sources/Extensions/Observable+Combine.swift:39:33: error: 'Subscriber' is only available in macOS 10.15 or newer
37 | private extension Observable {
38 |     /// A custom subscription to forward events from an `Observable` instance.
39 |     final class Subscription<S: Subscriber> where S.Input == Output, S.Failure == Failure {
   |                 |               `- error: 'Subscriber' is only available in macOS 10.15 or newer
   |                 |- note: add @available attribute to enclosing generic class
   |                 `- note: add @available attribute to enclosing generic class
40 |
41 |         // MARK: - Public properties
/Users/admin/builder/spi-builder-workspace/LightweightObservable/Sources/Extensions/Observable+Combine.swift:67:21: error: 'Subscribers' is only available in macOS 10.15 or newer
64 |
65 | @available(iOS 13.0, *)
66 | extension Observable.Subscription: Subscription {
   | `- note: add @available attribute to enclosing extension
67 |     func request(_: Subscribers.Demand) {
   |          |          `- error: 'Subscribers' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
68 |         // This subscription doesn't respond to demand, since it'll only emit events
69 |         // according to its underlying `Observable` instance.
BUILD FAILURE 6.2 macosSpm