Build Information
Failed to build Music, reference latest (0e4c36
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 13:02:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: latest
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
* branch latest -> FETCH_HEAD
* [new branch] latest -> origin/latest
HEAD is now at 0e4c365 Fix R & I
Cloned https://github.com/dn-m/Music.git
Revision (git rev-parse @):
0e4c3653740c34df98dd3587f630f30ac34ed25b
SUCCESS checkout https://github.com/dn-m/Music.git at latest
========================================
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-4609320-3":/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/5829] Fetching structure
[1109/6670] Fetching structure, math
Fetched https://github.com/dn-m/Structure from cache (0.62s)
Fetched https://github.com/dn-m/Math from cache (0.63s)
Computing version for https://github.com/dn-m/Math
Computed https://github.com/dn-m/Math at 0.8.0 (1.56s)
Computing version for https://github.com/dn-m/Structure
Computed https://github.com/dn-m/Structure at 0.25.0 (4.04s)
Fetching https://github.com/dn-m/PerformanceTesting
[1/1525] Fetching performancetesting
Fetched https://github.com/dn-m/PerformanceTesting from cache (0.48s)
Computing version for https://github.com/dn-m/PerformanceTesting
Computed https://github.com/dn-m/PerformanceTesting at 0.4.0 (1.30s)
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 Articulations
[13/16] Emitting module Destructure
[14/16] Compiling Destructure Destructure.swift
[16/17] Compiling Articulations Slur.swift
[17/17] Compiling Articulations Articulation.swift
[19/42] Compiling Algebra MultiplicativeSemigroup.swift
[20/42] Compiling Algebra One.swift
[21/44] Emitting module Algorithms
[22/45] Compiling Algorithms TupleMap.swift
[23/45] Compiling Algorithms Swap.swift
[24/45] Compiling Algebra Product.swift
[25/45] Compiling Algebra Semigroup.swift
[26/45] Compiling Algebra MonoidView.swift
[27/45] Compiling Algebra Multiplicative.swift
[28/45] Compiling Algebra Invertible.swift
[29/45] Compiling Algebra Monoid.swift
[30/45] Emitting module Algebra
[31/45] Compiling Algebra Abelian.swift
[32/45] Compiling Algebra Accumulate.swift
[33/45] Compiling Algebra Additive.swift
[34/45] Compiling Algorithms Ordered.swift
[35/45] Compiling Algorithms Rotate.swift
[36/45] Compiling Algebra Sum.swift
[37/45] Compiling Algebra Zero.swift
[38/45] Compiling Algebra AdditiveGroup.swift
[39/45] Compiling Algebra AdditiveSemigroup.swift
[40/45] Compiling Algebra AlgebraAdapters.swift
[41/45] Compiling Algebra Group.swift
[42/46] Compiling Algorithms Unzip.swift
[43/46] Compiling Algorithms Split.swift
[44/46] Compiling Algorithms StableSort.swift
[46/46] Compiling Algorithms Combinatorics.swift
[48/106] Compiling DataStructures DirectedGraphProtocol.swift
[49/106] Compiling DataStructures GraphProtocol.swift
[50/106] Compiling DataStructures UndirectedGraphProtocol.swift
[51/106] Compiling DataStructures UnweightedGraphProtocol.swift
[52/106] Compiling DataStructures WeightedGraphProtocol.swift
[53/106] Compiling DataStructures ReferenceGraph.AdjacencyList.swift
[54/106] Compiling DataStructures ReferenceGraph.Edge.swift
[55/106] Compiling DataStructures ReferenceGraph.EdgeList.swift
[56/114] Compiling DataStructures Either.swift
[57/114] Compiling DataStructures IntervalRelation.swift
[58/114] Compiling DataStructures InvertibleEnum.swift
[59/114] Compiling DataStructures Cross.swift
[60/114] Compiling DataStructures OrderedPair.swift
[61/114] Compiling DataStructures Pair.swift
[62/114] Compiling DataStructures SwappablePair.swift
[63/114] Compiling DataStructures SymmetricPair.swift
[64/114] Compiling DataStructures UnorderedPair.swift
[65/114] Compiling DataStructures CollectionExtensions.swift
[66/114] Compiling DataStructures Homogeneity.swift
[67/114] Compiling DataStructures RangeProtocol+Algebra.swift
[68/114] Compiling DataStructures RangeProtocol.swift
[69/114] Compiling DataStructures SequenceExtensions.swift
[70/114] Compiling DataStructures SetExtensions.swift
[71/114] Compiling DataStructures AdjacencyList.swift
[72/114] Compiling DataStructures DirectedGraph.swift
[73/114] Compiling DataStructures Graph.swift
[74/114] Compiling DataStructures FloatWrapping.swift
[75/114] Compiling DataStructures Identifier.swift
[76/114] Compiling DataStructures IntegerWrapping.swift
[77/114] Compiling DataStructures Metatype.swift
[78/114] Compiling DataStructures NewType.swift
[79/114] Compiling DataStructures RandomAccessCollectionWrapping.swift
[80/114] Compiling DataStructures SequenceWrapping.swift
[81/114] Compiling DataStructures SortedCollectionWrapping.swift
[82/114] Emitting module DataStructures
[83/114] Compiling DataStructures BinarySearchTree.swift
[84/114] Compiling DataStructures ReferenceTree.swift
[85/114] Compiling DataStructures ReferenceTreeProtocol.swift
[86/114] Compiling DataStructures SingleTypedTree.swift
[87/114] Compiling DataStructures Tree.Zipper.swift
[88/114] Compiling DataStructures Tree.swift
[89/114] Compiling DataStructures CollectionWrapping.swift
[90/114] Compiling DataStructures DoubleWrapping.swift
[91/114] Compiling DataStructures IntervallicFragmentable.swift
[92/114] Compiling DataStructures Measured.swift
[93/114] Compiling DataStructures Totalizable.swift
[94/114] Compiling DataStructures DictionaryProtocol.swift
[95/114] Compiling DataStructures OrderedDictionary.swift
[96/114] Compiling DataStructures SortedDictionary.swift
[97/114] Compiling DataStructures CircularArray.swift
[98/114] Compiling DataStructures LinkedList.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] Compiling Dynamics Dynamic.Interpolation.swift
[117/132] Emitting module Dynamics
[118/132] Compiling Dynamics Dynamic.swift
[120/133] Compiling Math Rational.swift
[121/134] Compiling Math Functions.swift
[122/134] Compiling Math GCDDomain.swift
[123/134] Compiling Math IntegerExtensions.swift
[124/134] Compiling Math LinearRegression.swift
[125/134] Compiling Math Scale.swift
[126/134] Emitting module Math
[127/134] Compiling Math DoubleExtensions.swift
[128/134] Compiling Math Fraction.swift
[129/134] Compiling Math Bitwise.swift
[130/134] Compiling Math CollectionExtensions.swift
[131/134] Compiling Math Power.swift
[132/134] Compiling Math PowerOfTwoSequence.swift
[133/134] Compiling Math Proximity.swift
[134/134] Compiling Math Quadratic.swift
[136/170] Compiling Duration Subdivision.swift
[137/170] Compiling Duration Tempo.Context.swift
[138/171] Compiling Pitch Dyad.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/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 |
[139/171] Compiling Pitch Frequency.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/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 |
[140/171] Compiling Pitch NoteNumber.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/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 |
[141/173] Compiling Pitch ChordDescriptor.swift
[143/173] Compiling Pitch Chord.IntervalPattern.swift
[144/173] Compiling Pitch Chord.swift
[145/173] Compiling Pitch TuningSystem.swift
[146/173] Compiling Pitch UnorderedInterval.swift
[147/173] 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) })
error: emit-module command failed with exit code 1 (use -v to see invocation)
[153/173] 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 | {
[154/173] Compiling Pitch Scale.IntervalPattern.swift
[155/173] Compiling Pitch Scale.swift
[156/173] Compiling Pitch NoteNumberRepresentable.swift
[157/173] Compiling Pitch OrderedInterval.swift
[158/173] Compiling Pitch Pitch.Class.Collection.swift
[159/173] Compiling Pitch DiatonicIntervalProtocol.swift
[160/173] Compiling Pitch DiatonicIntervalQuality.swift
[161/173] Compiling Duration ProportionTree.swift
[162/173] Compiling Duration ContinuationOrInstance.swift
[163/173] Compiling Duration DurationTree.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) })
[167/173] Compiling Duration Rhythm.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) })
[168/173] Compiling Duration Tempo.swift
/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