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, reference master (ff00a9), with Swift 6.0 for Linux on 31 Oct 2024 15:24:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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:             6.0
Building package at path:  $PWD
https://github.com/xwu/NumericAnnex.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling NumericAnnex RoundingRule.swift
[4/15] Compiling NumericAnnex Sign.swift
[5/15] Compiling NumericAnnex Random.Xoroshiro.swift
[6/15] Compiling NumericAnnex Random.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/15] Emitting module NumericAnnex
/host/spi-builder-workspace/Sources/Complex.swift:54:1: warning: '@frozen' attribute is now used for fixed-layout structs
  52 | /// [dfn]: http://mathworld.wolfram.com/BranchCut.html
  53 | /// [std]: http://www.open-std.org/JTC1/SC22/WG14/www/standards.html#9899
  54 | @_fixed_layout
     | `- warning: '@frozen' attribute is now used for fixed-layout structs
  55 | public struct Complex<T : Real> : Codable
  56 | where T : Codable & _ExpressibleByBuiltinFloatLiteral {
/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
 495 |
 496 |   // @_transparent // @_inlineable
 497 |   public var hashValue: Int {
     |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Complex' to 'Hashable' by implementing 'hash(into:)' instead
 498 |     return _Hash._combine(real, imaginary)
 499 |   }
/host/spi-builder-workspace/Sources/Rational.swift:70:1: warning: '@frozen' attribute is now used for fixed-layout structs
 68 | /// occurs when the division (`/`) operator is used to create a value of type
 69 | /// `Rational<T>` with numerator `T.min`.
 70 | @_fixed_layout
    | `- warning: '@frozen' attribute is now used for fixed-layout structs
 71 | public struct Rational<T : SignedInteger> : Codable
 72 | where T : Codable & _ExpressibleByBuiltinIntegerLiteral,
/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
534 |
535 |   // @_transparent // @_inlineable
536 |   public var hashValue: Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead
537 |     let t = canonical
538 |     return _Hash._combine(t.numerator, t.denominator)
/host/spi-builder-workspace/Sources/Real.swift:224:12: error: cannot find 'exp10f' in scope
222 |   public func commonExponential() -> Float {
223 | #if os(Linux)
224 |     return exp10f(self)
    |            `- error: cannot find 'exp10f' in scope
225 | #else
226 |     return __exp10f(self)
/host/spi-builder-workspace/Sources/Real.swift:393:12: error: module 'Glibc' has no member named 'exp10'
391 |   public func commonExponential() -> Double {
392 | #if os(Linux)
393 |     return Glibc.exp10(self)
    |            `- error: module 'Glibc' has no member named 'exp10'
394 | #else
395 |     return __exp10(self)
[8/15] Compiling NumericAnnex Hash.swift
[9/15] Compiling NumericAnnex IntegerAlgorithms.swift
[10/15] Compiling NumericAnnex Complex.swift
/host/spi-builder-workspace/Sources/Complex.swift:54:1: warning: '@frozen' attribute is now used for fixed-layout structs
  52 | /// [dfn]: http://mathworld.wolfram.com/BranchCut.html
  53 | /// [std]: http://www.open-std.org/JTC1/SC22/WG14/www/standards.html#9899
  54 | @_fixed_layout
     | `- warning: '@frozen' attribute is now used for fixed-layout structs
  55 | public struct Complex<T : Real> : Codable
  56 | where T : Codable & _ExpressibleByBuiltinFloatLiteral {
/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
 495 |
 496 |   // @_transparent // @_inlineable
 497 |   public var hashValue: Int {
     |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Complex' to 'Hashable' by implementing 'hash(into:)' instead
 498 |     return _Hash._combine(real, imaginary)
 499 |   }
[11/15] Compiling NumericAnnex ExponentiationOperators.swift
/host/spi-builder-workspace/Sources/Complex.swift:54:1: warning: '@frozen' attribute is now used for fixed-layout structs
  52 | /// [dfn]: http://mathworld.wolfram.com/BranchCut.html
  53 | /// [std]: http://www.open-std.org/JTC1/SC22/WG14/www/standards.html#9899
  54 | @_fixed_layout
     | `- warning: '@frozen' attribute is now used for fixed-layout structs
  55 | public struct Complex<T : Real> : Codable
  56 | where T : Codable & _ExpressibleByBuiltinFloatLiteral {
/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
 495 |
 496 |   // @_transparent // @_inlineable
 497 |   public var hashValue: Int {
     |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Complex' to 'Hashable' by implementing 'hash(into:)' instead
 498 |     return _Hash._combine(real, imaginary)
 499 |   }
[12/15] Compiling NumericAnnex Math.swift
[13/15] Compiling NumericAnnex PRNG.swift
[14/15] Compiling NumericAnnex Rational.swift
/host/spi-builder-workspace/Sources/Rational.swift:70:1: warning: '@frozen' attribute is now used for fixed-layout structs
 68 | /// occurs when the division (`/`) operator is used to create a value of type
 69 | /// `Rational<T>` with numerator `T.min`.
 70 | @_fixed_layout
    | `- warning: '@frozen' attribute is now used for fixed-layout structs
 71 | public struct Rational<T : SignedInteger> : Codable
 72 | where T : Codable & _ExpressibleByBuiltinIntegerLiteral,
/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
534 |
535 |   // @_transparent // @_inlineable
536 |   public var hashValue: Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead
537 |     let t = canonical
538 |     return _Hash._combine(t.numerator, t.denominator)
[15/15] Compiling NumericAnnex Real.swift
/host/spi-builder-workspace/Sources/Real.swift:224:12: error: cannot find 'exp10f' in scope
222 |   public func commonExponential() -> Float {
223 | #if os(Linux)
224 |     return exp10f(self)
    |            `- error: cannot find 'exp10f' in scope
225 | #else
226 |     return __exp10f(self)
/host/spi-builder-workspace/Sources/Real.swift:393:12: error: module 'Glibc' has no member named 'exp10'
391 |   public func commonExponential() -> Double {
392 | #if os(Linux)
393 |     return Glibc.exp10(self)
    |            `- error: module 'Glibc' has no member named 'exp10'
394 | #else
395 |     return __exp10(self)
BUILD FAILURE 6.0 linux