Build Information
Failed to build package-latency-tools, reference 1.0.0 (93d2be
), with Swift 6.1 for Wasm on 28 May 2025 13:21:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ordo-one/package-latency-tools.git
Reference: 1.0.0
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
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 93d2be6 build(major): add semantic release [sc-1274]
Cloned https://github.com/ordo-one/package-latency-tools.git
Revision (git rev-parse @):
93d2be69c484bebb28c5192249d7e1da15236d34
SUCCESS checkout https://github.com/ordo-one/package-latency-tools.git at 1.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ordo-one/package-latency-tools.git
https://github.com/ordo-one/package-latency-tools.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-numerics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-numerics"
}
],
"manifest_display_name" : "package-latency-tools",
"name" : "package-latency-tools",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "LatencyTimer",
"targets" : [
"LatencyTimer"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LatencyStatistics",
"targets" : [
"LatencyStatistics"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LatencyStatisticsCLI",
"targets" : [
"LatencyStatisticsCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "LatencyToolsTests",
"module_type" : "SwiftTarget",
"name" : "LatencyToolsTests",
"path" : "Tests/LatencyToolsTests",
"sources" : [
"LatencyStatisticsTests.swift"
],
"target_dependencies" : [
"LatencyTimer",
"LatencyStatistics"
],
"type" : "test"
},
{
"c99name" : "LatencyTimer",
"module_type" : "SwiftTarget",
"name" : "LatencyTimer",
"path" : "Sources/LatencyTimer",
"product_memberships" : [
"LatencyTimer"
],
"sources" : [
"LatencyTimer.swift"
],
"type" : "library"
},
{
"c99name" : "LatencyStatisticsCLI",
"module_type" : "SwiftTarget",
"name" : "LatencyStatisticsCLI",
"path" : "Sources/LatencyStatisticsCLI",
"product_memberships" : [
"LatencyStatisticsCLI"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"LatencyStatistics"
],
"type" : "executable"
},
{
"c99name" : "LatencyStatistics",
"module_type" : "SwiftTarget",
"name" : "LatencyStatistics",
"path" : "Sources/LatencyStatistics",
"product_dependencies" : [
"Numerics"
],
"product_memberships" : [
"LatencyStatistics",
"LatencyStatisticsCLI"
],
"sources" : [
"LatencyStatistics.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-numerics
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.41s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.35s)
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] Compiling RealModule ElementaryFunctions.swift
[10/28] Compiling RealModule Real.swift
[11/28] Compiling RealModule RealFunctions.swift
[12/28] Compiling RealModule Float80+Real.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/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 |
[14/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 |
[15/28] Compiling RealModule AugmentedArithmetic.swift
[16/28] Compiling RealModule Double+Real.swift
[17/28] Emitting module RealModule
[18/28] Compiling RealModule AlgebraicField.swift
[19/28] Compiling RealModule ApproximateEquality.swift
[20/28] Compiling RealModule Float16+Real.swift
[21/28] Compiling RealModule Float+Real.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/20] 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 |
[3/20] 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 |
[4/20] Compiling RealModule Float80+Real.swift
[5/20] Compiling RealModule Real.swift
BUILD FAILURE 6.1 wasm