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 TRON, reference 5.5.0-beta.1 (24434c), with Swift 6.0 for Linux on 29 Nov 2024 21:51:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MLSDev/TRON.git
Reference: 5.5.0-beta.1
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/MLSDev/TRON
 * tag               5.5.0-beta.1 -> FETCH_HEAD
HEAD is now at 24434ce Releasing version 5.5.0-beta.1.
Cloned https://github.com/MLSDev/TRON.git
Revision (git rev-parse @):
24434ce417167e320da790ee3a321770d3b142bc
SUCCESS checkout https://github.com/MLSDev/TRON.git at 5.5.0-beta.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/MLSDev/TRON.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
[1/6124] Fetching swiftyjson
[6125/36141] Fetching swiftyjson, alamofire
[8227/88534] Fetching swiftyjson, alamofire, rxswift
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (3.07s)
[81887/82410] Fetching alamofire, rxswift
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.16s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (5.57s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.2 (0.71s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.8.0 (0.62s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.56s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 5.0.2
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.8.0
Building for debugging...
[0/10] Write sources
[0/10] Copying PrivacyInfo.xcprivacy
[0/10] Write sources
[6/10] Copying PrivacyInfo.xcprivacy
[8/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/196] Emitting module SwiftyJSON
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/196] Emitting module RxSwift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:11:13: error: cannot inherit from class 'NSLock' (compiled with Swift 6.0.2) because it has overridable members that could not be loaded in Swift 5.10
 9 | import Foundation
10 |
11 | final class AtomicInt: NSLock, @unchecked Sendable {
   |             `- error: cannot inherit from class 'NSLock' (compiled with Swift 6.0.2) because it has overridable members that could not be loaded in Swift 5.10
12 |     fileprivate var value: Int32
13 |     public init(_ value: Int32 = 0) {
[13/216] Emitting module Alamofire
[14/221] Compiling RxSwift CompactMap.swift
[15/221] Compiling RxSwift Completable+AndThen.swift
[16/221] Compiling RxSwift Completable.swift
[17/221] Compiling RxSwift CompositeDisposable.swift
[18/221] Compiling RxSwift Concat.swift
[19/221] Compiling SwiftyJSON resource_bundle_accessor.swift
[20/221] Compiling RxSwift Cancelable.swift
[21/221] Compiling RxSwift Catch.swift
[22/221] Compiling RxSwift CombineLatest+Collection.swift
[23/221] Compiling RxSwift CombineLatest+arity.swift
[24/221] Compiling RxSwift CombineLatest.swift
[25/221] Compiling SwiftyJSON SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1215:51: error: ambiguous use of operator '<'
1213 |
1214 |     switch (lhs.type, rhs.type) {
1215 |     case (.number, .number): return lhs.rawNumber < rhs.rawNumber
     |                                                   `- error: ambiguous use of operator '<'
1216 |     case (.string, .string): return lhs.rawString < rhs.rawString
1217 |     default:                 return false
     :
1249 | }
1250 |
1251 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
     |      `- note: found this candidate
1252 |
1253 |     switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber:2:24: note: found this candidate in module 'Foundation'
1 | extension NSNumber : Comparable {
2 |     public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool
  |                        `- note: found this candidate in module 'Foundation'
3 | }
[26/221] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[27/221] Compiling RxSwift ConcurrentMainScheduler.swift
[28/221] Compiling RxSwift ConnectableObservableType.swift
[29/221] Compiling RxSwift Create.swift
[30/221] Compiling RxSwift CurrentThreadScheduler.swift
[31/221] Compiling RxSwift Date+Dispatch.swift
[32/221] Compiling RxSwift Debounce.swift
[33/221] Compiling RxSwift Debug.swift
[34/221] Compiling RxSwift Decode.swift
[35/221] Compiling RxSwift DefaultIfEmpty.swift
[36/221] Compiling RxSwift Deferred.swift
[37/221] Compiling RxSwift AsSingle.swift
[38/221] Compiling RxSwift AsyncLock.swift
[39/221] Compiling RxSwift AsyncSubject.swift
[40/221] Compiling RxSwift AtomicInt.swift
[41/221] Compiling RxSwift Bag+Rx.swift
[42/221] Compiling RxSwift Bag.swift
[43/221] Compiling RxSwift BehaviorSubject.swift
[44/221] Compiling RxSwift BinaryDisposable.swift
[45/221] Compiling RxSwift Binder.swift
[46/221] Compiling RxSwift BooleanDisposable.swift
[47/221] Compiling RxSwift Buffer.swift
[48/221] Compiling Alamofire resource_bundle_accessor.swift
[49/221] Compiling RxSwift Disposable.swift
[50/221] Compiling RxSwift Disposables.swift
[51/221] Compiling RxSwift DisposeBag.swift
[52/221] Compiling RxSwift DisposeBase.swift
[53/221] Compiling RxSwift DistinctUntilChanged.swift
[54/221] Compiling RxSwift Do.swift
[55/221] Compiling RxSwift ElementAt.swift
[56/221] Compiling RxSwift Empty.swift
[57/221] Compiling RxSwift Enumerated.swift
[58/221] Compiling RxSwift Error.swift
[59/221] Compiling RxSwift Errors.swift
[60/221] Compiling RxSwift Event.swift
[61/221] Compiling RxSwift Filter.swift
[62/221] Compiling RxSwift First.swift
[63/221] Compiling RxSwift Generate.swift
[64/221] Compiling RxSwift GroupBy.swift
[65/221] Compiling RxSwift GroupedObservable.swift
[66/221] Compiling RxSwift HistoricalScheduler.swift
[67/221] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[68/221] Compiling RxSwift ImmediateSchedulerType.swift
BUILD FAILURE 6.0 linux