Build Information
Successful build of Entwine, reference v0.9.1 (cd90cf
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 01:22:54 UTC.
Swift 6 data race errors: 11
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tcldr/Entwine.git
Reference: v0.9.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tcldr/Entwine
* tag v0.9.1 -> FETCH_HEAD
HEAD is now at cd90cfb fix TestScheduler repeating actions
Cloned https://github.com/tcldr/Entwine.git
Revision (git rev-parse @):
cd90cfb2510c35ba082d9c7a8910bdacc6fa840f
SUCCESS checkout https://github.com/tcldr/Entwine.git at v0.9.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "entwine",
"name": "Entwine",
"url": "https://github.com/tcldr/Entwine.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Entwine",
"dependencies": [
]
}
]
}
Fetching https://github.com/tcldr/Entwine.git
[1/2725] Fetching entwine
Fetched https://github.com/tcldr/Entwine.git from cache (1.45s)
Creating working copy for https://github.com/tcldr/Entwine.git
Working copy of https://github.com/tcldr/Entwine.git resolved at v0.9.1 (cd90cfb)
warning: '.resolve-product-dependencies': dependency 'entwine' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/tcldr/Entwine.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/20] Compiling Entwine Signal.swift
[5/21] Compiling Entwine WithLatestFrom.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Operators/WithLatestFrom.swift:140:9: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
138 |
139 | private let publisher: AnyPublisher<P.Output, P.Failure>
140 | private (set) var lastInput: Input?
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
141 | private var subscription: Subscription?
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
34 | private var regular = Subnode.empty
35 | private var inverse = Subnode.empty
36 | private (set) var count = 0
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
37 |
38 | /// O(n) where n is the length of the sequence
[6/21] Compiling Entwine Factory.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Operators/WithLatestFrom.swift:140:9: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
138 |
139 | private let publisher: AnyPublisher<P.Output, P.Failure>
140 | private (set) var lastInput: Input?
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
141 | private var subscription: Subscription?
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
34 | private var regular = Subnode.empty
35 | private var inverse = Subnode.empty
36 | private (set) var count = 0
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
37 |
38 | /// O(n) where n is the length of the sequence
[7/21] Compiling Entwine LinkedListQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
34 | private var regular = Subnode.empty
35 | private var inverse = Subnode.empty
36 | private (set) var count = 0
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
37 |
38 | /// O(n) where n is the length of the sequence
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListStack.swift:32:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 | typealias Node = LinkedList<Element>
31 |
32 | private (set) var node = Node.empty
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
33 |
34 | init<C: Collection>(_ elements: C) where C.Element == Element {
[8/21] Compiling Entwine LinkedListStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
34 | private var regular = Subnode.empty
35 | private var inverse = Subnode.empty
36 | private (set) var count = 0
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
37 |
38 | /// O(n) where n is the length of the sequence
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListStack.swift:32:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 | typealias Node = LinkedList<Element>
31 |
32 | private (set) var node = Node.empty
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
33 |
34 | init<C: Collection>(_ elements: C) where C.Element == Element {
[9/21] Compiling Entwine DeallocToken.swift
[10/21] Compiling Entwine ShareReplay.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Operators/Signpost.swift:44:31: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Publishers.SignpostConfiguration.Marker' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public struct SignpostConfiguration {
40 |
41 | public struct Marker {
| `- note: consider making struct 'Marker' conform to the 'Sendable' protocol
42 |
43 | /// A marker that specifies a signpost should use the default label for an event
44 | public static let `default` = Marker()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Publishers.SignpostConfiguration.Marker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
45 |
46 | /// A marker that specifies a signpost should use the passed name as a label for an event
[11/21] Compiling Entwine Signpost.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Operators/Signpost.swift:44:31: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Publishers.SignpostConfiguration.Marker' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public struct SignpostConfiguration {
40 |
41 | public struct Marker {
| `- note: consider making struct 'Marker' conform to the 'Sendable' protocol
42 |
43 | /// A marker that specifies a signpost should use the default label for an event
44 | public static let `default` = Marker()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Publishers.SignpostConfiguration.Marker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
45 |
46 | /// A marker that specifies a signpost should use the passed name as a label for an event
[12/21] Compiling Entwine Dematerialize.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
34 | private var regular = Subnode.empty
35 | private var inverse = Subnode.empty
36 | private (set) var count = 0
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
37 |
38 | /// O(n) where n is the length of the sequence
[13/21] Compiling Entwine Materialize.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
34 | private var regular = Subnode.empty
35 | private var inverse = Subnode.empty
36 | private (set) var count = 0
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
37 |
38 | /// O(n) where n is the length of the sequence
[14/21] Compiling Entwine ReferenceCounted.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Operators/ReplaySubject.swift:143:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
141 |
142 | let maxBufferSize: Int
143 | private (set) var buffer = LinkedListQueue<Value>()
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
144 |
145 | init(maxBufferSize: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
34 | private var regular = Subnode.empty
35 | private var inverse = Subnode.empty
36 | private (set) var count = 0
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
37 |
38 | /// O(n) where n is the length of the sequence
[15/21] Compiling Entwine ReplaySubject.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Operators/ReplaySubject.swift:143:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
141 |
142 | let maxBufferSize: Int
143 | private (set) var buffer = LinkedListQueue<Value>()
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
144 |
145 | init(maxBufferSize: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
34 | private var regular = Subnode.empty
35 | private var inverse = Subnode.empty
36 | private (set) var count = 0
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
37 |
38 | /// O(n) where n is the length of the sequence
[16/21] Compiling Entwine CancellableBag.swift
[17/21] Compiling Entwine Deprecations.swift
[18/21] Emitting module Entwine
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
34 | private var regular = Subnode.empty
35 | private var inverse = Subnode.empty
36 | private (set) var count = 0
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
37 |
38 | /// O(n) where n is the length of the sequence
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListStack.swift:32:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 | typealias Node = LinkedList<Element>
31 |
32 | private (set) var node = Node.empty
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
33 |
34 | init<C: Collection>(_ elements: C) where C.Element == Element {
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Operators/ReplaySubject.swift:143:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
141 |
142 | let maxBufferSize: Int
143 | private (set) var buffer = LinkedListQueue<Value>()
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
144 |
145 | init(maxBufferSize: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Operators/Signpost.swift:44:31: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Publishers.SignpostConfiguration.Marker' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public struct SignpostConfiguration {
40 |
41 | public struct Marker {
| `- note: consider making struct 'Marker' conform to the 'Sendable' protocol
42 |
43 | /// A marker that specifies a signpost should use the default label for an event
44 | public static let `default` = Marker()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Publishers.SignpostConfiguration.Marker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
45 |
46 | /// A marker that specifies a signpost should use the passed name as a label for an event
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Operators/WithLatestFrom.swift:140:9: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
138 |
139 | private let publisher: AnyPublisher<P.Output, P.Failure>
140 | private (set) var lastInput: Input?
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
141 | private var subscription: Subscription?
142 |
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Schedulers/TrampolineScheduler.swift:38:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TrampolineScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
34 | /// You can only use this scheduler for immediate actions. If you attempt to schedule
35 | /// actions after a specific date, the scheduler produces a fatal error.
36 | public final class TrampolineScheduler {
| `- note: class 'TrampolineScheduler' does not conform to the 'Sendable' protocol
37 |
38 | public static let shared = TrampolineScheduler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TrampolineScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
39 |
40 | private static let localThreadActionQueueKey = "com.github.tcldr.Entwine.TrampolineScheduler.localThreadActionQueueKey"
[19/21] Compiling Entwine TrampolineScheduler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Schedulers/TrampolineScheduler.swift:38:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TrampolineScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
34 | /// You can only use this scheduler for immediate actions. If you attempt to schedule
35 | /// actions after a specific date, the scheduler produces a fatal error.
36 | public final class TrampolineScheduler {
| `- note: class 'TrampolineScheduler' does not conform to the 'Sendable' protocol
37 |
38 | public static let shared = TrampolineScheduler()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TrampolineScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
39 |
40 | private static let localThreadActionQueueKey = "com.github.tcldr.Entwine.TrampolineScheduler.localThreadActionQueueKey"
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
34 | private var regular = Subnode.empty
35 | private var inverse = Subnode.empty
36 | private (set) var count = 0
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
37 |
38 | /// O(n) where n is the length of the sequence
[20/21] Compiling Entwine PriorityQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
34 | private var regular = Subnode.empty
35 | private var inverse = Subnode.empty
36 | private (set) var count = 0
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
37 |
38 | /// O(n) where n is the length of the sequence
[21/21] Compiling Entwine SinkQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/Entwine/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
34 | private var regular = Subnode.empty
35 | private var inverse = Subnode.empty
36 | private (set) var count = 0
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
37 |
38 | /// O(n) where n is the length of the sequence
[22/35] Compiling EntwineTest TestSequence.swift
[23/35] Compiling EntwineTest TestablePublisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
34 | private var regular = Subnode.empty
35 | private var inverse = Subnode.empty
36 | private (set) var count = 0
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
37 |
38 | /// O(n) where n is the length of the sequence
[24/36] Compiling EntwineTest DemandLedger.swift
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/TestableSubscriber/DemandLedger.swift:39:29: warning: generic parameter 'Time' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
30 | ///
31 | /// `DemandLedger`'s can be compared to see if they match expectations.
32 | public struct DemandLedger<Time: Strideable> where Time.Stride : SchedulerTimeIntervalConvertible {
| `- note: 'Time' previously declared here
33 |
34 | /// The kind of transcation for a `DemandLedger`
:
37 | /// - `.debit(authorized:)`: The consumption of credit by an upstream `Publisher`. The debit is only considered authorised if the overall
38 | /// credit is greater or equal to the total debit over the lifetime of a subscription. A `debit` always has an implicit amount of `1`.
39 | public enum Transaction<Time: Strideable>: Equatable where Time.Stride : SchedulerTimeIntervalConvertible {
| `- warning: generic parameter 'Time' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
40 | case credit(amount: Subscribers.Demand)
41 | case debit(authorized: Bool)
[25/36] Compiling EntwineTest VirtualTimeInterval.swift
[26/36] Compiling EntwineTest VirtualTime.swift
[27/36] Compiling EntwineTest Deprecations.swift
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/Signal+CustomDebugStringConvertible.swift:29:1: warning: extension declares a conformance of imported type 'Signal' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Entwine' introduce this conformance in the future
27 | // MARK: - CustomDebugStringConvertible conformance
28 |
29 | extension Signal: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'Signal' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Entwine' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
30 | public var debugDescription: String {
31 | switch self {
[28/36] Compiling EntwineTest Signal+CustomDebugStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/Signal+CustomDebugStringConvertible.swift:29:1: warning: extension declares a conformance of imported type 'Signal' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Entwine' introduce this conformance in the future
27 | // MARK: - CustomDebugStringConvertible conformance
28 |
29 | extension Signal: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'Signal' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Entwine' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
30 | public var debugDescription: String {
31 | switch self {
[29/36] Compiling EntwineTest TestEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/TestableSubscriber/TestableSubscriber.swift:51:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TestableSubscriberOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Options for the defining the behavior of a `TestableSubscriber` throughout its lifetime
31 | public struct TestableSubscriberOptions {
| `- note: consider making struct 'TestableSubscriberOptions' conform to the 'Sendable' protocol
32 | /// The demand that will be signalled to the upstream `Publisher` upon subscription
33 | public var initialDemand = Subscribers.Demand.unlimited
:
49 | /// - `demandReplenishmentDelay`: `100`
50 | /// - `negativeBalanceHandler`: `nil`
51 | public static let `default` = TestableSubscriberOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TestableSubscriberOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/TestScheduler/TestScheduler.swift:55:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TestScheduler.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// Configuration values for a`TestScheduler` test run.
43 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
44 | /// Determines if the scheduler starts the test immediately
45 | public var pausedOnStart = false
:
53 | public var subscriberOptions = TestableSubscriberOptions.default
54 |
55 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TestScheduler.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
56 | }
57 |
[30/36] Compiling EntwineTest TestScheduler.swift
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/TestableSubscriber/TestableSubscriber.swift:51:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TestableSubscriberOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Options for the defining the behavior of a `TestableSubscriber` throughout its lifetime
31 | public struct TestableSubscriberOptions {
| `- note: consider making struct 'TestableSubscriberOptions' conform to the 'Sendable' protocol
32 | /// The demand that will be signalled to the upstream `Publisher` upon subscription
33 | public var initialDemand = Subscribers.Demand.unlimited
:
49 | /// - `demandReplenishmentDelay`: `100`
50 | /// - `negativeBalanceHandler`: `nil`
51 | public static let `default` = TestableSubscriberOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TestableSubscriberOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/TestScheduler/TestScheduler.swift:55:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TestScheduler.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// Configuration values for a`TestScheduler` test run.
43 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
44 | /// Determines if the scheduler starts the test immediately
45 | public var pausedOnStart = false
:
53 | public var subscriberOptions = TestableSubscriberOptions.default
54 |
55 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TestScheduler.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
56 | }
57 |
[31/36] Compiling EntwineTest PriorityQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
34 | private var regular = Subnode.empty
35 | private var inverse = Subnode.empty
36 | private (set) var count = 0
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
37 |
38 | /// O(n) where n is the length of the sequence
[32/36] Compiling EntwineTest SinkQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
34 | private var regular = Subnode.empty
35 | private var inverse = Subnode.empty
36 | private (set) var count = 0
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
37 |
38 | /// O(n) where n is the length of the sequence
[33/36] Emitting module EntwineTest
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
34 | private var regular = Subnode.empty
35 | private var inverse = Subnode.empty
36 | private (set) var count = 0
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
37 |
38 | /// O(n) where n is the length of the sequence
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/Common/DataStructures/LinkedListStack.swift:32:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 | typealias Node = LinkedList<Element>
31 |
32 | private (set) var node = Node.empty
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
33 |
34 | init<C: Collection>(_ elements: C) where C.Element == Element {
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/Signal+CustomDebugStringConvertible.swift:29:1: warning: extension declares a conformance of imported type 'Signal' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Entwine' introduce this conformance in the future
27 | // MARK: - CustomDebugStringConvertible conformance
28 |
29 | extension Signal: CustomDebugStringConvertible {
| |- warning: extension declares a conformance of imported type 'Signal' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'Entwine' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
30 | public var debugDescription: String {
31 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/TestableSubscriber/TestableSubscriber.swift:51:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TestableSubscriberOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Options for the defining the behavior of a `TestableSubscriber` throughout its lifetime
31 | public struct TestableSubscriberOptions {
| `- note: consider making struct 'TestableSubscriberOptions' conform to the 'Sendable' protocol
32 | /// The demand that will be signalled to the upstream `Publisher` upon subscription
33 | public var initialDemand = Subscribers.Demand.unlimited
:
49 | /// - `demandReplenishmentDelay`: `100`
50 | /// - `negativeBalanceHandler`: `nil`
51 | public static let `default` = TestableSubscriberOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TestableSubscriberOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/TestScheduler/TestScheduler.swift:55:27: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TestScheduler.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// Configuration values for a`TestScheduler` test run.
43 | public struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
44 | /// Determines if the scheduler starts the test immediately
45 | public var pausedOnStart = false
:
53 | public var subscriberOptions = TestableSubscriberOptions.default
54 |
55 | public static let `default` = Configuration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TestScheduler.Configuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
56 | }
57 |
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/TestableSubscriber/DemandLedger.swift:39:29: warning: generic parameter 'Time' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
30 | ///
31 | /// `DemandLedger`'s can be compared to see if they match expectations.
32 | public struct DemandLedger<Time: Strideable> where Time.Stride : SchedulerTimeIntervalConvertible {
| `- note: 'Time' previously declared here
33 |
34 | /// The kind of transcation for a `DemandLedger`
:
37 | /// - `.debit(authorized:)`: The consumption of credit by an upstream `Publisher`. The debit is only considered authorised if the overall
38 | /// credit is greater or equal to the total debit over the lifetime of a subscription. A `debit` always has an implicit amount of `1`.
39 | public enum Transaction<Time: Strideable>: Equatable where Time.Stride : SchedulerTimeIntervalConvertible {
| `- warning: generic parameter 'Time' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
40 | case credit(amount: Subscribers.Demand)
41 | case debit(authorized: Bool)
[34/36] Compiling EntwineTest LinkedListQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
34 | private var regular = Subnode.empty
35 | private var inverse = Subnode.empty
36 | private (set) var count = 0
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
37 |
38 | /// O(n) where n is the length of the sequence
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/Common/DataStructures/LinkedListStack.swift:32:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 | typealias Node = LinkedList<Element>
31 |
32 | private (set) var node = Node.empty
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
33 |
34 | init<C: Collection>(_ elements: C) where C.Element == Element {
[35/36] Compiling EntwineTest LinkedListStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/Common/DataStructures/LinkedListQueue.swift:36:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
34 | private var regular = Subnode.empty
35 | private var inverse = Subnode.empty
36 | private (set) var count = 0
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
37 |
38 | /// O(n) where n is the length of the sequence
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/Common/DataStructures/LinkedListStack.swift:32:5: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
30 | typealias Node = LinkedList<Element>
31 |
32 | private (set) var node = Node.empty
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
33 |
34 | init<C: Collection>(_ elements: C) where C.Element == Element {
[36/36] Compiling EntwineTest TestableSubscriber.swift
/Users/admin/builder/spi-builder-workspace/Sources/EntwineTest/TestableSubscriber/TestableSubscriber.swift:51:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TestableSubscriberOptions' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Options for the defining the behavior of a `TestableSubscriber` throughout its lifetime
31 | public struct TestableSubscriberOptions {
| `- note: consider making struct 'TestableSubscriberOptions' conform to the 'Sendable' protocol
32 | /// The demand that will be signalled to the upstream `Publisher` upon subscription
33 | public var initialDemand = Subscribers.Demand.unlimited
:
49 | /// - `demandReplenishmentDelay`: `100`
50 | /// - `negativeBalanceHandler`: `nil`
51 | public static let `default` = TestableSubscriberOptions()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'TestableSubscriberOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
52 | }
53 |
Build complete! (14.85s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Entwine",
"name" : "Entwine",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Entwine",
"targets" : [
"Entwine"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EntwineTest",
"targets" : [
"EntwineTest"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "EntwineTests",
"module_type" : "SwiftTarget",
"name" : "EntwineTests",
"path" : "Tests/EntwineTests",
"sources" : [
"DematerializeTests.swift",
"FactoryTests.swift",
"MaterializeTests.swift",
"ReferenceCountedTests.swift",
"ReplaySubjectTests.swift",
"ShareReplayTests.swift",
"TrampolineSchedulerTests.swift",
"WithLatestFromTests.swift"
],
"target_dependencies" : [
"Entwine",
"EntwineTest"
],
"type" : "test"
},
{
"c99name" : "EntwineTestTests",
"module_type" : "SwiftTarget",
"name" : "EntwineTestTests",
"path" : "Tests/EntwineTestTests",
"sources" : [
"TestSchedulerTests.swift",
"TestablePublisherTests.swift",
"TestableSubscriberTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"EntwineTest"
],
"type" : "test"
},
{
"c99name" : "EntwineTest",
"module_type" : "SwiftTarget",
"name" : "EntwineTest",
"path" : "Sources/EntwineTest",
"product_memberships" : [
"EntwineTest"
],
"sources" : [
"Common/DataStructures/LinkedListQueue.swift",
"Common/DataStructures/LinkedListStack.swift",
"Common/DataStructures/PriorityQueue.swift",
"Common/Utilities/SinkQueue.swift",
"Deprecations.swift",
"Signal+CustomDebugStringConvertible.swift",
"TestEvent.swift",
"TestScheduler/TestScheduler.swift",
"TestScheduler/VirtualTime.swift",
"TestScheduler/VirtualTimeInterval.swift",
"TestSequence.swift",
"TestablePublisher/TestablePublisher.swift",
"TestableSubscriber/DemandLedger.swift",
"TestableSubscriber/TestableSubscriber.swift"
],
"target_dependencies" : [
"Entwine"
],
"type" : "library"
},
{
"c99name" : "Entwine",
"module_type" : "SwiftTarget",
"name" : "Entwine",
"path" : "Sources/Entwine",
"product_memberships" : [
"Entwine",
"EntwineTest"
],
"sources" : [
"Common/DataStructures/LinkedListQueue.swift",
"Common/DataStructures/LinkedListStack.swift",
"Common/DataStructures/PriorityQueue.swift",
"Common/Utilities/SinkQueue.swift",
"Deprecated/CancellableBag.swift",
"Deprecated/Deprecations.swift",
"Operators/Dematerialize.swift",
"Operators/Materialize.swift",
"Operators/ReferenceCounted.swift",
"Operators/ReplaySubject.swift",
"Operators/ShareReplay.swift",
"Operators/Signpost.swift",
"Operators/WithLatestFrom.swift",
"Publishers/Factory.swift",
"Schedulers/TrampolineScheduler.swift",
"Signal.swift",
"Utilities/DeallocToken.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.