Build Information
Failed to build Ansi2Html, reference 0.0.4 (d24ec5), with Swift 6.2 for Wasm on 20 Jun 2025 05:09:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OakCityLabs/Ansi2Html.git
Reference: 0.0.4
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/OakCityLabs/Ansi2Html
* tag 0.0.4 -> FETCH_HEAD
HEAD is now at d24ec52 Switch from <font> to <span> with CSS for foreground color.
Cloned https://github.com/OakCityLabs/Ansi2Html.git
Revision (git rev-parse @):
d24ec52dc259063e173d09b2253ae1b60dbe6bd0
SUCCESS checkout https://github.com/OakCityLabs/Ansi2Html.git at 0.0.4
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/OakCityLabs/Ansi2Html.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/pointfreeco/swift-custom-dump.git
Fetching https://github.com/mtynior/ColorizeSwift
[1/291] Fetching colorizeswift
[292/4872] Fetching colorizeswift, swift-custom-dump
Fetched https://github.com/mtynior/ColorizeSwift from cache (0.30s)
Fetched https://github.com/pointfreeco/swift-custom-dump.git from cache (0.31s)
Computing version for https://github.com/mtynior/ColorizeSwift
Computed https://github.com/mtynior/ColorizeSwift at 1.7.0 (3.05s)
Computing version for https://github.com/pointfreeco/swift-custom-dump.git
Computed https://github.com/pointfreeco/swift-custom-dump.git at 0.11.2 (3.11s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.75s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.9.0 (1.29s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.9.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump.git
Working copy of https://github.com/pointfreeco/swift-custom-dump.git resolved at 0.11.2
Creating working copy for https://github.com/mtynior/ColorizeSwift
Working copy of https://github.com/mtynior/ColorizeSwift resolved at 1.7.0
Building for debugging...
[0/4] Write sources
[1/4] Compiling Ansi2HtmlCpp Ansi2HtmlBridge.cpp
[2/4] Write swift-version-24593BA9C3E375BF.txt
[3/4] Compiling Ansi2HtmlCpp ansi_esc2html.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module Ansi2Html
/host/spi-builder-workspace/Sources/Swift/Ansi2Html.swift:13:8: error: no such module 'Foundation'
11 |
12 | import Ansi2HtmlCpp
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public struct AnsiHtmlStringBuilder {
[6/6] Compiling Ansi2Html Ansi2Html.swift
/host/spi-builder-workspace/Sources/Swift/Ansi2Html.swift:13:8: error: no such module 'Foundation'
11 |
12 | import Ansi2HtmlCpp
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | public struct AnsiHtmlStringBuilder {
BUILD FAILURE 6.2 wasm