The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BaseMath, reference master (5fd3d8), with Swift 6.4 for Linux on 16 Sep 2026 07:00:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jph00/basemath.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/jph00/basemath
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 5fd3d82 Update main.swift
Cloned https://github.com/jph00/basemath.git
Revision (git rev-parse @):
5fd3d82b6f342a90efaed26fae2c0de1b5f2edaa
SUCCESS checkout https://github.com/jph00/basemath.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/jph00/basemath.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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...
[Pre-planning 1 / 125]
[13 / 41] CBaseMath
[36 / 50] BaseMath
[37 / 50] BaseMath
/host/spi-builder-workspace/Sources/BaseMath/Storage.swift:44:1: warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocols 'ExpressibleByArrayLiteral', 'Equatable', 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
42 | }
43 |
44 | extension UnsafeMutableBufferPointer: BaseVector,ExpressibleByArrayLiteral,Equatable,CustomStringConvertible
   | |- warning: extension declares a conformance of imported type 'UnsafeMutableBufferPointer' to imported protocols 'ExpressibleByArrayLiteral', 'Equatable', 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
45 |     where Element:SignedNumeric {
46 |   public typealias ArrayLiteralElement=Element
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/bench/main.swift:113:27: error: cannot find 'sm_add_float' in scope
111 | }
112 | print(ar2.sum())
113 | benchmark(title:"C add") {sm_add_float(ar1.p, 2.0, ar2.p, ar1.c)}
    |                           `- error: cannot find 'sm_add_float' in scope
114 | print(ar2.sum())
115 | benchmark(title:"map add") { ar1.map({$0+2.0}, ar2) }
/host/spi-builder-workspace/Sources/bench/main.swift:127:27: error: cannot find 'sm_sin_float' in scope
125 | }
126 | print(ar2.sum())
127 | benchmark(title:"C sin") {sm_sin_float(ar1.p, ar2.p, ar1.c)}
    |                           `- error: cannot find 'sm_sin_float' in scope
128 | print(ar2.sum())
129 |
/host/spi-builder-workspace/Sources/bench/main.swift:136:35: error: cannot find 'smSum_sqr_float' in scope
134 | benchmark(title:"reduce sumsqr") {a1 = ar1.reduce(0.0, {$0+Float.sqr($1)})}
135 | print(a1)
136 | benchmark(title:"c sumsqr") {a1 = smSum_sqr_float(ar1.p, ar1.c)}
    |                                   `- error: cannot find 'smSum_sqr_float' in scope
137 | print(a1)
138 | benchmark(title:"lib sumsqr") {a1 = ar1.sumsqr()}
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/bench/main.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.2 -Onone -D SWIFT_PACKAGE -D DEBUG -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 -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/CBaseMath.modulemap -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/Sources/CBaseMath/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/BaseMath.build/Debug-linux-x86_64/bench-p.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/BaseMath.build/Debug-linux-x86_64/bench-p.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/BaseMath.build/Debug-linux-x86_64/bench-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name bench -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/BaseMath.build/Debug-linux-x86_64/bench-p.build/Objects-normal/x86_64/bench_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/BaseMath.build/Debug-linux-x86_64/bench-p.build/Objects-normal/x86_64/Modules/bench.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/BaseMath.build/Debug-linux-x86_64/bench-p.build/Objects-normal/x86_64/Modules/bench.swiftsourceinfo -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/BaseMath.build/Debug-linux-x86_64/bench-p.build/Objects-normal/x86_64/bench-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/BaseMath.build/Debug-linux-x86_64/bench-p.build/Objects-normal/x86_64/bench-primary-emit-module.d -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/BaseMath.build/Debug-linux-x86_64/bench-p.build/Objects-normal/x86_64/Modules/bench.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux