The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build LightweightObservable, reference 2.2.2 (f7aeda), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 18:15:27 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: 2.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fxm90/LightweightObservable
 * tag               2.2.2      -> FETCH_HEAD
HEAD is now at f7aeda3 🔖 :: Bump version
Cloned https://github.com/fxm90/LightweightObservable.git
Revision (git rev-parse @):
f7aeda3ab67922bd3ad252c5a311c58ee3e37bf5
SUCCESS checkout https://github.com/fxm90/LightweightObservable.git at 2.2.2
========================================
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/8] Compiling LightweightObservable Observable+KeyPath.swift
[4/8] Compiling LightweightObservable Observable.swift
[5/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.
[6/8] Compiling LightweightObservable Disposable.swift
[7/8] Compiling LightweightObservable Observable+Equatable.swift
[8/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.
BUILD FAILURE 6.2 macosSpm