Build Information
Failed to build SwiftyWasmer, reference 0.5.0 (3c28ff
), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 13:01:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/SwiftyWasmer.git
Reference: 0.5.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/SwiftyWasmer
* tag 0.5.0 -> FETCH_HEAD
HEAD is now at 3c28ffa Merge branch 'develop' into main
Cloned https://github.com/helje5/SwiftyWasmer.git
Revision (git rev-parse @):
3c28ffa4185344fff26d3f9916f3a0132e786fab
SUCCESS checkout https://github.com/helje5/SwiftyWasmer.git at 0.5.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/helje5/SwiftyWasmer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
warning: couldn't find pc file for wasmer
warning: couldn't find pc file for wasmer
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/38] Emitting module Wasmer
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[5/38] Compiling Wasmer ByteArrayExt.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[6/38] Compiling Wasmer ExportFuncPtr.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[7/38] Compiling Wasmer ExportPtr.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[8/38] Compiling Wasmer ExportsPtr.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[9/38] Compiling Wasmer GlobalPtr.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[10/42] Compiling Wasmer Value.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[11/42] Compiling Wasmer ValueType.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[12/42] Compiling Wasmer WASI.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[13/42] Compiling Wasmer WebAssembly.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[14/42] Compiling Wasmer Export.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[15/42] Compiling Wasmer Exports.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[16/42] Compiling Wasmer Global.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[17/42] Compiling Wasmer ImportObject.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[18/42] Compiling Wasmer ModulePtr.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[19/42] Compiling Wasmer SerializedModulePtr.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[20/42] Compiling Wasmer ReExports.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[21/42] Compiling Wasmer CAPIUtilities.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[22/42] Compiling Wasmer Instance.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[23/42] Compiling Wasmer Memory.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[24/42] Compiling Wasmer Module.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[25/42] Compiling Wasmer Validate.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[26/42] Compiling Wasmer Wasmer.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[27/42] Compiling Wasmer WasmerError.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[28/42] Compiling Wasmer WasmerFFIFix.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[29/42] Compiling Wasmer WasmerImportExportKind.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[30/42] Compiling Wasmer ImportObjectIterPtr.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[31/42] Compiling Wasmer ImportObjectPtr.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[32/42] Compiling Wasmer InstanceContextPtr.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[33/42] Compiling Wasmer InstancePtr.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[34/42] Compiling Wasmer MemoryPtr.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[35/42] Compiling Wasmer ExportWasmer.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[36/42] Compiling Wasmer ValueTypeWasmer.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[37/42] Compiling Wasmer ValueWasmer.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
[38/42] Compiling Wasmer WasmerImportsHolder.swift
/host/spi-builder-workspace/Sources/Wasmer/CExtensions/ByteArrayExt.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import CWasmer
11 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "include/CWasmer.h"
| `- note: in file included from <module-includes>:1:
2 |
BUILD FAILURE 6.2 wasm