The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build LightweightObservable, reference main (a54bfd), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 16:54:04 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "lightweightobservable",
      "name": "LightweightObservable",
      "url": "https://github.com/fxm90/LightweightObservable.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LightweightObservable",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/fxm90/LightweightObservable.git
[1/1967] Fetching lightweightobservable
Fetched https://github.com/fxm90/LightweightObservable.git from cache (4.91s)
Creating working copy for https://github.com/fxm90/LightweightObservable.git
Working copy of https://github.com/fxm90/LightweightObservable.git resolved at main (a54bfdc)
warning: '.resolve-product-dependencies': dependency 'lightweightobservable' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/fxm90/LightweightObservable.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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.
[4/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.
[5/8] Compiling LightweightObservable Observable+KeyPath.swift
[6/8] Compiling LightweightObservable Observable+Equatable.swift
[7/8] Compiling LightweightObservable Observable.swift
[8/8] Compiling LightweightObservable Disposable.swift
BUILD FAILURE 6.0 macosSpm