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.1 for Linux on 25 Apr 2025 14:56:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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.1
Building package at path:  $PWD
https://github.com/xwu/NumericAnnex.git
https://github.com/xwu/NumericAnnex.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NumericAnnex",
  "name" : "NumericAnnex",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "NumericAnnex",
      "targets" : [
        "NumericAnnex"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NumericAnnexTests",
      "module_type" : "SwiftTarget",
      "name" : "NumericAnnexTests",
      "path" : "Tests/NumericAnnexTests",
      "sources" : [
        "ComplexTests.swift",
        "DocumentationExampleTests.swift",
        "ExponentiationTests.swift",
        "FactoringTests.swift",
        "RandomXoroshiroTests.swift",
        "RandomXorshiftTests.swift",
        "RationalTests.swift",
        "RealTests.swift",
        "RootExtractionTests.swift"
      ],
      "target_dependencies" : [
        "NumericAnnex"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NumericAnnex",
      "module_type" : "SwiftTarget",
      "name" : "NumericAnnex",
      "path" : "Sources",
      "product_memberships" : [
        "NumericAnnex"
      ],
      "sources" : [
        "Complex.swift",
        "ExponentiationOperators.swift",
        "Hash.swift",
        "IntegerAlgorithms.swift",
        "Math.swift",
        "PRNG.swift",
        "Random.Xoroshiro.swift",
        "Random.swift",
        "Rational.swift",
        "Real.swift",
        "RoundingRule.swift",
        "Sign.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/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)
[6/15] Compiling NumericAnnex Random.Xoroshiro.swift
[7/15] Compiling NumericAnnex Random.swift
[8/15] Compiling NumericAnnex Hash.swift
[9/15] Compiling NumericAnnex IntegerAlgorithms.swift
[10/15] Compiling NumericAnnex Math.swift
[11/15] Compiling NumericAnnex PRNG.swift
[12/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)
[13/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 |   }
[14/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 |   }
[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)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling NumericAnnex RoundingRule.swift
[3/14] Compiling NumericAnnex Sign.swift
[4/14] 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)
[5/14] Compiling NumericAnnex Math.swift
[6/14] Compiling NumericAnnex PRNG.swift
[7/14] 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 |   }
[8/14] 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 |   }
[9/14] Compiling NumericAnnex Hash.swift
[10/14] Compiling NumericAnnex IntegerAlgorithms.swift
[11/14] 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)
[12/14] Compiling NumericAnnex Random.Xoroshiro.swift
[13/14] Compiling NumericAnnex Random.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/14] 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)
BUILD FAILURE 6.1 linux