The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Reactive, reference 4.0.2 (1b2878), with Swift 6.3 for Linux on 11 Apr 2026 09:26:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amine2233/Reactive.git
Reference: 4.0.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/amine2233/Reactive
 * tag               4.0.2      -> FETCH_HEAD
HEAD is now at 1b28785 FEAT: Add DispatchQueue when exec future
Cloned https://github.com/amine2233/Reactive.git
Revision (git rev-parse @):
1b28785898877e2123835a0fd82844262cf951c2
SUCCESS checkout https://github.com/amine2233/Reactive.git at 4.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/amine2233/Reactive.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling Reactive ResultExtension.swift
[4/15] Compiling Reactive Precondition.swift
[5/15] Compiling Reactive Future.swift
[6/15] Compiling Reactive Observable.swift
/host/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 | }
/host/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)
[7/15] Compiling Reactive ObservableCombining.swift
/host/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 | }
/host/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)
[8/15] Compiling Reactive ObservableExtension.swift
[9/15] Compiling Reactive ObservableToken.swift
[10/15] Compiling Reactive FutureExtension.swift
[11/15] Compiling Reactive ExecutionContext.swift
/host/spi-builder-workspace/Sources/Reactive/Lock.swift:21:48: error: cannot convert value of type 'Int' to expected argument type 'Int32'
19 |     init() {
20 |         pthread_mutexattr_init(&attributes)
21 |         pthread_mutexattr_settype(&attributes, PTHREAD_MUTEX_RECURSIVE)
   |                                                `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
22 |         pthread_mutex_init(&mutex, &attributes)
23 |     }
[12/15] Compiling Reactive Lock.swift
/host/spi-builder-workspace/Sources/Reactive/Lock.swift:21:48: error: cannot convert value of type 'Int' to expected argument type 'Int32'
19 |     init() {
20 |         pthread_mutexattr_init(&attributes)
21 |         pthread_mutexattr_settype(&attributes, PTHREAD_MUTEX_RECURSIVE)
   |                                                `- error: cannot convert value of type 'Int' to expected argument type 'Int32'
22 |         pthread_mutex_init(&mutex, &attributes)
23 |     }
[13/15] Emitting module Reactive
/host/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 | }
/host/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 Threading.swift
[15/15] Compiling Reactive Timer.swift
BUILD FAILURE 6.3 linux