The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Interval, reference main (4751f5), with Swift 6.1 for macOS (SPM) on 17 Aug 2026 13:25:56 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.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: 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.1
Building package at path:  $PWD
https://github.com/dankogai/swift-interval.git
https://github.com/dankogai/swift-interval.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Interval",
  "name" : "Interval",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Interval",
      "targets" : [
        "Interval"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "IntervalRun",
      "targets" : [
        "IntervalRun"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "IntervalTests",
      "module_type" : "SwiftTarget",
      "name" : "IntervalTests",
      "path" : "Tests/IntervalTests",
      "sources" : [
        "IntervalTests.swift"
      ],
      "target_dependencies" : [
        "Interval"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IntervalRun",
      "module_type" : "SwiftTarget",
      "name" : "IntervalRun",
      "path" : "Sources/IntervalRun",
      "product_memberships" : [
        "IntervalRun"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Interval"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Interval",
      "module_type" : "SwiftTarget",
      "name" : "Interval",
      "path" : "Sources/Interval",
      "product_memberships" : [
        "Interval",
        "IntervalRun"
      ],
      "sources" : [
        "Double+IntervalElement.swift",
        "Interval.swift",
        "IntervalMath.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/7] Write sources
[1/7] Write IntervalRun-entitlement.plist
[3/7] Write swift-version-2F0A5646E1D333AE.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)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-2F0A5646E1D333AE.txt
[2/8] Compiling Interval Double+IntervalElement.swift
[3/8] Compiling Interval Interval.swift
[4/8] Emitting module Interval
[5/8] 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.1 macosSpm