The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NumericAnnex with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xwu/NumericAnnex.git
Reference: master
Cloned https://github.com/xwu/NumericAnnex.git into spi-builder-workspace
SUCCESS checkout https://github.com/xwu/NumericAnnex.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/12] Compiling NumericAnnex RoundingRule.swift
[2/13] Compiling NumericAnnex Sign.swift
[3/13] Compiling NumericAnnex Hash.swift
[4/13] Compiling NumericAnnex IntegerAlgorithms.swift
[5/13] Compiling NumericAnnex Complex.swift
/host/spi-builder-workspace/Sources/Complex.swift:54:1: warning: '@frozen' attribute is now used for fixed-layout structs
@_fixed_layout
^~~~~~~~~~~~~~
@frozen
/host/spi-builder-workspace/Sources/Complex.swift:497:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Complex' to 'Hashable' by implementing 'hash(into:)' instead
  public var hashValue: Int {
             ^
[6/13] Compiling NumericAnnex ExponentiationOperators.swift
/host/spi-builder-workspace/Sources/Complex.swift:54:1: warning: '@frozen' attribute is now used for fixed-layout structs
@_fixed_layout
^~~~~~~~~~~~~~
@frozen
/host/spi-builder-workspace/Sources/Complex.swift:497:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Complex' to 'Hashable' by implementing 'hash(into:)' instead
  public var hashValue: Int {
             ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/13] Emitting module NumericAnnex
/host/spi-builder-workspace/Sources/Complex.swift:54:1: warning: '@frozen' attribute is now used for fixed-layout structs
@_fixed_layout
^~~~~~~~~~~~~~
@frozen
/host/spi-builder-workspace/Sources/Complex.swift:497:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Complex' to 'Hashable' by implementing 'hash(into:)' instead
  public var hashValue: Int {
             ^
/host/spi-builder-workspace/Sources/Rational.swift:70:1: warning: '@frozen' attribute is now used for fixed-layout structs
@_fixed_layout
^~~~~~~~~~~~~~
@frozen
/host/spi-builder-workspace/Sources/Rational.swift:536:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead
  public var hashValue: Int {
             ^
/host/spi-builder-workspace/Sources/Real.swift:224:12: error: cannot find 'exp10f' in scope
    return exp10f(self)
           ^~~~~~
/host/spi-builder-workspace/Sources/Real.swift:393:12: error: module 'Glibc' has no member named 'exp10'
    return Glibc.exp10(self)
           ^~~~~ ~~~~~
[8/13] Compiling NumericAnnex Random.Xoroshiro.swift
[9/13] Compiling NumericAnnex Random.swift
[10/13] Compiling NumericAnnex Math.swift
[11/13] Compiling NumericAnnex PRNG.swift
[12/13] Compiling NumericAnnex Rational.swift
/host/spi-builder-workspace/Sources/Rational.swift:70:1: warning: '@frozen' attribute is now used for fixed-layout structs
@_fixed_layout
^~~~~~~~~~~~~~
@frozen
/host/spi-builder-workspace/Sources/Rational.swift:536:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead
  public var hashValue: Int {
             ^
[13/13] Compiling NumericAnnex Real.swift
/host/spi-builder-workspace/Sources/Real.swift:224:12: error: cannot find 'exp10f' in scope
    return exp10f(self)
           ^~~~~~
/host/spi-builder-workspace/Sources/Real.swift:393:12: error: module 'Glibc' has no member named 'exp10'
    return Glibc.exp10(self)
           ^~~~~ ~~~~~
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1