Build Information
Successful build of swift-async-algorithms, reference 1.0.4 (042e1c
), with Swift 5.10 for macOS (SPM) on 23 Apr 2025 03:31:34 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-async-algorithms.git
Reference: 1.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/swift-async-algorithms
* tag 1.0.4 -> FETCH_HEAD
HEAD is now at 042e1c4 Move platform requirements to availability annotations (#348)
Cloned https://github.com/apple/swift-async-algorithms.git
Revision (git rev-parse @):
042e1c4d9d19748c9c228f8d4ebc97bb1e339b0b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-async-algorithms.git at 1.0.4
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/apple/swift-async-algorithms.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/9] Write sources
[8/9] Write swift-version-33747A42983211AE.txt
[10/27] Compiling InternalCollectionsUtilities Integer rank.swift
[11/27] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[12/28] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[13/28] Compiling InternalCollectionsUtilities Debugging.swift
[14/28] Compiling InternalCollectionsUtilities Descriptions.swift
[15/28] Compiling InternalCollectionsUtilities _SortedCollection.swift
[16/28] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[17/28] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[18/28] Compiling InternalCollectionsUtilities Specialize.swift
[19/28] Compiling InternalCollectionsUtilities UInt+reversed.swift
[20/28] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[21/28] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[22/28] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[23/28] Emitting module InternalCollectionsUtilities
[24/28] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[25/28] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[26/28] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[27/28] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[28/28] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[29/100] Compiling DequeModule _DequeBuffer.swift
[30/101] Compiling DequeModule _DequeSlot.swift
[31/101] Compiling DequeModule _DequeBufferHeader.swift
[32/101] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[33/101] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[34/101] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[35/101] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[36/101] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[37/101] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[38/107] Compiling DequeModule _UnsafeWrappedBuffer.swift
[39/107] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[40/107] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[41/107] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[42/107] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[43/107] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[44/107] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[45/107] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[46/107] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[47/107] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[48/107] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[49/107] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[50/107] Compiling OrderedCollections OrderedSet+Sendable.swift
[51/107] Compiling OrderedCollections _Hashtable+Header.swift
[52/107] Compiling OrderedCollections OrderedDictionary+Codable.swift
[53/107] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[54/107] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[55/107] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[56/107] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[57/107] Compiling OrderedCollections _HashTable+Bucket.swift
[58/107] Compiling OrderedCollections _HashTable+BucketIterator.swift
[59/107] Compiling OrderedCollections _HashTable+Constants.swift
[60/107] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[61/107] Compiling OrderedCollections _HashTable+Testing.swift
[62/107] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[65/107] Compiling OrderedCollections OrderedSet+Hashable.swift
[66/107] Compiling OrderedCollections OrderedSet+Initializers.swift
[67/107] Compiling OrderedCollections OrderedSet+Insertions.swift
[68/107] Compiling OrderedCollections OrderedSet+Invariants.swift
[69/107] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[70/107] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[71/107] Compiling OrderedCollections OrderedSet+Codable.swift
[72/107] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[73/107] Compiling OrderedCollections OrderedSet+Descriptions.swift
[74/107] Compiling OrderedCollections OrderedSet+Diffing.swift
[75/107] Compiling OrderedCollections OrderedSet+Equatable.swift
[76/107] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[81/107] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[82/107] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[83/107] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[84/107] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[85/107] Compiling OrderedCollections OrderedDictionary+Values.swift
[86/107] Compiling OrderedCollections OrderedDictionary.swift
[87/107] Compiling OrderedCollections OrderedDictionary+Elements.swift
[88/107] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[89/107] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[90/107] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[91/107] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[92/107] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[93/107] Emitting module DequeModule
[100/107] Compiling OrderedCollections _HashTable.swift
[101/107] Compiling OrderedCollections OrderedSet+SubSequence.swift
[102/107] Compiling OrderedCollections OrderedSet+Testing.swift
[103/107] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[104/107] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[105/107] Compiling OrderedCollections OrderedSet.swift
[106/107] Compiling OrderedCollections _UnsafeBitset.swift
[107/107] Emitting module OrderedCollections
[108/153] Emitting module AsyncAlgorithms
[109/158] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[110/158] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[111/158] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[112/158] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[113/158] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[114/158] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[115/158] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[116/158] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[117/158] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[118/158] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[119/158] Compiling AsyncAlgorithms Dictionary.swift
[120/158] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[121/158] Compiling AsyncAlgorithms Locking.swift
[122/158] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[123/158] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[124/158] Compiling AsyncAlgorithms UnsafeTransfer.swift
[125/158] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[126/158] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[127/158] Compiling AsyncAlgorithms ZipStateMachine.swift
[128/158] Compiling AsyncAlgorithms ZipStorage.swift
[129/158] Compiling AsyncAlgorithms MergeStateMachine.swift
[130/158] Compiling AsyncAlgorithms MergeStorage.swift
[131/158] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[132/158] Compiling AsyncAlgorithms Rethrow.swift
[133/158] Compiling AsyncAlgorithms SetAlgebra.swift
[134/158] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[135/158] Compiling AsyncAlgorithms ChannelStateMachine.swift
[136/158] Compiling AsyncAlgorithms ChannelStorage.swift
[137/158] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[138/158] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[139/158] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[140/158] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[141/158] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[142/158] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[143/158] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[144/158] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[145/158] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[146/158] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[147/158] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[148/158] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[149/158] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[150/158] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[151/158] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[152/158] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[153/158] Compiling AsyncAlgorithms AsyncChannel.swift
[154/158] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[155/158] Compiling AsyncAlgorithms CombineLatestStorage.swift
[156/158] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[157/158] Compiling AsyncAlgorithms DebounceStateMachine.swift
[158/158] Compiling AsyncAlgorithms DebounceStorage.swift
[159/170] Compiling AsyncSequenceValidation Theme.swift
[160/171] Compiling AsyncSequenceValidation TaskDriver.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:141:16: warning: static property 'currentJob' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
static var currentJob: Job?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:141:16: note: isolate 'currentJob' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
static var currentJob: Job?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/TaskDriver.swift:99:58: warning: reference to static property 'currentJob' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
queue.enqueue(AsyncSequenceValidationDiagram.Context.currentJob) {
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:141:16: note: static property declared here
static var currentJob: Job?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/TaskDriver.swift:100:61: warning: reference to static property 'currentJob' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
let previous = AsyncSequenceValidationDiagram.Context.currentJob
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:141:16: note: static property declared here
static var currentJob: Job?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/TaskDriver.swift:101:46: warning: reference to static property 'currentJob' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
AsyncSequenceValidationDiagram.Context.currentJob = job
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:141:16: note: static property declared here
static var currentJob: Job?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/TaskDriver.swift:103:46: warning: reference to static property 'currentJob' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
AsyncSequenceValidationDiagram.Context.currentJob = previous
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:141:16: note: static property declared here
static var currentJob: Job?
^
[161/171] Compiling AsyncSequenceValidation Input.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:141:16: warning: static property 'currentJob' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
static var currentJob: Job?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:141:16: note: isolate 'currentJob' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
static var currentJob: Job?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Input.swift:57:23: warning: reference to static property 'currentJob' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
Context.currentJob,
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:141:16: note: static property declared here
static var currentJob: Job?
^
[162/171] Compiling AsyncSequenceValidation AsyncSequenceValidationDiagram.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:141:16: warning: static property 'currentJob' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
static var currentJob: Job?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:141:16: note: isolate 'currentJob' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
static var currentJob: Job?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Clock.swift:120:50: warning: reference to static property 'currentJob' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
AsyncSequenceValidationDiagram.Context.currentJob,
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:141:16: note: static property declared here
static var currentJob: Job?
^
[163/171] Compiling AsyncSequenceValidation Clock.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:141:16: warning: static property 'currentJob' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
static var currentJob: Job?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:141:16: note: isolate 'currentJob' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
static var currentJob: Job?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Clock.swift:120:50: warning: reference to static property 'currentJob' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
AsyncSequenceValidationDiagram.Context.currentJob,
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:141:16: note: static property declared here
static var currentJob: Job?
^
[164/171] Emitting module AsyncSequenceValidation
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:125:24: warning: static property '_executor' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
private static let _executor: AnyObject = {
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:137:16: warning: static property 'clock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
static var clock: Clock?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:137:16: note: isolate 'clock' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
static var clock: Clock?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:139:16: warning: static property 'driver' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
static var driver: TaskDriver?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:139:16: note: isolate 'driver' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
static var driver: TaskDriver?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:141:16: warning: static property 'currentJob' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
static var currentJob: Job?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:141:16: note: isolate 'currentJob' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
static var currentJob: Job?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:143:16: warning: static property 'specificationFailures' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
static var specificationFailures = [ExpectationFailure]()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:143:16: note: isolate 'specificationFailures' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
static var specificationFailures = [ExpectationFailure]()
^
[165/171] Compiling AsyncSequenceValidation Job.swift
[166/171] Compiling AsyncSequenceValidation SourceLocation.swift
[167/171] Compiling AsyncSequenceValidation Locking.swift
[168/171] Compiling AsyncSequenceValidation Event.swift
[169/171] Compiling AsyncSequenceValidation Expectation.swift
[170/171] Compiling AsyncSequenceValidation Test.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:125:24: warning: static property '_executor' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
private static let _executor: AnyObject = {
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:137:16: warning: static property 'clock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
static var clock: Clock?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:137:16: note: isolate 'clock' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
static var clock: Clock?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:139:16: warning: static property 'driver' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
static var driver: TaskDriver?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:139:16: note: isolate 'driver' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
static var driver: TaskDriver?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:141:16: warning: static property 'currentJob' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
static var currentJob: Job?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:141:16: note: isolate 'currentJob' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
static var currentJob: Job?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:143:16: warning: static property 'specificationFailures' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in Swift 6
static var specificationFailures = [ExpectationFailure]()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:143:16: note: isolate 'specificationFailures' to a global actor, or convert it to a 'let' constant and conform it to 'Sendable'
static var specificationFailures = [ExpectationFailure]()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:64:29: warning: reference to static property 'clock' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
when: Context.clock!.now,
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:137:16: note: static property declared here
static var clock: Clock?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:68:21: warning: reference to static property 'specificationFailures' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
Context.specificationFailures.append(failure)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:143:16: note: static property declared here
static var specificationFailures = [ExpectationFailure]()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:72:27: warning: reference to static property 'clock' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
when: Context.clock!.now,
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:137:16: note: static property declared here
static var clock: Clock?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:76:19: warning: reference to static property 'specificationFailures' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
Context.specificationFailures.append(failure)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:143:16: note: static property declared here
static var specificationFailures = [ExpectationFailure]()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:173:28: warning: reference to static property 'specificationFailures' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
var failures = Context.specificationFailures
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:143:16: note: static property declared here
static var specificationFailures = [ExpectationFailure]()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:174:13: warning: reference to static property 'specificationFailures' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
Context.specificationFailures.removeAll()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:143:16: note: static property declared here
static var specificationFailures = [ExpectationFailure]()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:379:13: warning: reference to static property 'clock' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
Context.clock = clock
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:137:16: note: static property declared here
static var clock: Clock?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:380:13: warning: reference to static property 'specificationFailures' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
Context.specificationFailures.removeAll()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:143:16: note: static property declared here
static var specificationFailures = [ExpectationFailure]()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:382:13: warning: reference to static property 'driver' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
Context.driver = TaskDriver(queue: diagram.queue) { driver in
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:139:16: note: static property declared here
static var driver: TaskDriver?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:383:7: warning: reference to var 'swift_task_enqueueGlobal_hook' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
swift_task_enqueueGlobal_hook = { job, original in
^
_CAsyncSequenceValidationSupport.swift_task_enqueueGlobal_hook:1:12: note: var declared here
public var swift_task_enqueueGlobal_hook: (@convention(c) (JobRef, swift_task_enqueueGlobal_original) -> Void)?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:384:17: warning: reference to static property 'driver' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
Context.driver?.enqueue(job)
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:139:16: note: static property declared here
static var driver: TaskDriver?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:419:15: warning: reference to static property 'clock' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
Context.clock = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:137:16: note: static property declared here
static var clock: Clock?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:420:7: warning: reference to var 'swift_task_enqueueGlobal_hook' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
swift_task_enqueueGlobal_hook = nil
^
_CAsyncSequenceValidationSupport.swift_task_enqueueGlobal_hook:1:12: note: var declared here
public var swift_task_enqueueGlobal_hook: (@convention(c) (JobRef, swift_task_enqueueGlobal_original) -> Void)?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:422:13: warning: reference to static property 'driver' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
Context.driver?.start()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:139:16: note: static property declared here
static var driver: TaskDriver?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:425:13: warning: reference to static property 'driver' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
Context.driver?.join()
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:139:16: note: static property declared here
static var driver: TaskDriver?
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:426:13: warning: reference to static property 'driver' is not concurrency-safe because it involves shared mutable state; this is an error in Swift 6
Context.driver = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSequenceValidation/Test.swift:139:16: note: static property declared here
static var driver: TaskDriver?
^
[171/171] Compiling AsyncSequenceValidation WorkQueue.swift
[172/173] Compiling AsyncAlgorithms_XCTest ValidationTest.swift
[173/173] Emitting module AsyncAlgorithms_XCTest
Build complete! (25.51s)
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-collections.git
[1/2049] Fetching swift-docc-plugin
[227/18246] Fetching swift-docc-plugin, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.16s)
Fetched https://github.com/apple/swift-docc-plugin from cache (2.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (2.34s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.46s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3366] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.17s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.47s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Build complete.
{
"dependencies" : [
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "swift-async-algorithms",
"name" : "swift-async-algorithms",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "AsyncAlgorithms",
"targets" : [
"AsyncAlgorithms"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "_CAsyncSequenceValidationSupport",
"module_type" : "SystemLibraryTarget",
"name" : "_CAsyncSequenceValidationSupport",
"path" : "Sources/_CAsyncSequenceValidationSupport",
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "AsyncSequenceValidation",
"module_type" : "SwiftTarget",
"name" : "AsyncSequenceValidation",
"path" : "Sources/AsyncSequenceValidation",
"sources" : [
"AsyncSequenceValidationDiagram.swift",
"Clock.swift",
"Event.swift",
"Expectation.swift",
"Input.swift",
"Job.swift",
"Locking.swift",
"SourceLocation.swift",
"TaskDriver.swift",
"Test.swift",
"Theme.swift",
"WorkQueue.swift"
],
"target_dependencies" : [
"_CAsyncSequenceValidationSupport",
"AsyncAlgorithms"
],
"type" : "library"
},
{
"c99name" : "AsyncAlgorithms_XCTest",
"module_type" : "SwiftTarget",
"name" : "AsyncAlgorithms_XCTest",
"path" : "Sources/AsyncAlgorithms_XCTest",
"sources" : [
"ValidationTest.swift"
],
"target_dependencies" : [
"AsyncAlgorithms",
"AsyncSequenceValidation"
],
"type" : "library"
},
{
"c99name" : "AsyncAlgorithmsTests",
"module_type" : "SwiftTarget",
"name" : "AsyncAlgorithmsTests",
"path" : "Tests/AsyncAlgorithmsTests",
"sources" : [
"Interspersed/TestInterspersed.swift",
"Performance/TestThroughput.swift",
"Performance/ThroughputMeasurement.swift",
"Support/Asserts.swift",
"Support/Failure.swift",
"Support/Gate.swift",
"Support/GatedSequence.swift",
"Support/Indefinite.swift",
"Support/Locking.swift",
"Support/ManualClock.swift",
"Support/ReportingSequence.swift",
"Support/Validator.swift",
"Support/ViolatingSequence.swift",
"TestAdjacentPairs.swift",
"TestBuffer.swift",
"TestBufferedByteIterator.swift",
"TestChain.swift",
"TestChannel.swift",
"TestChunk.swift",
"TestCombineLatest.swift",
"TestCompacted.swift",
"TestDebounce.swift",
"TestDictionary.swift",
"TestJoin.swift",
"TestLazy.swift",
"TestManualClock.swift",
"TestMerge.swift",
"TestRangeReplaceableCollection.swift",
"TestReductions.swift",
"TestRemoveDuplicates.swift",
"TestSetAlgebra.swift",
"TestThrottle.swift",
"TestThrowingChannel.swift",
"TestTimer.swift",
"TestValidationTests.swift",
"TestValidator.swift",
"TestZip.swift"
],
"target_dependencies" : [
"AsyncAlgorithms",
"AsyncSequenceValidation",
"AsyncAlgorithms_XCTest"
],
"type" : "test"
},
{
"c99name" : "AsyncAlgorithms",
"module_type" : "SwiftTarget",
"name" : "AsyncAlgorithms",
"path" : "Sources/AsyncAlgorithms",
"product_dependencies" : [
"OrderedCollections",
"DequeModule"
],
"product_memberships" : [
"AsyncAlgorithms"
],
"sources" : [
"AsyncAdjacentPairsSequence.swift",
"AsyncBufferedByteIterator.swift",
"AsyncChain2Sequence.swift",
"AsyncChain3Sequence.swift",
"AsyncChunkedByGroupSequence.swift",
"AsyncChunkedOnProjectionSequence.swift",
"AsyncChunksOfCountOrSignalSequence.swift",
"AsyncChunksOfCountSequence.swift",
"AsyncCompactedSequence.swift",
"AsyncExclusiveReductionsSequence.swift",
"AsyncInclusiveReductionsSequence.swift",
"AsyncJoinedBySeparatorSequence.swift",
"AsyncJoinedSequence.swift",
"AsyncRemoveDuplicatesSequence.swift",
"AsyncSyncSequence.swift",
"AsyncThrottleSequence.swift",
"AsyncThrowingExclusiveReductionsSequence.swift",
"AsyncThrowingInclusiveReductionsSequence.swift",
"AsyncTimerSequence.swift",
"Buffer/AsyncBufferSequence.swift",
"Buffer/BoundedBufferStateMachine.swift",
"Buffer/BoundedBufferStorage.swift",
"Buffer/UnboundedBufferStateMachine.swift",
"Buffer/UnboundedBufferStorage.swift",
"Channels/AsyncChannel.swift",
"Channels/AsyncThrowingChannel.swift",
"Channels/ChannelStateMachine.swift",
"Channels/ChannelStorage.swift",
"CombineLatest/AsyncCombineLatest2Sequence.swift",
"CombineLatest/AsyncCombineLatest3Sequence.swift",
"CombineLatest/CombineLatestStateMachine.swift",
"CombineLatest/CombineLatestStorage.swift",
"Debounce/AsyncDebounceSequence.swift",
"Debounce/DebounceStateMachine.swift",
"Debounce/DebounceStorage.swift",
"Dictionary.swift",
"Interspersed/AsyncInterspersedSequence.swift",
"Locking.swift",
"Merge/AsyncMerge2Sequence.swift",
"Merge/AsyncMerge3Sequence.swift",
"Merge/MergeStateMachine.swift",
"Merge/MergeStorage.swift",
"RangeReplaceableCollection.swift",
"Rethrow.swift",
"SetAlgebra.swift",
"UnsafeTransfer.swift",
"Zip/AsyncZip2Sequence.swift",
"Zip/AsyncZip3Sequence.swift",
"Zip/ZipStateMachine.swift",
"Zip/ZipStorage.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.