The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Interval, reference main (4751f5), with Swift 6.2 for Android on 17 Aug 2026 12:59:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build 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:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/dankogai/swift-interval.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:573917aa137cc6f081a4f3d2a0330bac24553e9cd713cd758adf65046f5c6b90
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version--11D90AFD9DD3AB2.txt
[4/11] Emitting module Interval
[5/11] Compiling Interval Interval.swift
[6/11] Compiling Interval Double+IntervalElement.swift
[7/11] 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.2 android