The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftCoroutine, reference 2.1.11 (d15c03), with Swift 6.2 for Linux on 19 Jun 2025 00:46:52 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 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.2
Building package at path:  $PWD
https://github.com/belozierov/SwiftCoroutine.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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] 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 |     }
[5/48] Compiling SwiftCoroutine _BufferedChannel.swift
[6/48] Compiling SwiftCoroutine _Channel.swift
[7/48] Compiling SwiftCoroutine _CoChannelMap.swift
[8/48] Compiling SwiftCoroutine _ConflatedChannel.swift
[9/48] Compiling SwiftCoroutine CoChannel.swift
[10/48] Compiling SwiftCoroutine CoChannelError.swift
[11/48] Compiling SwiftCoroutine QueueNodeEraser.swift
[12/48] Compiling SwiftCoroutine Storage.swift
[13/48] Compiling SwiftCoroutine TaggedPointer.swift
[14/48] Compiling SwiftCoroutine Constants.swift
[15/48] Compiling SwiftCoroutine DispatchSourceTimer+extensions.swift
[16/48] Compiling SwiftCoroutine CoFuture1+await.swift
[17/48] Compiling SwiftCoroutine CoFuture2+map.swift
[18/48] Compiling SwiftCoroutine CoFuture3+flatMap.swift
[19/48] Compiling SwiftCoroutine CoFuture4+whenComplete.swift
[20/48] Compiling SwiftCoroutine CoFuture5+hashable.swift
[21/48] Compiling SwiftCoroutine CoChannel+Combine.swift
[22/48] Compiling SwiftCoroutine CoScope.swift
[23/48] Compiling SwiftCoroutine CoroutineContext.swift
[24/48] Compiling SwiftCoroutine Coroutine+StackSize.swift
[25/48] Compiling SwiftCoroutine Coroutine.swift
[26/48] Compiling SwiftCoroutine CoroutineError.swift
[27/48] Compiling SwiftCoroutine CoroutineScheduler.swift
[28/48] Compiling SwiftCoroutine AtomicInt.swift
[29/48] Compiling SwiftCoroutine AtomicTuple.swift
[30/48] Compiling SwiftCoroutine CallbackStack.swift
[31/48] Compiling SwiftCoroutine FifoQueue.swift
[32/48] Compiling SwiftCoroutine CoChannelReceiver.swift
[33/48] Compiling SwiftCoroutine CoChannelSender.swift
[34/48] Compiling SwiftCoroutine CoFutureError.swift
[35/48] Compiling SwiftCoroutine CoFuture.swift
[36/48] Compiling SwiftCoroutine CoPromise.swift
[37/48] Compiling SwiftCoroutine URLSession+CoFuture.swift
[38/48] Compiling SwiftCoroutine CoChannelPublisher.swift
[39/48] Compiling SwiftCoroutine CoChannelSubscription.swift
[40/48] Compiling SwiftCoroutine CoFuture+Combine.swift
[41/48] Compiling SwiftCoroutine CoFuturePublisher.swift
[42/48] Compiling SwiftCoroutine CoFutureSubscription.swift
[43/48] Compiling SwiftCoroutine CoCancellable.swift
[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! (9.99s)
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.