Build Information
Failed to build KMPNativeCoroutines, reference v1.0.0-ALPHA-45-spm-no-deps (6b0502
), with Swift 6.1 for Android on 25 Jun 2025 12:42:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rickclephas/KMP-NativeCoroutines.git
Reference: v1.0.0-ALPHA-45-spm-no-deps
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
* tag v1.0.0-ALPHA-45-spm-no-deps -> FETCH_HEAD
HEAD is now at 6b0502e Merge tag 'v1.0.0-ALPHA-45' into spm/no-deps
Cloned https://github.com/rickclephas/KMP-NativeCoroutines.git
Revision (git rev-parse @):
6b0502ee6059b1edac1de12792d31445af146664
SUCCESS checkout https://github.com/rickclephas/KMP-NativeCoroutines.git at v1.0.0-ALPHA-45-spm-no-deps
========================================
Build
========================================
Selected platform: android
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" : [
],
"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"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "KMPNativeCoroutinesCore",
"module_type" : "SwiftTarget",
"name" : "KMPNativeCoroutinesCore",
"path" : "KMPNativeCoroutinesCore",
"product_memberships" : [
"KMPNativeCoroutinesCore",
"KMPNativeCoroutinesCombine",
"KMPNativeCoroutinesAsync"
],
"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-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/9] Compiling KMPNativeCoroutinesCore NativeSuspend.swift
[6/9] Compiling KMPNativeCoroutinesCore NativeFlow.swift
[7/9] Compiling KMPNativeCoroutinesCore NativeCancellable.swift
[8/9] Emitting module KMPNativeCoroutinesCore
[9/9] Compiling KMPNativeCoroutinesCore NativeCallback.swift
[11/19] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/19] 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 |
[13/19] 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 |
[14/19] 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 |
[15/19] Compiling KMPNativeCoroutinesAsync AsyncResult.swift
[16/19] Compiling KMPNativeCoroutinesAsync AsyncSequence.swift
/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()
/host/spi-builder-workspace/KMPNativeCoroutinesAsync/AsyncSequence.swift:79:38: warning: sending value of non-Sendable type 'Output' risks causing data races; this is an error in the Swift 6 language mode
77 | defer { self.semaphore.signal() }
78 | if let (item, next) = self.item {
79 | 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 value of non-Sendable type 'Output' as a 'sending' argument risks causing races in between local and caller code
80 | _ = next()
| `- note: access can happen concurrently
81 | self.item = nil
82 | } else if let result = self.result {
[17/19] Compiling KMPNativeCoroutinesAsync AsyncError.swift
[18/19] Emitting module KMPNativeCoroutinesAsync
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling KMPNativeCoroutinesCore NativeSuspend.swift
[3/6] Compiling KMPNativeCoroutinesCore NativeCancellable.swift
[4/6] Emitting module KMPNativeCoroutinesCore
[5/6] Compiling KMPNativeCoroutinesCore NativeCallback.swift
[6/6] Compiling KMPNativeCoroutinesCore NativeFlow.swift
[8/16] Emitting module KMPNativeCoroutinesAsync
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/16] 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 |
[10/16] 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 |
[11/16] 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 |
[12/16] 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 |
[13/16] Compiling KMPNativeCoroutinesAsync AsyncResult.swift
[14/16] Compiling KMPNativeCoroutinesAsync AsyncSequence.swift
[15/16] Compiling KMPNativeCoroutinesAsync AsyncError.swift
[16/16] Compiling KMPNativeCoroutinesAsync AsyncFunction.swift
BUILD FAILURE 6.1 android