The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NumberKit with Swift 5.7 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.35.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objecthub/swift-numberkit.git
Reference: 2.5.1
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/objecthub/swift-numberkit
 * tag               2.5.1      -> FETCH_HEAD
HEAD is now at 38c649a Make usage of `StaticBigInt` conditionally. Reduce deployment target requirements down to macOS 10.13 and iOS 13.
Cloned https://github.com/objecthub/swift-numberkit.git
Revision (git rev-parse @):
38c649a58989ae80f8b0694b0b9826130df5c18f
SUCCESS checkout https://github.com/objecthub/swift-numberkit.git at 2.5.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.7
Building package at path:  $workDir
https://github.com/objecthub/swift-numberkit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/8] Compiling NumberKit IntegerNumber.swift
[2/8] Compiling NumberKit NumberUtil.swift
[3/8] Compiling NumberKit Rational.swift
[4/8] Compiling NumberKit Integer.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/Integer.swift:642:37: error: cannot find type 'StaticBigInt' in scope
  public init(integerLiteral value: StaticBigInt) {
                                    ^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/Integer.swift:641:1: error: type 'Integer' does not conform to protocol 'ExpressibleByIntegerLiteral'
extension Integer: ExpressibleByIntegerLiteral {
^
Swift.ExpressibleByIntegerLiteral:2:20: note: protocol requires nested type 'IntegerLiteralType'; do you want to add it?
    associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral
                   ^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/BigInt.swift:1264:37: error: cannot find type 'StaticBigInt' in scope
  public init(integerLiteral value: StaticBigInt) {
                                    ^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/Integer.swift:643:20: error: referencing initializer 'init(integerLiteral:)' on 'ExpressibleByIntegerLiteral' requires that 'BigInt' conform to '_ExpressibleByBuiltinIntegerLiteral'
    self = Integer(BigInt(integerLiteral: value))
                   ^
Swift.ExpressibleByIntegerLiteral:1:11: note: where 'Self' = 'BigInt'
extension ExpressibleByIntegerLiteral where Self : _ExpressibleByBuiltinIntegerLiteral {
          ^
[5/8] Compiling NumberKit BigInt.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/BigInt.swift:1264:37: error: cannot find type 'StaticBigInt' in scope
  public init(integerLiteral value: StaticBigInt) {
                                    ^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/BigInt.swift:1263:1: error: type 'BigInt' does not conform to protocol 'ExpressibleByIntegerLiteral'
extension BigInt: ExpressibleByIntegerLiteral {
^
Swift.ExpressibleByIntegerLiteral:2:20: note: protocol requires nested type 'IntegerLiteralType'; do you want to add it?
    associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral
                   ^
[6/8] Compiling NumberKit Complex.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)[7/8] Compiling NumberKit FloatingPointNumber.swift
[8/8] Emitting module NumberKit
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/BigInt.swift:1264:37: error: cannot find type 'StaticBigInt' in scope
  public init(integerLiteral value: StaticBigInt) {
                                    ^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/BigInt.swift:1263:1: error: type 'BigInt' does not conform to protocol 'ExpressibleByIntegerLiteral'
extension BigInt: ExpressibleByIntegerLiteral {
^
Swift.ExpressibleByIntegerLiteral:2:20: note: protocol requires nested type 'IntegerLiteralType'; do you want to add it?
    associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral
                   ^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/Integer.swift:642:37: error: cannot find type 'StaticBigInt' in scope
  public init(integerLiteral value: StaticBigInt) {
                                    ^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/Integer.swift:641:1: error: type 'Integer' does not conform to protocol 'ExpressibleByIntegerLiteral'
extension Integer: ExpressibleByIntegerLiteral {
^
Swift.ExpressibleByIntegerLiteral:2:20: note: protocol requires nested type 'IntegerLiteralType'; do you want to add it?
    associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral
                   ^
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/3] Emitting module NumberKit
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/BigInt.swift:1264:37: error: cannot find type 'StaticBigInt' in scope
  public init(integerLiteral value: StaticBigInt) {
                                    ^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/BigInt.swift:1263:1: error: type 'BigInt' does not conform to protocol 'ExpressibleByIntegerLiteral'
extension BigInt: ExpressibleByIntegerLiteral {
^
Swift.ExpressibleByIntegerLiteral:2:20: note: protocol requires nested type 'IntegerLiteralType'; do you want to add it?
    associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral
                   ^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/Integer.swift:642:37: error: cannot find type 'StaticBigInt' in scope
  public init(integerLiteral value: StaticBigInt) {
                                    ^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/Integer.swift:641:1: error: type 'Integer' does not conform to protocol 'ExpressibleByIntegerLiteral'
extension Integer: ExpressibleByIntegerLiteral {
^
Swift.ExpressibleByIntegerLiteral:2:20: note: protocol requires nested type 'IntegerLiteralType'; do you want to add it?
    associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral
                   ^
[2/3] Compiling NumberKit BigInt.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/BigInt.swift:1264:37: error: cannot find type 'StaticBigInt' in scope
  public init(integerLiteral value: StaticBigInt) {
                                    ^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/BigInt.swift:1263:1: error: type 'BigInt' does not conform to protocol 'ExpressibleByIntegerLiteral'
extension BigInt: ExpressibleByIntegerLiteral {
^
Swift.ExpressibleByIntegerLiteral:2:20: note: protocol requires nested type 'IntegerLiteralType'; do you want to add it?
    associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral
                   ^
[3/3] Compiling NumberKit Integer.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/Integer.swift:642:37: error: cannot find type 'StaticBigInt' in scope
  public init(integerLiteral value: StaticBigInt) {
                                    ^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/Integer.swift:641:1: error: type 'Integer' does not conform to protocol 'ExpressibleByIntegerLiteral'
extension Integer: ExpressibleByIntegerLiteral {
^
Swift.ExpressibleByIntegerLiteral:2:20: note: protocol requires nested type 'IntegerLiteralType'; do you want to add it?
    associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral
                   ^
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/BigInt.swift:1264:37: error: cannot find type 'StaticBigInt' in scope
  public init(integerLiteral value: StaticBigInt) {
                                    ^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/NumberKit/Integer.swift:643:20: error: referencing initializer 'init(integerLiteral:)' on 'ExpressibleByIntegerLiteral' requires that 'BigInt' conform to '_ExpressibleByBuiltinIntegerLiteral'
    self = Integer(BigInt(integerLiteral: value))
                   ^
Swift.ExpressibleByIntegerLiteral:1:11: note: where 'Self' = 'BigInt'
extension ExpressibleByIntegerLiteral where Self : _ExpressibleByBuiltinIntegerLiteral {
          ^
BUILD FAILURE 5.7 macosSpm

Build Machine: Mac 5