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.4.1 (db1529), with Swift 6.0 for Linux on 29 Nov 2024 21:51:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.4.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.4.1      -> FETCH_HEAD
HEAD is now at db1529b Releasing version 5.4.1.
Cloned https://github.com/MLSDev/TRON.git
Revision (git rev-parse @):
db1529beba9a89461536f40686d7c8b7ccace876
SUCCESS checkout https://github.com/MLSDev/TRON.git at 5.4.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-0":/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/SwiftyJSON/SwiftyJSON.git
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/Alamofire/Alamofire.git
[1/6124] Fetching swiftyjson
[6125/36141] Fetching swiftyjson, alamofire
[6426/88534] Fetching swiftyjson, alamofire, rxswift
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.55s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (5.16s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (5.33s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.2 (0.59s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.8.0 (0.49s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.70s)
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/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.8.0
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 5.0.2
Building for debugging...
[0/10] Copying PrivacyInfo.xcprivacy
[0/10] Write sources
[0/10] Copying PrivacyInfo.xcprivacy
[5/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/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) {
[12/216] Emitting module SwiftyJSON
[13/216] Compiling RxSwift ConcurrentMainScheduler.swift
[14/216] Compiling RxSwift ConnectableObservableType.swift
[15/216] Compiling RxSwift Create.swift
[16/216] Compiling RxSwift CurrentThreadScheduler.swift
[17/216] Compiling RxSwift Date+Dispatch.swift
[18/216] 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 | }
[19/216] Compiling SwiftyJSON resource_bundle_accessor.swift
[20/221] Compiling RxSwift BehaviorSubject.swift
[21/221] Compiling RxSwift BinaryDisposable.swift
[22/221] Compiling RxSwift Binder.swift
[23/221] Compiling RxSwift BooleanDisposable.swift
[24/221] Compiling RxSwift Buffer.swift
[25/221] Compiling RxSwift Cancelable.swift
[26/221] Compiling RxSwift SchedulerType.swift
[27/221] Compiling RxSwift Sequence.swift
[28/221] Compiling RxSwift SerialDispatchQueueScheduler.swift
[29/221] Compiling RxSwift SerialDisposable.swift
[30/221] Compiling RxSwift ShareReplayScope.swift
[31/221] Compiling RxSwift Single.swift
[32/221] Compiling RxSwift SingleAssignmentDisposable.swift
[33/221] Compiling RxSwift SingleAsync.swift
[34/221] Compiling RxSwift Sink.swift
[35/221] Compiling RxSwift Skip.swift
[36/221] Compiling RxSwift SkipUntil.swift
[37/221] Compiling RxSwift SkipWhile.swift
[38/221] Compiling RxSwift StartWith.swift
[39/221] Compiling RxSwift SubjectType.swift
[40/221] Compiling RxSwift SubscribeOn.swift
[41/221] Compiling RxSwift SubscriptionDisposable.swift
[42/221] Compiling RxSwift SwiftSupport.swift
[43/221] Compiling RxSwift Switch.swift
[44/221] Compiling RxSwift SwitchIfEmpty.swift
[45/221] Compiling RxSwift SynchronizedDisposeType.swift
[46/221] Compiling RxSwift AsSingle.swift
[47/221] Compiling RxSwift AsyncLock.swift
[48/221] Compiling RxSwift AsyncSubject.swift
[49/221] Compiling RxSwift AtomicInt.swift
[50/221] Compiling RxSwift Bag+Rx.swift
[51/221] Compiling RxSwift Bag.swift
BUILD FAILURE 6.0 linux