The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Interval, reference 6.0.3 (4751f5), with Swift 6.2 for macOS (SPM) on 17 Aug 2026 03:51:55 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build 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: 6.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dankogai/swift-interval
 * tag               6.0.3      -> FETCH_HEAD
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 6.0.3
========================================
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
[2/7] Write IntervalRun-entitlement.plist
[3/7] Write swift-version--3CB7CFEC50E0D141.txt
[5/11] Compiling Interval Interval.swift
[6/11] Emitting module Interval
[7/11] Compiling Interval Double+IntervalElement.swift
[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