Build Information
Failed to build KMPNativeCoroutines, reference v0.13.3 (5012d8
), with Swift 6.0 for Linux on 30 Nov 2024 04:21:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rickclephas/KMP-NativeCoroutines.git
Reference: v0.13.3
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 v0.13.3 -> FETCH_HEAD
HEAD is now at 5012d81 Bump version to 0.13.3
Cloned https://github.com/rickclephas/KMP-NativeCoroutines.git
Revision (git rev-parse @):
5012d81217e962e0174af9631a5a8d350ac97ec9
SUCCESS checkout https://github.com/rickclephas/KMP-NativeCoroutines.git at v0.13.3
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/rickclephas/KMP-NativeCoroutines.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/ReactiveX/RxSwift.git
[1/52393] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (4.37s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.8.0 (0.41s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.8.0
Building for debugging...
[0/7] Write sources
[0/7] Copying PrivacyInfo.xcprivacy
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/156] Emitting module RxSwift
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:11:13: error: cannot inherit from class 'NSLock' (compiled with Swift 6.0.2) because it has overridable members that could not be loaded in Swift 5.10
9 | import Foundation
10 |
11 | final class AtomicInt: NSLock, @unchecked Sendable {
| `- error: cannot inherit from class 'NSLock' (compiled with Swift 6.0.2) because it has overridable members that could not be loaded in Swift 5.10
12 | fileprivate var value: Int32
13 | public init(_ value: Int32 = 0) {
[9/176] Compiling KMPNativeCoroutinesCore NativeSuspend.swift
[10/176] Compiling KMPNativeCoroutinesCore NativeCancellable.swift
[11/176] Emitting module KMPNativeCoroutinesCore
[12/176] Compiling KMPNativeCoroutinesCore NativeFlow.swift
[13/176] Compiling KMPNativeCoroutinesCore NativeCallback.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/185] 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/185] 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 |
[17/185] 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 |
[18/185] 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/185] Compiling KMPNativeCoroutinesAsync AsyncResult.swift
/host/spi-builder-workspace/KMPNativeCoroutinesAsync/AsyncStream.swift:19:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
17 | Task { await asyncStreamActor.cancel() }
18 | }
19 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
20 | let nativeCancellable = nativeFlow({ item, unit in
| `- note: closure captures 'nativeFlow' which is accessible to code in the current task
21 | continuation.yield(item)
22 | return unit
BUILD FAILURE 6.0 linux