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 SwiftCoroutine, reference 2.1.11 (d15c03), with Swift 6.1 for Linux on 26 Apr 2025 12:50:24 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/belozierov/SwiftCoroutine.git
Reference: 2.1.11
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/belozierov/SwiftCoroutine
 * tag               2.1.11     -> FETCH_HEAD
HEAD is now at d15c034 Merge pull request #37 from YuAo/master
Cloned https://github.com/belozierov/SwiftCoroutine.git
Revision (git rev-parse @):
d15c034dd235bed4393f6b25290c8b9025b2fdf8
SUCCESS checkout https://github.com/belozierov/SwiftCoroutine.git at 2.1.11
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/belozierov/SwiftCoroutine.git
https://github.com/belozierov/SwiftCoroutine.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftCoroutine",
  "name" : "SwiftCoroutine",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftCoroutine",
      "targets" : [
        "CCoroutine",
        "SwiftCoroutine"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftCoroutineTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCoroutineTests",
      "path" : "Tests/SwiftCoroutineTests",
      "sources" : [
        "CoChannel/BufferedChannelTests.swift",
        "CoChannel/CoChannelCombineTests.swift",
        "CoChannel/CoChannelTests.swift",
        "CoChannel/ConflatedChannelTests.swift",
        "CoFutureTests/CoFutureAwaitTests.swift",
        "CoFutureTests/CoFutureCancelTests.swift",
        "CoFutureTests/CoFutureCombineTests.swift",
        "CoFutureTests/CoFutureFlatMapTests.swift",
        "CoFutureTests/CoFutureTests.swift",
        "CoFutureTests/CoPromiseTests.swift",
        "CoScope/CoScopeTests.swift",
        "Coroutine/CoroutineCancelTests.swift",
        "Coroutine/CoroutineContextTests.swift",
        "Coroutine/CoroutineDispatcherTests.swift",
        "Coroutine/CoroutineSchedulerTests.swift",
        "Coroutine/CoroutineTests.swift",
        "Extensions/URL+Extensions.swift",
        "Extensions/XCTAssertContains.swift",
        "Extensions/XCTOrderedExpectation.swift",
        "Helpers/StorageTests.swift",
        "Helpers/TaggedPointerTests.swift",
        "Helpers/TestAtomic.swift",
        "Helpers/TestFifoQueue.swift",
        "Helpers/URLSessionTests.swift"
      ],
      "target_dependencies" : [
        "SwiftCoroutine"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftCoroutine",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCoroutine",
      "path" : "Sources/SwiftCoroutine",
      "product_memberships" : [
        "SwiftCoroutine"
      ],
      "sources" : [
        "CoChannel/Channels/_BufferedChannel.swift",
        "CoChannel/Channels/_Channel.swift",
        "CoChannel/Channels/_CoChannelMap.swift",
        "CoChannel/Channels/_ConflatedChannel.swift",
        "CoChannel/CoChannel.swift",
        "CoChannel/CoChannelError.swift",
        "CoChannel/CoChannelReceiver.swift",
        "CoChannel/CoChannelSender.swift",
        "CoFuture/CoFutureError.swift",
        "CoFuture/Core/CoFuture.swift",
        "CoFuture/Core/CoPromise.swift",
        "CoFuture/Extensions/URLSession+CoFuture.swift",
        "CoFuture/Operators/CoFuture1+await.swift",
        "CoFuture/Operators/CoFuture2+map.swift",
        "CoFuture/Operators/CoFuture3+flatMap.swift",
        "CoFuture/Operators/CoFuture4+whenComplete.swift",
        "CoFuture/Operators/CoFuture5+hashable.swift",
        "CoFuture/Operators/Combine/CoChannel/CoChannel+Combine.swift",
        "CoFuture/Operators/Combine/CoChannel/CoChannelPublisher.swift",
        "CoFuture/Operators/Combine/CoChannel/CoChannelSubscription.swift",
        "CoFuture/Operators/Combine/CoFuture/CoFuture+Combine.swift",
        "CoFuture/Operators/Combine/CoFuture/CoFuturePublisher.swift",
        "CoFuture/Operators/Combine/CoFuture/CoFutureSubscription.swift",
        "CoScope/CoCancellable.swift",
        "CoScope/CoScope.swift",
        "Coroutine/Context/CoroutineContext.swift",
        "Coroutine/Coroutine/Coroutine+StackSize.swift",
        "Coroutine/Coroutine/Coroutine.swift",
        "Coroutine/Coroutine/CoroutineError.swift",
        "Coroutine/CoroutineProtocol/CoroutineProtocol.swift",
        "Coroutine/SharedCoroutineDispatcher/SharedCoroutine.swift",
        "Coroutine/SharedCoroutineDispatcher/SharedCoroutineDispatcher.swift",
        "Coroutine/SharedCoroutineDispatcher/SharedCoroutineQueue.swift",
        "Coroutine/TaskScheduler/CoroutineScheduler+DispatchQueue.swift",
        "Coroutine/TaskScheduler/CoroutineScheduler.swift",
        "Helpers/Atomic/AtomicInt.swift",
        "Helpers/Atomic/AtomicTuple.swift",
        "Helpers/Atomic/CallbackStack.swift",
        "Helpers/Atomic/FifoQueue.swift",
        "Helpers/Atomic/QueueNodeEraser.swift",
        "Helpers/Atomic/Storage.swift",
        "Helpers/Atomic/TaggedPointer.swift",
        "Helpers/Constants.swift",
        "Helpers/DispatchSourceTimer+extensions.swift"
      ],
      "target_dependencies" : [
        "CCoroutine"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CCoroutine",
      "module_type" : "ClangTarget",
      "name" : "CCoroutine",
      "path" : "Sources/CCoroutine",
      "product_memberships" : [
        "SwiftCoroutine"
      ],
      "sources" : [
        "CCoroutine.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version-24593BA9C3E375BF.txt
[1/3] Compiling CCoroutine CCoroutine.c
[4/43] Compiling SwiftCoroutine _BufferedChannel.swift
[5/43] Compiling SwiftCoroutine _Channel.swift
[6/43] Compiling SwiftCoroutine _CoChannelMap.swift
[7/43] Compiling SwiftCoroutine _ConflatedChannel.swift
[8/43] Compiling SwiftCoroutine CoChannel.swift
[9/43] Compiling SwiftCoroutine CoChannelError.swift
[10/43] Emitting module SwiftCoroutine
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/Coroutine/Coroutine+StackSize.swift:19:25: warning: static property 'recommended' is not concurrency-safe because non-'Sendable' type 'Coroutine.StackSize' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | extension Coroutine {
10 |
11 |     @usableFromInline internal struct StackSize {
   |                                       `- note: consider making struct 'StackSize' conform to the 'Sendable' protocol
12 |         internal let size: Int
13 |     }
   :
17 | extension Coroutine.StackSize {
18 |
19 |     internal static let recommended = Coroutine.StackSize(size: 192 * 1024)
   |                         |- warning: static property 'recommended' is not concurrency-safe because non-'Sendable' type 'Coroutine.StackSize' may have shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: add '@MainActor' to make static property 'recommended' part of global actor 'MainActor'
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |     internal static func pages(_ number: Int) -> Coroutine.StackSize {
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/SharedCoroutineDispatcher/SharedCoroutineDispatcher.swift:12:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SharedCoroutineDispatcher' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | //
 8 |
 9 | @usableFromInline internal final class SharedCoroutineDispatcher {
   |                                        `- note: class 'SharedCoroutineDispatcher' does not conform to the 'Sendable' protocol
10 |
11 |     @usableFromInline internal
12 |     static let `default` = SharedCoroutineDispatcher(capacity: .processorsNumber * 2,
   |                |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SharedCoroutineDispatcher' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |                                                      stackSize: .recommended)
14 |
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/TaskScheduler/CoroutineScheduler+DispatchQueue.swift:15:59: warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
11 | extension DispatchQueue: CoroutineScheduler {
12 |
13 |     @inlinable public func scheduleTask(_ task: @escaping () -> Void) {
   |                                           `- note: parameter 'task' is implicitly non-sendable
14 |         if self === DispatchQueue.main {
15 |             Thread.isMainThread ? task() : async(execute: task)
   |                                                           `- warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
16 |         } else {
17 |             async(execute: task)
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/TaskScheduler/CoroutineScheduler+DispatchQueue.swift:17:28: warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
11 | extension DispatchQueue: CoroutineScheduler {
12 |
13 |     @inlinable public func scheduleTask(_ task: @escaping () -> Void) {
   |                                           `- note: parameter 'task' is implicitly non-sendable
14 |         if self === DispatchQueue.main {
15 |             Thread.isMainThread ? task() : async(execute: task)
16 |         } else {
17 |             async(execute: task)
   |                            `- warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
18 |         }
19 |     }
[11/43] Compiling SwiftCoroutine CoChannelReceiver.swift
/host/spi-builder-workspace/Sources/SwiftCoroutine/CoFuture/Extensions/URLSession+CoFuture.swift:33:17: warning: capture of 'promise' with non-sendable type 'CoPromise<URLSession.DataResponse>' (aka 'CoPromise<(data: Data, response: URLResponse)>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |         let task = dataTask(with: urlRequest) {
32 |             if let error = $2 {
33 |                 promise.fail(error)
   |                 `- warning: capture of 'promise' with non-sendable type 'CoPromise<URLSession.DataResponse>' (aka 'CoPromise<(data: Data, response: URLResponse)>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |             } else if let data = $0, let response = $1 {
35 |                 promise.success((data, response))
/host/spi-builder-workspace/Sources/SwiftCoroutine/CoFuture/Core/CoPromise.swift:14:20: note: generic class 'CoPromise' does not conform to the 'Sendable' protocol
12 | /// You can set the result to `CoPromise` only once, other attempts will be ignored.
13 | ///
14 | public final class CoPromise<Value>: CoFuture<Value> {}
   |                    `- note: generic class 'CoPromise' does not conform to the 'Sendable' protocol
15 |
16 | extension CoPromise {
[12/43] Compiling SwiftCoroutine CoChannelSender.swift
/host/spi-builder-workspace/Sources/SwiftCoroutine/CoFuture/Extensions/URLSession+CoFuture.swift:33:17: warning: capture of 'promise' with non-sendable type 'CoPromise<URLSession.DataResponse>' (aka 'CoPromise<(data: Data, response: URLResponse)>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |         let task = dataTask(with: urlRequest) {
32 |             if let error = $2 {
33 |                 promise.fail(error)
   |                 `- warning: capture of 'promise' with non-sendable type 'CoPromise<URLSession.DataResponse>' (aka 'CoPromise<(data: Data, response: URLResponse)>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |             } else if let data = $0, let response = $1 {
35 |                 promise.success((data, response))
/host/spi-builder-workspace/Sources/SwiftCoroutine/CoFuture/Core/CoPromise.swift:14:20: note: generic class 'CoPromise' does not conform to the 'Sendable' protocol
12 | /// You can set the result to `CoPromise` only once, other attempts will be ignored.
13 | ///
14 | public final class CoPromise<Value>: CoFuture<Value> {}
   |                    `- note: generic class 'CoPromise' does not conform to the 'Sendable' protocol
15 |
16 | extension CoPromise {
[13/43] Compiling SwiftCoroutine CoFutureError.swift
/host/spi-builder-workspace/Sources/SwiftCoroutine/CoFuture/Extensions/URLSession+CoFuture.swift:33:17: warning: capture of 'promise' with non-sendable type 'CoPromise<URLSession.DataResponse>' (aka 'CoPromise<(data: Data, response: URLResponse)>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |         let task = dataTask(with: urlRequest) {
32 |             if let error = $2 {
33 |                 promise.fail(error)
   |                 `- warning: capture of 'promise' with non-sendable type 'CoPromise<URLSession.DataResponse>' (aka 'CoPromise<(data: Data, response: URLResponse)>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |             } else if let data = $0, let response = $1 {
35 |                 promise.success((data, response))
/host/spi-builder-workspace/Sources/SwiftCoroutine/CoFuture/Core/CoPromise.swift:14:20: note: generic class 'CoPromise' does not conform to the 'Sendable' protocol
12 | /// You can set the result to `CoPromise` only once, other attempts will be ignored.
13 | ///
14 | public final class CoPromise<Value>: CoFuture<Value> {}
   |                    `- note: generic class 'CoPromise' does not conform to the 'Sendable' protocol
15 |
16 | extension CoPromise {
[14/43] Compiling SwiftCoroutine CoFuture.swift
/host/spi-builder-workspace/Sources/SwiftCoroutine/CoFuture/Extensions/URLSession+CoFuture.swift:33:17: warning: capture of 'promise' with non-sendable type 'CoPromise<URLSession.DataResponse>' (aka 'CoPromise<(data: Data, response: URLResponse)>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |         let task = dataTask(with: urlRequest) {
32 |             if let error = $2 {
33 |                 promise.fail(error)
   |                 `- warning: capture of 'promise' with non-sendable type 'CoPromise<URLSession.DataResponse>' (aka 'CoPromise<(data: Data, response: URLResponse)>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |             } else if let data = $0, let response = $1 {
35 |                 promise.success((data, response))
/host/spi-builder-workspace/Sources/SwiftCoroutine/CoFuture/Core/CoPromise.swift:14:20: note: generic class 'CoPromise' does not conform to the 'Sendable' protocol
12 | /// You can set the result to `CoPromise` only once, other attempts will be ignored.
13 | ///
14 | public final class CoPromise<Value>: CoFuture<Value> {}
   |                    `- note: generic class 'CoPromise' does not conform to the 'Sendable' protocol
15 |
16 | extension CoPromise {
[15/43] Compiling SwiftCoroutine CoPromise.swift
/host/spi-builder-workspace/Sources/SwiftCoroutine/CoFuture/Extensions/URLSession+CoFuture.swift:33:17: warning: capture of 'promise' with non-sendable type 'CoPromise<URLSession.DataResponse>' (aka 'CoPromise<(data: Data, response: URLResponse)>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |         let task = dataTask(with: urlRequest) {
32 |             if let error = $2 {
33 |                 promise.fail(error)
   |                 `- warning: capture of 'promise' with non-sendable type 'CoPromise<URLSession.DataResponse>' (aka 'CoPromise<(data: Data, response: URLResponse)>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |             } else if let data = $0, let response = $1 {
35 |                 promise.success((data, response))
/host/spi-builder-workspace/Sources/SwiftCoroutine/CoFuture/Core/CoPromise.swift:14:20: note: generic class 'CoPromise' does not conform to the 'Sendable' protocol
12 | /// You can set the result to `CoPromise` only once, other attempts will be ignored.
13 | ///
14 | public final class CoPromise<Value>: CoFuture<Value> {}
   |                    `- note: generic class 'CoPromise' does not conform to the 'Sendable' protocol
15 |
16 | extension CoPromise {
[16/43] Compiling SwiftCoroutine URLSession+CoFuture.swift
/host/spi-builder-workspace/Sources/SwiftCoroutine/CoFuture/Extensions/URLSession+CoFuture.swift:33:17: warning: capture of 'promise' with non-sendable type 'CoPromise<URLSession.DataResponse>' (aka 'CoPromise<(data: Data, response: URLResponse)>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |         let task = dataTask(with: urlRequest) {
32 |             if let error = $2 {
33 |                 promise.fail(error)
   |                 `- warning: capture of 'promise' with non-sendable type 'CoPromise<URLSession.DataResponse>' (aka 'CoPromise<(data: Data, response: URLResponse)>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |             } else if let data = $0, let response = $1 {
35 |                 promise.success((data, response))
/host/spi-builder-workspace/Sources/SwiftCoroutine/CoFuture/Core/CoPromise.swift:14:20: note: generic class 'CoPromise' does not conform to the 'Sendable' protocol
12 | /// You can set the result to `CoPromise` only once, other attempts will be ignored.
13 | ///
14 | public final class CoPromise<Value>: CoFuture<Value> {}
   |                    `- note: generic class 'CoPromise' does not conform to the 'Sendable' protocol
15 |
16 | extension CoPromise {
[17/48] Compiling SwiftCoroutine CoFuture1+await.swift
[18/48] Compiling SwiftCoroutine CoFuture2+map.swift
[19/48] Compiling SwiftCoroutine CoFuture3+flatMap.swift
[20/48] Compiling SwiftCoroutine CoFuture4+whenComplete.swift
[21/48] Compiling SwiftCoroutine CoFuture5+hashable.swift
[22/48] Compiling SwiftCoroutine CoChannel+Combine.swift
[23/48] Compiling SwiftCoroutine CoroutineProtocol.swift
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/SharedCoroutineDispatcher/SharedCoroutineDispatcher.swift:12:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SharedCoroutineDispatcher' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | //
 8 |
 9 | @usableFromInline internal final class SharedCoroutineDispatcher {
   |                                        `- note: class 'SharedCoroutineDispatcher' does not conform to the 'Sendable' protocol
10 |
11 |     @usableFromInline internal
12 |     static let `default` = SharedCoroutineDispatcher(capacity: .processorsNumber * 2,
   |                |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SharedCoroutineDispatcher' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |                                                      stackSize: .recommended)
14 |
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/TaskScheduler/CoroutineScheduler+DispatchQueue.swift:15:59: warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
11 | extension DispatchQueue: CoroutineScheduler {
12 |
13 |     @inlinable public func scheduleTask(_ task: @escaping () -> Void) {
   |                                           `- note: parameter 'task' is implicitly non-sendable
14 |         if self === DispatchQueue.main {
15 |             Thread.isMainThread ? task() : async(execute: task)
   |                                                           `- warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
16 |         } else {
17 |             async(execute: task)
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/TaskScheduler/CoroutineScheduler+DispatchQueue.swift:17:28: warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
11 | extension DispatchQueue: CoroutineScheduler {
12 |
13 |     @inlinable public func scheduleTask(_ task: @escaping () -> Void) {
   |                                           `- note: parameter 'task' is implicitly non-sendable
14 |         if self === DispatchQueue.main {
15 |             Thread.isMainThread ? task() : async(execute: task)
16 |         } else {
17 |             async(execute: task)
   |                            `- warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
18 |         }
19 |     }
[24/48] Compiling SwiftCoroutine SharedCoroutine.swift
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/SharedCoroutineDispatcher/SharedCoroutineDispatcher.swift:12:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SharedCoroutineDispatcher' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | //
 8 |
 9 | @usableFromInline internal final class SharedCoroutineDispatcher {
   |                                        `- note: class 'SharedCoroutineDispatcher' does not conform to the 'Sendable' protocol
10 |
11 |     @usableFromInline internal
12 |     static let `default` = SharedCoroutineDispatcher(capacity: .processorsNumber * 2,
   |                |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SharedCoroutineDispatcher' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |                                                      stackSize: .recommended)
14 |
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/TaskScheduler/CoroutineScheduler+DispatchQueue.swift:15:59: warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
11 | extension DispatchQueue: CoroutineScheduler {
12 |
13 |     @inlinable public func scheduleTask(_ task: @escaping () -> Void) {
   |                                           `- note: parameter 'task' is implicitly non-sendable
14 |         if self === DispatchQueue.main {
15 |             Thread.isMainThread ? task() : async(execute: task)
   |                                                           `- warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
16 |         } else {
17 |             async(execute: task)
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/TaskScheduler/CoroutineScheduler+DispatchQueue.swift:17:28: warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
11 | extension DispatchQueue: CoroutineScheduler {
12 |
13 |     @inlinable public func scheduleTask(_ task: @escaping () -> Void) {
   |                                           `- note: parameter 'task' is implicitly non-sendable
14 |         if self === DispatchQueue.main {
15 |             Thread.isMainThread ? task() : async(execute: task)
16 |         } else {
17 |             async(execute: task)
   |                            `- warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
18 |         }
19 |     }
[25/48] Compiling SwiftCoroutine SharedCoroutineDispatcher.swift
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/SharedCoroutineDispatcher/SharedCoroutineDispatcher.swift:12:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SharedCoroutineDispatcher' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | //
 8 |
 9 | @usableFromInline internal final class SharedCoroutineDispatcher {
   |                                        `- note: class 'SharedCoroutineDispatcher' does not conform to the 'Sendable' protocol
10 |
11 |     @usableFromInline internal
12 |     static let `default` = SharedCoroutineDispatcher(capacity: .processorsNumber * 2,
   |                |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SharedCoroutineDispatcher' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |                                                      stackSize: .recommended)
14 |
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/TaskScheduler/CoroutineScheduler+DispatchQueue.swift:15:59: warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
11 | extension DispatchQueue: CoroutineScheduler {
12 |
13 |     @inlinable public func scheduleTask(_ task: @escaping () -> Void) {
   |                                           `- note: parameter 'task' is implicitly non-sendable
14 |         if self === DispatchQueue.main {
15 |             Thread.isMainThread ? task() : async(execute: task)
   |                                                           `- warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
16 |         } else {
17 |             async(execute: task)
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/TaskScheduler/CoroutineScheduler+DispatchQueue.swift:17:28: warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
11 | extension DispatchQueue: CoroutineScheduler {
12 |
13 |     @inlinable public func scheduleTask(_ task: @escaping () -> Void) {
   |                                           `- note: parameter 'task' is implicitly non-sendable
14 |         if self === DispatchQueue.main {
15 |             Thread.isMainThread ? task() : async(execute: task)
16 |         } else {
17 |             async(execute: task)
   |                            `- warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
18 |         }
19 |     }
[26/48] Compiling SwiftCoroutine SharedCoroutineQueue.swift
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/SharedCoroutineDispatcher/SharedCoroutineDispatcher.swift:12:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SharedCoroutineDispatcher' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | //
 8 |
 9 | @usableFromInline internal final class SharedCoroutineDispatcher {
   |                                        `- note: class 'SharedCoroutineDispatcher' does not conform to the 'Sendable' protocol
10 |
11 |     @usableFromInline internal
12 |     static let `default` = SharedCoroutineDispatcher(capacity: .processorsNumber * 2,
   |                |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SharedCoroutineDispatcher' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |                                                      stackSize: .recommended)
14 |
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/TaskScheduler/CoroutineScheduler+DispatchQueue.swift:15:59: warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
11 | extension DispatchQueue: CoroutineScheduler {
12 |
13 |     @inlinable public func scheduleTask(_ task: @escaping () -> Void) {
   |                                           `- note: parameter 'task' is implicitly non-sendable
14 |         if self === DispatchQueue.main {
15 |             Thread.isMainThread ? task() : async(execute: task)
   |                                                           `- warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
16 |         } else {
17 |             async(execute: task)
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/TaskScheduler/CoroutineScheduler+DispatchQueue.swift:17:28: warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
11 | extension DispatchQueue: CoroutineScheduler {
12 |
13 |     @inlinable public func scheduleTask(_ task: @escaping () -> Void) {
   |                                           `- note: parameter 'task' is implicitly non-sendable
14 |         if self === DispatchQueue.main {
15 |             Thread.isMainThread ? task() : async(execute: task)
16 |         } else {
17 |             async(execute: task)
   |                            `- warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
18 |         }
19 |     }
[27/48] Compiling SwiftCoroutine CoroutineScheduler+DispatchQueue.swift
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/SharedCoroutineDispatcher/SharedCoroutineDispatcher.swift:12:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SharedCoroutineDispatcher' may have shared mutable state; this is an error in the Swift 6 language mode
 7 | //
 8 |
 9 | @usableFromInline internal final class SharedCoroutineDispatcher {
   |                                        `- note: class 'SharedCoroutineDispatcher' does not conform to the 'Sendable' protocol
10 |
11 |     @usableFromInline internal
12 |     static let `default` = SharedCoroutineDispatcher(capacity: .processorsNumber * 2,
   |                |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SharedCoroutineDispatcher' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |                                                      stackSize: .recommended)
14 |
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/TaskScheduler/CoroutineScheduler+DispatchQueue.swift:15:59: warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
11 | extension DispatchQueue: CoroutineScheduler {
12 |
13 |     @inlinable public func scheduleTask(_ task: @escaping () -> Void) {
   |                                           `- note: parameter 'task' is implicitly non-sendable
14 |         if self === DispatchQueue.main {
15 |             Thread.isMainThread ? task() : async(execute: task)
   |                                                           `- warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
16 |         } else {
17 |             async(execute: task)
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/TaskScheduler/CoroutineScheduler+DispatchQueue.swift:17:28: warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
11 | extension DispatchQueue: CoroutineScheduler {
12 |
13 |     @inlinable public func scheduleTask(_ task: @escaping () -> Void) {
   |                                           `- note: parameter 'task' is implicitly non-sendable
14 |         if self === DispatchQueue.main {
15 |             Thread.isMainThread ? task() : async(execute: task)
16 |         } else {
17 |             async(execute: task)
   |                            `- warning: passing non-sendable parameter 'task' to function expecting a @Sendable closure
18 |         }
19 |     }
[28/48] Compiling SwiftCoroutine CoChannelPublisher.swift
[29/48] Compiling SwiftCoroutine CoChannelSubscription.swift
[30/48] Compiling SwiftCoroutine CoFuture+Combine.swift
[31/48] Compiling SwiftCoroutine CoFuturePublisher.swift
[32/48] Compiling SwiftCoroutine CoFutureSubscription.swift
[33/48] Compiling SwiftCoroutine CoCancellable.swift
[34/48] Compiling SwiftCoroutine CoScope.swift
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/Coroutine/Coroutine+StackSize.swift:19:25: warning: static property 'recommended' is not concurrency-safe because non-'Sendable' type 'Coroutine.StackSize' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | extension Coroutine {
10 |
11 |     @usableFromInline internal struct StackSize {
   |                                       `- note: consider making struct 'StackSize' conform to the 'Sendable' protocol
12 |         internal let size: Int
13 |     }
   :
17 | extension Coroutine.StackSize {
18 |
19 |     internal static let recommended = Coroutine.StackSize(size: 192 * 1024)
   |                         |- warning: static property 'recommended' is not concurrency-safe because non-'Sendable' type 'Coroutine.StackSize' may have shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: add '@MainActor' to make static property 'recommended' part of global actor 'MainActor'
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |     internal static func pages(_ number: Int) -> Coroutine.StackSize {
[35/48] Compiling SwiftCoroutine CoroutineContext.swift
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/Coroutine/Coroutine+StackSize.swift:19:25: warning: static property 'recommended' is not concurrency-safe because non-'Sendable' type 'Coroutine.StackSize' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | extension Coroutine {
10 |
11 |     @usableFromInline internal struct StackSize {
   |                                       `- note: consider making struct 'StackSize' conform to the 'Sendable' protocol
12 |         internal let size: Int
13 |     }
   :
17 | extension Coroutine.StackSize {
18 |
19 |     internal static let recommended = Coroutine.StackSize(size: 192 * 1024)
   |                         |- warning: static property 'recommended' is not concurrency-safe because non-'Sendable' type 'Coroutine.StackSize' may have shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: add '@MainActor' to make static property 'recommended' part of global actor 'MainActor'
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |     internal static func pages(_ number: Int) -> Coroutine.StackSize {
[36/48] Compiling SwiftCoroutine Coroutine+StackSize.swift
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/Coroutine/Coroutine+StackSize.swift:19:25: warning: static property 'recommended' is not concurrency-safe because non-'Sendable' type 'Coroutine.StackSize' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | extension Coroutine {
10 |
11 |     @usableFromInline internal struct StackSize {
   |                                       `- note: consider making struct 'StackSize' conform to the 'Sendable' protocol
12 |         internal let size: Int
13 |     }
   :
17 | extension Coroutine.StackSize {
18 |
19 |     internal static let recommended = Coroutine.StackSize(size: 192 * 1024)
   |                         |- warning: static property 'recommended' is not concurrency-safe because non-'Sendable' type 'Coroutine.StackSize' may have shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: add '@MainActor' to make static property 'recommended' part of global actor 'MainActor'
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |     internal static func pages(_ number: Int) -> Coroutine.StackSize {
[37/48] Compiling SwiftCoroutine Coroutine.swift
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/Coroutine/Coroutine+StackSize.swift:19:25: warning: static property 'recommended' is not concurrency-safe because non-'Sendable' type 'Coroutine.StackSize' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | extension Coroutine {
10 |
11 |     @usableFromInline internal struct StackSize {
   |                                       `- note: consider making struct 'StackSize' conform to the 'Sendable' protocol
12 |         internal let size: Int
13 |     }
   :
17 | extension Coroutine.StackSize {
18 |
19 |     internal static let recommended = Coroutine.StackSize(size: 192 * 1024)
   |                         |- warning: static property 'recommended' is not concurrency-safe because non-'Sendable' type 'Coroutine.StackSize' may have shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: add '@MainActor' to make static property 'recommended' part of global actor 'MainActor'
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |     internal static func pages(_ number: Int) -> Coroutine.StackSize {
[38/48] Compiling SwiftCoroutine CoroutineError.swift
/host/spi-builder-workspace/Sources/SwiftCoroutine/Coroutine/Coroutine/Coroutine+StackSize.swift:19:25: warning: static property 'recommended' is not concurrency-safe because non-'Sendable' type 'Coroutine.StackSize' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | extension Coroutine {
10 |
11 |     @usableFromInline internal struct StackSize {
   |                                       `- note: consider making struct 'StackSize' conform to the 'Sendable' protocol
12 |         internal let size: Int
13 |     }
   :
17 | extension Coroutine.StackSize {
18 |
19 |     internal static let recommended = Coroutine.StackSize(size: 192 * 1024)
   |                         |- warning: static property 'recommended' is not concurrency-safe because non-'Sendable' type 'Coroutine.StackSize' may have shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: add '@MainActor' to make static property 'recommended' part of global actor 'MainActor'
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |     internal static func pages(_ number: Int) -> Coroutine.StackSize {
[39/48] Compiling SwiftCoroutine CoroutineScheduler.swift
[40/48] Compiling SwiftCoroutine AtomicInt.swift
[41/48] Compiling SwiftCoroutine AtomicTuple.swift
[42/48] Compiling SwiftCoroutine CallbackStack.swift
[43/48] Compiling SwiftCoroutine FifoQueue.swift
[44/48] Compiling SwiftCoroutine QueueNodeEraser.swift
[45/48] Compiling SwiftCoroutine Storage.swift
[46/48] Compiling SwiftCoroutine TaggedPointer.swift
[47/48] Compiling SwiftCoroutine Constants.swift
[48/48] Compiling SwiftCoroutine DispatchSourceTimer+extensions.swift
Build complete! (11.02s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftCoroutine",
  "name" : "SwiftCoroutine",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftCoroutine",
      "targets" : [
        "CCoroutine",
        "SwiftCoroutine"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftCoroutineTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCoroutineTests",
      "path" : "Tests/SwiftCoroutineTests",
      "sources" : [
        "CoChannel/BufferedChannelTests.swift",
        "CoChannel/CoChannelCombineTests.swift",
        "CoChannel/CoChannelTests.swift",
        "CoChannel/ConflatedChannelTests.swift",
        "CoFutureTests/CoFutureAwaitTests.swift",
        "CoFutureTests/CoFutureCancelTests.swift",
        "CoFutureTests/CoFutureCombineTests.swift",
        "CoFutureTests/CoFutureFlatMapTests.swift",
        "CoFutureTests/CoFutureTests.swift",
        "CoFutureTests/CoPromiseTests.swift",
        "CoScope/CoScopeTests.swift",
        "Coroutine/CoroutineCancelTests.swift",
        "Coroutine/CoroutineContextTests.swift",
        "Coroutine/CoroutineDispatcherTests.swift",
        "Coroutine/CoroutineSchedulerTests.swift",
        "Coroutine/CoroutineTests.swift",
        "Extensions/URL+Extensions.swift",
        "Extensions/XCTAssertContains.swift",
        "Extensions/XCTOrderedExpectation.swift",
        "Helpers/StorageTests.swift",
        "Helpers/TaggedPointerTests.swift",
        "Helpers/TestAtomic.swift",
        "Helpers/TestFifoQueue.swift",
        "Helpers/URLSessionTests.swift"
      ],
      "target_dependencies" : [
        "SwiftCoroutine"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftCoroutine",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCoroutine",
      "path" : "Sources/SwiftCoroutine",
      "product_memberships" : [
        "SwiftCoroutine"
      ],
      "sources" : [
        "CoChannel/Channels/_BufferedChannel.swift",
        "CoChannel/Channels/_Channel.swift",
        "CoChannel/Channels/_CoChannelMap.swift",
        "CoChannel/Channels/_ConflatedChannel.swift",
        "CoChannel/CoChannel.swift",
        "CoChannel/CoChannelError.swift",
        "CoChannel/CoChannelReceiver.swift",
        "CoChannel/CoChannelSender.swift",
        "CoFuture/CoFutureError.swift",
        "CoFuture/Core/CoFuture.swift",
        "CoFuture/Core/CoPromise.swift",
        "CoFuture/Extensions/URLSession+CoFuture.swift",
        "CoFuture/Operators/CoFuture1+await.swift",
        "CoFuture/Operators/CoFuture2+map.swift",
        "CoFuture/Operators/CoFuture3+flatMap.swift",
        "CoFuture/Operators/CoFuture4+whenComplete.swift",
        "CoFuture/Operators/CoFuture5+hashable.swift",
        "CoFuture/Operators/Combine/CoChannel/CoChannel+Combine.swift",
        "CoFuture/Operators/Combine/CoChannel/CoChannelPublisher.swift",
        "CoFuture/Operators/Combine/CoChannel/CoChannelSubscription.swift",
        "CoFuture/Operators/Combine/CoFuture/CoFuture+Combine.swift",
        "CoFuture/Operators/Combine/CoFuture/CoFuturePublisher.swift",
        "CoFuture/Operators/Combine/CoFuture/CoFutureSubscription.swift",
        "CoScope/CoCancellable.swift",
        "CoScope/CoScope.swift",
        "Coroutine/Context/CoroutineContext.swift",
        "Coroutine/Coroutine/Coroutine+StackSize.swift",
        "Coroutine/Coroutine/Coroutine.swift",
        "Coroutine/Coroutine/CoroutineError.swift",
        "Coroutine/CoroutineProtocol/CoroutineProtocol.swift",
        "Coroutine/SharedCoroutineDispatcher/SharedCoroutine.swift",
        "Coroutine/SharedCoroutineDispatcher/SharedCoroutineDispatcher.swift",
        "Coroutine/SharedCoroutineDispatcher/SharedCoroutineQueue.swift",
        "Coroutine/TaskScheduler/CoroutineScheduler+DispatchQueue.swift",
        "Coroutine/TaskScheduler/CoroutineScheduler.swift",
        "Helpers/Atomic/AtomicInt.swift",
        "Helpers/Atomic/AtomicTuple.swift",
        "Helpers/Atomic/CallbackStack.swift",
        "Helpers/Atomic/FifoQueue.swift",
        "Helpers/Atomic/QueueNodeEraser.swift",
        "Helpers/Atomic/Storage.swift",
        "Helpers/Atomic/TaggedPointer.swift",
        "Helpers/Constants.swift",
        "Helpers/DispatchSourceTimer+extensions.swift"
      ],
      "target_dependencies" : [
        "CCoroutine"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CCoroutine",
      "module_type" : "ClangTarget",
      "name" : "CCoroutine",
      "path" : "Sources/CCoroutine",
      "product_memberships" : [
        "SwiftCoroutine"
      ],
      "sources" : [
        "CCoroutine.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.