Build Information
Successful build of RxGRDB with Swift 6.0 for Linux.
Swift 6 data race errors: 2
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RxSwiftCommunity/RxGRDB.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/RxSwiftCommunity/RxGRDB
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at fd14b91 v3.0.0
Cloned https://github.com/RxSwiftCommunity/RxGRDB.git
Revision (git rev-parse @):
fd14b91e3e381e211cb7112f1d9ee6dcc33e87af
SUCCESS checkout https://github.com/RxSwiftCommunity/RxGRDB.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/RxSwiftCommunity/RxGRDB.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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 2>&1
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/groue/GRDB.swift.git
[1/51416] Fetching rxswift
[42163/158491] Fetching rxswift, grdb.swift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (5.53s)
[46043/107075] Fetching grdb.swift
Fetched https://github.com/groue/GRDB.swift.git from cache (12.57s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.7.1 (1.92s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 6.27.0 (0.61s)
Creating working copy for https://github.com/groue/GRDB.swift.git
Working copy of https://github.com/groue/GRDB.swift.git resolved at 6.27.0
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.7.1
Building for debugging...
[0/6] Write sources
[0/6] Copying Info.plist
[2/6] Copying PrivacyInfo.xcprivacy
[3/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/295] Emitting module RxSwift
[8/315] Emitting module GRDB
[9/335] Compiling RxSwift SchedulerServices+Emulation.swift
[10/335] Compiling RxSwift SchedulerType.swift
[11/335] Compiling RxSwift Sequence.swift
[12/335] Compiling RxSwift SerialDispatchQueueScheduler.swift
[13/335] Compiling RxSwift SerialDisposable.swift
[14/335] Compiling RxSwift ShareReplayScope.swift
[15/335] Compiling RxSwift Single.swift
[16/335] Compiling RxSwift SingleAssignmentDisposable.swift
[17/335] Compiling RxSwift SingleAsync.swift
[18/335] Compiling RxSwift Sink.swift
[19/335] Compiling RxSwift Skip.swift
[20/335] Compiling RxSwift SkipUntil.swift
[21/335] Compiling RxSwift SkipWhile.swift
[22/335] Compiling RxSwift StartWith.swift
[23/335] Compiling RxSwift SubjectType.swift
[24/335] Compiling RxSwift SubscribeOn.swift
[25/335] Compiling RxSwift SubscriptionDisposable.swift
[26/335] Compiling RxSwift SwiftSupport.swift
[27/335] Compiling RxSwift Switch.swift
[28/335] Compiling RxSwift SwitchIfEmpty.swift
[29/335] Compiling RxSwift ImmediateSchedulerType.swift
[30/335] Compiling RxSwift DispatchQueueConfiguration.swift
[31/335] Compiling RxSwift Disposable.swift
[32/335] Compiling RxSwift Disposables.swift
[33/335] Compiling RxSwift DisposeBag.swift
[34/335] Compiling RxSwift DisposeBase.swift
[35/335] Compiling RxSwift DistinctUntilChanged.swift
[36/335] Compiling RxSwift Do.swift
[37/335] Compiling RxSwift ElementAt.swift
[38/335] Compiling RxSwift Empty.swift
[39/335] Compiling RxSwift Enumerated.swift
[40/335] Compiling RxSwift Error.swift
[41/335] Compiling RxSwift Errors.swift
[42/335] Compiling RxSwift Event.swift
[43/335] Compiling RxSwift Filter.swift
[44/335] Compiling RxSwift First.swift
[45/335] Compiling RxSwift Generate.swift
[46/335] Compiling RxSwift GroupBy.swift
[47/335] Compiling RxSwift GroupedObservable.swift
[48/335] Compiling RxSwift HistoricalScheduler.swift
[49/335] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[50/335] Compiling RxSwift Multicast.swift
[51/335] Compiling RxSwift Never.swift
[52/335] Compiling RxSwift NopDisposable.swift
[53/335] Compiling RxSwift Observable+Concurrency.swift
[54/335] Compiling RxSwift Observable.swift
[55/335] Compiling RxSwift ObservableConvertibleType+Infallible.swift
[56/335] Compiling RxSwift ObservableConvertibleType.swift
[57/335] Compiling RxSwift ObservableType+Extensions.swift
[58/335] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[59/335] Compiling RxSwift ObservableType.swift
[60/335] Compiling RxSwift ObserveOn.swift
[61/335] Compiling RxSwift ObserverBase.swift
[62/335] Compiling RxSwift ObserverType.swift
[63/335] Compiling RxSwift OperationQueueScheduler.swift
[64/335] Compiling RxSwift Optional.swift
[65/335] Compiling RxSwift Platform.Darwin.swift
[66/335] Compiling RxSwift Platform.Linux.swift
[67/335] Compiling RxSwift PrimitiveSequence+Concurrency.swift
[68/335] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[69/335] Compiling RxSwift PrimitiveSequence.swift
[90/335] Compiling RxSwift PriorityQueue.swift
[91/335] Compiling RxSwift Producer.swift
[92/335] Compiling RxSwift PublishSubject.swift
[93/335] Compiling RxSwift Queue.swift
[94/335] Compiling RxSwift Range.swift
[95/335] Compiling RxSwift Reactive.swift
[96/335] Compiling RxSwift RecursiveLock.swift
[97/335] Compiling RxSwift RecursiveScheduler.swift
[98/335] Compiling RxSwift Reduce.swift
[99/335] Compiling RxSwift RefCountDisposable.swift
[100/335] Compiling RxSwift Repeat.swift
[101/335] Compiling RxSwift ReplaySubject.swift
[102/335] Compiling RxSwift RetryWhen.swift
[103/335] Compiling RxSwift Rx.swift
[104/335] Compiling RxSwift RxMutableBox.swift
[105/335] Compiling RxSwift Sample.swift
[106/335] Compiling RxSwift Scan.swift
[107/335] Compiling RxSwift ScheduledDisposable.swift
[108/335] Compiling RxSwift ScheduledItem.swift
[109/335] Compiling RxSwift ScheduledItemType.swift
[110/335] Compiling RxSwift CombineLatest.swift
[111/335] Compiling RxSwift CompactMap.swift
[112/335] Compiling RxSwift Completable+AndThen.swift
[113/335] Compiling RxSwift Completable.swift
[114/335] Compiling RxSwift CompositeDisposable.swift
[115/335] Compiling RxSwift Concat.swift
[116/335] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[117/335] Compiling RxSwift ConcurrentMainScheduler.swift
[118/335] Compiling RxSwift ConnectableObservableType.swift
[119/335] Compiling RxSwift Create.swift
[120/335] Compiling RxSwift CurrentThreadScheduler.swift
[121/335] Compiling RxSwift Date+Dispatch.swift
[122/335] Compiling RxSwift Debounce.swift
[123/335] Compiling RxSwift Debug.swift
[124/335] Compiling RxSwift Decode.swift
[125/335] Compiling RxSwift DefaultIfEmpty.swift
[126/335] Compiling RxSwift Deferred.swift
[127/335] Compiling RxSwift Delay.swift
[128/335] Compiling RxSwift DelaySubscription.swift
[129/335] Compiling RxSwift Dematerialize.swift
[130/335] Compiling RxSwift DispatchQueue+Extensions.swift
[132/335] Compiling RxSwift Infallible+CombineLatest+Collection.swift
[133/335] Compiling RxSwift Infallible+CombineLatest+arity.swift
[134/335] Compiling RxSwift Infallible+Concurrency.swift
[135/335] Compiling RxSwift Infallible+Create.swift
[136/335] Compiling RxSwift Infallible+Debug.swift
[137/335] Compiling RxSwift Infallible+Operators.swift
[138/335] Compiling RxSwift Infallible+Zip+arity.swift
[139/335] Compiling RxSwift Infallible.swift
[140/335] Compiling RxSwift InfiniteSequence.swift
[141/335] Compiling RxSwift InvocableScheduledItem.swift
[142/335] Compiling RxSwift InvocableType.swift
[143/335] Compiling RxSwift Just.swift
[144/335] Compiling RxSwift Lock.swift
[145/335] Compiling RxSwift LockOwnerType.swift
[146/335] Compiling RxSwift MainScheduler.swift
[147/335] Compiling RxSwift Map.swift
[148/335] Compiling RxSwift Materialize.swift
[149/335] Compiling RxSwift Maybe.swift
[150/335] Compiling RxSwift Merge.swift
[151/335] Compiling RxSwift AddRef.swift
[152/335] Compiling RxSwift Amb.swift
[153/335] Compiling RxSwift AnonymousDisposable.swift
[154/335] Compiling RxSwift AnonymousObserver.swift
[155/335] Compiling RxSwift AnyObserver.swift
[156/335] Compiling RxSwift AsMaybe.swift
[157/335] Compiling RxSwift AsSingle.swift
[158/335] Compiling RxSwift AsyncLock.swift
[159/335] Compiling RxSwift AsyncSubject.swift
[160/335] Compiling RxSwift AtomicInt.swift
[161/335] Compiling RxSwift Bag+Rx.swift
[162/335] Compiling RxSwift Bag.swift
[163/335] Compiling RxSwift BehaviorSubject.swift
[164/335] Compiling RxSwift BinaryDisposable.swift
[165/335] Compiling RxSwift Binder.swift
[166/335] Compiling RxSwift BooleanDisposable.swift
[167/335] Compiling RxSwift Buffer.swift
[168/335] Compiling RxSwift Cancelable.swift
[169/335] Compiling RxSwift Catch.swift
[170/335] Compiling RxSwift CombineLatest+Collection.swift
[171/335] Compiling RxSwift CombineLatest+arity.swift
[231/335] Compiling RxSwift SynchronizedDisposeType.swift
[232/335] Compiling RxSwift SynchronizedOnType.swift
[233/335] Compiling RxSwift SynchronizedUnsubscribeType.swift
[237/335] Compiling GRDB LockedBox.swift
[238/335] Compiling GRDB OnDemandFuture.swift
[239/335] Compiling GRDB OrderedDictionary.swift
[240/335] Compiling GRDB Pool.swift
[241/335] Compiling GRDB ReadWriteBox.swift
[242/335] Compiling GRDB ReceiveValuesOn.swift
[243/335] Compiling GRDB Refinable.swift
[244/335] Compiling GRDB Utils.swift
[245/335] Compiling GRDB DatabaseCancellable.swift
[246/335] Compiling GRDB ValueConcurrentObserver.swift
[247/335] Compiling GRDB ValueWriteOnlyObserver.swift
[248/335] Compiling GRDB Fetch.swift
[249/335] Compiling GRDB Map.swift
[250/335] Compiling GRDB RemoveDuplicates.swift
[251/335] Compiling GRDB Trace.swift
[252/335] Compiling GRDB ValueReducer.swift
[253/335] Compiling GRDB SharedValueObservation.swift
[272/336] Compiling GRDB ValueObservation.swift
[273/336] Compiling GRDB ValueObservationScheduler.swift
[274/336] Compiling GRDB resource_bundle_accessor.swift
[338/343] Compiling RxGRDB GRDBReactive.swift
[339/343] Compiling RxGRDB ValueObservation+Rx.swift
/host/spi-builder-workspace/Sources/RxGRDB/ValueObservation+Rx.swift:71:76: warning: class property 'main' cannot be used in a default argument value because 'Dispatch' was not imported by this file; this is an error in the Swift 6 language mode
69 | public func observe(
70 | in reader: DatabaseReader,
71 | scheduling scheduler: ValueObservationScheduler = .async(onQueue: .main))
| |- warning: class property 'main' cannot be used in a default argument value because 'Dispatch' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Dispatch' will be added implicitly
72 | -> Observable<Base.Reducer.Value>
73 | {
[340/343] Compiling RxGRDB DatabaseRegionObservation+Rx.swift
[341/343] Compiling RxGRDB DatabaseReader+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/MainScheduler.swift:37:23: warning: class property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 | operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 | */
24 | public final class MainScheduler : SerialDispatchQueueScheduler {
| `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |
26 | private let mainQueue: DispatchQueue
:
35 |
36 | /// Singleton instance of `MainScheduler`
37 | public static let instance = MainScheduler()
| |- warning: class property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Singleton instance of `MainScheduler` that always schedules work asynchronously
[342/343] Emitting module RxGRDB
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/MainScheduler.swift:37:23: warning: class property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 | operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 | */
24 | public final class MainScheduler : SerialDispatchQueueScheduler {
| `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |
26 | private let mainQueue: DispatchQueue
:
35 |
36 | /// Singleton instance of `MainScheduler`
37 | public static let instance = MainScheduler()
| |- warning: class property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxGRDB/ValueObservation+Rx.swift:71:76: warning: class property 'main' cannot be used in a default argument value because 'Dispatch' was not imported by this file; this is an error in the Swift 6 language mode
69 | public func observe(
70 | in reader: DatabaseReader,
71 | scheduling scheduler: ValueObservationScheduler = .async(onQueue: .main))
| |- warning: class property 'main' cannot be used in a default argument value because 'Dispatch' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Dispatch' will be added implicitly
72 | -> Observable<Base.Reducer.Value>
73 | {
[343/343] Compiling RxGRDB DatabaseWriter+Rx.swift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/MainScheduler.swift:37:23: warning: class property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 | operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 | */
24 | public final class MainScheduler : SerialDispatchQueueScheduler {
| `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |
26 | private let mainQueue: DispatchQueue
:
35 |
36 | /// Singleton instance of `MainScheduler`
37 | public static let instance = MainScheduler()
| |- warning: class property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Singleton instance of `MainScheduler` that always schedules work asynchronously
Build complete! (48.27s)
Build complete.
{
"dependencies" : [
{
"identity" : "grdb.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "6.0.0",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/groue/GRDB.swift.git"
},
{
"identity" : "rxswift",
"requirement" : {
"range" : [
{
"lower_bound" : "6.0.0",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ReactiveX/RxSwift.git"
}
],
"manifest_display_name" : "RxGRDB",
"name" : "RxGRDB",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "RxGRDB",
"targets" : [
"RxGRDB"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "RxGRDBTests",
"module_type" : "SwiftTarget",
"name" : "RxGRDBTests",
"path" : "Tests/RxGRDBTests",
"product_dependencies" : [
"GRDB",
"RxBlocking"
],
"sources" : [
"DatabaseReaderReadTests.swift",
"DatabaseRegionObservationTests.swift",
"DatabaseWriterWriteTests.swift",
"Support.swift",
"ValueObservationTests.swift"
],
"target_dependencies" : [
"RxGRDB"
],
"type" : "test"
},
{
"c99name" : "RxGRDB",
"module_type" : "SwiftTarget",
"name" : "RxGRDB",
"path" : "Sources/RxGRDB",
"product_dependencies" : [
"GRDB",
"RxSwift"
],
"product_memberships" : [
"RxGRDB"
],
"sources" : [
"DatabaseReader+Rx.swift",
"DatabaseRegionObservation+Rx.swift",
"DatabaseWriter+Rx.swift",
"GRDBReactive.swift",
"ValueObservation+Rx.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.