Build Information
Failed to build Music, reference 0.17.1 (f3fd48
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 13:02:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path: $PWD
https://github.com/dn-m/Music.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-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 from cache (0.56s)
Fetched https://github.com/dn-m/Structure from cache (0.56s)
Computing version for https://github.com/dn-m/Math
Computed https://github.com/dn-m/Math at 0.8.0 (2.47s)
Computing version for https://github.com/dn-m/Structure
Computed https://github.com/dn-m/Structure at 0.25.0 (3.03s)
Fetching https://github.com/dn-m/PerformanceTesting
[1/1525] Fetching performancetesting
Fetched https://github.com/dn-m/PerformanceTesting from cache (0.31s)
Computing version for https://github.com/dn-m/PerformanceTesting
Computed https://github.com/dn-m/PerformanceTesting at 0.4.0 (0.74s)
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/Structure
Working copy of https://github.com/dn-m/Structure resolved at 0.25.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...
[0/11] Write sources
[10/11] Write swift-version-24593BA9C3E375BF.txt
[12/16] Emitting module Destructure
[13/16] Compiling Destructure Destructure.swift
[14/17] Emitting module Articulations
[15/17] Compiling Articulations Articulation.swift
[16/17] Compiling Articulations Slur.swift
[19/42] Emitting module Algebra
[20/44] Compiling Algorithms TupleMap.swift
[21/45] Compiling Algebra Invertible.swift
[22/45] Compiling Algebra Monoid.swift
[23/45] Compiling Algebra MultiplicativeSemigroup.swift
[24/45] Compiling Algebra One.swift
[25/45] Compiling Algebra MonoidView.swift
[26/45] Compiling Algebra Multiplicative.swift
[27/45] Compiling Algebra Abelian.swift
[28/45] Compiling Algebra Accumulate.swift
[29/45] Compiling Algebra Additive.swift
[30/45] Compiling Algorithms Swap.swift
[31/45] Compiling Algebra Product.swift
[32/45] Compiling Algebra Semigroup.swift
[33/45] Compiling Algebra Sum.swift
[34/45] Compiling Algebra Zero.swift
[35/45] Compiling Algorithms Unzip.swift
[36/45] Compiling Algebra AdditiveGroup.swift
[37/45] Compiling Algebra AdditiveSemigroup.swift
[38/45] Compiling Algebra AlgebraAdapters.swift
[39/45] Compiling Algebra Group.swift
[40/46] Compiling Algorithms Split.swift
[41/46] Compiling Algorithms Ordered.swift
[42/46] Compiling Algorithms Rotate.swift
[43/46] Compiling Algorithms StableSort.swift
[45/46] Emitting module Algorithms
[46/46] Compiling Algorithms Combinatorics.swift
[48/106] Compiling DataStructures IntervallicFragmentable.swift
[49/106] Compiling DataStructures Measured.swift
[50/106] Compiling DataStructures Totalizable.swift
[51/106] Compiling DataStructures DictionaryProtocol.swift
[52/106] Compiling DataStructures OrderedDictionary.swift
[53/106] Compiling DataStructures SortedDictionary.swift
[54/106] Compiling DataStructures CircularArray.swift
[55/106] Compiling DataStructures LinkedList.swift
[56/114] Emitting module DataStructures
[57/114] Compiling DataStructures CollectionExtensions.swift
[58/114] Compiling DataStructures Homogeneity.swift
[59/114] Compiling DataStructures RangeProtocol+Algebra.swift
[60/114] Compiling DataStructures RangeProtocol.swift
[61/114] Compiling DataStructures SequenceExtensions.swift
[62/114] Compiling DataStructures SetExtensions.swift
[63/114] Compiling DataStructures AdjacencyList.swift
[64/114] Compiling DataStructures DirectedGraph.swift
[65/114] Compiling DataStructures Graph.swift
[66/114] Compiling DataStructures Either.swift
[67/114] Compiling DataStructures IntervalRelation.swift
[68/114] Compiling DataStructures InvertibleEnum.swift
[69/114] Compiling DataStructures Cross.swift
[70/114] Compiling DataStructures OrderedPair.swift
[71/114] Compiling DataStructures Pair.swift
[72/114] Compiling DataStructures SwappablePair.swift
[73/114] Compiling DataStructures SymmetricPair.swift
[74/114] Compiling DataStructures UnorderedPair.swift
[75/114] Compiling DataStructures BinarySearchTree.swift
[76/114] Compiling DataStructures ReferenceTree.swift
[77/114] Compiling DataStructures ReferenceTreeProtocol.swift
[78/114] Compiling DataStructures SingleTypedTree.swift
[79/114] Compiling DataStructures Tree.Zipper.swift
[80/114] Compiling DataStructures Tree.swift
[81/114] Compiling DataStructures CollectionWrapping.swift
[82/114] Compiling DataStructures DoubleWrapping.swift
[83/114] Compiling DataStructures FloatWrapping.swift
[84/114] Compiling DataStructures Identifier.swift
[85/114] Compiling DataStructures IntegerWrapping.swift
[86/114] Compiling DataStructures Metatype.swift
[87/114] Compiling DataStructures NewType.swift
[88/114] Compiling DataStructures RandomAccessCollectionWrapping.swift
[89/114] Compiling DataStructures SequenceWrapping.swift
[90/114] Compiling DataStructures SortedCollectionWrapping.swift
[91/114] Compiling DataStructures DirectedGraphProtocol.swift
[92/114] Compiling DataStructures GraphProtocol.swift
[93/114] Compiling DataStructures UndirectedGraphProtocol.swift
[94/114] Compiling DataStructures UnweightedGraphProtocol.swift
[95/114] Compiling DataStructures WeightedGraphProtocol.swift
[96/114] Compiling DataStructures ReferenceGraph.AdjacencyList.swift
[97/114] Compiling DataStructures ReferenceGraph.Edge.swift
[98/114] Compiling DataStructures ReferenceGraph.EdgeList.swift
[99/114] Compiling DataStructures Matrix.swift
[100/114] Compiling DataStructures Queue.swift
[101/114] Compiling DataStructures SortedArray.swift
[102/114] Compiling DataStructures Stack.swift
[103/114] Compiling DataStructures Zip3Sequence.swift
[104/114] Compiling DataStructures ZipToLongest.swift
[105/114] Compiling DataStructures AVLTree.swift
[106/114] Compiling DataStructures BinaryHeap.swift
[107/114] Compiling DataStructures ReferenceGraph.Node.swift
[108/114] Compiling DataStructures ReferenceGraph.swift
[109/114] Compiling DataStructures WeightedDirectedGraph.swift
[110/114] Compiling DataStructures WeightedGraph.swift
[111/114] Compiling DataStructures Bimap.swift
[112/114] Compiling DataStructures ContiguousSegmentCollection.swift
[113/114] Compiling DataStructures Fragmentable.swift
[114/114] Compiling DataStructures Intervallic.swift
[116/132] Emitting module Dynamics
[117/132] Compiling Dynamics Dynamic.Interpolation.swift
[118/132] Compiling Dynamics Dynamic.swift
[120/133] Compiling Math Functions.swift
[121/133] Compiling Math GCDDomain.swift
[122/134] Compiling Math Scale.swift
[123/134] Emitting module Math
[124/134] Compiling Math Rational.swift
[125/134] Compiling Math Bitwise.swift
[126/134] Compiling Math CollectionExtensions.swift
[127/134] Compiling Math DoubleExtensions.swift
[128/134] Compiling Math Fraction.swift
[129/134] Compiling Math Power.swift
[130/134] Compiling Math PowerOfTwoSequence.swift
[131/134] Compiling Math IntegerExtensions.swift
[132/134] Compiling Math LinearRegression.swift
[133/134] Compiling Math Proximity.swift
[134/134] Compiling Math Quadratic.swift
[136/169] Compiling Pitch Dyad.swift
[137/169] Compiling Pitch Frequency.swift
[138/170] Compiling Pitch NoteNumberRepresentable.swift
[139/170] Compiling Pitch OrderedInterval.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[140/170] Emitting module Pitch
/host/spi-builder-workspace/Sources/Pitch/Frequency.swift:25:15: error: type 'Frequency' does not conform to protocol 'AdditiveArithmetic'
23 | /// let mean: Frequency = 440.0 // => "a 440"
24 | ///
25 | public struct Frequency: NewType, SignedNumeric {
| `- error: type 'Frequency' does not conform to protocol 'AdditiveArithmetic'
26 |
27 | // MARK: - Instance Properties
Swift.AdditiveArithmetic.+=:2:13: note: multiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'
1 | protocol AdditiveArithmetic {
2 | static func += (lhs: inout Self, rhs: Self)}
| `- note: multiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'
3 |
Swift.AdditiveArithmetic.+=:2:20: note: candidate exactly matches
1 | protocol AdditiveArithmetic {
2 | public static func += (lhs: inout Self, rhs: Self)}
| `- note: candidate exactly matches
3 |
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Wrapping/NewType.swift:71:24: note: candidate exactly matches
69 | }
70 |
71 | public static func += (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
72 | lhs = lhs + rhs
73 | }
:
77 | }
78 |
79 | public static func -= (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
80 | lhs = lhs - rhs
81 | }
Swift.AdditiveArithmetic.-=:2:13: note: multiple matching functions named '-=' with type '(inout Frequency, Frequency) -> ()'
1 | protocol AdditiveArithmetic {
2 | static func -= (lhs: inout Self, rhs: Self)}
| `- note: multiple matching functions named '-=' with type '(inout Frequency, Frequency) -> ()'
3 |
Swift.AdditiveArithmetic.-=:2:20: note: candidate exactly matches
1 | protocol AdditiveArithmetic {
2 | public static func -= (lhs: inout Self, rhs: Self)}
| `- note: candidate exactly matches
3 |
/host/spi-builder-workspace/Sources/Pitch/NoteNumber.swift:27:15: error: type 'NoteNumber' does not conform to protocol 'AdditiveArithmetic'
25 | /// let cold: NoteNumber = 60
26 | ///
27 | public struct NoteNumber:
| `- error: type 'NoteNumber' does not conform to protocol 'AdditiveArithmetic'
28 | NewType,
29 | Comparable,
Swift.AdditiveArithmetic.+=:2:13: note: multiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'
1 | protocol AdditiveArithmetic {
2 | static func += (lhs: inout Self, rhs: Self)}
| `- note: multiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'
3 |
Swift.AdditiveArithmetic.+=:2:20: note: candidate exactly matches
1 | protocol AdditiveArithmetic {
2 | public static func += (lhs: inout Self, rhs: Self)}
| `- note: candidate exactly matches
3 |
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Wrapping/NewType.swift:71:24: note: candidate exactly matches
69 | }
70 |
71 | public static func += (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
72 | lhs = lhs + rhs
73 | }
:
77 | }
78 |
79 | public static func -= (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
80 | lhs = lhs - rhs
81 | }
Swift.AdditiveArithmetic.-=:2:13: note: multiple matching functions named '-=' with type '(inout NoteNumber, NoteNumber) -> ()'
1 | protocol AdditiveArithmetic {
2 | static func -= (lhs: inout Self, rhs: Self)}
| `- note: multiple matching functions named '-=' with type '(inout NoteNumber, NoteNumber) -> ()'
3 |
Swift.AdditiveArithmetic.-=:2:20: note: candidate exactly matches
1 | protocol AdditiveArithmetic {
2 | public static func -= (lhs: inout Self, rhs: Self)}
| `- note: candidate exactly matches
3 |
/host/spi-builder-workspace/Sources/Pitch/Pitch.swift:69:59: warning: initializer '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
67 | /// The `Frequency` representation of this `Pitch`, with the given tuning `referenceFrequency`
68 | /// at the given `referenceNoteNumber`.
69 | public func frequency(referenceFrequency: Frequency = 440, referenceNoteNumber: NoteNumber = 69)
| |- warning: initializer '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
| `- note: The missing import of module 'DataStructures' will be added implicitly
70 | -> Frequency
71 | {
/host/spi-builder-workspace/Sources/Pitch/Pitch.swift:69:98: warning: initializer '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
67 | /// The `Frequency` representation of this `Pitch`, with the given tuning `referenceFrequency`
68 | /// at the given `referenceNoteNumber`.
69 | public func frequency(referenceFrequency: Frequency = 440, referenceNoteNumber: NoteNumber = 69)
| |- warning: initializer '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
| `- note: The missing import of module 'DataStructures' will be added implicitly
70 | -> Frequency
71 | {
[141/172] Compiling Pitch Scale.IntervalPattern.swift
[142/172] Compiling Pitch Scale.swift
[143/172] Emitting module Duration
/host/spi-builder-workspace/Sources/Duration/Rhythm/ProportionTree.swift:34:55: warning: property '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
32 | return .leaf(accum)
33 | case .branch(let duration, let trees):
34 | let sum = trees.lazy.map { $0.value }.sum
| |- warning: property '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
| `- note: The missing import of module 'Algebra' will be added implicitly
35 | let scale = Fraction(duration, sum)
36 | return .branch(accum, trees.map { traverse($0, accum: accum * scale) })
[144/172] Compiling Pitch CompoundIntervalDescriptor.swift
[145/172] Compiling Pitch Chord.IntervalPattern.swift
[146/172] Compiling Pitch TuningSystem.swift
[147/172] Compiling Pitch UnorderedInterval.swift
[151/172] Compiling Pitch Chord.swift
[152/172] Compiling Pitch ChordDescriptor.swift
/host/spi-builder-workspace/Sources/Pitch/Frequency.swift:25:15: error: type 'Frequency' does not conform to protocol 'AdditiveArithmetic'
23 | /// let mean: Frequency = 440.0 // => "a 440"
24 | ///
25 | public struct Frequency: NewType, SignedNumeric {
| `- error: type 'Frequency' does not conform to protocol 'AdditiveArithmetic'
26 |
27 | // MARK: - Instance Properties
Swift.AdditiveArithmetic.+=:2:13: note: multiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'
1 | protocol AdditiveArithmetic {
2 | static func += (lhs: inout Self, rhs: Self)}
| `- note: multiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'
3 |
Swift.AdditiveArithmetic.+=:2:20: note: candidate exactly matches
1 | protocol AdditiveArithmetic {
2 | public static func += (lhs: inout Self, rhs: Self)}
| `- note: candidate exactly matches
3 |
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Wrapping/NewType.swift:71:24: note: candidate exactly matches
69 | }
70 |
71 | public static func += (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
72 | lhs = lhs + rhs
73 | }
:
77 | }
78 |
79 | public static func -= (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
80 | lhs = lhs - rhs
81 | }
Swift.AdditiveArithmetic.-=:2:13: note: multiple matching functions named '-=' with type '(inout Frequency, Frequency) -> ()'
1 | protocol AdditiveArithmetic {
2 | static func -= (lhs: inout Self, rhs: Self)}
| `- note: multiple matching functions named '-=' with type '(inout Frequency, Frequency) -> ()'
3 |
Swift.AdditiveArithmetic.-=:2:20: note: candidate exactly matches
1 | protocol AdditiveArithmetic {
2 | public static func -= (lhs: inout Self, rhs: Self)}
| `- note: candidate exactly matches
3 |
/host/spi-builder-workspace/Sources/Pitch/Frequency.swift:25:15: error: type 'Frequency' does not conform to protocol 'AdditiveArithmetic'
23 | /// let mean: Frequency = 440.0 // => "a 440"
24 | ///
25 | public struct Frequency: NewType, SignedNumeric {
| `- error: type 'Frequency' does not conform to protocol 'AdditiveArithmetic'
26 |
27 | // MARK: - Instance Properties
Swift.AdditiveArithmetic.+=:2:13: note: multiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'
1 | protocol AdditiveArithmetic {
2 | static func += (lhs: inout Self, rhs: Self)}
| `- note: multiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'
3 |
Swift.AdditiveArithmetic.+=:2:20: note: candidate exactly matches
1 | protocol AdditiveArithmetic {
2 | public static func += (lhs: inout Self, rhs: Self)}
| `- note: candidate exactly matches
3 |
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Wrapping/NewType.swift:71:24: note: candidate exactly matches
69 | }
70 |
71 | public static func += (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
72 | lhs = lhs + rhs
73 | }
:
77 | }
78 |
79 | public static func -= (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
80 | lhs = lhs - rhs
81 | }
Swift.AdditiveArithmetic.-=:2:13: note: multiple matching functions named '-=' with type '(inout Frequency, Frequency) -> ()'
1 | protocol AdditiveArithmetic {
2 | static func -= (lhs: inout Self, rhs: Self)}
| `- note: multiple matching functions named '-=' with type '(inout Frequency, Frequency) -> ()'
3 |
Swift.AdditiveArithmetic.-=:2:20: note: candidate exactly matches
1 | protocol AdditiveArithmetic {
2 | public static func -= (lhs: inout Self, rhs: Self)}
| `- note: candidate exactly matches
3 |
/host/spi-builder-workspace/Sources/Pitch/Frequency.swift:25:15: error: type 'Frequency' does not conform to protocol 'AdditiveArithmetic'
23 | /// let mean: Frequency = 440.0 // => "a 440"
24 | ///
25 | public struct Frequency: NewType, SignedNumeric {
| `- error: type 'Frequency' does not conform to protocol 'AdditiveArithmetic'
26 |
27 | // MARK: - Instance Properties
Swift.AdditiveArithmetic.+=:2:13: note: multiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'
1 | protocol AdditiveArithmetic {
2 | static func += (lhs: inout Self, rhs: Self)}
| `- note: multiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'
3 |
Swift.AdditiveArithmetic.+=:2:20: note: candidate exactly matches
1 | protocol AdditiveArithmetic {
2 | public static func += (lhs: inout Self, rhs: Self)}
| `- note: candidate exactly matches
3 |
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Wrapping/NewType.swift:71:24: note: candidate exactly matches
69 | }
70 |
71 | public static func += (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
72 | lhs = lhs + rhs
73 | }
:
77 | }
78 |
79 | public static func -= (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
80 | lhs = lhs - rhs
81 | }
Swift.AdditiveArithmetic.-=:2:13: note: multiple matching functions named '-=' with type '(inout Frequency, Frequency) -> ()'
1 | protocol AdditiveArithmetic {
2 | static func -= (lhs: inout Self, rhs: Self)}
| `- note: multiple matching functions named '-=' with type '(inout Frequency, Frequency) -> ()'
3 |
Swift.AdditiveArithmetic.-=:2:20: note: candidate exactly matches
1 | protocol AdditiveArithmetic {
2 | public static func -= (lhs: inout Self, rhs: Self)}
| `- note: candidate exactly matches
3 |
[158/172] Compiling Pitch OrderedIntervalDescriptor.swift
[159/172] Compiling Pitch UnorderedIntervalDescriptor.swift
[160/172] Compiling Pitch Pitch.Class.swift
/host/spi-builder-workspace/Sources/Duration/Rhythm/ProportionTree.swift:34:55: warning: property '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
32 | return .leaf(accum)
33 | case .branch(let duration, let trees):
34 | let sum = trees.lazy.map { $0.value }.sum
| |- warning: property '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
| `- note: The missing import of module 'Algebra' will be added implicitly
35 | let scale = Fraction(duration, sum)
36 | return .branch(accum, trees.map { traverse($0, accum: accum * scale) })
[161/172] Compiling Pitch Pitch.swift
/host/spi-builder-workspace/Sources/Duration/Rhythm/ProportionTree.swift:34:55: warning: property '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
32 | return .leaf(accum)
33 | case .branch(let duration, let trees):
34 | let sum = trees.lazy.map { $0.value }.sum
| |- warning: property '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
| `- note: The missing import of module 'Algebra' will be added implicitly
35 | let scale = Fraction(duration, sum)
36 | return .branch(accum, trees.map { traverse($0, accum: accum * scale) })
[164/172] Compiling Pitch IntervalDescriptor.swift
[165/172] Compiling Pitch IntervalOrdinal.swift
[166/172] Compiling Pitch IntervalQuality.swift
/host/spi-builder-workspace/Sources/Pitch/NoteNumber.swift:27:15: error: type 'NoteNumber' does not conform to protocol 'AdditiveArithmetic'
25 | /// let cold: NoteNumber = 60
26 | ///
27 | public struct NoteNumber:
| `- error: type 'NoteNumber' does not conform to protocol 'AdditiveArithmetic'
28 | NewType,
29 | Comparable,
Swift.AdditiveArithmetic.+=:2:13: note: multiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'
1 | protocol AdditiveArithmetic {
2 | static func += (lhs: inout Self, rhs: Self)}
| `- note: multiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'
3 |
Swift.AdditiveArithmetic.+=:2:20: note: candidate exactly matches
1 | protocol AdditiveArithmetic {
2 | public static func += (lhs: inout Self, rhs: Self)}
| `- note: candidate exactly matches
3 |
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Wrapping/NewType.swift:71:24: note: candidate exactly matches
69 | }
70 |
71 | public static func += (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
72 | lhs = lhs + rhs
73 | }
:
77 | }
78 |
79 | public static func -= (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
80 | lhs = lhs - rhs
81 | }
Swift.AdditiveArithmetic.-=:2:13: note: multiple matching functions named '-=' with type '(inout NoteNumber, NoteNumber) -> ()'
1 | protocol AdditiveArithmetic {
2 | static func -= (lhs: inout Self, rhs: Self)}
| `- note: multiple matching functions named '-=' with type '(inout NoteNumber, NoteNumber) -> ()'
3 |
Swift.AdditiveArithmetic.-=:2:20: note: candidate exactly matches
1 | protocol AdditiveArithmetic {
2 | public static func -= (lhs: inout Self, rhs: Self)}
| `- note: candidate exactly matches
3 |
/host/spi-builder-workspace/Sources/Pitch/NoteNumber.swift:27:15: error: type 'NoteNumber' does not conform to protocol 'AdditiveArithmetic'
25 | /// let cold: NoteNumber = 60
26 | ///
27 | public struct NoteNumber:
| `- error: type 'NoteNumber' does not conform to protocol 'AdditiveArithmetic'
28 | NewType,
29 | Comparable,
Swift.AdditiveArithmetic.+=:2:13: note: multiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'
1 | protocol AdditiveArithmetic {
2 | static func += (lhs: inout Self, rhs: Self)}
| `- note: multiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'
3 |
Swift.AdditiveArithmetic.+=:2:20: note: candidate exactly matches
1 | protocol AdditiveArithmetic {
2 | public static func += (lhs: inout Self, rhs: Self)}
| `- note: candidate exactly matches
3 |
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Wrapping/NewType.swift:71:24: note: candidate exactly matches
69 | }
70 |
71 | public static func += (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
72 | lhs = lhs + rhs
73 | }
:
77 | }
78 |
79 | public static func -= (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
80 | lhs = lhs - rhs
81 | }
Swift.AdditiveArithmetic.-=:2:13: note: multiple matching functions named '-=' with type '(inout NoteNumber, NoteNumber) -> ()'
1 | protocol AdditiveArithmetic {
2 | static func -= (lhs: inout Self, rhs: Self)}
| `- note: multiple matching functions named '-=' with type '(inout NoteNumber, NoteNumber) -> ()'
3 |
Swift.AdditiveArithmetic.-=:2:20: note: candidate exactly matches
1 | protocol AdditiveArithmetic {
2 | public static func -= (lhs: inout Self, rhs: Self)}
| `- note: candidate exactly matches
3 |
[169/172] Compiling Pitch NoteNumber.swift
/host/spi-builder-workspace/Sources/Pitch/NoteNumber.swift:27:15: error: type 'NoteNumber' does not conform to protocol 'AdditiveArithmetic'
25 | /// let cold: NoteNumber = 60
26 | ///
27 | public struct NoteNumber:
| `- error: type 'NoteNumber' does not conform to protocol 'AdditiveArithmetic'
28 | NewType,
29 | Comparable,
Swift.AdditiveArithmetic.+=:2:13: note: multiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'
1 | protocol AdditiveArithmetic {
2 | static func += (lhs: inout Self, rhs: Self)}
| `- note: multiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'
3 |
Swift.AdditiveArithmetic.+=:2:20: note: candidate exactly matches
1 | protocol AdditiveArithmetic {
2 | public static func += (lhs: inout Self, rhs: Self)}
| `- note: candidate exactly matches
3 |
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Wrapping/NewType.swift:71:24: note: candidate exactly matches
69 | }
70 |
71 | public static func += (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
72 | lhs = lhs + rhs
73 | }
:
77 | }
78 |
79 | public static func -= (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
80 | lhs = lhs - rhs
81 | }
Swift.AdditiveArithmetic.-=:2:13: note: multiple matching functions named '-=' with type '(inout NoteNumber, NoteNumber) -> ()'
1 | protocol AdditiveArithmetic {
2 | static func -= (lhs: inout Self, rhs: Self)}
| `- note: multiple matching functions named '-=' with type '(inout NoteNumber, NoteNumber) -> ()'
3 |
Swift.AdditiveArithmetic.-=:2:20: note: candidate exactly matches
1 | protocol AdditiveArithmetic {
2 | public static func -= (lhs: inout Self, rhs: Self)}
| `- note: candidate exactly matches
3 |
/host/spi-builder-workspace/Sources/Pitch/Pitch.swift:69:59: warning: initializer '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
67 | /// The `Frequency` representation of this `Pitch`, with the given tuning `referenceFrequency`
68 | /// at the given `referenceNoteNumber`.
69 | public func frequency(referenceFrequency: Frequency = 440, referenceNoteNumber: NoteNumber = 69)
| |- warning: initializer '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
| `- note: The missing import of module 'DataStructures' will be added implicitly
70 | -> Frequency
71 | {
/host/spi-builder-workspace/Sources/Pitch/Pitch.swift:69:98: warning: initializer '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
67 | /// The `Frequency` representation of this `Pitch`, with the given tuning `referenceFrequency`
68 | /// at the given `referenceNoteNumber`.
69 | public func frequency(referenceFrequency: Frequency = 440, referenceNoteNumber: NoteNumber = 69)
| |- warning: initializer '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
| `- note: The missing import of module 'DataStructures' will be added implicitly
70 | -> Frequency
71 | {
/host/spi-builder-workspace/Sources/Pitch/Pitch.swift:69:59: warning: initializer '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
67 | /// The `Frequency` representation of this `Pitch`, with the given tuning `referenceFrequency`
68 | /// at the given `referenceNoteNumber`.
69 | public func frequency(referenceFrequency: Frequency = 440, referenceNoteNumber: NoteNumber = 69)
| |- warning: initializer '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
| `- note: The missing import of module 'DataStructures' will be added implicitly
70 | -> Frequency
71 | {
/host/spi-builder-workspace/Sources/Pitch/Pitch.swift:69:98: warning: initializer '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
67 | /// The `Frequency` representation of this `Pitch`, with the given tuning `referenceFrequency`
68 | /// at the given `referenceNoteNumber`.
69 | public func frequency(referenceFrequency: Frequency = 440, referenceNoteNumber: NoteNumber = 69)
| |- warning: initializer '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
| `- note: The missing import of module 'DataStructures' will be added implicitly
70 | -> Frequency
71 | {
BUILD FAILURE 6.2 linux