The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Reactive, reference master (ffc76b), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 08:55:32 UTC.

Swift 6 data race errors: 0

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/amine2233/Reactive.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/amine2233/Reactive
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ffc76bf Create swift tests action
Cloned https://github.com/amine2233/Reactive.git
Revision (git rev-parse @):
ffc76bfa3d160311b7c3e33827c327fc5a148a82
SUCCESS checkout https://github.com/amine2233/Reactive.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/amine2233/Reactive.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/14] Compiling Reactive FutureExtension.swift
[4/14] Compiling Reactive ObservableToken.swift
[5/15] Compiling Reactive Precondition.swift
[6/15] Compiling Reactive Threading.swift
[7/15] Compiling Reactive ResultExtension.swift
[8/15] Compiling Reactive Future.swift
[9/15] Compiling Reactive ExecutionContext.swift
[10/15] Compiling Reactive Lock.swift
[11/15] Compiling Reactive Observable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Reactive/Observable.swift:29:33: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 27 |  A type-erased Observable in order to avoid generic specification when unnecessary.
 28 |  */
 29 | public protocol Unsubscribable: class {
    |                                 `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 30 |     func unsubscribe(_ token: ObservableToken)
 31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Reactive/Observable.swift:159:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 57 |  Observables are thread safe.
 58 |  */
 59 | public final class Observable<T>: ObservableProtocol, Unsubscribable {
    |                               `- note: 'T' previously declared here
 60 |
 61 |     fileprivate var observers = [ObservableToken: Observer<T>]()
    :
157 |     */
158 |     @discardableResult
159 |     public func subscribe<T: ObservableProtocol>(_ observable: T) -> ObservableToken where Element == T.Element {
    |                           `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
160 |         subscribe { value in
161 |             observable.update(value)
[12/15] Compiling Reactive ObservableCombining.swift
/Users/admin/builder/spi-builder-workspace/Sources/Reactive/Observable.swift:29:33: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 27 |  A type-erased Observable in order to avoid generic specification when unnecessary.
 28 |  */
 29 | public protocol Unsubscribable: class {
    |                                 `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 30 |     func unsubscribe(_ token: ObservableToken)
 31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Reactive/Observable.swift:159:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 57 |  Observables are thread safe.
 58 |  */
 59 | public final class Observable<T>: ObservableProtocol, Unsubscribable {
    |                               `- note: 'T' previously declared here
 60 |
 61 |     fileprivate var observers = [ObservableToken: Observer<T>]()
    :
157 |     */
158 |     @discardableResult
159 |     public func subscribe<T: ObservableProtocol>(_ observable: T) -> ObservableToken where Element == T.Element {
    |                           `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
160 |         subscribe { value in
161 |             observable.update(value)
[13/15] Emitting module Reactive
/Users/admin/builder/spi-builder-workspace/Sources/Reactive/Observable.swift:29:33: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 27 |  A type-erased Observable in order to avoid generic specification when unnecessary.
 28 |  */
 29 | public protocol Unsubscribable: class {
    |                                 `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
 30 |     func unsubscribe(_ token: ObservableToken)
 31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Reactive/Observable.swift:159:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 57 |  Observables are thread safe.
 58 |  */
 59 | public final class Observable<T>: ObservableProtocol, Unsubscribable {
    |                               `- note: 'T' previously declared here
 60 |
 61 |     fileprivate var observers = [ObservableToken: Observer<T>]()
    :
157 |     */
158 |     @discardableResult
159 |     public func subscribe<T: ObservableProtocol>(_ observable: T) -> ObservableToken where Element == T.Element {
    |                           `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
160 |         subscribe { value in
161 |             observable.update(value)
[14/15] Compiling Reactive ObservableExtension.swift
[15/15] Compiling Reactive Timer.swift
Build complete! (4.67s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Reactive",
  "name" : "Reactive",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Reactive",
      "targets" : [
        "Reactive"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ReactiveTests",
      "module_type" : "SwiftTarget",
      "name" : "ReactiveTests",
      "path" : "Tests/ReactiveTests",
      "sources" : [
        "ExecutionContextTest.swift",
        "FutureExtensionTests.swift",
        "FutureTest.swift",
        "ObservableCombiningTest.swift",
        "ObservableExtensionTest.swift",
        "ObservableTests.swift",
        "ResultExtensionsTests.swift",
        "ThreadingTest.swift",
        "ThreadingTests.swift",
        "TimerTest.swift",
        "XCTest+Precondition.swift"
      ],
      "target_dependencies" : [
        "Reactive"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Reactive",
      "module_type" : "SwiftTarget",
      "name" : "Reactive",
      "path" : "Sources/Reactive",
      "product_memberships" : [
        "Reactive"
      ],
      "sources" : [
        "ExecutionContext.swift",
        "Lock.swift",
        "Observable.swift",
        "ObservableCombining.swift",
        "ObservableExtension.swift",
        "ObservableToken.swift",
        "Precondition.swift",
        "Promise/Future.swift",
        "Promise/FutureExtension.swift",
        "Promise/ResultExtension.swift",
        "Threading.swift",
        "Timer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.