Build Information
Successful build of PersistentHistoryTrackingKit, reference main (5c457d
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 18:33:00 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fatbobman/PersistentHistoryTrackingKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fatbobman/PersistentHistoryTrackingKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5c457d9 Create FUNDING.yml
Cloned https://github.com/fatbobman/PersistentHistoryTrackingKit.git
Revision (git rev-parse @):
5c457d9ba01801a27b32b63c4dc11c56a9f3ac29
SUCCESS checkout https://github.com/fatbobman/PersistentHistoryTrackingKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/fatbobman/PersistentHistoryTrackingKit.git
https://github.com/fatbobman/PersistentHistoryTrackingKit.git
{
"dependencies" : [
{
"identity" : "swift-async-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-async-algorithms"
}
],
"manifest_display_name" : "PersistentHistoryTrackingKit",
"name" : "PersistentHistoryTrackingKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "PersistentHistoryTrackingKit",
"targets" : [
"PersistentHistoryTrackingKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PersistentHistoryTrackingKitTests",
"module_type" : "SwiftTarget",
"name" : "PersistentHistoryTrackingKitTests",
"path" : "Tests/PersistentHistoryTrackingKitTests",
"sources" : [
"CleanStrategyTests.swift",
"CleanerTests.swift",
"FetcherTests.swift",
"LoggerTests.swift",
"MergerTests.swift",
"PersistentHistoryTrackingKitTests.swift",
"TestsHelper/CoreDataStackHelper.swift",
"TestsHelper/Extension.swift",
"TimestampManagerTests.swift"
],
"target_dependencies" : [
"PersistentHistoryTrackingKit"
],
"type" : "test"
},
{
"c99name" : "PersistentHistoryTrackingKit",
"module_type" : "SwiftTarget",
"name" : "PersistentHistoryTrackingKit",
"path" : "Sources/PersistentHistoryTrackingKit",
"product_dependencies" : [
"AsyncAlgorithms"
],
"product_memberships" : [
"PersistentHistoryTrackingKit"
],
"sources" : [
"CleanStrategy.swift",
"Cleaner.swift",
"DefaultLogger.swift",
"Extensions.swift",
"Fetcher.swift",
"Merger.swift",
"PersistentHistoryTrackingKit.swift",
"Protocol/CleanerProtocol.swift",
"Protocol/DeduplicatorProtocol.swift",
"Protocol/FetcherProtocol.swift",
"Protocol/LoggerProtocol.swift",
"Protocol/MergerProtocol.swift",
"Protocol/TransactionTimestampManagerProtocol.swift",
"TransactionTimestampManager.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/11] Write sources
[10/11] Write swift-version-2F0A5646E1D333AE.txt
[12/29] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[13/30] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[14/30] Compiling InternalCollectionsUtilities Specialize.swift
[15/30] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[16/30] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[17/30] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[18/30] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[19/30] Emitting module InternalCollectionsUtilities
[20/30] Compiling InternalCollectionsUtilities Debugging.swift
[21/30] Compiling InternalCollectionsUtilities Descriptions.swift
[22/30] Compiling InternalCollectionsUtilities UInt+reversed.swift
[23/30] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[24/30] Compiling InternalCollectionsUtilities _SortedCollection.swift
[25/30] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[26/30] Compiling InternalCollectionsUtilities Integer rank.swift
[27/30] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[28/30] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[29/30] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[30/30] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[31/312] Compiling HashTreeCollections _Bucket.swift
[32/312] Compiling HashTreeCollections _Hash.swift
[33/313] Compiling DequeModule _DequeBuffer.swift
[34/313] Compiling DequeModule _DequeBufferHeader.swift
[35/313] Compiling DequeModule _DequeSlot.swift
[36/313] Compiling HashTreeCollections _HashLevel.swift
[37/313] Compiling HashTreeCollections _HashNode+Builder.swift
[38/313] Compiling HeapModule _HeapNode.swift
[39/313] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[40/313] Compiling HeapModule Heap+UnsafeHandle.swift
[41/313] Compiling HeapModule Heap+Invariants.swift
[42/313] Compiling HeapModule Heap+Descriptions.swift
[43/313] Compiling HeapModule Heap.swift
[44/313] Emitting module HeapModule
[45/313] Compiling HashTreeCollections _HashNode+Debugging.swift
[46/313] Compiling HashTreeCollections _HashNode+Initializers.swift
[47/313] Compiling HashTreeCollections _UnmanagedHashNode.swift
[48/313] Compiling HashTreeCollections _UnsafePath.swift
[49/313] Compiling HashTreeCollections TreeDictionary+Codable.swift
[50/313] Compiling HashTreeCollections TreeDictionary+Collection.swift
[51/313] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[52/313] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[53/319] Compiling DequeModule _UnsafeWrappedBuffer.swift
[54/319] Compiling HashTreeCollections _HashNode+Structural union.swift
[55/319] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[56/319] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[57/319] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[58/319] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[59/319] Compiling HashTreeCollections _HashNode.swift
[60/319] Compiling HashTreeCollections _HashNodeHeader.swift
[61/319] Compiling HashTreeCollections _HashSlot.swift
[62/319] Compiling HashTreeCollections _HashStack.swift
[63/319] Compiling HashTreeCollections _HashTreeIterator.swift
[64/319] Compiling HashTreeCollections _HashTreeStatistics.swift
[65/319] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[66/324] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[67/324] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[68/324] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[69/324] Compiling HashTreeCollections TreeDictionary+Filter.swift
[70/324] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[71/324] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[72/324] Compiling HashTreeCollections TreeDictionary+Keys.swift
[73/324] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[74/324] Compiling HashTreeCollections TreeDictionary+Merge.swift
[75/324] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[76/324] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[77/324] Compiling BitCollections BitSet.swift
[78/324] Compiling HashTreeCollections _RawHashNode.swift
[90/324] Compiling HashTreeCollections _HashNode+Invariants.swift
[91/324] Compiling HashTreeCollections _HashNode+Lookups.swift
[92/324] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[93/324] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[94/324] Compiling HashTreeCollections TreeSet+Equatable.swift
[95/324] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[96/324] Compiling HashTreeCollections TreeSet+Extras.swift
[97/324] Compiling HashTreeCollections TreeSet+Filter.swift
[98/324] Compiling HashTreeCollections TreeSet+Hashable.swift
[99/324] Compiling HashTreeCollections TreeSet+Sendable.swift
[100/324] Compiling HashTreeCollections TreeSet+Sequence.swift
[101/324] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[102/324] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[103/324] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[104/324] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[105/324] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[106/324] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[107/324] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[108/324] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[109/324] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[115/332] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[116/332] Compiling HashTreeCollections _HashNode+Storage.swift
[117/332] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[118/332] Compiling HashTreeCollections _HashNode+Structural filter.swift
[119/332] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[120/332] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[121/332] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[130/332] Compiling HashTreeCollections _AncestorHashSlots.swift
[131/332] Compiling HashTreeCollections _Bitmap.swift
[146/332] Compiling BitCollections Range+Utilities.swift
[147/332] Compiling BitCollections Slice+Utilities.swift
[148/332] Compiling BitCollections UInt+Tricks.swift
[149/332] Compiling BitCollections _Word.swift
[150/332] Compiling OrderedCollections OrderedSet.swift
[151/332] Compiling OrderedCollections _UnsafeBitset.swift
[153/332] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[154/332] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[155/332] Compiling HashTreeCollections _HashNode+Structural merge.swift
[156/332] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[157/332] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[176/332] Emitting module DequeModule
[182/332] Emitting module BitCollections
[203/339] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[204/339] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[205/339] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[206/339] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[207/339] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[208/339] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[209/339] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[210/339] Compiling HashTreeCollections TreeSet.swift
[287/339] Emitting module OrderedCollections
[315/339] Compiling _RopeModule Rope+Remove.swift
[316/339] Compiling _RopeModule Rope+RemoveSubrange.swift
[317/339] Compiling _RopeModule Rope+Split.swift
[318/339] Compiling _RopeModule Optional Utilities.swift
[319/339] Compiling _RopeModule String Utilities.swift
[320/339] Compiling _RopeModule String.Index+ABI.swift
[321/339] Compiling _RopeModule _CharacterRecognizer.swift
[322/339] Emitting module _RopeModule
[339/339] Emitting module HashTreeCollections
[340/341] Compiling Collections Collections.swift
[341/341] Emitting module Collections
[342/387] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[343/387] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[344/387] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[345/387] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[346/387] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[347/392] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[348/392] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[349/392] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[350/392] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[351/392] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[352/392] Emitting module AsyncAlgorithms
[353/392] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[354/392] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[355/392] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[356/392] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[357/392] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[358/392] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[359/392] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[360/392] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[361/392] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[362/392] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[363/392] Compiling AsyncAlgorithms SetAlgebra.swift
[364/392] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[365/392] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[366/392] Compiling AsyncAlgorithms ZipStateMachine.swift
[367/392] Compiling AsyncAlgorithms ZipStorage.swift
[368/392] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[369/392] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[370/392] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[371/392] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[372/392] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[373/392] Compiling AsyncAlgorithms MergeStateMachine.swift
[374/392] Compiling AsyncAlgorithms MergeStorage.swift
[375/392] Compiling AsyncAlgorithms PartialIteration.swift
[376/392] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[377/392] Compiling AsyncAlgorithms Rethrow.swift
[378/392] Compiling AsyncAlgorithms AsyncChannel.swift
[379/392] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[380/392] Compiling AsyncAlgorithms ChannelStateMachine.swift
[381/392] Compiling AsyncAlgorithms ChannelStorage.swift
[382/392] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[383/392] Compiling AsyncAlgorithms DebounceStorage.swift
[384/392] Compiling AsyncAlgorithms Dictionary.swift
[385/392] Compiling AsyncAlgorithms Locking.swift
[386/392] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[387/392] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[388/392] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[389/392] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[390/392] Compiling AsyncAlgorithms CombineLatestStorage.swift
[391/392] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[392/392] Compiling AsyncAlgorithms DebounceStateMachine.swift
[393/406] Compiling PersistentHistoryTrackingKit FetcherProtocol.swift
[394/406] Compiling PersistentHistoryTrackingKit LoggerProtocol.swift
[395/406] Compiling PersistentHistoryTrackingKit TransactionTimestampManagerProtocol.swift
[396/406] Compiling PersistentHistoryTrackingKit DeduplicatorProtocol.swift
[397/406] Compiling PersistentHistoryTrackingKit MergerProtocol.swift
[398/407] Compiling PersistentHistoryTrackingKit PersistentHistoryTrackingKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/PersistentHistoryTrackingKit/PersistentHistoryTrackingKit.swift:382:1: warning: extension declares a conformance of imported type 'Notification' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
380 | }
381 |
382 | extension Notification:@unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'Notification' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
383 |
/Users/admin/builder/spi-builder-workspace/Sources/PersistentHistoryTrackingKit/PersistentHistoryTrackingKit.swift:91:45: warning: type 'AsyncPublisher<NotificationCenter.Publisher>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
89 | object: coordinator
90 | )
91 | for await _ in publisher.values.buffer(policy: .unbounded) where !Task.isCancelled {
| `- warning: type 'AsyncPublisher<NotificationCenter.Publisher>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
92 | sendMessage(type: .info,
93 | level: 2,
Combine.AsyncPublisher:2:15: note: generic struct 'AsyncPublisher' does not conform to the 'Sendable' protocol
1 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
2 | public struct AsyncPublisher<P> : AsyncSequence where P : Publisher, P.Failure == Never {
| `- note: generic struct 'AsyncPublisher' does not conform to the 'Sendable' protocol
3 | public typealias Element = P.Output
4 | public struct Iterator : AsyncIteratorProtocol {
/Users/admin/builder/spi-builder-workspace/Sources/PersistentHistoryTrackingKit/PersistentHistoryTrackingKit.swift:84:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
82 | /// 通过将持久化历史跟踪记录的通知转换成异步序列,实现了逐个处理的机制。
83 | func createTransactionProcessingTask() -> Task<Void, Never> {
84 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
85 | sendMessage(type: .info, level: 1, message: "Persistent History Track Kit Start")
| `- note: closure captures 'self' which is accessible to code in the current task
86 | // 响应 notification
87 | let publisher = NotificationCenter.default.publisher(
[399/407] Compiling PersistentHistoryTrackingKit CleanerProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/PersistentHistoryTrackingKit/PersistentHistoryTrackingKit.swift:382:1: warning: extension declares a conformance of imported type 'Notification' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
380 | }
381 |
382 | extension Notification:@unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'Notification' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
383 |
/Users/admin/builder/spi-builder-workspace/Sources/PersistentHistoryTrackingKit/PersistentHistoryTrackingKit.swift:91:45: warning: type 'AsyncPublisher<NotificationCenter.Publisher>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
89 | object: coordinator
90 | )
91 | for await _ in publisher.values.buffer(policy: .unbounded) where !Task.isCancelled {
| `- warning: type 'AsyncPublisher<NotificationCenter.Publisher>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
92 | sendMessage(type: .info,
93 | level: 2,
Combine.AsyncPublisher:2:15: note: generic struct 'AsyncPublisher' does not conform to the 'Sendable' protocol
1 | @available(macOS 12.0, iOS 15.0, tvOS 15.0, watchOS 8.0, *)
2 | public struct AsyncPublisher<P> : AsyncSequence where P : Publisher, P.Failure == Never {
| `- note: generic struct 'AsyncPublisher' does not conform to the 'Sendable' protocol
3 | public typealias Element = P.Output
4 | public struct Iterator : AsyncIteratorProtocol {
/Users/admin/builder/spi-builder-workspace/Sources/PersistentHistoryTrackingKit/PersistentHistoryTrackingKit.swift:84:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
82 | /// 通过将持久化历史跟踪记录的通知转换成异步序列,实现了逐个处理的机制。
83 | func createTransactionProcessingTask() -> Task<Void, Never> {
84 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
85 | sendMessage(type: .info, level: 1, message: "Persistent History Track Kit Start")
| `- note: closure captures 'self' which is accessible to code in the current task
86 | // 响应 notification
87 | let publisher = NotificationCenter.default.publisher(
[400/407] Compiling PersistentHistoryTrackingKit Fetcher.swift
[401/407] Compiling PersistentHistoryTrackingKit Merger.swift
[402/407] Compiling PersistentHistoryTrackingKit DefaultLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/PersistentHistoryTrackingKit/Extensions.swift:63:34: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
61 | subscription = upstream
62 | .sink(receiveValue: { value in
63 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
64 | })
65 | }
[403/407] Compiling PersistentHistoryTrackingKit Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PersistentHistoryTrackingKit/Extensions.swift:63:34: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
61 | subscription = upstream
62 | .sink(receiveValue: { value in
63 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
64 | })
65 | }
[404/407] Emitting module PersistentHistoryTrackingKit
/Users/admin/builder/spi-builder-workspace/Sources/PersistentHistoryTrackingKit/PersistentHistoryTrackingKit.swift:382:1: warning: extension declares a conformance of imported type 'Notification' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
380 | }
381 |
382 | extension Notification:@unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'Notification' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
383 |
[405/407] Compiling PersistentHistoryTrackingKit CleanStrategy.swift
[406/407] Compiling PersistentHistoryTrackingKit Cleaner.swift
[407/407] Compiling PersistentHistoryTrackingKit TransactionTimestampManager.swift
Build complete! (15.44s)
Fetching https://github.com/apple/swift-async-algorithms
[1/4965] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms from cache (1.07s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 0.1.0 (1.69s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.69s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.40s)
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 0.1.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
Build complete.
{
"dependencies" : [
{
"identity" : "swift-async-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-async-algorithms"
}
],
"manifest_display_name" : "PersistentHistoryTrackingKit",
"name" : "PersistentHistoryTrackingKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "PersistentHistoryTrackingKit",
"targets" : [
"PersistentHistoryTrackingKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PersistentHistoryTrackingKitTests",
"module_type" : "SwiftTarget",
"name" : "PersistentHistoryTrackingKitTests",
"path" : "Tests/PersistentHistoryTrackingKitTests",
"sources" : [
"CleanStrategyTests.swift",
"CleanerTests.swift",
"FetcherTests.swift",
"LoggerTests.swift",
"MergerTests.swift",
"PersistentHistoryTrackingKitTests.swift",
"TestsHelper/CoreDataStackHelper.swift",
"TestsHelper/Extension.swift",
"TimestampManagerTests.swift"
],
"target_dependencies" : [
"PersistentHistoryTrackingKit"
],
"type" : "test"
},
{
"c99name" : "PersistentHistoryTrackingKit",
"module_type" : "SwiftTarget",
"name" : "PersistentHistoryTrackingKit",
"path" : "Sources/PersistentHistoryTrackingKit",
"product_dependencies" : [
"AsyncAlgorithms"
],
"product_memberships" : [
"PersistentHistoryTrackingKit"
],
"sources" : [
"CleanStrategy.swift",
"Cleaner.swift",
"DefaultLogger.swift",
"Extensions.swift",
"Fetcher.swift",
"Merger.swift",
"PersistentHistoryTrackingKit.swift",
"Protocol/CleanerProtocol.swift",
"Protocol/DeduplicatorProtocol.swift",
"Protocol/FetcherProtocol.swift",
"Protocol/LoggerProtocol.swift",
"Protocol/MergerProtocol.swift",
"Protocol/TransactionTimestampManagerProtocol.swift",
"TransactionTimestampManager.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.