Build Information
Failed to build OneWay, reference main (514c71
), with Swift 6.1 for Wasm on 29 May 2025 20:49:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/DevYeom/OneWay.git
Reference: main
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/DevYeom/OneWay
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 514c714 Improve the debounce performance (#105)
Cloned https://github.com/DevYeom/OneWay.git
Revision (git rev-parse @):
514c7140fccf0f3d48b541acb8cac24f8e25482a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/DevYeom/OneWay.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/DevYeom/OneWay.git
https://github.com/DevYeom/OneWay.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-clocks",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-clocks"
}
],
"manifest_display_name" : "OneWay",
"name" : "OneWay",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "OneWay",
"targets" : [
"OneWay"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OneWayTesting",
"targets" : [
"OneWayTesting"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OneWayTests",
"module_type" : "SwiftTarget",
"name" : "OneWayTests",
"path" : "Tests/OneWayTests",
"product_dependencies" : [
"Clocks"
],
"sources" : [
"EffectTests.swift",
"EffectsBuilderTests.swift",
"PropertyWrappersTests.swift",
"StoreTests.swift",
"TestHelper/Publisher+Async.swift",
"TestHelper/XCTestCase+Expect.swift",
"ViewStoreTests.swift"
],
"target_dependencies" : [
"OneWay",
"OneWayTesting"
],
"type" : "test"
},
{
"c99name" : "OneWayTestingTests",
"module_type" : "SwiftTarget",
"name" : "OneWayTestingTests",
"path" : "Tests/OneWayTestingTests",
"sources" : [
"TestingTests.swift",
"XCTestTests.swift"
],
"target_dependencies" : [
"OneWayTesting"
],
"type" : "test"
},
{
"c99name" : "OneWayTesting",
"module_type" : "SwiftTarget",
"name" : "OneWayTesting",
"path" : "Sources/OneWayTesting",
"product_memberships" : [
"OneWayTesting"
],
"sources" : [
"Store+Testing.swift",
"TestingEnvironment.swift"
],
"target_dependencies" : [
"OneWay"
],
"type" : "library"
},
{
"c99name" : "OneWay",
"module_type" : "SwiftTarget",
"name" : "OneWay",
"path" : "Sources/OneWay",
"product_memberships" : [
"OneWay",
"OneWayTesting"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/OneWay/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AnyEffect.swift",
"AsyncSequences/AsyncViewStateSequence.swift",
"Effect.swift",
"EffectsBuilder.swift",
"PropertyWrappers/CopyOnWrite.swift",
"PropertyWrappers/Ignored.swift",
"PropertyWrappers/Triggered.swift",
"Reducer.swift",
"Store.swift",
"ViewStore.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/pointfreeco/swift-clocks
[1/1292] Fetching swift-clocks
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.67s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (1.46s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/852] Fetching swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.41s)
[1/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.11s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (1.86s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.79s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Building for debugging...
[0/4] Copying PrivacyInfo.xcprivacy
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling OneWay CopyOnWrite.swift
[6/15] Compiling OneWay Ignored.swift
[7/16] Emitting module OneWay
[8/16] Compiling OneWay Triggered.swift
[9/16] Compiling OneWay Reducer.swift
[10/16] Compiling OneWay ViewStore.swift
[11/16] Compiling OneWay Store.swift
[12/16] Compiling OneWay resource_bundle_accessor.swift
[13/16] Compiling OneWay AnyEffect.swift
/host/spi-builder-workspace/Sources/OneWay/AsyncSequences/AsyncViewStateSequence.swift:86:41: warning: capture of 'keyPath' with non-sendable type 'KeyPath<State, Property>' in a '@Sendable' closure
84 | continuation.yield(last)
85 | }
86 | return stream.map { $0[keyPath: keyPath] }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<State, Property>' in a '@Sendable' closure
87 | }
88 | #endif
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[14/16] Compiling OneWay AsyncViewStateSequence.swift
/host/spi-builder-workspace/Sources/OneWay/AsyncSequences/AsyncViewStateSequence.swift:86:41: warning: capture of 'keyPath' with non-sendable type 'KeyPath<State, Property>' in a '@Sendable' closure
84 | continuation.yield(last)
85 | }
86 | return stream.map { $0[keyPath: keyPath] }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<State, Property>' in a '@Sendable' closure
87 | }
88 | #endif
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[15/16] Compiling OneWay Effect.swift
[16/16] Compiling OneWay EffectsBuilder.swift
[18/20] Compiling OneWayTesting TestingEnvironment.swift
/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/Sources/OneWayTesting/Store+Testing.swift:11:8: error: could not build C module 'CoreFoundation'
9 |
10 | #if canImport(CoreFoundation)
11 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
12 | #endif
13 |
[19/20] Compiling OneWayTesting Store+Testing.swift
/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/Sources/OneWayTesting/Store+Testing.swift:11:8: error: could not build C module 'CoreFoundation'
9 |
10 | #if canImport(CoreFoundation)
11 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
12 | #endif
13 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/20] Emitting module OneWayTesting
/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/Sources/OneWayTesting/Store+Testing.swift:11:8: error: could not build C module 'CoreFoundation'
9 |
10 | #if canImport(CoreFoundation)
11 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
12 | #endif
13 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/12] Compiling OneWay ViewStore.swift
[3/13] Compiling OneWay Triggered.swift
[4/13] Compiling OneWay resource_bundle_accessor.swift
[5/13] Compiling OneWay AnyEffect.swift
/host/spi-builder-workspace/Sources/OneWay/AsyncSequences/AsyncViewStateSequence.swift:86:41: warning: capture of 'keyPath' with non-sendable type 'KeyPath<State, Property>' in a '@Sendable' closure
84 | continuation.yield(last)
85 | }
86 | return stream.map { $0[keyPath: keyPath] }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<State, Property>' in a '@Sendable' closure
87 | }
88 | #endif
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[6/13] Compiling OneWay AsyncViewStateSequence.swift
/host/spi-builder-workspace/Sources/OneWay/AsyncSequences/AsyncViewStateSequence.swift:86:41: warning: capture of 'keyPath' with non-sendable type 'KeyPath<State, Property>' in a '@Sendable' closure
84 | continuation.yield(last)
85 | }
86 | return stream.map { $0[keyPath: keyPath] }
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<State, Property>' in a '@Sendable' closure
87 | }
88 | #endif
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
[7/13] Compiling OneWay Reducer.swift
[8/13] Compiling OneWay CopyOnWrite.swift
[9/13] Compiling OneWay Ignored.swift
[10/13] Compiling OneWay Effect.swift
[11/13] Compiling OneWay EffectsBuilder.swift
[12/13] Emitting module OneWay
[13/13] Compiling OneWay Store.swift
[15/17] Compiling OneWayTesting TestingEnvironment.swift
/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/Sources/OneWayTesting/Store+Testing.swift:11:8: error: could not build C module 'CoreFoundation'
9 |
10 | #if canImport(CoreFoundation)
11 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
12 | #endif
13 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/17] Emitting module OneWayTesting
/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/Sources/OneWayTesting/Store+Testing.swift:11:8: error: could not build C module 'CoreFoundation'
9 |
10 | #if canImport(CoreFoundation)
11 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
12 | #endif
13 |
[17/17] Compiling OneWayTesting Store+Testing.swift
/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/Sources/OneWayTesting/Store+Testing.swift:11:8: error: could not build C module 'CoreFoundation'
9 |
10 | #if canImport(CoreFoundation)
11 | import CoreFoundation
| `- error: could not build C module 'CoreFoundation'
12 | #endif
13 |
BUILD FAILURE 6.1 wasm