The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftCoroutine, reference master (afd91f), with Swift 6.2 (beta) for Linux on 19 Jun 2025 00:47:23 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/belozierov/SwiftCoroutine.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at afd91ff - updated versions
Cloned https://github.com/belozierov/SwiftCoroutine.git
Revision (git rev-parse @):
afd91ff068e96814beea27f5990c813d7261ebef
SUCCESS checkout https://github.com/belozierov/SwiftCoroutine.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/belozierov/SwiftCoroutine.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/3] Write sources
[1/3] Compiling CCoroutine CCoroutine.c
[2/3] Write swift-version-24593BA9C3E375BF.txt
[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] Compiling SwiftCoroutine CoroutineScheduler.swift
[11/43] Compiling SwiftCoroutine AtomicInt.swift
[12/43] Compiling SwiftCoroutine AtomicTuple.swift
[13/43] Compiling SwiftCoroutine CallbackStack.swift
[14/43] Compiling SwiftCoroutine FifoQueue.swift
[15/48] Compiling SwiftCoroutine QueueNodeEraser.swift
[16/48] Compiling SwiftCoroutine Storage.swift
[17/48] Compiling SwiftCoroutine TaggedPointer.swift
[18/48] Compiling SwiftCoroutine Constants.swift
[19/48] Compiling SwiftCoroutine DispatchSourceTimer+extensions.swift
[20/48] Compiling SwiftCoroutine CoChannelPublisher.swift
[21/48] Compiling SwiftCoroutine CoChannelSubscription.swift
[22/48] Compiling SwiftCoroutine CoFuture+Combine.swift
[23/48] Compiling SwiftCoroutine CoFuturePublisher.swift
[24/48] Compiling SwiftCoroutine CoFutureSubscription.swift
[25/48] Compiling SwiftCoroutine CoCancellable.swift
[26/48] Compiling SwiftCoroutine CoFuture1+await.swift
[27/48] Compiling SwiftCoroutine CoFuture2+map.swift
[28/48] Compiling SwiftCoroutine CoFuture3+flatMap.swift
[29/48] Compiling SwiftCoroutine CoFuture4+whenComplete.swift
[30/48] Compiling SwiftCoroutine CoFuture5+hashable.swift
[31/48] Compiling SwiftCoroutine CoChannel+Combine.swift
[32/48] Compiling SwiftCoroutine CoScope.swift
[33/48] Compiling SwiftCoroutine CoroutineContext.swift
[34/48] Compiling SwiftCoroutine Coroutine+StackSize.swift
[35/48] Compiling SwiftCoroutine Coroutine.swift
[36/48] Compiling SwiftCoroutine CoroutineError.swift
[37/48] Compiling SwiftCoroutine CoChannelReceiver.swift
[38/48] Compiling SwiftCoroutine CoChannelSender.swift
[39/48] Compiling SwiftCoroutine CoFutureError.swift
[40/48] Compiling SwiftCoroutine CoFuture.swift
[41/48] Compiling SwiftCoroutine CoPromise.swift
[42/48] Compiling SwiftCoroutine URLSession+CoFuture.swift
[43/48] Emitting module SwiftCoroutine
/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 |     }
[44/48] Compiling SwiftCoroutine CoroutineProtocol.swift
/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 |     }
[45/48] Compiling SwiftCoroutine SharedCoroutine.swift
/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 |     }
[46/48] Compiling SwiftCoroutine SharedCoroutineDispatcher.swift
/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 |     }
[47/48] Compiling SwiftCoroutine SharedCoroutineQueue.swift
/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 |     }
[48/48] Compiling SwiftCoroutine CoroutineScheduler+DispatchQueue.swift
/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 |     }
Build complete! (13.47s)
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.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.