Build Information
Failed to build Interval, reference main (4751f5), with Swift 6.2 for macOS (SPM) on 17 Aug 2026 13:27:38 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-interval.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/dankogai/swift-interval.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[1/7] Write IntervalRun-entitlement.plist
[1/7] Write sources
[3/7] Write swift-version--3CB7CFEC50E0D141.txt
[5/11] Compiling Interval Interval.swift
[6/11] Compiling Interval Double+IntervalElement.swift
[7/11] Emitting module Interval
[8/11] Compiling Interval IntervalMath.swift
/Users/admin/builder/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 ±π
/Users/admin/builder/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 ±π
/Users/admin/builder/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 macosSpm