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

Failed to build KMPNativeCoroutines, reference master (ba6676), with Swift 6.1 for Linux on 5 May 2025 19:27:34 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rickclephas/KMP-NativeCoroutines.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/rickclephas/KMP-NativeCoroutines
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ba66762 Update KSP to 2.0.1
Cloned https://github.com/rickclephas/KMP-NativeCoroutines.git
Revision (git rev-parse @):
ba667624990e7014378532bfda19fcc4d6842352
SUCCESS checkout https://github.com/rickclephas/KMP-NativeCoroutines.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/rickclephas/KMP-NativeCoroutines.git
https://github.com/rickclephas/KMP-NativeCoroutines.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "rxswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ReactiveX/RxSwift.git"
    }
  ],
  "manifest_display_name" : "KMPNativeCoroutines",
  "name" : "KMPNativeCoroutines",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "KMPNativeCoroutinesCore",
      "targets" : [
        "KMPNativeCoroutinesCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "KMPNativeCoroutinesCombine",
      "targets" : [
        "KMPNativeCoroutinesCombine"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "KMPNativeCoroutinesAsync",
      "targets" : [
        "KMPNativeCoroutinesAsync"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "KMPNativeCoroutinesRxSwift",
      "targets" : [
        "KMPNativeCoroutinesRxSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "KMPNativeCoroutinesRxSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "KMPNativeCoroutinesRxSwiftTests",
      "path" : "KMPNativeCoroutinesRxSwiftTests",
      "sources" : [
        "ObservableTests.swift",
        "SingleTests.swift"
      ],
      "target_dependencies" : [
        "KMPNativeCoroutinesRxSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KMPNativeCoroutinesRxSwift",
      "module_type" : "SwiftTarget",
      "name" : "KMPNativeCoroutinesRxSwift",
      "path" : "KMPNativeCoroutinesRxSwift",
      "product_dependencies" : [
        "RxSwift"
      ],
      "product_memberships" : [
        "KMPNativeCoroutinesRxSwift"
      ],
      "sources" : [
        "Observable.swift",
        "Single.swift",
        "SingleObservable.swift"
      ],
      "target_dependencies" : [
        "KMPNativeCoroutinesCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KMPNativeCoroutinesCore",
      "module_type" : "SwiftTarget",
      "name" : "KMPNativeCoroutinesCore",
      "path" : "KMPNativeCoroutinesCore",
      "product_memberships" : [
        "KMPNativeCoroutinesCore",
        "KMPNativeCoroutinesCombine",
        "KMPNativeCoroutinesAsync",
        "KMPNativeCoroutinesRxSwift"
      ],
      "sources" : [
        "NativeCallback.swift",
        "NativeCancellable.swift",
        "NativeFlow.swift",
        "NativeSuspend.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KMPNativeCoroutinesCombineTests",
      "module_type" : "SwiftTarget",
      "name" : "KMPNativeCoroutinesCombineTests",
      "path" : "KMPNativeCoroutinesCombineTests",
      "sources" : [
        "FutureTests.swift",
        "PublisherTests.swift"
      ],
      "target_dependencies" : [
        "KMPNativeCoroutinesCombine"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KMPNativeCoroutinesCombine",
      "module_type" : "SwiftTarget",
      "name" : "KMPNativeCoroutinesCombine",
      "path" : "KMPNativeCoroutinesCombine",
      "product_memberships" : [
        "KMPNativeCoroutinesCombine"
      ],
      "sources" : [
        "Future.swift",
        "FuturePublisher.swift",
        "Publisher.swift"
      ],
      "target_dependencies" : [
        "KMPNativeCoroutinesCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KMPNativeCoroutinesAsyncTests",
      "module_type" : "SwiftTarget",
      "name" : "KMPNativeCoroutinesAsyncTests",
      "path" : "KMPNativeCoroutinesAsyncTests",
      "sources" : [
        "AsyncFunctionTests.swift",
        "AsyncResultTests.swift",
        "AsyncSequenceTests.swift"
      ],
      "target_dependencies" : [
        "KMPNativeCoroutinesAsync"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KMPNativeCoroutinesAsync",
      "module_type" : "SwiftTarget",
      "name" : "KMPNativeCoroutinesAsync",
      "path" : "KMPNativeCoroutinesAsync",
      "product_memberships" : [
        "KMPNativeCoroutinesAsync"
      ],
      "sources" : [
        "AsyncError.swift",
        "AsyncFunction.swift",
        "AsyncResult.swift",
        "AsyncSequence.swift"
      ],
      "target_dependencies" : [
        "KMPNativeCoroutinesCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Fetching https://github.com/ReactiveX/RxSwift.git
[1/52683] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (4.80s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.9.0 (5.33s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.9.0
Building for debugging...
[0/7] Write sources
[1/7] Copying PrivacyInfo.xcprivacy
[5/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/156] Compiling KMPNativeCoroutinesCore NativeCancellable.swift
[9/156] Compiling KMPNativeCoroutinesCore NativeFlow.swift
[10/156] Compiling KMPNativeCoroutinesCore NativeSuspend.swift
[11/156] Emitting module KMPNativeCoroutinesCore
[12/156] Compiling KMPNativeCoroutinesCore NativeCallback.swift
[14/166] Emitting module KMPNativeCoroutinesAsync
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/166] Emitting module KMPNativeCoroutinesCombine
/host/spi-builder-workspace/KMPNativeCoroutinesCombine/Future.swift:8:8: error: no such module 'Combine'
 6 | //
 7 |
 8 | import Combine
   |        `- error: no such module 'Combine'
 9 | import KMPNativeCoroutinesCore
10 |
[16/166] Compiling KMPNativeCoroutinesCombine Publisher.swift
/host/spi-builder-workspace/KMPNativeCoroutinesCombine/Future.swift:8:8: error: no such module 'Combine'
 6 | //
 7 |
 8 | import Combine
   |        `- error: no such module 'Combine'
 9 | import KMPNativeCoroutinesCore
10 |
[17/166] Compiling KMPNativeCoroutinesCombine FuturePublisher.swift
/host/spi-builder-workspace/KMPNativeCoroutinesCombine/Future.swift:8:8: error: no such module 'Combine'
 6 | //
 7 |
 8 | import Combine
   |        `- error: no such module 'Combine'
 9 | import KMPNativeCoroutinesCore
10 |
[18/166] Compiling KMPNativeCoroutinesCombine Future.swift
/host/spi-builder-workspace/KMPNativeCoroutinesCombine/Future.swift:8:8: error: no such module 'Combine'
 6 | //
 7 |
 8 | import Combine
   |        `- error: no such module 'Combine'
 9 | import KMPNativeCoroutinesCore
10 |
[19/166] Compiling KMPNativeCoroutinesAsync AsyncError.swift
[20/166] Compiling KMPNativeCoroutinesAsync AsyncResult.swift
[21/166] Compiling KMPNativeCoroutinesAsync AsyncFunction.swift
/host/spi-builder-workspace/KMPNativeCoroutinesAsync/AsyncFunction.swift:45:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
43 |             self.result = result
44 |             if let continuation = self.continuation {
45 |                 continuation.resume(returning: result)
   |                              |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
   |                              `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
46 |                 self.continuation = nil
47 |             }
/host/spi-builder-workspace/KMPNativeCoroutinesAsync/AsyncSequence.swift:39:34: warning: sending value of non-Sendable type 'Output' risks causing data races; this is an error in the Swift 6 language mode
 37 |                 defer { self.semaphore.signal() }
 38 |                 if let continuation = self.continuation {
 39 |                     continuation.resume(returning: item)
    |                                  |- warning: sending value of non-Sendable type 'Output' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: Passing task-isolated value of non-Sendable type 'Output' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 40 |                     self.continuation = nil
 41 |                     return next()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/36] Compiling KMPNativeCoroutinesCore NativeFlow.swift
[3/37] Compiling KMPNativeCoroutinesCore NativeSuspend.swift
[4/38] Compiling KMPNativeCoroutinesCore NativeCancellable.swift
[5/38] Emitting module KMPNativeCoroutinesCore
[6/38] Compiling KMPNativeCoroutinesCore NativeCallback.swift
[8/160] Compiling KMPNativeCoroutinesAsync AsyncError.swift
[9/160] Compiling KMPNativeCoroutinesCombine FuturePublisher.swift
/host/spi-builder-workspace/KMPNativeCoroutinesCombine/Future.swift:8:8: error: no such module 'Combine'
 6 | //
 7 |
 8 | import Combine
   |        `- error: no such module 'Combine'
 9 | import KMPNativeCoroutinesCore
10 |
[10/160] Compiling KMPNativeCoroutinesCombine Publisher.swift
/host/spi-builder-workspace/KMPNativeCoroutinesCombine/Future.swift:8:8: error: no such module 'Combine'
 6 | //
 7 |
 8 | import Combine
   |        `- error: no such module 'Combine'
 9 | import KMPNativeCoroutinesCore
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/160] Emitting module KMPNativeCoroutinesCombine
/host/spi-builder-workspace/KMPNativeCoroutinesCombine/Future.swift:8:8: error: no such module 'Combine'
 6 | //
 7 |
 8 | import Combine
   |        `- error: no such module 'Combine'
 9 | import KMPNativeCoroutinesCore
10 |
[12/160] Compiling KMPNativeCoroutinesCombine Future.swift
/host/spi-builder-workspace/KMPNativeCoroutinesCombine/Future.swift:8:8: error: no such module 'Combine'
 6 | //
 7 |
 8 | import Combine
   |        `- error: no such module 'Combine'
 9 | import KMPNativeCoroutinesCore
10 |
[13/160] Emitting module KMPNativeCoroutinesAsync
BUILD FAILURE 6.1 linux