Build Information
Failed to build Scientist, reference main (1bb94e), with Swift 6.3 for Wasm on 27 Sep 2026 19:05:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/junkpiano/scientist.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/junkpiano/scientist
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1bb94ea Point the installation example at 1.0.0 (#31)
Cloned https://github.com/junkpiano/scientist.git
Revision (git rev-parse @):
1bb94ea8dad441c795021aa3da48f485d3f65c9d
SUCCESS checkout https://github.com/junkpiano/scientist.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/junkpiano/scientist.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling Scientist Scientist.swift
[4/10] Compiling Scientist Result.swift
[5/10] Emitting module Scientist
[6/10] Compiling Scientist Constants.swift
[7/10] Compiling Scientist MismatchError.swift
/host/spi-builder-workspace/Sources/Scientist/MismatchError.swift:62:30: warning: capture of non-Sendable type 'T.Type' in an isolated closure [#SendableMetatypes]
60 | Mismatch(
61 | name: candidate.name,
62 | control: control.map(MismatchError.describe) ?? "had no control",
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure [#SendableMetatypes]
63 | candidate: MismatchError.describe(candidate))
64 | }
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[8/10] Compiling Scientist Error.swift
[9/10] Compiling Scientist Experiment.swift
[10/10] Compiling Scientist Observation.swift
/host/spi-builder-workspace/Sources/Scientist/Observation.swift:72:17: error: cannot find 'DispatchTime' in scope
70 |
71 | now = Date()
72 | let start = DispatchTime.now()
| `- error: cannot find 'DispatchTime' in scope
73 | do {
74 | value = try block()
/host/spi-builder-workspace/Sources/Scientist/Observation.swift:78:15: error: cannot find 'DispatchTime' in scope
76 | self.error = error
77 | }
78 | let end = DispatchTime.now()
| `- error: cannot find 'DispatchTime' in scope
79 |
80 | during = Double(end.uptimeNanoseconds - start.uptimeNanoseconds) / 1000000.0
BUILD FAILURE 6.3 wasm