Build Information
Failed to build EmacsSwiftModule, reference main (00d8bd), with Swift 6.2 for Wasm on 4 Aug 2025 19:57:00 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SavchenkoValeriy/emacs-swift-module.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/SavchenkoValeriy/emacs-swift-module
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 00d8bd6 [pre-commit.ci] pre-commit autoupdate
Cloned https://github.com/SavchenkoValeriy/emacs-swift-module.git
Revision (git rev-parse @):
00d8bd6c2d001aba8eed000e45385195e8d42d26
SUCCESS checkout https://github.com/SavchenkoValeriy/emacs-swift-module.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/SavchenkoValeriy/emacs-swift-module.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
Fetching https://github.com/apple/swift-docc-plugin
[1/2094] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.48s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.37s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3442] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.43s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.26s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
[1/1] Compiling plugin ModuleFactoryPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/18] Write sources
[6/18] Write swift-version-24593BA9C3E375BF.txt
[7/22] Compiling EmacsModule placeholder.m
[8/22] Compiling EmacsEnvMock placeholder.m
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/22] Emitting module ModuleInitializerInjector
/host/spi-builder-workspace/Plugins/ModuleInitializerInjector.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | @main
[11/37] Compiling EmacsSwiftModule Defun+Boilerplate.swift
/host/spi-builder-workspace/Source/Swift/Channel.swift:20:8: error: no such module 'Foundation'
18 | // EmacsSwiftModule. If not, see <https://www.gnu.org/licenses/>.
19 | //
20 | import Foundation
| `- error: no such module 'Foundation'
21 |
22 | typealias Callback = (Environment) throws -> Void
[12/37] Compiling EmacsSwiftModule Defun.swift
/host/spi-builder-workspace/Source/Swift/Channel.swift:20:8: error: no such module 'Foundation'
18 | // EmacsSwiftModule. If not, see <https://www.gnu.org/licenses/>.
19 | //
20 | import Foundation
| `- error: no such module 'Foundation'
21 |
22 | typealias Callback = (Environment) throws -> Void
[13/39] Compiling ModuleInitializerInjector ModuleInitializerInjector.swift
/host/spi-builder-workspace/Plugins/ModuleInitializerInjector.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | @main
[14/39] Compiling EmacsSwiftModule Module.swift
/host/spi-builder-workspace/Source/Swift/Channel.swift:20:8: error: no such module 'Foundation'
18 | // EmacsSwiftModule. If not, see <https://www.gnu.org/licenses/>.
19 | //
20 | import Foundation
| `- error: no such module 'Foundation'
21 |
22 | typealias Callback = (Environment) throws -> Void
[15/39] Compiling EmacsSwiftModule Raw.swift
/host/spi-builder-workspace/Source/Swift/Channel.swift:20:8: error: no such module 'Foundation'
18 | // EmacsSwiftModule. If not, see <https://www.gnu.org/licenses/>.
19 | //
20 | import Foundation
| `- error: no such module 'Foundation'
21 |
22 | typealias Callback = (Environment) throws -> Void
[16/39] Compiling EmacsSwiftModule Channel.swift
/host/spi-builder-workspace/Source/Swift/Channel.swift:20:8: error: no such module 'Foundation'
18 | // EmacsSwiftModule. If not, see <https://www.gnu.org/licenses/>.
19 | //
20 | import Foundation
| `- error: no such module 'Foundation'
21 |
22 | typealias Callback = (Environment) throws -> Void
[17/39] Compiling EmacsSwiftModule Conversion.swift
/host/spi-builder-workspace/Source/Swift/Channel.swift:20:8: error: no such module 'Foundation'
18 | // EmacsSwiftModule. If not, see <https://www.gnu.org/licenses/>.
19 | //
20 | import Foundation
| `- error: no such module 'Foundation'
21 |
22 | typealias Callback = (Environment) throws -> Void
[18/39] Compiling EmacsSwiftModule Channel+LispCallback+Boilerplate.swift
/host/spi-builder-workspace/Source/Swift/Channel.swift:20:8: error: no such module 'Foundation'
18 | // EmacsSwiftModule. If not, see <https://www.gnu.org/licenses/>.
19 | //
20 | import Foundation
| `- error: no such module 'Foundation'
21 |
22 | typealias Callback = (Environment) throws -> Void
[19/39] Compiling EmacsSwiftModule Channel+SwiftCallback+Boilerplate.swift
/host/spi-builder-workspace/Source/Swift/Channel.swift:20:8: error: no such module 'Foundation'
18 | // EmacsSwiftModule. If not, see <https://www.gnu.org/licenses/>.
19 | //
20 | import Foundation
| `- error: no such module 'Foundation'
21 |
22 | typealias Callback = (Environment) throws -> Void
[20/39] Compiling EmacsSwiftModule Value.swift
/host/spi-builder-workspace/Source/Swift/Channel.swift:20:8: error: no such module 'Foundation'
18 | // EmacsSwiftModule. If not, see <https://www.gnu.org/licenses/>.
19 | //
20 | import Foundation
| `- error: no such module 'Foundation'
21 |
22 | typealias Callback = (Environment) throws -> Void
[21/39] Compiling EmacsSwiftModule Variadic+Utils.swift
/host/spi-builder-workspace/Source/Swift/Channel.swift:20:8: error: no such module 'Foundation'
18 | // EmacsSwiftModule. If not, see <https://www.gnu.org/licenses/>.
19 | //
20 | import Foundation
| `- error: no such module 'Foundation'
21 |
22 | typealias Callback = (Environment) throws -> Void
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/39] Emitting module EmacsSwiftModule
/host/spi-builder-workspace/Source/Swift/Channel.swift:20:8: error: no such module 'Foundation'
18 | // EmacsSwiftModule. If not, see <https://www.gnu.org/licenses/>.
19 | //
20 | import Foundation
| `- error: no such module 'Foundation'
21 |
22 | typealias Callback = (Environment) throws -> Void
[23/39] Compiling EmacsSwiftModule Call.swift
/host/spi-builder-workspace/Source/Swift/Channel.swift:20:8: error: no such module 'Foundation'
18 | // EmacsSwiftModule. If not, see <https://www.gnu.org/licenses/>.
19 | //
20 | import Foundation
| `- error: no such module 'Foundation'
21 |
22 | typealias Callback = (Environment) throws -> Void
[24/39] Compiling EmacsSwiftModule Channel+Hooks+Boilerplate.swift
/host/spi-builder-workspace/Source/Swift/Channel.swift:20:8: error: no such module 'Foundation'
18 | // EmacsSwiftModule. If not, see <https://www.gnu.org/licenses/>.
19 | //
20 | import Foundation
| `- error: no such module 'Foundation'
21 |
22 | typealias Callback = (Environment) throws -> Void
[25/39] Compiling EmacsSwiftModule Lisp+Types.swift
/host/spi-builder-workspace/Source/Swift/Channel.swift:20:8: error: no such module 'Foundation'
18 | // EmacsSwiftModule. If not, see <https://www.gnu.org/licenses/>.
19 | //
20 | import Foundation
| `- error: no such module 'Foundation'
21 |
22 | typealias Callback = (Environment) throws -> Void
[26/39] Compiling EmacsSwiftModule Lock.swift
/host/spi-builder-workspace/Source/Swift/Channel.swift:20:8: error: no such module 'Foundation'
18 | // EmacsSwiftModule. If not, see <https://www.gnu.org/licenses/>.
19 | //
20 | import Foundation
| `- error: no such module 'Foundation'
21 |
22 | typealias Callback = (Environment) throws -> Void
[27/39] Compiling EmacsSwiftModule Environment.swift
/host/spi-builder-workspace/Source/Swift/Channel.swift:20:8: error: no such module 'Foundation'
18 | // EmacsSwiftModule. If not, see <https://www.gnu.org/licenses/>.
19 | //
20 | import Foundation
| `- error: no such module 'Foundation'
21 |
22 | typealias Callback = (Environment) throws -> Void
[28/39] Compiling EmacsSwiftModule Error.swift
/host/spi-builder-workspace/Source/Swift/Channel.swift:20:8: error: no such module 'Foundation'
18 | // EmacsSwiftModule. If not, see <https://www.gnu.org/licenses/>.
19 | //
20 | import Foundation
| `- error: no such module 'Foundation'
21 |
22 | typealias Callback = (Environment) throws -> Void
[29/39] Emitting module ModuleInitializerInjector
BUILD FAILURE 6.2 wasm