Build Information
Failed to build package-latency-tools, reference main (9293b1
), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 01:12:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/ordo-one/package-latency-tools.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/ordo-one/package-latency-tools
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9293b13 ci: 🔄 synced file(s) with ordo-one/internal-repository-templates (#13)
Cloned https://github.com/ordo-one/package-latency-tools.git
Revision (git rev-parse @):
9293b1335f9fb7b5f55413b3bd0923dc27fe0a9f
SUCCESS checkout https://github.com/ordo-one/package-latency-tools.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/ordo-one/package-latency-tools.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.52s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.07s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Building for debugging...
[0/15] Write sources
[6/15] Compiling _NumericsShims _NumericsShims.c
[7/15] Write swift-version-24593BA9C3E375BF.txt
[9/27] Emitting module RealModule
[10/27] Compiling RealModule AlgebraicField.swift
[11/27] Compiling RealModule ApproximateEquality.swift
[12/28] Compiling RealModule RealFunctions.swift
[13/28] Compiling RealModule Float80+Real.swift
[14/28] Compiling RealModule Real.swift
[15/28] Compiling LatencyTimer LatencyTimer.swift
/host/spi-builder-workspace/Sources/LatencyTimer/LatencyTimer.swift:6:8: error: Unsupported Platform
4 | import Glibc
5 | #else
6 | #error("Unsupported Platform")
| `- error: Unsupported Platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/LatencyTimer/LatencyTimer.swift:30:18: error: cannot find 'timespec' in scope
28 | @inline(__always)
29 | public static func getTimestamp() -> UInt64 {
30 | var ts = timespec()
| `- error: cannot find 'timespec' in scope
31 | let result = clock_gettime(CLOCK_REALTIME, &ts)
32 |
/host/spi-builder-workspace/Sources/LatencyTimer/LatencyTimer.swift:31:22: error: cannot find 'clock_gettime' in scope
29 | public static func getTimestamp() -> UInt64 {
30 | var ts = timespec()
31 | let result = clock_gettime(CLOCK_REALTIME, &ts)
| `- error: cannot find 'clock_gettime' in scope
32 |
33 | guard result == 0 else {
/host/spi-builder-workspace/Sources/LatencyTimer/LatencyTimer.swift:31:36: error: cannot find 'CLOCK_REALTIME' in scope
29 | public static func getTimestamp() -> UInt64 {
30 | var ts = timespec()
31 | let result = clock_gettime(CLOCK_REALTIME, &ts)
| `- error: cannot find 'CLOCK_REALTIME' in scope
32 |
33 | guard result == 0 else {
/host/spi-builder-workspace/Sources/LatencyTimer/LatencyTimer.swift:34:82: error: cannot find 'errno' in scope
32 |
33 | guard result == 0 else {
34 | fatalError("Failed to get current time in clock_gettime(), errno = \(errno)")
| `- error: cannot find 'errno' in scope
35 | }
36 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/28] Emitting module LatencyTimer
/host/spi-builder-workspace/Sources/LatencyTimer/LatencyTimer.swift:6:8: error: Unsupported Platform
4 | import Glibc
5 | #else
6 | #error("Unsupported Platform")
| `- error: Unsupported Platform
7 | #endif
8 |
/host/spi-builder-workspace/Sources/LatencyTimer/LatencyTimer.swift:30:18: error: cannot find 'timespec' in scope
28 | @inline(__always)
29 | public static func getTimestamp() -> UInt64 {
30 | var ts = timespec()
| `- error: cannot find 'timespec' in scope
31 | let result = clock_gettime(CLOCK_REALTIME, &ts)
32 |
/host/spi-builder-workspace/Sources/LatencyTimer/LatencyTimer.swift:31:22: error: cannot find 'clock_gettime' in scope
29 | public static func getTimestamp() -> UInt64 {
30 | var ts = timespec()
31 | let result = clock_gettime(CLOCK_REALTIME, &ts)
| `- error: cannot find 'clock_gettime' in scope
32 |
33 | guard result == 0 else {
/host/spi-builder-workspace/Sources/LatencyTimer/LatencyTimer.swift:31:36: error: cannot find 'CLOCK_REALTIME' in scope
29 | public static func getTimestamp() -> UInt64 {
30 | var ts = timespec()
31 | let result = clock_gettime(CLOCK_REALTIME, &ts)
| `- error: cannot find 'CLOCK_REALTIME' in scope
32 |
33 | guard result == 0 else {
/host/spi-builder-workspace/Sources/LatencyTimer/LatencyTimer.swift:34:82: error: cannot find 'errno' in scope
32 |
33 | guard result == 0 else {
34 | fatalError("Failed to get current time in clock_gettime(), errno = \(errno)")
| `- error: cannot find 'errno' in scope
35 | }
36 |
[17/28] Compiling RealModule ElementaryFunctions.swift
[18/28] Compiling RealModule Float+Real.swift
[19/28] Compiling RealModule AugmentedArithmetic.swift
[20/28] Compiling RealModule Double+Real.swift
[21/28] Compiling RealModule Float16+Real.swift
BUILD FAILURE 6.2 wasm