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 SwiftSessions, reference 1.0.1 (92cf4f), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 05:30:50 UTC.

Swift 6 data race errors: 0

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 -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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alessiorubicini/SwiftSessions.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alessiorubicini/SwiftSessions
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 92cf4f1 refactored channel to endpoint
Cloned https://github.com/alessiorubicini/SwiftSessions.git
Revision (git rev-parse @):
92cf4f118a12e3869eba07ebea57a19788056851
SUCCESS checkout https://github.com/alessiorubicini/SwiftSessions.git at 1.0.1
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/apple/swift-collections.git
[1/4557] Fetching swift-async-algorithms
[229/20160] Fetching swift-async-algorithms, swift-collections
Fetched https://github.com/apple/swift-async-algorithms from cache (1.92s)
Fetched https://github.com/apple/swift-collections.git from cache (1.92s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.0 (0.44s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (3.09s)
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.0
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.0.0
========================================
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": "swiftsessions",
      "name": "SwiftSessions",
      "url": "https://github.com/alessiorubicini/SwiftSessions.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSessions",
      "dependencies": [
        {
          "identity": "swift-async-algorithms",
          "name": "swift-async-algorithms",
          "url": "https://github.com/apple/swift-async-algorithms",
          "version": "1.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-async-algorithms",
          "dependencies": [
            {
              "identity": "swift-collections",
              "name": "swift-collections",
              "url": "https://github.com/apple/swift-collections.git",
              "version": "1.1.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/alessiorubicini/SwiftSessions.git
[1/511] Fetching swiftsessions
Fetched https://github.com/alessiorubicini/SwiftSessions.git from cache (0.82s)
Fetching https://github.com/apple/swift-async-algorithms from cache
Fetched https://github.com/apple/swift-async-algorithms from cache (0.58s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.2 (0.43s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.58s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.61s)
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.0.2
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/alessiorubicini/SwiftSessions.git
Working copy of https://github.com/alessiorubicini/SwiftSessions.git resolved at 1.0.1 (92cf4f1)
warning: '.resolve-product-dependencies': dependency 'swiftsessions' is not used by any target
Found 1 product dependencies
  - swift-async-algorithms
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/alessiorubicini/SwiftSessions.git
{
  "dependencies" : [
    {
      "identity" : "swift-async-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-async-algorithms"
    }
  ],
  "manifest_display_name" : "SwiftSessions",
  "name" : "SwiftSessions",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftSessions",
      "targets" : [
        "SwiftSessions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftSessionsTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSessionsTests",
      "path" : "Tests",
      "product_dependencies" : [
        "AsyncAlgorithms"
      ],
      "sources" : [
        "BranchingTests.swift",
        "LinearityTests.swift",
        "LoopTests.swift",
        "MathTests.swift",
        "StandardTests.swift"
      ],
      "target_dependencies" : [
        "SwiftSessions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftSessions",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSessions",
      "path" : "Sources/SwiftSessions",
      "product_dependencies" : [
        "AsyncAlgorithms"
      ],
      "product_memberships" : [
        "SwiftSessions"
      ],
      "sources" : [
        "Client.swift",
        "Empty.swift",
        "Endpoint.swift",
        "Or.swift",
        "Server.swift",
        "Session/Session+Closures.swift",
        "Session/Session+Passing.swift",
        "Session/Session.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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 -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--7754E27361AE5C74.txt
[12/29] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[13/29] Compiling _CollectionsUtilities _SortedCollection.swift
[14/29] Compiling _CollectionsUtilities _UniqueCollection.swift
[15/30] Compiling _CollectionsUtilities Debugging.swift
[16/30] Compiling _CollectionsUtilities Descriptions.swift
[17/30] Compiling _CollectionsUtilities RandomAccessCollection+Offsets.swift
[18/30] Compiling _CollectionsUtilities Specialize.swift
[19/30] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[20/30] Compiling _CollectionsUtilities UInt+reversed.swift
[21/30] Compiling _CollectionsUtilities _UnsafeBitSet+Index.swift
[22/30] Compiling _CollectionsUtilities Integer rank.swift
[23/30] Compiling _CollectionsUtilities UInt+first and last set bit.swift
[24/30] Compiling _CollectionsUtilities _UnsafeBitSet+_Word.swift
[25/30] Compiling _CollectionsUtilities _UnsafeBitSet.swift
[26/30] Compiling _CollectionsUtilities UnsafeRawPointer extensions.swift
[27/30] Compiling _CollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[28/30] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[29/30] Compiling _CollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[30/30] Emitting module _CollectionsUtilities
[31/313] Compiling DequeModule _DequeBufferHeader.swift
[32/313] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[33/313] Compiling HashTreeCollections _HashNode+Storage.swift
[34/313] Compiling DequeModule _DequeSlot.swift
[35/314] Compiling HeapModule Heap+Invariants.swift
[36/314] Compiling HeapModule _HeapNode.swift
[37/314] Compiling HeapModule Heap.swift
[38/314] Compiling HashTreeCollections _HashLevel.swift
[39/314] Compiling HashTreeCollections _HashNode+Builder.swift
[40/314] Compiling HashTreeCollections _Bucket.swift
[41/314] Compiling HashTreeCollections _Hash.swift
[42/314] Compiling HeapModule Heap+Descriptions.swift
[43/314] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[44/314] Compiling HeapModule Heap+UnsafeHandle.swift
[45/314] Compiling HashTreeCollections _HashNode+Debugging.swift
[46/314] Compiling HashTreeCollections _HashNode+Initializers.swift
[47/314] Compiling HashTreeCollections _HashNode+Invariants.swift
[48/314] Compiling HashTreeCollections _HashNode+Lookups.swift
[49/314] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[50/314] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[51/319] Compiling HashTreeCollections _UnmanagedHashNode.swift
[52/319] Compiling HashTreeCollections _UnsafePath.swift
[53/319] Compiling HashTreeCollections TreeDictionary+Codable.swift
[54/319] Compiling HashTreeCollections TreeDictionary+Collection.swift
[55/319] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[56/319] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[57/325] Compiling DequeModule _UnsafeWrappedBuffer.swift
[58/325] Compiling HashTreeCollections _HashNode+Structural union.swift
[59/325] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[60/325] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[61/325] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[62/325] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[63/325] Compiling HashTreeCollections _HashNode.swift
[64/325] Compiling HashTreeCollections _HashNodeHeader.swift
[65/325] Compiling HashTreeCollections _HashSlot.swift
[66/325] Compiling HashTreeCollections _HashStack.swift
[67/325] Compiling HashTreeCollections _HashTreeIterator.swift
[68/325] Compiling HashTreeCollections _HashTreeStatistics.swift
[69/325] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[70/325] Compiling HashTreeCollections _RawHashNode.swift
[76/325] Emitting module HeapModule
[77/325] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[78/325] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[79/325] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[80/325] Compiling HashTreeCollections TreeDictionary+Filter.swift
[81/325] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[82/325] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[83/325] Compiling HashTreeCollections TreeDictionary+Keys.swift
[84/325] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[85/325] Compiling HashTreeCollections TreeDictionary+Merge.swift
[86/325] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[87/325] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[88/325] Compiling BitCollections BitSet.swift
[89/325] Compiling HashTreeCollections TreeSet+Equatable.swift
[90/325] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[91/325] Compiling HashTreeCollections TreeSet+Extras.swift
[92/325] Compiling HashTreeCollections TreeSet+Filter.swift
[93/325] Compiling HashTreeCollections TreeSet+Hashable.swift
[94/325] Compiling HashTreeCollections TreeSet+Sendable.swift
[95/325] Compiling HashTreeCollections TreeSet+Sequence.swift
[96/325] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[97/325] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[98/325] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[99/325] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[100/325] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[101/325] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[102/325] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[103/325] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[104/325] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[106/333] Compiling OrderedCollections OrderedSet+SubSequence.swift
[107/333] Compiling OrderedCollections OrderedSet+Testing.swift
[108/333] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[109/333] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[128/333] Compiling HashTreeCollections _AncestorHashSlots.swift
[129/333] Compiling HashTreeCollections _Bitmap.swift
[138/333] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[139/333] Compiling HashTreeCollections _HashNode+Structural filter.swift
[140/333] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[141/333] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[142/333] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[143/333] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[144/333] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[145/333] Compiling HashTreeCollections _HashNode+Structural merge.swift
[146/333] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[147/333] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[162/333] Compiling OrderedCollections OrderedSet.swift
[163/333] Compiling OrderedCollections _UnsafeBitset.swift
[171/340] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[172/340] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[173/340] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[174/340] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[175/340] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[176/340] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[177/340] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[178/340] Compiling HashTreeCollections TreeSet.swift
[197/340] Emitting module BitCollections
[264/340] Emitting module DequeModule
[315/340] Compiling _RopeModule Rope+Remove.swift
[316/340] Compiling _RopeModule Rope+RemoveSubrange.swift
[317/340] Compiling _RopeModule Rope+Split.swift
[318/340] Compiling _RopeModule Optional Utilities.swift
[319/340] Compiling _RopeModule String Utilities.swift
[320/340] Compiling _RopeModule String.Index+ABI.swift
[321/340] Compiling _RopeModule _CharacterRecognizer.swift
[338/340] Emitting module OrderedCollections
[339/340] Emitting module _RopeModule
[340/340] Emitting module HashTreeCollections
[341/342] Emitting module Collections
[342/342] Compiling Collections Collections.swift
[343/388] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[344/388] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[345/388] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[346/388] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[347/388] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[348/392] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[349/392] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[350/392] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[351/392] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[352/392] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[353/392] Compiling AsyncAlgorithms Dictionary.swift
[354/392] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[355/392] Compiling AsyncAlgorithms Locking.swift
[356/392] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[357/392] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[358/392] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[359/392] Compiling AsyncAlgorithms ChannelStateMachine.swift
[360/392] Compiling AsyncAlgorithms ChannelStorage.swift
[361/392] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[362/392] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[363/392] Compiling AsyncAlgorithms MergeStateMachine.swift
[364/392] Compiling AsyncAlgorithms MergeStorage.swift
[365/392] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[366/392] Compiling AsyncAlgorithms Rethrow.swift
[367/392] Compiling AsyncAlgorithms SetAlgebra.swift
[368/392] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[369/392] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[370/392] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[371/392] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[372/392] Compiling AsyncAlgorithms AsyncChannel.swift
[373/392] Emitting module AsyncAlgorithms
[374/392] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[375/392] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[376/392] Compiling AsyncAlgorithms ZipStateMachine.swift
[377/392] Compiling AsyncAlgorithms ZipStorage.swift
[378/392] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[379/392] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[380/392] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[381/392] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[382/392] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[383/392] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[384/392] Compiling AsyncAlgorithms CombineLatestStorage.swift
[385/392] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[386/392] Compiling AsyncAlgorithms DebounceStateMachine.swift
[387/392] Compiling AsyncAlgorithms DebounceStorage.swift
[388/392] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[389/392] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[390/392] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[391/392] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[392/392] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[393/401] Compiling SwiftSessions Session+Passing.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSessions/Session/Session+Passing.swift:22:29: warning: type 'C' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 |     ///   - endpoint: The endpoint to which the payload is sent.
20 |     /// - Returns: The continuation endpoint
21 |     static func send<C, D, E>(_ payload: C, on endpoint: Endpoint<(C, Endpoint<D, E>), Empty>) async -> Endpoint<E, D> {
   |                      `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
22 |         await endpoint.send(payload)
   |                             `- warning: type 'C' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
23 |         return Endpoint<E, D>(from: endpoint)
24 |     }
[394/401] Compiling SwiftSessions Session.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSessions/Session/Session.swift:21: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
19 |         let e1 = Endpoint<A, B>(with: channel)
20 |         let e2 = Endpoint<B, A>(with: channel)
21 |         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
22 |             await closure(e2)
   |                   `- note: closure captures 'closure' which is accessible to code in the current task
23 |         }
24 |         return e1
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSessions/Session/Session.swift:53: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
51 |         let endpoint1 = Endpoint<A, B>(with: channel)
52 |         let endpoint2 = Endpoint<B, A>(with: channel)
53 |         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
54 |             await sideOne(endpoint2)
   |                   |       `- note: closure captures non-Sendable 'endpoint2'
   |                   `- note: closure captures non-Sendable 'sideOne'
55 |         }
56 |         Task {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSessions/Session/Session.swift:56: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
54 |             await sideOne(endpoint2)
55 |         }
56 |         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
57 |             await sideTwo(endpoint1)
   |                   `- note: closure captures 'sideTwo' which is accessible to code in the current task
58 |         }
59 |     }
[395/401] Compiling SwiftSessions Server.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSessions/Server.swift:21: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
19 |     init(_ closure: @escaping (_: Endpoint<A, B>) async -> Void) async {
20 |         publicChannel = AsyncChannel()
21 |         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
22 |             while true {
23 |                 for await request in publicChannel {
   |                                      `- note: closure captures 'self' which is accessible to code in the current task
24 |                     let asyncChannel = request as! AsyncChannel<Sendable>
25 |                     let endpoint = Endpoint<A, B>(with: asyncChannel)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSessions/Server.swift:26:26: 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
24 |                     let asyncChannel = request as! AsyncChannel<Sendable>
25 |                     let endpoint = Endpoint<A, B>(with: asyncChannel)
26 |                     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
27 |                         await closure(endpoint)
   |                               `- note: closure captures 'closure' which is accessible to code in the current task
28 |                     }
29 |                 }
[396/401] Compiling SwiftSessions Or.swift
[397/401] Compiling SwiftSessions Session+Closures.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSessions/Session/Session+Closures.swift:23:29: warning: type 'A' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 |     ///   - continuation: A closure to be invoked after the send operation completes.
21 |     ///                    This closure receives the continuation endpoint for further communication.
22 |     static func send<A, B, C>(_ payload: A, on endpoint: Endpoint<(A, Endpoint<B, C>), Empty>, continuation: @escaping (Endpoint<C, B>) async -> Void) async {
   |                      `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
23 |         await endpoint.send(payload)
   |                             `- warning: type 'A' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
24 |         await continuation(Endpoint<C, B>(from: endpoint))
25 |     }
[398/401] Compiling SwiftSessions Endpoint.swift
[399/401] Compiling SwiftSessions Empty.swift
[400/401] Compiling SwiftSessions Client.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSessions/Client.swift:22: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
20 |         await server.connect(with: channel)
21 |         let c = Endpoint<B, A>(with: channel)
22 |         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
23 |             await closure(c)
   |                   |       `- note: closure captures non-Sendable 'c'
   |                   `- note: closure captures non-Sendable 'closure'
24 |         }
25 |     }
[401/401] Emitting module SwiftSessions
Build complete! (25.54s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-async-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-async-algorithms"
    }
  ],
  "manifest_display_name" : "SwiftSessions",
  "name" : "SwiftSessions",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftSessions",
      "targets" : [
        "SwiftSessions"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftSessionsTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSessionsTests",
      "path" : "Tests",
      "product_dependencies" : [
        "AsyncAlgorithms"
      ],
      "sources" : [
        "BranchingTests.swift",
        "LinearityTests.swift",
        "LoopTests.swift",
        "MathTests.swift",
        "StandardTests.swift"
      ],
      "target_dependencies" : [
        "SwiftSessions"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftSessions",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSessions",
      "path" : "Sources/SwiftSessions",
      "product_dependencies" : [
        "AsyncAlgorithms"
      ],
      "product_memberships" : [
        "SwiftSessions"
      ],
      "sources" : [
        "Client.swift",
        "Empty.swift",
        "Endpoint.swift",
        "Or.swift",
        "Server.swift",
        "Session/Session+Closures.swift",
        "Session/Session+Passing.swift",
        "Session/Session.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.