Build Information
Successful build of RxGRDB with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
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 /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/RxSwiftCommunity/RxGRDB.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/6] Write sources
[1/6] Copying Info.plist
[1/6] Write sources
[1/6] Copying PrivacyInfo.xcprivacy
[5/6] Write swift-version-6F35C1178C84523A.txt
[7/303] Compiling RxSwift Multicast.swift
[8/303] Compiling RxSwift Never.swift
[9/303] Compiling RxSwift NopDisposable.swift
[10/303] Compiling RxSwift Observable+Concurrency.swift
[11/303] Compiling RxSwift Observable.swift
[12/303] Compiling RxSwift ObservableConvertibleType+Infallible.swift
[13/303] Compiling RxSwift ObservableConvertibleType.swift
[14/303] Compiling RxSwift ObservableType+Extensions.swift
[15/303] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[16/303] Compiling RxSwift ObservableType.swift
[17/303] Compiling RxSwift ObserveOn.swift
[18/303] Compiling RxSwift ObserverBase.swift
[19/303] Compiling RxSwift ObserverType.swift
[20/303] Compiling RxSwift OperationQueueScheduler.swift
[21/303] Compiling RxSwift Optional.swift
[22/303] Compiling RxSwift Platform.Darwin.swift
[23/303] Compiling RxSwift Debug.swift
[24/303] Compiling RxSwift Decode.swift
[25/303] Compiling RxSwift DefaultIfEmpty.swift
[26/303] Compiling RxSwift Deferred.swift
[27/303] Compiling RxSwift Delay.swift
[28/303] Compiling RxSwift DelaySubscription.swift
[29/303] Compiling RxSwift Dematerialize.swift
[30/303] Compiling RxSwift DispatchQueue+Extensions.swift
[31/303] Compiling RxSwift DispatchQueueConfiguration.swift
[32/303] Compiling RxSwift Disposable.swift
[33/303] Compiling RxSwift Disposables.swift
[34/303] Compiling RxSwift DisposeBag.swift
[35/303] Compiling RxSwift DisposeBase.swift
[36/303] Compiling RxSwift DistinctUntilChanged.swift
[37/303] Compiling RxSwift Do.swift
[38/303] Compiling RxSwift ElementAt.swift
[39/319] Compiling RxSwift Infallible+Create.swift
[40/319] Compiling RxSwift Infallible+Debug.swift
[41/319] Compiling RxSwift Infallible+Operators.swift
[42/319] Compiling RxSwift Infallible+Zip+arity.swift
[43/319] Compiling RxSwift Infallible.swift
[44/319] Compiling RxSwift InfiniteSequence.swift
[45/319] Compiling RxSwift InvocableScheduledItem.swift
[46/319] Compiling RxSwift InvocableType.swift
[47/319] Compiling RxSwift Just.swift
[48/319] Compiling RxSwift Lock.swift
[49/319] Compiling RxSwift LockOwnerType.swift
[50/319] Compiling RxSwift MainScheduler.swift
[51/319] Compiling RxSwift Map.swift
[52/319] Compiling RxSwift Materialize.swift
[53/319] Compiling RxSwift Maybe.swift
[54/319] Compiling RxSwift Merge.swift
[55/319] Compiling GRDB ForeignKeyDefinition.swift
[56/319] Compiling GRDB IndexDefinition.swift
[57/319] Compiling GRDB TableAlteration.swift
[58/319] Compiling GRDB TableDefinition.swift
[59/319] Compiling GRDB VirtualTableModule.swift
[60/319] Compiling GRDB TableRecord+Association.swift
[61/319] Compiling GRDB TableRecord+QueryInterfaceRequest.swift
[62/319] Compiling GRDB EncodableRecord+Encodable.swift
[63/319] Compiling RxSwift CompositeDisposable.swift
[64/319] Compiling RxSwift Concat.swift
[65/319] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[66/319] Compiling RxSwift ConcurrentMainScheduler.swift
[67/319] Compiling RxSwift ConnectableObservableType.swift
[68/319] Compiling RxSwift Create.swift
[69/319] Compiling GRDB MutablePersistableRecord+Insert.swift
[70/319] Compiling RxSwift Date+Dispatch.swift
[71/319] Compiling GRDB FTS4.swift
[72/319] Compiling RxSwift AddRef.swift
[73/319] Compiling RxSwift Amb.swift
[74/319] Compiling RxSwift AnonymousDisposable.swift
[75/319] Compiling RxSwift AnonymousObserver.swift
[76/319] Compiling RxSwift AnyObserver.swift
[77/319] Compiling RxSwift AsMaybe.swift
[78/319] Compiling RxSwift AsSingle.swift
[79/319] Compiling RxSwift AsyncLock.swift
[80/319] Compiling RxSwift AsyncSubject.swift
[81/319] Compiling RxSwift AtomicInt.swift
[82/319] Compiling RxSwift Bag+Rx.swift
[83/319] Compiling RxSwift Bag.swift
[84/319] Compiling RxSwift BehaviorSubject.swift
[85/319] Compiling RxSwift BinaryDisposable.swift
[86/319] Compiling RxSwift Binder.swift
[87/319] Compiling RxSwift BooleanDisposable.swift
[88/319] Compiling RxSwift Buffer.swift
[89/319] Compiling RxSwift SingleAsync.swift
[90/319] Compiling RxSwift Sink.swift
[91/319] Compiling RxSwift Skip.swift
[92/319] Compiling RxSwift SkipUntil.swift
[93/319] Compiling RxSwift SkipWhile.swift
[94/319] Compiling RxSwift StartWith.swift
[95/319] Compiling RxSwift SubjectType.swift
[96/319] Compiling RxSwift SubscribeOn.swift
[97/319] Compiling RxSwift SubscriptionDisposable.swift
[98/319] Compiling RxSwift SwiftSupport.swift
[99/319] Compiling RxSwift Switch.swift
[100/319] Compiling RxSwift SwitchIfEmpty.swift
[101/319] Compiling RxSwift SynchronizedDisposeType.swift
[102/319] Compiling RxSwift SynchronizedOnType.swift
[103/319] Compiling RxSwift SynchronizedUnsubscribeType.swift
[104/319] Compiling RxSwift TailRecursiveSink.swift
[105/319] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[106/319] Compiling RxSwift PrimitiveSequence.swift
[107/319] Compiling RxSwift PriorityQueue.swift
[108/319] Compiling RxSwift Producer.swift
[109/319] Compiling RxSwift PublishSubject.swift
[110/319] Compiling RxSwift Queue.swift
[111/319] Compiling RxSwift Range.swift
[112/319] Compiling RxSwift Reactive.swift
[113/319] Compiling RxSwift RecursiveLock.swift
[114/319] Compiling RxSwift RecursiveScheduler.swift
[115/319] Compiling RxSwift Reduce.swift
[116/319] Compiling RxSwift RefCountDisposable.swift
[117/319] Compiling RxSwift Repeat.swift
[118/319] Compiling RxSwift ReplaySubject.swift
[135/319] Compiling RxSwift Take.swift
[136/319] Compiling RxSwift TakeLast.swift
[137/319] Compiling RxSwift TakeWithPredicate.swift
[138/335] Compiling RxSwift Empty.swift
[139/335] Compiling RxSwift Enumerated.swift
[140/335] Compiling RxSwift Error.swift
[141/335] Compiling GRDB BelongsToAssociation.swift
[142/335] Compiling GRDB HasManyAssociation.swift
[143/335] Compiling GRDB HasManyThroughAssociation.swift
[144/335] Compiling GRDB HasOneAssociation.swift
[145/335] Compiling GRDB HasOneThroughAssociation.swift
[146/335] Compiling GRDB JoinAssociation.swift
[147/335] Compiling GRDB CommonTableExpression.swift
[148/335] Compiling GRDB QueryInterfaceRequest.swift
[149/335] Compiling GRDB RequestProtocols.swift
[150/335] Compiling GRDB Column.swift
[151/335] Compiling GRDB DatabasePromise.swift
[152/335] Compiling GRDB SQLAssociation.swift
[153/335] Compiling GRDB SQLCollection.swift
[154/335] Emitting module RxSwift
[155/335] Compiling RxSwift RetryWhen.swift
[156/335] Compiling RxSwift Rx.swift
[157/335] Compiling RxSwift RxMutableBox.swift
[158/335] Compiling RxSwift Sample.swift
[159/335] Compiling RxSwift Scan.swift
[160/335] Compiling RxSwift ScheduledDisposable.swift
[161/335] Compiling RxSwift ScheduledItem.swift
[162/335] Compiling RxSwift ScheduledItemType.swift
[163/335] Compiling RxSwift SchedulerServices+Emulation.swift
[164/335] Compiling RxSwift SchedulerType.swift
[165/335] Compiling RxSwift Sequence.swift
[166/335] Compiling RxSwift SerialDispatchQueueScheduler.swift
[167/335] Compiling RxSwift SerialDisposable.swift
[168/335] Compiling RxSwift ShareReplayScope.swift
[169/335] Compiling RxSwift Single.swift
[170/335] Compiling RxSwift SingleAssignmentDisposable.swift
[171/335] Compiling RxSwift Platform.Linux.swift
[172/335] Compiling RxSwift PrimitiveSequence+Concurrency.swift
[237/335] Emitting module GRDB
[304/335] Compiling GRDB ReadWriteBox.swift
[305/335] Compiling GRDB ReceiveValuesOn.swift
[306/335] Compiling GRDB Refinable.swift
[307/335] Compiling GRDB Utils.swift
[308/335] Compiling GRDB DatabaseCancellable.swift
[309/335] Compiling GRDB ValueConcurrentObserver.swift
[310/335] Compiling GRDB ValueWriteOnlyObserver.swift
[311/335] Compiling GRDB Fetch.swift
[312/335] Compiling GRDB Map.swift
[313/335] Compiling GRDB RemoveDuplicates.swift
[314/335] Compiling GRDB Trace.swift
[315/335] Compiling GRDB ValueReducer.swift
[316/335] Compiling GRDB SharedValueObservation.swift
[317/335] Compiling GRDB ValueObservation.swift
[318/335] Compiling GRDB ValueObservationScheduler.swift
[319/335] Compiling GRDB resource_bundle_accessor.swift
[336/341] Compiling RxGRDB ValueObservation+Rx.swift
/Users/admin/builder/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 | {
[337/341] Compiling RxGRDB DatabaseReader+Rx.swift
/Users/admin/builder/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
[338/341] Compiling RxGRDB GRDBReactive.swift
[339/341] Compiling RxGRDB DatabaseRegionObservation+Rx.swift
[340/341] Emitting module RxGRDB
/Users/admin/builder/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
/Users/admin/builder/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 | {
[341/341] Compiling RxGRDB DatabaseWriter+Rx.swift
/Users/admin/builder/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! (62.18s)
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/groue/GRDB.swift.git
[1/51416] Fetching rxswift
[7200/158491] Fetching rxswift, grdb.swift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (15.12s)
Fetched https://github.com/groue/GRDB.swift.git from cache (15.12s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.7.1 (0.76s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 6.27.0 (0.79s)
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
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" : "/Users/admin/builder/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.