Build Information
Failed to build Viceroy, reference main (89e50c), with Swift 6.2 for Wasm on 22 Jul 2026 11:31:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gistya/viceroy.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/gistya/viceroy
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 89e50c2 1.1.1 explicitly enable “none” as a trait
Cloned https://github.com/gistya/viceroy.git
Revision (git rev-parse @):
89e50c2c71d8ad0eedd4cd1bc072ec5a5e3fb7e7
SUCCESS checkout https://github.com/gistya/viceroy.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/gistya/viceroy.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/12] Write sources
[4/12] Write swift-version-24593BA9C3E375BF.txt
[6/46] Emitting module viceroy_tablegen
[7/46] Emitting module Viceroy
[8/50] Compiling Viceroy Big5Data.swift
[9/50] Compiling Viceroy Big5Tables.swift
[10/50] Compiling Viceroy EUCKRData.swift
[11/50] Compiling Viceroy EUCKRTables.swift
[12/50] Compiling Viceroy SingleByteTables.swift
[13/50] Compiling Viceroy Support.swift
[14/50] Compiling Viceroy TextEncoding.swift
[15/50] Compiling Viceroy Transcoder.swift
[16/50] Compiling Viceroy Core.swift
[17/50] Compiling Viceroy Big5.swift
[18/50] Compiling Viceroy EUCJP.swift
[19/50] Compiling Viceroy EUCKR.swift
[20/50] Compiling Viceroy GB18030.swift
[21/50] Compiling Viceroy ISO2022JP.swift
[22/50] Compiling Viceroy ShiftJIS.swift
[23/50] Compiling Viceroy SingleByte.swift
[24/50] Compiling Viceroy Special.swift
[25/50] Compiling Viceroy UTF16.swift
[26/50] Compiling Viceroy GB18030Data.swift
[27/50] Compiling Viceroy GB18030Ranges.swift
[28/50] Compiling Viceroy GB18030Tables.swift
[29/50] Compiling Viceroy ISO2022JPKatakana.swift
[30/50] Compiling Viceroy LabelLookup.swift
[31/50] Compiling Viceroy Labels.swift
[32/50] Compiling Viceroy SingleByteEncodings.swift
[33/50] Compiling Viceroy SingleByteSupport.swift
[34/50] Compiling Viceroy UTF8.swift
[35/50] Compiling Viceroy Dispatch.swift
[36/50] Compiling Viceroy Encoding.swift
[37/50] Compiling Viceroy Runner.swift
[38/50] Compiling Viceroy Streaming.swift
[39/50] Compiling Viceroy JIS0208Data.swift
[40/50] Compiling Viceroy JIS0208Tables.swift
[41/50] Compiling Viceroy JIS0212Data.swift
[42/50] Compiling Viceroy JIS0212Tables.swift
[43/51] Wrapping AST for Viceroy for debugging
[45/55] Emitting module ViceroyIConvCompat
[46/55] Compiling ViceroyIConvCompat IConvCompat.swift
[48/56] Emitting module viceroy_bench
[49/56] Compiling viceroy_bench main.swift
/host/spi-builder-workspace/Tools/viceroy-bench/main.swift:9:31: error: cannot find 'DispatchTime' in scope
7 | import Viceroy
8 |
9 | func now() -> Double { Double(DispatchTime.now().uptimeNanoseconds) / 1e9 }
| `- error: cannot find 'DispatchTime' in scope
10 |
11 | func time(_ label: String, bytes: Int, _ body: () -> Void) {
BUILD FAILURE 6.2 wasm