The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build KMPNativeCoroutines, reference v0.13.3 (5012d8), with Swift 6.1 for Wasm on 28 May 2025 22:51:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.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:         wasm
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",
        "AsyncStreamTests.swift"
      ],
      "target_dependencies" : [
        "KMPNativeCoroutinesAsync"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KMPNativeCoroutinesAsync",
      "module_type" : "SwiftTarget",
      "name" : "KMPNativeCoroutinesAsync",
      "path" : "KMPNativeCoroutinesAsync",
      "product_memberships" : [
        "KMPNativeCoroutinesAsync"
      ],
      "sources" : [
        "AsyncFunction.swift",
        "AsyncResult.swift",
        "AsyncStream.swift"
      ],
      "target_dependencies" : [
        "KMPNativeCoroutinesCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/ReactiveX/RxSwift.git
[1/52683] Fetching rxswift
Fetched https://github.com/ReactiveX/RxSwift.git from cache (12.30s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.9.0 (14.25s)
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
[5/7] Copying PrivacyInfo.xcprivacy
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/156] Compiling KMPNativeCoroutinesCore NativeSuspend.swift
[9/156] Compiling KMPNativeCoroutinesCore NativeFlow.swift
[10/156] Compiling KMPNativeCoroutinesCore NativeCallback.swift
[11/156] Emitting module KMPNativeCoroutinesCore
[12/156] Compiling KMPNativeCoroutinesCore NativeCancellable.swift
[14/165] 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 |
[15/165] 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)
[16/165] 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/165] 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 |
[18/165] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/165] Emitting module RxSwift
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/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
/host/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/AtomicInt.swift:9:8: error: could not build C module 'CoreFoundation'
 7 | //
 8 |
 9 | import CoreFoundation
   |        `- error: could not build C module 'CoreFoundation'
10 | // This CoreFoundation import can be dropped when this issue is resolved:
11 | // https://github.com/swiftlang/swift-corelibs-foundation/pull/5122
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/126] Emitting module KMPNativeCoroutinesCore
[3/130] Compiling KMPNativeCoroutinesCore NativeCallback.swift
[4/150] Compiling KMPNativeCoroutinesCore NativeSuspend.swift
[5/150] Compiling KMPNativeCoroutinesCore NativeCancellable.swift
[6/150] Compiling KMPNativeCoroutinesCore NativeFlow.swift
[8/159] 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 |
[9/159] 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/159] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/159] 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 |
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/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
[12/159] Emitting module KMPNativeCoroutinesAsync
[13/159] Compiling KMPNativeCoroutinesAsync AsyncResult.swift
BUILD FAILURE 6.1 wasm