Build Information
Failed to build KMPNativeCoroutines, reference master (54a45f), with Swift 6.2 for Wasm on 8 Sep 2026 01:49:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
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 54a45fb Bump version to 1.0.6
Cloned https://github.com/rickclephas/KMP-NativeCoroutines.git
Revision (git rev-parse @):
54a45fbb15bc0bebc54081f87683830d3bc9e84e
SUCCESS checkout https://github.com/rickclephas/KMP-NativeCoroutines.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/rickclephas/KMP-NativeCoroutines.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:70428a4f4110aef5b17a27427e965f31cf3855e8cf1dfdc416ed61c780337965
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/ReactiveX/RxSwift.git
[1/54521] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (2.86s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.10.2 (3.07s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.10.2
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 NativeFlow.swift
[9/156] Compiling KMPNativeCoroutinesCore NativeSuspend.swift
[10/156] Compiling KMPNativeCoroutinesCore NativeCancellable.swift
[11/156] Compiling KMPNativeCoroutinesCore NativeCallback.swift
[12/156] Emitting module KMPNativeCoroutinesCore
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/166] Emitting module KMPNativeCoroutinesAsync
/host/spi-builder-workspace/KMPNativeCoroutinesAsync/AsyncFunction.swift:8:8: error: no such module 'Dispatch'
6 | //
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import KMPNativeCoroutinesCore
10 |
[15/166] Compiling KMPNativeCoroutinesAsync AsyncFunction.swift
/host/spi-builder-workspace/KMPNativeCoroutinesAsync/AsyncFunction.swift:8:8: error: no such module 'Dispatch'
6 | //
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import KMPNativeCoroutinesCore
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/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 |
[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 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 |
[19/166] Compiling KMPNativeCoroutinesAsync AsyncSequence.swift
/host/spi-builder-workspace/KMPNativeCoroutinesAsync/AsyncFunction.swift:8:8: error: no such module 'Dispatch'
6 | //
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import KMPNativeCoroutinesCore
10 |
[20/166] Compiling KMPNativeCoroutinesAsync AsyncResult.swift
/host/spi-builder-workspace/KMPNativeCoroutinesAsync/AsyncFunction.swift:8:8: error: no such module 'Dispatch'
6 | //
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import KMPNativeCoroutinesCore
10 |
[21/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 |
[22/166] Compiling KMPNativeCoroutinesAsync AsyncError.swift
/host/spi-builder-workspace/KMPNativeCoroutinesAsync/AsyncFunction.swift:8:8: error: no such module 'Dispatch'
6 | //
7 |
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 | import KMPNativeCoroutinesCore
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
29 | #include <stddef.h>
30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
1 | #ifndef _WASI_EMULATED_SIGNAL
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
26 | #include <setjmp.h>
27 | #endif
28 | #include <signal.h>
| `- error: could not build module 'wasi_emulated_signal'
29 | #include <stddef.h>
30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
84 | #undef _WASI_EMULATED_MMAN
85 | #define _WASI_EMULATED_MMAN
86 | #include <sys/mman.h>
| `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
87 | #elif TARGET_OS_LINUX
88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
| `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
1 | #ifndef _WASI_EMULATED_MMAN
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
4 | #else
BUILD FAILURE 6.2 wasm