Build Information
Failed to build Reactive, reference master (ffc76b), with Swift 6.3 for Linux on 11 Apr 2026 09:25:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amine2233/Reactive.git
Reference: master
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
* 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: 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-3":/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 Precondition.swift
[4/14] Compiling Reactive Future.swift
[5/14] Compiling Reactive FutureExtension.swift
[6/14] Compiling Reactive ResultExtension.swift
[7/14] 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)
[8/14] 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)
[9/14] 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)
[10/14] Compiling Reactive ObservableExtension.swift
[11/14] Compiling Reactive ObservableToken.swift
[12/14] 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 | }
[13/14] 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 | }
[14/15] Compiling Reactive Threading.swift
[15/15] Compiling Reactive Timer.swift
BUILD FAILURE 6.3 linux