The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build NumericAnnex with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xwu/NumericAnnex.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/xwu/NumericAnnex
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ff00a9a Update README.md
Cloned https://github.com/xwu/NumericAnnex.git
Revision (git rev-parse @):
ff00a9ad3c7c9632a149ac3114936dbc9dabae01
SUCCESS checkout https://github.com/xwu/NumericAnnex.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/xwu/NumericAnnex.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] 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 {
             ^
[4/14] 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 {
             ^
[5/15] Compiling NumericAnnex Sign.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/15] 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)
           ^~~~~ ~~~~~
[7/15] Compiling NumericAnnex Random.Xoroshiro.swift
[8/15] Compiling NumericAnnex Random.swift
[9/15] Compiling NumericAnnex Hash.swift
[10/15] Compiling NumericAnnex IntegerAlgorithms.swift
[11/15] Compiling NumericAnnex Math.swift
[12/15] Compiling NumericAnnex PRNG.swift
[13/15] 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 {
             ^
[14/15] Compiling NumericAnnex RoundingRule.swift
[15/15] 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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] 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)
           ^~~~~ ~~~~~
[3/3] 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.10 linux