Build Information
Failed to build Interval, reference main (4751f5), with Swift 6.1 for Wasm on 17 Aug 2026 12:57:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-interval.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/dankogai/swift-interval
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4751f50 Merge pull request #7 from dankogai/fix-32bit-literals
Cloned https://github.com/dankogai/swift-interval.git
Revision (git rev-parse @):
4751f5051a4a4c2ca12498775c687ce0ffa7785a
SUCCESS checkout https://github.com/dankogai/swift-interval.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/dankogai/swift-interval.git
https://github.com/dankogai/swift-interval.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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.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 saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling Interval Double+IntervalElement.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/11] Emitting module Interval
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/11] Compiling Interval Interval.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/11] Compiling Interval IntervalMath.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Interval/IntervalMath.swift:76:29: error: cannot convert value of type 'Interval<Interval<F>.Element>' (aka 'Interval<F>') to expected argument type 'F'
74 | if Self(min:-Element.pi, max:+Element.pi).contains(x) { return x }
75 | let n = (x.mid / (2 * Element.pi)).rounded(.toNearestOrEven)
76 | return x - Self(min:n, max:n) * (Self.pi + Self.pi)
| `- error: cannot convert value of type 'Interval<Interval<F>.Element>' (aka 'Interval<F>') to expected argument type 'F'
77 | }
78 | // cos - within (-2π, 2π): maxima (+1) only at 0, minima (-1) at ±π
/host/spi-builder-workspace/Sources/Interval/IntervalMath.swift:76:36: error: cannot convert value of type 'Interval<Interval<F>.Element>' (aka 'Interval<F>') to expected argument type 'F'
74 | if Self(min:-Element.pi, max:+Element.pi).contains(x) { return x }
75 | let n = (x.mid / (2 * Element.pi)).rounded(.toNearestOrEven)
76 | return x - Self(min:n, max:n) * (Self.pi + Self.pi)
| `- error: cannot convert value of type 'Interval<Interval<F>.Element>' (aka 'Interval<F>') to expected argument type 'F'
77 | }
78 | // cos - within (-2π, 2π): maxima (+1) only at 0, minima (-1) at ±π
/host/spi-builder-workspace/Sources/Interval/IntervalMath.swift:111:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
109 | }
110 | let nx = normalizeAngle(x)
111 | for pole in [Element.pi/2, -Element.pi/2, 3*Element.pi/2, -3*Element.pi/2] {
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
112 | if nx.contains(pole) {
113 | return Self(min:-Element.infinity, max:+Element.infinity)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/9] Emitting module Interval
[3/9] Compiling Interval Double+IntervalElement.swift
[4/9] Compiling Interval Interval.swift
[5/9] Compiling Interval IntervalMath.swift
/host/spi-builder-workspace/Sources/Interval/IntervalMath.swift:76:29: error: cannot convert value of type 'Interval<Interval<F>.Element>' (aka 'Interval<F>') to expected argument type 'F'
74 | if Self(min:-Element.pi, max:+Element.pi).contains(x) { return x }
75 | let n = (x.mid / (2 * Element.pi)).rounded(.toNearestOrEven)
76 | return x - Self(min:n, max:n) * (Self.pi + Self.pi)
| `- error: cannot convert value of type 'Interval<Interval<F>.Element>' (aka 'Interval<F>') to expected argument type 'F'
77 | }
78 | // cos - within (-2π, 2π): maxima (+1) only at 0, minima (-1) at ±π
/host/spi-builder-workspace/Sources/Interval/IntervalMath.swift:76:36: error: cannot convert value of type 'Interval<Interval<F>.Element>' (aka 'Interval<F>') to expected argument type 'F'
74 | if Self(min:-Element.pi, max:+Element.pi).contains(x) { return x }
75 | let n = (x.mid / (2 * Element.pi)).rounded(.toNearestOrEven)
76 | return x - Self(min:n, max:n) * (Self.pi + Self.pi)
| `- error: cannot convert value of type 'Interval<Interval<F>.Element>' (aka 'Interval<F>') to expected argument type 'F'
77 | }
78 | // cos - within (-2π, 2π): maxima (+1) only at 0, minima (-1) at ±π
/host/spi-builder-workspace/Sources/Interval/IntervalMath.swift:111:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
109 | }
110 | let nx = normalizeAngle(x)
111 | for pole in [Element.pi/2, -Element.pi/2, 3*Element.pi/2, -3*Element.pi/2] {
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
112 | if nx.contains(pole) {
113 | return Self(min:-Element.infinity, max:+Element.infinity)
BUILD FAILURE 6.1 wasm