Build Information
Failed to build NotationModel, reference latest (fae8f6
), with Swift 6.0 for Linux on 31 Oct 2024 20:19:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dn-m/notationmodel.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/notationmodel
* branch latest -> FETCH_HEAD
* [new branch] latest -> origin/latest
HEAD is now at fae8f64 Point Travis badge to latest branch
Cloned https://github.com/dn-m/notationmodel.git
Revision (git rev-parse @):
fae8f641845a2f03dab154c299d3aa3edaeba146
SUCCESS checkout https://github.com/dn-m/notationmodel.git at latest
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/dn-m/notationmodel.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/dn-m/Music
Fetching https://github.com/dn-m/Structure
Fetching https://github.com/dn-m/Math
[1/841] Fetching math
[842/6670] Fetching math, structure
[1134/10866] Fetching math, structure, music
Fetched https://github.com/dn-m/Math from cache (0.34s)
[2029/10025] Fetching structure, music
Fetched https://github.com/dn-m/Structure from cache (0.56s)
Fetched https://github.com/dn-m/Music from cache (0.57s)
Computing version for https://github.com/dn-m/Math
Computed https://github.com/dn-m/Math at 0.8.0 (3.05s)
Computing version for https://github.com/dn-m/Music
Computed https://github.com/dn-m/Music at 0.17.1 (0.80s)
Computing version for https://github.com/dn-m/Structure
Computed https://github.com/dn-m/Structure at 0.25.0 (1.19s)
Fetching https://github.com/dn-m/PerformanceTesting
[1/1525] Fetching performancetesting
Fetched https://github.com/dn-m/PerformanceTesting from cache (0.36s)
Computing version for https://github.com/dn-m/PerformanceTesting
Computed https://github.com/dn-m/PerformanceTesting at 0.4.0 (0.78s)
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
Creating working copy for https://github.com/dn-m/Music
Working copy of https://github.com/dn-m/Music resolved at 0.17.1
warning: 'spi-builder-workspace': dependency 'math' is not used by any target
Building for debugging...
[0/12] Write sources
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/14] Compiling Destructure Destructure.swift
[14/14] Emitting module Destructure
[16/39] Compiling Algebra MonoidView.swift
[17/39] Compiling Algebra Multiplicative.swift
[18/39] Compiling Algebra Invertible.swift
[19/39] Compiling Algebra Monoid.swift
[20/41] Compiling Algebra AdditiveGroup.swift
[21/41] Compiling Algebra AdditiveSemigroup.swift
[22/41] Compiling Algorithms Split.swift
[23/42] Compiling Algebra MultiplicativeSemigroup.swift
[24/42] Compiling Algebra One.swift
[25/42] Compiling Algorithms TupleMap.swift
[26/42] Compiling Algorithms Swap.swift
[27/42] Compiling Algorithms Rotate.swift
[28/42] Compiling Algorithms Ordered.swift
[29/42] Compiling Algebra Product.swift
[30/42] Compiling Algebra Semigroup.swift
[31/42] Emitting module Algebra
[32/42] Compiling Algorithms StableSort.swift
[33/42] Compiling Algebra Abelian.swift
[34/42] Compiling Algebra Accumulate.swift
[35/42] Compiling Algebra Additive.swift
[36/42] Compiling Algorithms Unzip.swift
[37/42] Compiling Algebra Sum.swift
[38/42] Compiling Algebra Zero.swift
[39/42] Emitting module Algorithms
[40/42] Compiling Algorithms Combinatorics.swift
[41/43] Compiling Algebra AlgebraAdapters.swift
[42/43] Compiling Algebra Group.swift
[45/103] Compiling DataStructures CollectionExtensions.swift
[46/103] Compiling DataStructures Homogeneity.swift
[47/103] Compiling DataStructures RangeProtocol+Algebra.swift
[48/103] Compiling DataStructures RangeProtocol.swift
[49/103] Compiling DataStructures SequenceExtensions.swift
[50/103] Compiling DataStructures SetExtensions.swift
[51/103] Compiling DataStructures AdjacencyList.swift
[52/103] Compiling DataStructures DirectedGraph.swift
[53/103] Compiling DataStructures Graph.swift
[54/111] Compiling DataStructures FloatWrapping.swift
[55/111] Compiling DataStructures Identifier.swift
[56/111] Compiling DataStructures IntegerWrapping.swift
[57/111] Compiling DataStructures Metatype.swift
[58/111] Compiling DataStructures NewType.swift
[59/111] Compiling DataStructures RandomAccessCollectionWrapping.swift
[60/111] Compiling DataStructures SequenceWrapping.swift
[61/111] Compiling DataStructures SortedCollectionWrapping.swift
[62/111] Emitting module DataStructures
[63/111] Compiling DataStructures Either.swift
[64/111] Compiling DataStructures IntervalRelation.swift
[65/111] Compiling DataStructures InvertibleEnum.swift
[66/111] Compiling DataStructures Cross.swift
[67/111] Compiling DataStructures OrderedPair.swift
[68/111] Compiling DataStructures Pair.swift
[69/111] Compiling DataStructures SwappablePair.swift
[70/111] Compiling DataStructures SymmetricPair.swift
[71/111] Compiling DataStructures UnorderedPair.swift
[72/111] Compiling DataStructures BinarySearchTree.swift
[73/111] Compiling DataStructures ReferenceTree.swift
[74/111] Compiling DataStructures ReferenceTreeProtocol.swift
[75/111] Compiling DataStructures SingleTypedTree.swift
[76/111] Compiling DataStructures Tree.Zipper.swift
[77/111] Compiling DataStructures Tree.swift
[78/111] Compiling DataStructures CollectionWrapping.swift
[79/111] Compiling DataStructures DoubleWrapping.swift
[80/111] Compiling DataStructures IntervallicFragmentable.swift
[81/111] Compiling DataStructures Measured.swift
[82/111] Compiling DataStructures Totalizable.swift
[83/111] Compiling DataStructures DictionaryProtocol.swift
[84/111] Compiling DataStructures OrderedDictionary.swift
[85/111] Compiling DataStructures SortedDictionary.swift
[86/111] Compiling DataStructures CircularArray.swift
[87/111] Compiling DataStructures LinkedList.swift
[88/111] Compiling DataStructures Matrix.swift
[89/111] Compiling DataStructures Queue.swift
[90/111] Compiling DataStructures SortedArray.swift
[91/111] Compiling DataStructures Stack.swift
[92/111] Compiling DataStructures Zip3Sequence.swift
[93/111] Compiling DataStructures ZipToLongest.swift
[94/111] Compiling DataStructures AVLTree.swift
[95/111] Compiling DataStructures BinaryHeap.swift
[96/111] Compiling DataStructures DirectedGraphProtocol.swift
[97/111] Compiling DataStructures GraphProtocol.swift
[98/111] Compiling DataStructures UndirectedGraphProtocol.swift
[99/111] Compiling DataStructures UnweightedGraphProtocol.swift
[100/111] Compiling DataStructures WeightedGraphProtocol.swift
[101/111] Compiling DataStructures ReferenceGraph.AdjacencyList.swift
[102/111] Compiling DataStructures ReferenceGraph.Edge.swift
[103/111] Compiling DataStructures ReferenceGraph.EdgeList.swift
[104/111] Compiling DataStructures ReferenceGraph.Node.swift
[105/111] Compiling DataStructures ReferenceGraph.swift
[106/111] Compiling DataStructures WeightedDirectedGraph.swift
[107/111] Compiling DataStructures WeightedGraph.swift
[108/111] Compiling DataStructures Bimap.swift
[109/111] Compiling DataStructures ContiguousSegmentCollection.swift
[110/111] Compiling DataStructures Fragmentable.swift
[111/111] Compiling DataStructures Intervallic.swift
[113/135] Compiling PlotModel PlotModel.swift
[114/135] Compiling PlotModel DefaultVerticalPointModel.swift
[115/135] Compiling PlotModel PointModel.swift
[116/135] Compiling PlotModel HorizontalPlotModel.swift
[117/136] Compiling Math Bitwise.swift
[118/136] Compiling Math CollectionExtensions.swift
[119/136] Compiling PlotModel DefaultVerticalPlotModel.Builder.swift
[120/136] Emitting module PlotModel
[121/136] Compiling PlotModel DefaultVerticalPlotModel.swift
[122/136] Compiling PlotModel VerticalPlotModel.swift
[126/138] Compiling Math Rational.swift
[127/138] Compiling Math Scale.swift
[128/138] Compiling Math Functions.swift
[129/138] Compiling Math GCDDomain.swift
[130/138] Compiling Math IntegerExtensions.swift
[131/138] Compiling Math LinearRegression.swift
[132/138] Compiling Math Power.swift
[133/138] Compiling Math PowerOfTwoSequence.swift
[134/138] Compiling Math Proximity.swift
[135/138] Compiling Math Quadratic.swift
[136/138] Emitting module Math
[137/138] Compiling Math DoubleExtensions.swift
[138/138] Compiling Math Fraction.swift
[140/173] Compiling Duration Subdivision.swift
[141/173] Compiling Duration Tempo.Context.swift
[142/174] Compiling Pitch Dyad.swift
[143/174] Compiling Pitch Frequency.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[144/174] Emitting module Pitch
/host/spi-builder-workspace/.build/checkouts/Music/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:4:17: note: multiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'
2 | static var zero: Self { get }
3 | static func + (lhs: Self, rhs: Self) -> Self
4 | static func += (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'
5 | static func - (lhs: Self, rhs: Self) -> Self
6 | static func -= (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '-=' with type '(inout Frequency, Frequency) -> ()'
7 | }
Swift.AdditiveArithmetic:2:24: note: candidate exactly matches
1 | extension AdditiveArithmetic {
2 | public static func += (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
3 | public static func -= (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
4 | }
/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 | }
/host/spi-builder-workspace/.build/checkouts/Music/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:4:17: note: multiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'
2 | static var zero: Self { get }
3 | static func + (lhs: Self, rhs: Self) -> Self
4 | static func += (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'
5 | static func - (lhs: Self, rhs: Self) -> Self
6 | static func -= (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '-=' with type '(inout NoteNumber, NoteNumber) -> ()'
7 | }
Swift.AdditiveArithmetic:2:24: note: candidate exactly matches
1 | extension AdditiveArithmetic {
2 | public static func += (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
3 | public static func -= (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
4 | }
/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 | }
[145/176] Compiling Pitch Chord.IntervalPattern.swift
[146/176] Compiling Pitch Chord.swift
[147/176] Compiling Pitch ChordDescriptor.swift
[148/176] Compiling Pitch Scale.IntervalPattern.swift
[149/176] Compiling Pitch Scale.swift
[152/176] Compiling Pitch IntervalOrdinal.swift
[153/176] Compiling Pitch IntervalQuality.swift
[155/176] Compiling Pitch IntervalDescriptor.swift
[156/176] Emitting module Duration
[159/176] Compiling Pitch Pitch.Class.swift
[160/176] Compiling Pitch Pitch.swift
[164/176] Compiling Duration DurationTree.swift
/host/spi-builder-workspace/.build/checkouts/Music/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:4:17: note: multiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'
2 | static var zero: Self { get }
3 | static func + (lhs: Self, rhs: Self) -> Self
4 | static func += (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'
5 | static func - (lhs: Self, rhs: Self) -> Self
6 | static func -= (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '-=' with type '(inout NoteNumber, NoteNumber) -> ()'
7 | }
Swift.AdditiveArithmetic:2:24: note: candidate exactly matches
1 | extension AdditiveArithmetic {
2 | public static func += (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
3 | public static func -= (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
4 | }
/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 | }
[165/176] Compiling Duration ProportionTree.swift
/host/spi-builder-workspace/.build/checkouts/Music/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:4:17: note: multiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'
2 | static var zero: Self { get }
3 | static func + (lhs: Self, rhs: Self) -> Self
4 | static func += (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'
5 | static func - (lhs: Self, rhs: Self) -> Self
6 | static func -= (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '-=' with type '(inout NoteNumber, NoteNumber) -> ()'
7 | }
Swift.AdditiveArithmetic:2:24: note: candidate exactly matches
1 | extension AdditiveArithmetic {
2 | public static func += (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
3 | public static func -= (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
4 | }
/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 | }
[166/176] Compiling Duration Rhythm.swift
/host/spi-builder-workspace/.build/checkouts/Music/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:4:17: note: multiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'
2 | static var zero: Self { get }
3 | static func + (lhs: Self, rhs: Self) -> Self
4 | static func += (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'
5 | static func - (lhs: Self, rhs: Self) -> Self
6 | static func -= (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '-=' with type '(inout NoteNumber, NoteNumber) -> ()'
7 | }
Swift.AdditiveArithmetic:2:24: note: candidate exactly matches
1 | extension AdditiveArithmetic {
2 | public static func += (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
3 | public static func -= (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
4 | }
/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 | }
[167/176] Compiling Pitch TuningSystem.swift
[168/176] Compiling Pitch UnorderedInterval.swift
/host/spi-builder-workspace/.build/checkouts/Music/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:4:17: note: multiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'
2 | static var zero: Self { get }
3 | static func + (lhs: Self, rhs: Self) -> Self
4 | static func += (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'
5 | static func - (lhs: Self, rhs: Self) -> Self
6 | static func -= (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '-=' with type '(inout Frequency, Frequency) -> ()'
7 | }
Swift.AdditiveArithmetic:2:24: note: candidate exactly matches
1 | extension AdditiveArithmetic {
2 | public static func += (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
3 | public static func -= (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
4 | }
/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 | }
/host/spi-builder-workspace/.build/checkouts/Music/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:4:17: note: multiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'
2 | static var zero: Self { get }
3 | static func + (lhs: Self, rhs: Self) -> Self
4 | static func += (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'
5 | static func - (lhs: Self, rhs: Self) -> Self
6 | static func -= (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '-=' with type '(inout Frequency, Frequency) -> ()'
7 | }
Swift.AdditiveArithmetic:2:24: note: candidate exactly matches
1 | extension AdditiveArithmetic {
2 | public static func += (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
3 | public static func -= (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
4 | }
/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 | }
[171/176] Compiling Duration ContinuationOrInstance.swift
/host/spi-builder-workspace/.build/checkouts/Music/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:4:17: note: multiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'
2 | static var zero: Self { get }
3 | static func + (lhs: Self, rhs: Self) -> Self
4 | static func += (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'
5 | static func - (lhs: Self, rhs: Self) -> Self
6 | static func -= (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '-=' with type '(inout Frequency, Frequency) -> ()'
7 | }
Swift.AdditiveArithmetic:2:24: note: candidate exactly matches
1 | extension AdditiveArithmetic {
2 | public static func += (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
3 | public static func -= (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
4 | }
/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 | }
BUILD FAILURE 6.0 linux