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: master
Initialized empty Git repository in /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/objecthub/swift-numberkit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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/7] Compiling NumberKit IntegerNumber.swift
[2/7] Compiling NumberKit NumberUtil.swift
[3/7] Compiling NumberKit FloatingPointNumber.swift
/Users/admin/builds/Z6YBxSjp/0/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/admin/builds/Z6YBxSjp/0/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/admin/builds/Z6YBxSjp/0/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/admin/builds/Z6YBxSjp/0/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 {
          ^
[4/7] Compiling NumberKit Integer.swift
/Users/admin/builds/Z6YBxSjp/0/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/admin/builds/Z6YBxSjp/0/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/admin/builds/Z6YBxSjp/0/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/admin/builds/Z6YBxSjp/0/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 {
          ^
error: emit-module command failed with exit code 1 (use -v to see invocation)[5/8] Emitting module NumberKit
/Users/admin/builds/Z6YBxSjp/0/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/admin/builds/Z6YBxSjp/0/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/admin/builds/Z6YBxSjp/0/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/admin/builds/Z6YBxSjp/0/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
                   ^
[6/8] Compiling NumberKit BigInt.swift
/Users/admin/builds/Z6YBxSjp/0/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/admin/builds/Z6YBxSjp/0/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
                   ^
[7/8] Compiling NumberKit Complex.swift
/Users/admin/builds/Z6YBxSjp/0/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/admin/builds/Z6YBxSjp/0/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
                   ^
[8/8] Compiling NumberKit Rational.swift
[0/1] Planning build
Building for debugging...
[1/4] Compiling NumberKit FloatingPointNumber.swift
[2/5] Compiling NumberKit Complex.swift
[3/6] Compiling NumberKit Integer.swift
/Users/admin/builds/Z6YBxSjp/0/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/admin/builds/Z6YBxSjp/0/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/admin/builds/Z6YBxSjp/0/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/admin/builds/Z6YBxSjp/0/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 {
          ^
[4/7] Compiling NumberKit IntegerNumber.swift
[5/8] Compiling NumberKit NumberUtil.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)[6/8] Emitting module NumberKit
/Users/admin/builds/Z6YBxSjp/0/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/admin/builds/Z6YBxSjp/0/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/admin/builds/Z6YBxSjp/0/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/admin/builds/Z6YBxSjp/0/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
                   ^
[7/8] Compiling NumberKit BigInt.swift
/Users/admin/builds/Z6YBxSjp/0/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/admin/builds/Z6YBxSjp/0/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
                   ^
[8/8] Compiling NumberKit Rational.swift
BUILD FAILURE 5.7 macosSpm