The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of PersistentHistoryTrackingKit, reference 1.0.9 (adffcf), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 18:32:58 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: 1.0.9
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fatbobman/PersistentHistoryTrackingKit
 * tag               1.0.9      -> FETCH_HEAD
HEAD is now at adffcf5 Merge pull request #5 from junping1/main
Cloned https://github.com/fatbobman/PersistentHistoryTrackingKit.git
Revision (git rev-parse @):
adffcf5bb4e484a749b5aadf6f11b2c8291e3151
SUCCESS checkout https://github.com/fatbobman/PersistentHistoryTrackingKit.git at 1.0.9
========================================
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 UnsafeRawPointer extensions.swift
[13/29] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[14/29] Compiling InternalCollectionsUtilities UInt+reversed.swift
[15/29] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[16/29] Emitting module InternalCollectionsUtilities
[17/29] Compiling InternalCollectionsUtilities Integer rank.swift
[18/29] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[19/30] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[20/30] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[21/30] Compiling InternalCollectionsUtilities Specialize.swift
[22/30] Compiling InternalCollectionsUtilities _SortedCollection.swift
[23/30] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[24/30] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[25/30] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[26/30] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[27/30] Compiling InternalCollectionsUtilities Debugging.swift
[28/30] Compiling InternalCollectionsUtilities Descriptions.swift
[29/30] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[30/30] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[31/312] Compiling HashTreeCollections _Bucket.swift
[32/312] Compiling HashTreeCollections _Hash.swift
[33/313] Compiling HeapModule _HeapNode.swift
[34/313] Compiling DequeModule _DequeBuffer.swift
[35/313] Compiling HeapModule Heap.swift
[36/313] Compiling DequeModule _DequeBufferHeader.swift
[37/313] Compiling DequeModule _DequeSlot.swift
[38/313] Compiling HashTreeCollections _HashLevel.swift
[39/313] Compiling HashTreeCollections _HashNode+Builder.swift
[40/313] Compiling HeapModule Heap+Invariants.swift
[41/313] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[42/313] Compiling HeapModule Heap+UnsafeHandle.swift
[43/313] Compiling HeapModule Heap+Descriptions.swift
[44/313] Emitting module HeapModule
[45/313] Compiling HashTreeCollections _HashNode+Debugging.swift
[46/313] Compiling _RopeModule BigString+Metrics.swift
[47/313] Compiling _RopeModule BigString+Summary.swift
[48/313] Compiling _RopeModule BigString.swift
[49/313] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[50/313] Compiling _RopeModule BigString+Chunk+Breaks.swift
[51/318] Compiling _RopeModule Range+BigString.swift
[52/318] Compiling _RopeModule BigString+UTF16View.swift
[53/318] Compiling _RopeModule BigString+UTF8View.swift
[54/318] Compiling _RopeModule BigString+UnicodeScalarView.swift
[55/318] Compiling _RopeModule BigSubstring+UTF16View.swift
[56/318] Compiling _RopeModule BigSubstring+UTF8View.swift
[57/324] Compiling DequeModule _UnsafeWrappedBuffer.swift
[58/324] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[59/324] Compiling _RopeModule BigString+Hashing.swift
[60/324] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[61/324] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[62/324] Compiling _RopeModule BigString+Sequence.swift
[63/324] Compiling _RopeModule BigString+TextOutputStream.swift
[64/324] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[65/324] Compiling _RopeModule BigSubstring.swift
[66/324] Compiling _RopeModule Rope+Builder.swift
[67/324] Compiling _RopeModule Rope+Debugging.swift
[68/324] Compiling _RopeModule Rope+Invariants.swift
[69/324] Compiling _RopeModule Rope+_Node.swift
[70/324] Compiling _RopeModule Rope+_Storage.swift
[71/324] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[72/324] Compiling _RopeModule Rope+_UnsafeHandle.swift
[73/324] Compiling _RopeModule Rope.swift
[74/324] Compiling _RopeModule RopeElement.swift
[75/324] Compiling BitCollections BitSet.swift
[76/324] Compiling _RopeModule BigString+Append.swift
[77/324] Compiling _RopeModule BigString+Initializers.swift
[78/324] Compiling _RopeModule BigString+Insert.swift
[79/324] Compiling _RopeModule BigString+Managing Breaks.swift
[80/324] Compiling _RopeModule BigString+RemoveSubrange.swift
[81/324] Compiling _RopeModule BigString+ReplaceSubrange.swift
[82/324] Compiling _RopeModule BigString+Split.swift
[88/324] Compiling _RopeModule Rope+Sequence.swift
[89/324] Compiling _RopeModule Rope+Append.swift
[90/324] Compiling _RopeModule Rope+Extract.swift
[91/324] Compiling _RopeModule Rope+Find.swift
[92/324] Compiling _RopeModule Rope+ForEachWhile.swift
[93/324] Compiling _RopeModule Rope+Insert.swift
[94/324] Compiling _RopeModule Rope+Join.swift
[95/324] Compiling _RopeModule Rope+MutatingForEach.swift
[96/324] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[97/324] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[98/324] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[99/324] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[100/324] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[101/324] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[102/324] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[103/324] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[104/332] Compiling _RopeModule BigString+Chunk+Description.swift
[105/332] Compiling _RopeModule BigString+Chunk+Indexing by Characters.swift
[106/332] Compiling _RopeModule BigString+Chunk+Indexing by UTF16.swift
[107/332] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[108/332] Compiling _RopeModule BigString+Chunk+Splitting.swift
[109/332] Compiling _RopeModule BigString+Chunk.swift
[121/332] Compiling _RopeModule BigString+Chunk+Counts.swift
[122/332] Compiling HashTreeCollections _AncestorHashSlots.swift
[123/332] Compiling HashTreeCollections _Bitmap.swift
[125/332] Compiling OrderedCollections OrderedSet+SubSequence.swift
[126/332] Compiling OrderedCollections OrderedSet+Testing.swift
[127/332] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[128/332] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[155/332] Compiling OrderedCollections OrderedSet.swift
[156/332] Compiling OrderedCollections _UnsafeBitset.swift
[158/332] Compiling _RopeModule BigString+BidirectionalCollection.swift
[159/332] Compiling _RopeModule BigString+Comparable.swift
[160/332] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[161/332] Compiling _RopeModule BigString+CustomStringConvertible.swift
[162/332] Compiling _RopeModule BigString+Equatable.swift
[169/332] Emitting module BitCollections
[194/332] Emitting module DequeModule
[195/332] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[196/332] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[197/332] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[198/332] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[199/332] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[200/332] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[201/332] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[202/332] Compiling HashTreeCollections TreeSet.swift
[304/339] Emitting module OrderedCollections
[323/339] Emitting module _RopeModule
[324/339] Compiling _RopeModule Rope+Remove.swift
[325/339] Compiling _RopeModule Rope+RemoveSubrange.swift
[326/339] Compiling _RopeModule Rope+Split.swift
[327/339] Compiling _RopeModule Optional Utilities.swift
[328/339] Compiling _RopeModule String Utilities.swift
[329/339] Compiling _RopeModule String.Index+ABI.swift
[330/339] Compiling _RopeModule _CharacterRecognizer.swift
[339/339] Emitting module HashTreeCollections
[340/341] Emitting module Collections
[341/341] Compiling Collections Collections.swift
[342/387] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[343/387] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[344/387] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[345/387] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[346/387] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[347/392] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[348/392] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[349/392] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[350/392] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[351/392] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[352/392] Emitting module AsyncAlgorithms
[353/392] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[354/392] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[355/392] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[356/392] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[357/392] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[358/392] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[359/392] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[360/392] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[361/392] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[362/392] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[363/392] Compiling AsyncAlgorithms MergeStateMachine.swift
[364/392] Compiling AsyncAlgorithms MergeStorage.swift
[365/392] Compiling AsyncAlgorithms PartialIteration.swift
[366/392] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[367/392] Compiling AsyncAlgorithms Rethrow.swift
[368/392] Compiling AsyncAlgorithms SetAlgebra.swift
[369/392] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[370/392] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[371/392] Compiling AsyncAlgorithms ZipStateMachine.swift
[372/392] Compiling AsyncAlgorithms ZipStorage.swift
[373/392] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[374/392] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[375/392] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[376/392] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[377/392] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[378/392] Compiling AsyncAlgorithms DebounceStorage.swift
[379/392] Compiling AsyncAlgorithms Dictionary.swift
[380/392] Compiling AsyncAlgorithms Locking.swift
[381/392] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[382/392] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[383/392] Compiling AsyncAlgorithms AsyncChannel.swift
[384/392] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[385/392] Compiling AsyncAlgorithms ChannelStateMachine.swift
[386/392] Compiling AsyncAlgorithms ChannelStorage.swift
[387/392] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.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 MergerProtocol.swift
[394/407] Compiling PersistentHistoryTrackingKit FetcherProtocol.swift
[395/407] Compiling PersistentHistoryTrackingKit TransactionTimestampManagerProtocol.swift
[396/407] Compiling PersistentHistoryTrackingKit LoggerProtocol.swift
[397/407] Compiling PersistentHistoryTrackingKit DeduplicatorProtocol.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] Compiling PersistentHistoryTrackingKit CleanStrategy.swift
[405/407] Compiling PersistentHistoryTrackingKit Cleaner.swift
[406/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 |
[407/407] Compiling PersistentHistoryTrackingKit TransactionTimestampManager.swift
Build complete! (15.19s)
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.02s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 0.1.0 (1.68s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.77s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.47s)
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-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 0.1.0
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.