Build Information
Failed to build NumericAnnex, reference 0.1.19 (241ef9), with Swift 6.4 for Linux on 16 Sep 2026 15:17:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xwu/NumericAnnex.git
Reference: 0.1.19
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
* tag 0.1.19 -> FETCH_HEAD
HEAD is now at 241ef9f Update README.md, podspec, and CHANGELOG.md
Cloned https://github.com/xwu/NumericAnnex.git
Revision (git rev-parse @):
241ef9fd836b879e31a81bb863c1f0be5899bae4
SUCCESS checkout https://github.com/xwu/NumericAnnex.git at 0.1.19
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/xwu/NumericAnnex.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/Complex.swift:54:1: [1;33mwarning: [1;39m'@frozen' attribute is now used for fixed-layout structs[0;0m
[0;36m52 |[0;0m /// [dfn]: http://mathworld.wolfram.com/BranchCut.html
[0;36m53 |[0;0m /// [std]: http://www.open-std.org/JTC1/SC22/WG14/www/standards.html#9899
[0;36m54 |[0;0m @_fixed_layout
[0;36m|[0;0m `- [1;33mwarning: [1;39m'@frozen' attribute is now used for fixed-layout structs[0;0m
[0;36m55 |[0;0m public struct Complex<T : Real> : Codable
[0;36m56 |[0;0m where T : Codable & _ExpressibleByBuiltinFloatLiteral {
/host/spi-builder-workspace/Sources/Complex.swift:497:14: [1;33mwarning: [1;39m'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Complex' to 'Hashable' by implementing 'hash(into:)' instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m495 |[0;0m
[0;36m496 |[0;0m // @_transparent // @_inlineable
[0;36m497 |[0;0m public var hashValue: Int {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Complex' to 'Hashable' by implementing 'hash(into:)' instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m498 |[0;0m return _Hash._combine(real, imaginary)
[0;36m499 |[0;0m }
/host/spi-builder-workspace/Sources/PRNG.swift:55:3: [1;31merror: [1;39mcannot find type 'SubSequence' in scope[0;0m
[0;36m53 |[0;0m public protocol PRNG : class, IteratorProtocol, Sequence
[0;36m54 |[0;0m where Element : FixedWidthInteger & UnsignedInteger,
[0;36m55 |[0;0m [4;39mSubSequence[0;0m : Sequence,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'SubSequence' in scope[0;0m
[0;36m56 |[0;0m Element == SubSequence.Element {
[0;36m57 |[0;0m /// A type that can represent the internal state of the pseudo-random number
/host/spi-builder-workspace/Sources/PRNG.swift:56:14: [1;31merror: [1;39mcannot find type 'SubSequence' in scope[0;0m
[0;36m54 |[0;0m where Element : FixedWidthInteger & UnsignedInteger,
[0;36m55 |[0;0m SubSequence : Sequence,
[0;36m56 |[0;0m Element == [4;39mSubSequence[0;0m.Element {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'SubSequence' in scope[0;0m
[0;36m57 |[0;0m /// A type that can represent the internal state of the pseudo-random number
[0;36m58 |[0;0m /// generator.
/host/spi-builder-workspace/Sources/Random.Xoroshiro.swift:36:22: [1;31merror: [1;39mtype 'Random.Xoroshiro' does not conform to protocol 'IteratorProtocol'[0;0m
[0;36m34 |[0;0m ///
[0;36m35 |[0;0m /// - SeeAlso: `Random`, `PRNG`
[0;36m36 |[0;0m public final class Xoroshiro : PRNG {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'Random.Xoroshiro' does not conform to protocol 'IteratorProtocol'[0;0m
[0;36m37 |[0;0m /// The internal state of the pseudo-random number generator.
[0;36m38 |[0;0m public var state: (UInt64, UInt64)
/host/spi-builder-workspace/Sources/Random.Xoroshiro.swift:36:22: [1;31merror: [1;39mtype 'Random.Xoroshiro' does not conform to protocol 'Sequence'[0;0m
[0;36m34 |[0;0m ///
[0;36m35 |[0;0m /// - SeeAlso: `Random`, `PRNG`
[0;36m36 |[0;0m public final class Xoroshiro : PRNG {
[0;36m|[0;0m |- [1;31merror: [1;39mtype 'Random.Xoroshiro' does not conform to protocol 'Sequence'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd stubs for conformance[0;0m
[0;36m37 |[0;0m /// The internal state of the pseudo-random number generator.
[0;36m38 |[0;0m public var state: (UInt64, UInt64)
Swift.IteratorProtocol.Element:2:16: [1;39mnote: [1;39mprotocol requires nested type 'Element'[0;0m
[0;36m1 |[0;0m protocol IteratorProtocol {
[0;36m2 |[0;0m associatedtype Element}
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol requires nested type 'Element'[0;0m
[0;36m3 |[0;0m
/host/spi-builder-workspace/Sources/Random.swift:37:20: [1;31merror: [1;39mtype 'Random' does not conform to protocol 'IteratorProtocol'[0;0m
[0;36m35 |[0;0m ///
[0;36m36 |[0;0m /// [ref]: http://vigna.di.unimi.it/ftp/papers/xorshiftplus.pdf
[0;36m37 |[0;0m public final class Random : PRNG {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'Random' does not conform to protocol 'IteratorProtocol'[0;0m
[0;36m38 |[0;0m /// The internal state of the pseudo-random number generator.
[0;36m39 |[0;0m public var state: (UInt64, UInt64)
/host/spi-builder-workspace/Sources/Random.swift:37:20: [1;31merror: [1;39mtype 'Random' does not conform to protocol 'Sequence'[0;0m
[0;36m35 |[0;0m ///
[0;36m36 |[0;0m /// [ref]: http://vigna.di.unimi.it/ftp/papers/xorshiftplus.pdf
[0;36m37 |[0;0m public final class Random : PRNG {
[0;36m|[0;0m |- [1;31merror: [1;39mtype 'Random' does not conform to protocol 'Sequence'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd stubs for conformance[0;0m
[0;36m38 |[0;0m /// The internal state of the pseudo-random number generator.
[0;36m39 |[0;0m public var state: (UInt64, UInt64)
Swift.IteratorProtocol.Element:2:16: [1;39mnote: [1;39mprotocol requires nested type 'Element'[0;0m
[0;36m1 |[0;0m protocol IteratorProtocol {
[0;36m2 |[0;0m associatedtype Element}
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol requires nested type 'Element'[0;0m
[0;36m3 |[0;0m
/host/spi-builder-workspace/Sources/Rational.swift:70:1: [1;33mwarning: [1;39m'@frozen' attribute is now used for fixed-layout structs[0;0m
[0;36m68 |[0;0m /// occurs when the division (`/`) operator is used to create a value of type
[0;36m69 |[0;0m /// `Rational<T>` with numerator `T.min`.
[0;36m70 |[0;0m @_fixed_layout
[0;36m|[0;0m `- [1;33mwarning: [1;39m'@frozen' attribute is now used for fixed-layout structs[0;0m
[0;36m71 |[0;0m public struct Rational<T : SignedInteger> : Codable
[0;36m72 |[0;0m where T : Codable & _ExpressibleByBuiltinIntegerLiteral,
/host/spi-builder-workspace/Sources/Rational.swift:537:14: [1;33mwarning: [1;39m'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m535 |[0;0m
[0;36m536 |[0;0m // @_transparent // @_inlineable
[0;36m537 |[0;0m public var hashValue: Int {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m538 |[0;0m let t = canonical
[0;36m539 |[0;0m return _Hash._combine(t.numerator, t.denominator)
/host/spi-builder-workspace/Sources/Real.swift:224:12: [1;31merror: [1;39mcannot find 'exp10f' in scope[0;0m
[0;36m222 |[0;0m public func commonExponential() -> Float {
[0;36m223 |[0;0m #if os(Linux)
[0;36m224 |[0;0m return [4;39mexp10f[0;0m(self)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'exp10f' in scope[0;0m
[0;36m225 |[0;0m #else
[0;36m226 |[0;0m return __exp10f(self)
/host/spi-builder-workspace/Sources/Real.swift:401:12: [1;31merror: [1;39mmodule 'Glibc' has no member named 'exp10'[0;0m
[0;36m399 |[0;0m public func commonExponential() -> Double {
[0;36m400 |[0;0m #if os(Linux)
[0;36m401 |[0;0m return [4;39mGlibc[0;0m.[4;39mexp10[0;0m(self)
[0;36m|[0;0m `- [1;31merror: [1;39mmodule 'Glibc' has no member named 'exp10'[0;0m
[0;36m402 |[0;0m #else
[0;36m403 |[0;0m return __exp10(self)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Complex.swift /host/spi-builder-workspace/Sources/ExponentiationOperators.swift /host/spi-builder-workspace/Sources/Hash.swift /host/spi-builder-workspace/Sources/IntegerAlgorithms.swift /host/spi-builder-workspace/Sources/Math.swift /host/spi-builder-workspace/Sources/PRNG.swift /host/spi-builder-workspace/Sources/Random.Xoroshiro.swift /host/spi-builder-workspace/Sources/Random.swift /host/spi-builder-workspace/Sources/Rational.swift /host/spi-builder-workspace/Sources/Real.swift /host/spi-builder-workspace/Sources/RoundingRule.swift /host/spi-builder-workspace/Sources/Sign.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/NumericAnnex.build/Debug-linux-x86_64/NumericAnnex-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/NumericAnnex.build/Debug-linux-x86_64/NumericAnnex-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/NumericAnnex.build/Debug-linux-x86_64/NumericAnnex-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NumericAnnex -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/NumericAnnex.build/Debug-linux-x86_64/NumericAnnex-t.build/Objects-normal/x86_64/NumericAnnex_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NumericAnnex.build/Debug-linux-x86_64/NumericAnnex-t.build/Objects-normal/x86_64/Modules/NumericAnnex.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NumericAnnex.build/Debug-linux-x86_64/NumericAnnex-t.build/Objects-normal/x86_64/Modules/NumericAnnex.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NumericAnnex.build/Debug-linux-x86_64/NumericAnnex-t.build/Objects-normal/x86_64/NumericAnnex-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NumericAnnex.build/Debug-linux-x86_64/NumericAnnex-t.build/Objects-normal/x86_64/NumericAnnex-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NumericAnnex.build/Debug-linux-x86_64/NumericAnnex-t.build/Objects-normal/x86_64/NumericAnnex-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/NumericAnnex.build/Debug-linux-x86_64/NumericAnnex-t.build/Objects-normal/x86_64/Modules/NumericAnnex.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux