The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BaseMath, reference master (5fd3d8), with Swift 6.4 for macOS (SPM) on 16 Sep 2026 07:15:33 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/jph00/basemath.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 125]
[Planning deferred tasks]
[28 / 47]
[39 / 56] CBaseMath
[40 / 56] BaseMath
/Users/admin/builder/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 arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/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) }
/Users/admin/builder/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 |
/Users/admin/builder/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:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/bench/main.swift -target arm64-apple-macos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/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 -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -fmodule-map-file\=/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps/CBaseMath.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/Sources/CBaseMath/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BaseMath.build/Debug/bench-p.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BaseMath.build/Debug/bench-p.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BaseMath.build/Debug/bench-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name bench -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BaseMath.build/Debug/bench-p.build/Objects-normal/arm64/bench_const_extract_protocols.json -disable-clang-spi -target-sdk-version 27.0 -target-sdk-name macosx27.0 -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BaseMath.build/Debug/bench-p.build/Objects-normal/arm64/bench.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BaseMath.build/Debug/bench-p.build/Objects-normal/arm64/bench.swiftsourceinfo -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BaseMath.build/Debug/bench-p.build/Objects-normal/arm64/bench-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BaseMath.build/Debug/bench-p.build/Objects-normal/arm64/bench-primary-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BaseMath.build/Debug/bench-p.build/Objects-normal/arm64/bench.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/BaseMath.build/Debug/bench-p.build/Objects-normal/arm64/bench.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm