Build Information
Failed to build Music, reference 0.17.1 (f3fd48), with Swift 6.4 for Linux on 17 Sep 2026 02:17:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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/dn-m/Music.git
Reference: 0.17.1
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/dn-m/Music
* tag 0.17.1 -> FETCH_HEAD
HEAD is now at f3fd487 Add Chord.init(lowest:descriptor) (#126)
Cloned https://github.com/dn-m/Music.git
Revision (git rev-parse @):
f3fd487603a05c7b7ff20f1e8ad29d866a60fded
SUCCESS checkout https://github.com/dn-m/Music.git at 0.17.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/dn-m/Music.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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
Fetching https://github.com/dn-m/Math
Fetching https://github.com/dn-m/Structure
[1/841] Fetching math
[842/6670] Fetching math, structure
Fetched https://github.com/dn-m/Math (0.54s)
Fetched https://github.com/dn-m/Structure (0.54s)
Computing version for https://github.com/dn-m/Math
Computed https://github.com/dn-m/Math at 0.8.0 (0.74s)
Computing version for https://github.com/dn-m/Structure
Computed https://github.com/dn-m/Structure at 0.25.0 (1.05s)
Fetching https://github.com/dn-m/PerformanceTesting
[1/1525] Fetching performancetesting
Fetched https://github.com/dn-m/PerformanceTesting (0.48s)
Computing version for https://github.com/dn-m/PerformanceTesting
Computed https://github.com/dn-m/PerformanceTesting at 0.4.0 (0.68s)
Creating working copy for https://github.com/dn-m/Structure
Working copy of https://github.com/dn-m/Structure resolved at 0.25.0
Creating working copy for https://github.com/dn-m/Math
Working copy of https://github.com/dn-m/Math resolved at 0.8.0
Creating working copy for https://github.com/dn-m/PerformanceTesting
Working copy of https://github.com/dn-m/PerformanceTesting resolved at 0.4.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 447]
[Planning deferred tasks]
[78 / 153] Articulations
[96 / 169] Articulations
[102 / 178] Algorithms
[103 / 178] Algorithms
[122 / 179] DataStructures
[131 / 181] Algebra
[139 / 191] DataStructures
[140 / 192] DataStructures
[141 / 192] Algorithms
[143 / 192] Algorithms
[146 / 192] DataStructures
[156 / 197] Math
[159 / 206] Dynamics
[162 / 206] Dynamics
[164 / 206] Dynamics
[169 / 207] Math
[171 / 208] Dynamics
[175 / 208] Math
[177 / 208] Math
[190 / 220] Pitch
[192 / 228] Pitch
[195 / 228] Pitch
/host/spi-builder-workspace/Sources/Duration/Rhythm/ProportionTree.swift:34:55: [1;33mwarning: [1;39mproperty 'sum' cannot be used in an '@inlinable' function because 'Algebra' was not imported by this file; this is an error in the Swift 6 language mode[0;0m
[0;36m32 |[0;0m return .leaf(accum)
[0;36m33 |[0;0m case .branch(let duration, let trees):
[0;36m34 |[0;0m let sum = trees.lazy.map { $0.value }.sum
[0;36m|[0;0m |- [1;33mwarning: [1;39mproperty 'sum' cannot be used in an '@inlinable' function because 'Algebra' was not imported by this file; this is an error in the Swift 6 language mode[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mThe missing import of module 'Algebra' will be added implicitly[0;0m
[0;36m35 |[0;0m let scale = Fraction(duration, sum)
[0;36m36 |[0;0m return .branch(accum, trees.map { traverse($0, accum: accum * scale) })
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/Pitch/Frequency.swift:25:15: [1;31merror: [1;39mtype 'Frequency' does not conform to protocol 'AdditiveArithmetic'[0;0m
[0;36m23 |[0;0m /// let mean: Frequency = 440.0 // => "a 440"
[0;36m24 |[0;0m ///
[0;36m25 |[0;0m public struct Frequency: NewType, SignedNumeric {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'Frequency' does not conform to protocol 'AdditiveArithmetic'[0;0m
[0;36m26 |[0;0m
[0;36m27 |[0;0m // MARK: - Instance Properties
Swift.AdditiveArithmetic.+=:2:13: [1;39mnote: [1;39mmultiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'[0;0m
[0;36m1 |[0;0m protocol AdditiveArithmetic {
[0;36m2 |[0;0m static func += (lhs: inout Self, rhs: Self)}
[0;36m|[0;0m `- [1;39mnote: [1;39mmultiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'[0;0m
[0;36m3 |[0;0m
Swift.AdditiveArithmetic.+=:2:20: [1;39mnote: [1;39mcandidate exactly matches[0;0m
[0;36m1 |[0;0m protocol AdditiveArithmetic {
[0;36m2 |[0;0m public static func += (lhs: inout Self, rhs: Self)}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate exactly matches[0;0m
[0;36m3 |[0;0m
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Wrapping/NewType.swift:71:24: [1;39mnote: [1;39mcandidate exactly matches[0;0m
[0;36m69 |[0;0m }
[0;36m70 |[0;0m
[0;36m71 |[0;0m public static func += (lhs: inout Self, rhs: Self) {
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate exactly matches[0;0m
[0;36m72 |[0;0m lhs = lhs + rhs
[0;36m73 |[0;0m }
[0;36m:[0;0m
[0;36m77 |[0;0m }
[0;36m78 |[0;0m
[0;36m79 |[0;0m public static func -= (lhs: inout Self, rhs: Self) {
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate exactly matches[0;0m
[0;36m80 |[0;0m lhs = lhs - rhs
[0;36m81 |[0;0m }
Swift.AdditiveArithmetic.-=:2:13: [1;39mnote: [1;39mmultiple matching functions named '-=' with type '(inout Frequency, Frequency) -> ()'[0;0m
[0;36m1 |[0;0m protocol AdditiveArithmetic {
[0;36m2 |[0;0m static func -= (lhs: inout Self, rhs: Self)}
[0;36m|[0;0m `- [1;39mnote: [1;39mmultiple matching functions named '-=' with type '(inout Frequency, Frequency) -> ()'[0;0m
[0;36m3 |[0;0m
Swift.AdditiveArithmetic.-=:2:20: [1;39mnote: [1;39mcandidate exactly matches[0;0m
[0;36m1 |[0;0m protocol AdditiveArithmetic {
[0;36m2 |[0;0m public static func -= (lhs: inout Self, rhs: Self)}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate exactly matches[0;0m
[0;36m3 |[0;0m
/host/spi-builder-workspace/Sources/Pitch/NoteNumber.swift:27:15: [1;31merror: [1;39mtype 'NoteNumber' does not conform to protocol 'AdditiveArithmetic'[0;0m
[0;36m25 |[0;0m /// let cold: NoteNumber = 60
[0;36m26 |[0;0m ///
[0;36m27 |[0;0m public struct NoteNumber:
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'NoteNumber' does not conform to protocol 'AdditiveArithmetic'[0;0m
[0;36m28 |[0;0m NewType,
[0;36m29 |[0;0m Comparable,
Swift.AdditiveArithmetic.+=:2:13: [1;39mnote: [1;39mmultiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'[0;0m
[0;36m1 |[0;0m protocol AdditiveArithmetic {
[0;36m2 |[0;0m static func += (lhs: inout Self, rhs: Self)}
[0;36m|[0;0m `- [1;39mnote: [1;39mmultiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'[0;0m
[0;36m3 |[0;0m
Swift.AdditiveArithmetic.+=:2:20: [1;39mnote: [1;39mcandidate exactly matches[0;0m
[0;36m1 |[0;0m protocol AdditiveArithmetic {
[0;36m2 |[0;0m public static func += (lhs: inout Self, rhs: Self)}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate exactly matches[0;0m
[0;36m3 |[0;0m
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Wrapping/NewType.swift:71:24: [1;39mnote: [1;39mcandidate exactly matches[0;0m
[0;36m69 |[0;0m }
[0;36m70 |[0;0m
[0;36m71 |[0;0m public static func += (lhs: inout Self, rhs: Self) {
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate exactly matches[0;0m
[0;36m72 |[0;0m lhs = lhs + rhs
[0;36m73 |[0;0m }
[0;36m:[0;0m
[0;36m77 |[0;0m }
[0;36m78 |[0;0m
[0;36m79 |[0;0m public static func -= (lhs: inout Self, rhs: Self) {
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate exactly matches[0;0m
[0;36m80 |[0;0m lhs = lhs - rhs
[0;36m81 |[0;0m }
Swift.AdditiveArithmetic.-=:2:13: [1;39mnote: [1;39mmultiple matching functions named '-=' with type '(inout NoteNumber, NoteNumber) -> ()'[0;0m
[0;36m1 |[0;0m protocol AdditiveArithmetic {
[0;36m2 |[0;0m static func -= (lhs: inout Self, rhs: Self)}
[0;36m|[0;0m `- [1;39mnote: [1;39mmultiple matching functions named '-=' with type '(inout NoteNumber, NoteNumber) -> ()'[0;0m
[0;36m3 |[0;0m
Swift.AdditiveArithmetic.-=:2:20: [1;39mnote: [1;39mcandidate exactly matches[0;0m
[0;36m1 |[0;0m protocol AdditiveArithmetic {
[0;36m2 |[0;0m public static func -= (lhs: inout Self, rhs: Self)}
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate exactly matches[0;0m
[0;36m3 |[0;0m
/host/spi-builder-workspace/Sources/Pitch/Pitch.swift:69:59: [1;33mwarning: [1;39minitializer 'init(integerLiteral:)' cannot be used in a default argument value because 'DataStructures' was not imported by this file; this is an error in the Swift 6 language mode[0;0m
[0;36m67 |[0;0m /// The `Frequency` representation of this `Pitch`, with the given tuning `referenceFrequency`
[0;36m68 |[0;0m /// at the given `referenceNoteNumber`.
[0;36m69 |[0;0m public func frequency(referenceFrequency: Frequency = 440, referenceNoteNumber: NoteNumber = 69)
[0;36m|[0;0m |- [1;33mwarning: [1;39minitializer 'init(integerLiteral:)' cannot be used in a default argument value because 'DataStructures' was not imported by this file; this is an error in the Swift 6 language mode[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mThe missing import of module 'DataStructures' will be added implicitly[0;0m
[0;36m70 |[0;0m -> Frequency
[0;36m71 |[0;0m {
/host/spi-builder-workspace/Sources/Pitch/Pitch.swift:69:98: [1;33mwarning: [1;39minitializer 'init(integerLiteral:)' cannot be used in a default argument value because 'DataStructures' was not imported by this file; this is an error in the Swift 6 language mode[0;0m
[0;36m67 |[0;0m /// The `Frequency` representation of this `Pitch`, with the given tuning `referenceFrequency`
[0;36m68 |[0;0m /// at the given `referenceNoteNumber`.
[0;36m69 |[0;0m public func frequency(referenceFrequency: Frequency = 440, referenceNoteNumber: NoteNumber = 69)
[0;36m|[0;0m |- [1;33mwarning: [1;39minitializer 'init(integerLiteral:)' cannot be used in a default argument value because 'DataStructures' was not imported by this file; this is an error in the Swift 6 language mode[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mThe missing import of module 'DataStructures' will be added implicitly[0;0m
[0;36m70 |[0;0m -> Frequency
[0;36m71 |[0;0m {
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Pitch/Chord/Chord.IntervalPattern.swift /host/spi-builder-workspace/Sources/Pitch/Chord/Chord.swift /host/spi-builder-workspace/Sources/Pitch/Chord/ChordDescriptor.swift /host/spi-builder-workspace/Sources/Pitch/Dyad.swift /host/spi-builder-workspace/Sources/Pitch/Frequency.swift /host/spi-builder-workspace/Sources/Pitch/IntervalDescriptor/CompoundIntervalDescriptor.swift /host/spi-builder-workspace/Sources/Pitch/IntervalDescriptor/IntervalDescriptor.swift /host/spi-builder-workspace/Sources/Pitch/IntervalDescriptor/IntervalOrdinal.swift /host/spi-builder-workspace/Sources/Pitch/IntervalDescriptor/IntervalQuality.swift /host/spi-builder-workspace/Sources/Pitch/IntervalDescriptor/OrderedIntervalDescriptor.swift /host/spi-builder-workspace/Sources/Pitch/IntervalDescriptor/UnorderedIntervalDescriptor.swift /host/spi-builder-workspace/Sources/Pitch/NoteNumber.swift /host/spi-builder-workspace/Sources/Pitch/NoteNumberRepresentable.swift /host/spi-builder-workspace/Sources/Pitch/OrderedInterval.swift /host/spi-builder-workspace/Sources/Pitch/Pitch.Class.swift /host/spi-builder-workspace/Sources/Pitch/Pitch.swift /host/spi-builder-workspace/Sources/Pitch/Scale/Scale.IntervalPattern.swift /host/spi-builder-workspace/Sources/Pitch/Scale/Scale.swift /host/spi-builder-workspace/Sources/Pitch/TuningSystem.swift /host/spi-builder-workspace/Sources/Pitch/UnorderedInterval.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 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/Music.build/Debug-linux-x86_64/Pitch-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Music.build/Debug-linux-x86_64/Pitch-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Music.build/Debug-linux-x86_64/Pitch-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Pitch -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Music.build/Debug-linux-x86_64/Pitch-t.build/Objects-normal/x86_64/Pitch_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/Music.build/Debug-linux-x86_64/Pitch-t.build/Objects-normal/x86_64/Modules/Pitch.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Music.build/Debug-linux-x86_64/Pitch-t.build/Objects-normal/x86_64/Modules/Pitch.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Music.build/Debug-linux-x86_64/Pitch-t.build/Objects-normal/x86_64/Pitch-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Music.build/Debug-linux-x86_64/Pitch-t.build/Objects-normal/x86_64/Pitch-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Music.build/Debug-linux-x86_64/Pitch-t.build/Objects-normal/x86_64/Pitch-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Music.build/Debug-linux-x86_64/Pitch-t.build/Objects-normal/x86_64/Modules/Pitch.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux