Build Information
Failed to build wren-swift, reference 0.1.0 (8c5fab
), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 13:07:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/helje5/wren-swift.git
Reference: 0.1.0
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/helje5/wren-swift
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 8c5fab5 Merge branch 'develop' into main
Cloned https://github.com/helje5/wren-swift.git
Revision (git rev-parse @):
8c5fab5bca54d28e920ac7bec79fe1a901b20758
SUCCESS checkout https://github.com/helje5/wren-swift.git at 0.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/helje5/wren-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/Sources/CWren/wren.c:11851:22: warning: 'clock' is deprecated: WASI lacks process-associated clocks; to enable emulation of the `clock` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks [-Wdeprecated-declarations]
11851 | RETURN_NUM((double)clock() / CLOCKS_PER_SEC);
| ^
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
66 | __attribute__((__deprecated__(
| ^
1 warning generated.
[2/3] Compiling CWren wren.c
[4/13] Compiling Wren Slots.swift
/host/spi-builder-workspace/Sources/Wren/Callbacks.swift:10:15: error: no such module 'Foundation'
8 |
9 | import CWren
10 | import struct Foundation.Data
| `- error: no such module 'Foundation'
11 |
12 | internal extension WrenVM { // MARK: - Callbacks
[5/13] Compiling Wren Handle.swift
/host/spi-builder-workspace/Sources/Wren/Callbacks.swift:10:15: error: no such module 'Foundation'
8 |
9 | import CWren
10 | import struct Foundation.Data
| `- error: no such module 'Foundation'
11 |
12 | internal extension WrenVM { // MARK: - Callbacks
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/14] Emitting module Wren
/host/spi-builder-workspace/Sources/Wren/Callbacks.swift:10:15: error: no such module 'Foundation'
8 |
9 | import CWren
10 | import struct Foundation.Data
| `- error: no such module 'Foundation'
11 |
12 | internal extension WrenVM { // MARK: - Callbacks
[7/14] Compiling Wren Callbacks.swift
/host/spi-builder-workspace/Sources/Wren/Callbacks.swift:10:15: error: no such module 'Foundation'
8 |
9 | import CWren
10 | import struct Foundation.Data
| `- error: no such module 'Foundation'
11 |
12 | internal extension WrenVM { // MARK: - Callbacks
[8/14] Compiling Wren Configuration.swift
/host/spi-builder-workspace/Sources/Wren/Callbacks.swift:10:15: error: no such module 'Foundation'
8 |
9 | import CWren
10 | import struct Foundation.Data
| `- error: no such module 'Foundation'
11 |
12 | internal extension WrenVM { // MARK: - Callbacks
[9/14] Compiling Wren Foreign.swift
/host/spi-builder-workspace/Sources/Wren/Callbacks.swift:10:15: error: no such module 'Foundation'
8 |
9 | import CWren
10 | import struct Foundation.Data
| `- error: no such module 'Foundation'
11 |
12 | internal extension WrenVM { // MARK: - Callbacks
[10/14] Compiling Wren Dynamic.swift
/host/spi-builder-workspace/Sources/Wren/Callbacks.swift:10:15: error: no such module 'Foundation'
8 |
9 | import CWren
10 | import struct Foundation.Data
| `- error: no such module 'Foundation'
11 |
12 | internal extension WrenVM { // MARK: - Callbacks
[11/14] Compiling Wren Error.swift
/host/spi-builder-workspace/Sources/Wren/Callbacks.swift:10:15: error: no such module 'Foundation'
8 |
9 | import CWren
10 | import struct Foundation.Data
| `- error: no such module 'Foundation'
11 |
12 | internal extension WrenVM { // MARK: - Callbacks
[12/14] Compiling Wren WrenVM.swift
/host/spi-builder-workspace/Sources/Wren/Callbacks.swift:10:15: error: no such module 'Foundation'
8 |
9 | import CWren
10 | import struct Foundation.Data
| `- error: no such module 'Foundation'
11 |
12 | internal extension WrenVM { // MARK: - Callbacks
[13/14] Compiling Wren Values.swift
/host/spi-builder-workspace/Sources/Wren/Callbacks.swift:10:15: error: no such module 'Foundation'
8 |
9 | import CWren
10 | import struct Foundation.Data
| `- error: no such module 'Foundation'
11 |
12 | internal extension WrenVM { // MARK: - Callbacks
[14/14] Compiling Wren ValueConvertible.swift
/host/spi-builder-workspace/Sources/Wren/Callbacks.swift:10:15: error: no such module 'Foundation'
8 |
9 | import CWren
10 | import struct Foundation.Data
| `- error: no such module 'Foundation'
11 |
12 | internal extension WrenVM { // MARK: - Callbacks
BUILD FAILURE 6.2 wasm