Build Information
Failed to build SwiftVizScale with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftviz/Scale.git
Reference: 0.8.0
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/swiftviz/Scale
* tag 0.8.0 -> FETCH_HEAD
HEAD is now at 6ce5a96 consistency cleanup
Cloned https://github.com/swiftviz/Scale.git
Revision (git rev-parse @):
6ce5a969597393cf3dc3f1444a58972da6f3761e
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/swiftviz/Scale.git at 0.8.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $workDir
https://github.com/swiftviz/Scale.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/2691] Fetching swift-docc-symbolkit
[1024/4148] Fetching swift-docc-symbolkit, swift-docc-plugin
[4149/17893] Fetching swift-docc-symbolkit, swift-docc-plugin, swift-collections
Fetched https://github.com/apple/swift-docc-symbolkit (1.02s)
Fetched https://github.com/apple/swift-docc-plugin (1.03s)
Fetched https://github.com/apple/swift-collections.git (1.04s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.34s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.44s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.36s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.0
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/31] Compiling _CollectionsUtilities _UnsafeBitSet+_Word.swift
[4/31] Compiling _CollectionsUtilities _UnsafeBitSet.swift
[5/31] Compiling _CollectionsUtilities _SortedCollection.swift
[6/31] Compiling _CollectionsUtilities _UniqueCollection.swift
[7/33] Emitting module _CollectionsUtilities
[8/33] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[9/33] Compiling _CollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[10/33] Compiling _CollectionsUtilities UnsafeRawPointer extensions.swift
[11/33] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[12/33] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[13/33] Compiling _CollectionsUtilities RandomAccessCollection+Offsets.swift
[14/33] Compiling _CollectionsUtilities Specialize.swift
[15/33] Compiling _CollectionsUtilities UInt+reversed.swift
[16/33] Compiling _CollectionsUtilities _UnsafeBitSet+Index.swift
[17/33] Compiling _CollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[18/33] Compiling _CollectionsUtilities Integer rank.swift
[19/33] Compiling _CollectionsUtilities UInt+first and last set bit.swift
[20/33] Compiling _CollectionsUtilities Debugging.swift
[21/33] Compiling _CollectionsUtilities Descriptions.swift
[23/35] Wrapping AST for _CollectionsUtilities for debugging
[25/82] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[26/198] Compiling HeapModule Heap+Descriptions.swift
[27/310] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[28/310] Compiling _RopeModule BigString+CustomStringConvertible.swift
[29/312] Emitting module HeapModule
[30/312] Compiling HeapModule Heap+Invariants.swift
[31/312] Compiling HeapModule _HeapNode.swift
[32/312] Compiling HeapModule Heap+UnsafeHandle.swift
[33/312] Compiling HeapModule Heap.swift
[35/313] Compiling _RopeModule BigString+Invariants.swift
[36/313] Compiling _RopeModule BigString+Iterators.swift
[37/313] Compiling _RopeModule BigString+Builder.swift
[38/313] Compiling _RopeModule BigString+Contents.swift
[40/314] Compiling _RopeModule BigString+Metrics.swift
[41/314] Compiling _RopeModule BigString+Summary.swift
[41/314] Wrapping AST for HeapModule for debugging
[43/314] Compiling HashTreeCollections TreeSet+Hashable.swift
[44/314] Compiling HashTreeCollections TreeSet+Sendable.swift
[45/314] Compiling HashTreeCollections TreeSet+Sequence.swift
[46/314] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[47/314] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[48/314] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[49/314] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[50/314] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[51/314] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[52/314] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[53/324] Compiling DequeModule _DequeSlot.swift
[54/324] Compiling DequeModule _UnsafeWrappedBuffer.swift
[56/324] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[57/324] Compiling _RopeModule BigString+Sequence.swift
[58/324] Compiling _RopeModule BigString+TextOutputStream.swift
[59/324] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[60/324] Compiling _RopeModule BigString+Chunk+Breaks.swift
[61/324] Compiling _RopeModule BigString+Chunk+Counts.swift
[62/331] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[63/331] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[64/331] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[65/331] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[66/331] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[67/331] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[68/331] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[69/338] Compiling _RopeModule BigString+Equatable.swift
[70/338] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[71/338] Compiling _RopeModule BigString.swift
[72/338] Compiling _RopeModule BigString+Comparable.swift
[73/338] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[74/338] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[75/338] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[76/338] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[77/338] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[78/338] Compiling BitCollections BitSet.Index.swift
[79/338] Compiling BitCollections BitSet._UnsafeHandle.swift
[80/338] Compiling _RopeModule BigString+Chunk+Description.swift
[81/338] Compiling _RopeModule BigString+Chunk+Indexing by Characters.swift
[82/338] Compiling _RopeModule BigString+Chunk+Indexing by UTF16.swift
[83/338] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[84/338] Compiling _RopeModule BigString+Chunk+Splitting.swift
[85/338] Compiling _RopeModule BigString+Chunk.swift
[86/338] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[87/338] Compiling OrderedCollections OrderedSet+SubSequence.swift
[88/338] Compiling OrderedCollections OrderedSet+Testing.swift
[89/338] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[90/338] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[91/338] Compiling OrderedCollections OrderedSet.swift
[92/338] Compiling OrderedCollections _UnsafeBitset.swift
[93/338] Compiling HashTreeCollections TreeSet+Equatable.swift
[94/338] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[95/338] Compiling HashTreeCollections TreeSet+Extras.swift
[96/338] Compiling HashTreeCollections TreeSet+Filter.swift
[97/338] Compiling OrderedCollections _HashTable.swift
[98/338] Compiling OrderedCollections _Hashtable+Header.swift
[105/338] Compiling OrderedCollections _HashTable+Bucket.swift
[106/338] Compiling OrderedCollections _HashTable+BucketIterator.swift
[107/338] Compiling OrderedCollections _HashTable+Constants.swift
[108/338] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[109/338] Compiling OrderedCollections _HashTable+Testing.swift
[110/338] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[111/338] Compiling _RopeModule BigString+Debugging.swift
[112/338] Compiling _RopeModule BigString+Index.swift
[113/338] Compiling _RopeModule BigString+Ingester.swift
[114/338] Emitting module DequeModule
[129/338] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[130/338] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[159/340] Compiling OrderedCollections OrderedSet+Sendable.swift
[159/340] Wrapping AST for DequeModule for debugging
[161/340] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[162/340] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[163/340] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[164/340] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[165/340] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[166/340] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[167/340] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[168/340] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[169/340] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[170/340] Compiling HashTreeCollections TreeSet.swift
[171/340] Emitting module BitCollections
[204/342] Wrapping AST for BitCollections for debugging
[260/351] Emitting module OrderedCollections
[263/353] Emitting module _RopeModule
[263/353] Wrapping AST for OrderedCollections for debugging
[298/353] Emitting module HashTreeCollections
[300/355] Wrapping AST for HashTreeCollections for debugging
[302/355] Compiling _RopeModule Rope+Join.swift
[303/355] Compiling _RopeModule Rope+MutatingForEach.swift
[304/355] Compiling _RopeModule Rope+Remove.swift
[305/355] Compiling _RopeModule Rope+RemoveSubrange.swift
[306/355] Compiling _RopeModule Rope+Split.swift
[307/355] Compiling _RopeModule Optional Utilities.swift
[308/355] Compiling _RopeModule String Utilities.swift
[309/355] Compiling _RopeModule String.Index+ABI.swift
[310/355] Compiling _RopeModule _CharacterRecognizer.swift
[351/357] Wrapping AST for _RopeModule for debugging
[353/359] Compiling Collections Collections.swift
[354/359] Emitting module Collections
[356/361] Wrapping AST for Collections for debugging
[358/383] Emitting module SwiftVizScale
[359/383] Compiling SwiftVizScale PointScale.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:172:30: error: expected initial value after '='
let doublePosition = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:172:29: error: consecutive statements on a line must be separated by ';'
let doublePosition = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:227:41: error: expected initial value after '='
let indexedRangeValue: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:227:40: error: consecutive statements on a line must be separated by ';'
let indexedRangeValue: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:173:13: warning: result of 'Double' initializer is unused
Double(domain.reversed().firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:175:13: warning: result of 'Double' initializer is unused
Double(domain.firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:228:71: warning: result of operator '/' is unused
(Double(upperRange) - Double(padding) - Double(location)) / rangeExtentWithoutPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:230:50: warning: result of operator '/' is unused
(Double(location) - Double(padding)) / rangeExtentWithoutPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:251:46: warning: result of operator '??' is unused
formatter.string(for: value) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:253:17: warning: expression of type 'String' is unused
String("\(value)")
^~~~~~~~~~~~~~~~~~
[360/383] Compiling SwiftVizScale ReversibleScale.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:172:30: error: expected initial value after '='
let doublePosition = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:172:29: error: consecutive statements on a line must be separated by ';'
let doublePosition = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:227:41: error: expected initial value after '='
let indexedRangeValue: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:227:40: error: consecutive statements on a line must be separated by ';'
let indexedRangeValue: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:173:13: warning: result of 'Double' initializer is unused
Double(domain.reversed().firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:175:13: warning: result of 'Double' initializer is unused
Double(domain.firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:228:71: warning: result of operator '/' is unused
(Double(upperRange) - Double(padding) - Double(location)) / rangeExtentWithoutPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:230:50: warning: result of operator '/' is unused
(Double(location) - Double(padding)) / rangeExtentWithoutPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:251:46: warning: result of operator '??' is unused
formatter.string(for: value) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:253:17: warning: expression of type 'String' is unused
String("\(value)")
^~~~~~~~~~~~~~~~~~
[361/383] Compiling SwiftVizScale Scale.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:172:30: error: expected initial value after '='
let doublePosition = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:172:29: error: consecutive statements on a line must be separated by ';'
let doublePosition = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:227:41: error: expected initial value after '='
let indexedRangeValue: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:227:40: error: consecutive statements on a line must be separated by ';'
let indexedRangeValue: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:173:13: warning: result of 'Double' initializer is unused
Double(domain.reversed().firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:175:13: warning: result of 'Double' initializer is unused
Double(domain.firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:228:71: warning: result of operator '/' is unused
(Double(upperRange) - Double(padding) - Double(location)) / rangeExtentWithoutPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:230:50: warning: result of operator '/' is unused
(Double(location) - Double(padding)) / rangeExtentWithoutPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:251:46: warning: result of operator '??' is unused
formatter.string(for: value) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:253:17: warning: expression of type 'String' is unused
String("\(value)")
^~~~~~~~~~~~~~~~~~
[362/385] Compiling SwiftVizScale DiscreteScale.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:17:13: warning: string literal is unused
"point"
^~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:19:13: warning: string literal is unused
"band"
^~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:17:13: warning: string literal is unused
"none"
^~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:19:13: warning: string literal is unused
"drop"
^~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:21:13: warning: string literal is unused
"clamp"
^~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:21:5: error: missing return in getter expected to return 'String'
}
^
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:23:5: error: missing return in getter expected to return 'String'
}
^
[363/385] Compiling SwiftVizScale DomainDataTransform.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:17:13: warning: string literal is unused
"point"
^~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:19:13: warning: string literal is unused
"band"
^~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:17:13: warning: string literal is unused
"none"
^~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:19:13: warning: string literal is unused
"drop"
^~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:21:13: warning: string literal is unused
"clamp"
^~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:21:5: error: missing return in getter expected to return 'String'
}
^
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:23:5: error: missing return in getter expected to return 'String'
}
^
[364/385] Compiling SwiftVizScale Collection+SimpleStats.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:17:13: warning: string literal is unused
"point"
^~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:19:13: warning: string literal is unused
"band"
^~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:17:13: warning: string literal is unused
"none"
^~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:19:13: warning: string literal is unused
"drop"
^~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:21:13: warning: string literal is unused
"clamp"
^~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:21:5: error: missing return in getter expected to return 'String'
}
^
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:23:5: error: missing return in getter expected to return 'String'
}
^
[365/385] Compiling SwiftVizScale SequentialScale.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:54:39: error: expected initial value after '='
let clampedX: InputType = if x < domainLower {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:54:38: error: consecutive statements on a line must be separated by ';'
let clampedX: InputType = if x < domainLower {
^
;
[366/385] Compiling SwiftVizScale Tick.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:54:39: error: expected initial value after '='
let clampedX: InputType = if x < domainLower {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:54:38: error: consecutive statements on a line must be separated by ';'
let clampedX: InputType = if x < domainLower {
^
;
[367/385] Compiling SwiftVizScale ColorInterpolator.swift
[368/385] Compiling SwiftVizScale ColorScheme.swift
[369/385] Compiling SwiftVizScale ComputedRGBInterpolator.swift
[370/385] Compiling SwiftVizScale IndexedColorInterpolator.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:30:35: error: expected initial value after '='
let lowerIndex: Int = if t == 1.0 {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:30:34: error: consecutive statements on a line must be separated by ';'
let lowerIndex: Int = if t == 1.0 {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:36: error: expected initial value after '='
let niceFraction: Double = if trendTowardsZero {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:35: error: consecutive statements on a line must be separated by ';'
let niceFraction: Double = if trendTowardsZero {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:24: error: expected initial value after '='
let fixedMin = if min == 0 {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:23: error: consecutive statements on a line must be separated by ';'
let fixedMin = if min == 0 {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:388:29: error: expected initial value after '='
let incDate: Date = if let stepSize, stepSize >= magnitude.seconds {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:388:28: error: consecutive statements on a line must be separated by ';'
let incDate: Date = if let stepSize, stepSize >= magnitude.seconds {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:18:17: warning: integer literal is unused
1
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:20:17: warning: integer literal is unused
2
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:22:17: warning: integer literal is unused
5
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:24:17: warning: integer literal is unused
10
^~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:28:17: warning: integer literal is unused
1
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:30:17: warning: integer literal is unused
2
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:32:17: warning: integer literal is unused
5
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:34:17: warning: integer literal is unused
10
^~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:187:20: warning: expression of type 'Double' is unused
Double.leastNonzeroMagnitude
~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:189:13: warning: result of 'BinaryFloatingPoint' initializer is unused
Double(min)
^ ~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:249:13: warning: integer literal is unused
0
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:251:13: warning: integer literal is unused
1
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:253:44: warning: expression of type 'Double' is unused
DateMagnitude.minutesThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:255:42: warning: expression of type 'Double' is unused
DateMagnitude.hoursThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:257:41: warning: expression of type 'Double' is unused
DateMagnitude.daysThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:259:43: warning: expression of type 'Double' is unused
DateMagnitude.monthsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:261:42: warning: expression of type 'Double' is unused
DateMagnitude.yearsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:389:18: warning: result of operator '+' is unused
self + stepSize
~~~~ ^ ~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:391:18: warning: result of operator '+' is unused
self + magnitude.seconds
~~~~ ^ ~~~~~~~~~~~~~~~~~
[371/385] Compiling SwiftVizScale LCHColorInterpolator.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:30:35: error: expected initial value after '='
let lowerIndex: Int = if t == 1.0 {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:30:34: error: consecutive statements on a line must be separated by ';'
let lowerIndex: Int = if t == 1.0 {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:36: error: expected initial value after '='
let niceFraction: Double = if trendTowardsZero {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:35: error: consecutive statements on a line must be separated by ';'
let niceFraction: Double = if trendTowardsZero {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:24: error: expected initial value after '='
let fixedMin = if min == 0 {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:23: error: consecutive statements on a line must be separated by ';'
let fixedMin = if min == 0 {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:388:29: error: expected initial value after '='
let incDate: Date = if let stepSize, stepSize >= magnitude.seconds {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:388:28: error: consecutive statements on a line must be separated by ';'
let incDate: Date = if let stepSize, stepSize >= magnitude.seconds {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:18:17: warning: integer literal is unused
1
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:20:17: warning: integer literal is unused
2
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:22:17: warning: integer literal is unused
5
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:24:17: warning: integer literal is unused
10
^~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:28:17: warning: integer literal is unused
1
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:30:17: warning: integer literal is unused
2
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:32:17: warning: integer literal is unused
5
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:34:17: warning: integer literal is unused
10
^~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:187:20: warning: expression of type 'Double' is unused
Double.leastNonzeroMagnitude
~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:189:13: warning: result of 'BinaryFloatingPoint' initializer is unused
Double(min)
^ ~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:249:13: warning: integer literal is unused
0
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:251:13: warning: integer literal is unused
1
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:253:44: warning: expression of type 'Double' is unused
DateMagnitude.minutesThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:255:42: warning: expression of type 'Double' is unused
DateMagnitude.hoursThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:257:41: warning: expression of type 'Double' is unused
DateMagnitude.daysThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:259:43: warning: expression of type 'Double' is unused
DateMagnitude.monthsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:261:42: warning: expression of type 'Double' is unused
DateMagnitude.yearsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:389:18: warning: result of operator '+' is unused
self + stepSize
~~~~ ^ ~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:391:18: warning: result of operator '+' is unused
self + magnitude.seconds
~~~~ ^ ~~~~~~~~~~~~~~~~~
[372/385] Compiling SwiftVizScale NiceValue.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:30:35: error: expected initial value after '='
let lowerIndex: Int = if t == 1.0 {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:30:34: error: consecutive statements on a line must be separated by ';'
let lowerIndex: Int = if t == 1.0 {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:36: error: expected initial value after '='
let niceFraction: Double = if trendTowardsZero {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:35: error: consecutive statements on a line must be separated by ';'
let niceFraction: Double = if trendTowardsZero {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:24: error: expected initial value after '='
let fixedMin = if min == 0 {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:23: error: consecutive statements on a line must be separated by ';'
let fixedMin = if min == 0 {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:388:29: error: expected initial value after '='
let incDate: Date = if let stepSize, stepSize >= magnitude.seconds {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:388:28: error: consecutive statements on a line must be separated by ';'
let incDate: Date = if let stepSize, stepSize >= magnitude.seconds {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:18:17: warning: integer literal is unused
1
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:20:17: warning: integer literal is unused
2
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:22:17: warning: integer literal is unused
5
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:24:17: warning: integer literal is unused
10
^~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:28:17: warning: integer literal is unused
1
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:30:17: warning: integer literal is unused
2
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:32:17: warning: integer literal is unused
5
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:34:17: warning: integer literal is unused
10
^~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:187:20: warning: expression of type 'Double' is unused
Double.leastNonzeroMagnitude
~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:189:13: warning: result of 'BinaryFloatingPoint' initializer is unused
Double(min)
^ ~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:249:13: warning: integer literal is unused
0
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:251:13: warning: integer literal is unused
1
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:253:44: warning: expression of type 'Double' is unused
DateMagnitude.minutesThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:255:42: warning: expression of type 'Double' is unused
DateMagnitude.hoursThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:257:41: warning: expression of type 'Double' is unused
DateMagnitude.daysThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:259:43: warning: expression of type 'Double' is unused
DateMagnitude.monthsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:261:42: warning: expression of type 'Double' is unused
DateMagnitude.yearsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:389:18: warning: result of operator '+' is unused
self + stepSize
~~~~ ^ ~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:391:18: warning: result of operator '+' is unused
self + magnitude.seconds
~~~~ ^ ~~~~~~~~~~~~~~~~~
[373/385] Compiling SwiftVizScale Histogram.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:57:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:57:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:92:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:92:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:146:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:146:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:198:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:198:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:236:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if higher == lastThreshold {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:236:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if higher == lastThreshold {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:58:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: largestValue, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:60:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + Value(niceBinSize))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:93:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: largestValue, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:95:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + Value(niceBinSize))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:147:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: upperBound, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:149:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + stride)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:199:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: upperBound, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:201:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + stride)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:237:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: lower, upperBound: higher, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:239:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: lower, upperBound: higher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:52:35: warning: result of operator '&&' is unused
element >= lowerBound && element <= upperBound
~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:54:35: warning: result of operator '&&' is unused
element >= lowerBound && element < upperBound
~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:63:13: warning: result of 'String' initializer is unused
String(describing: lowerBound ... upperBound)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:65:13: warning: result of 'String' initializer is unused
String(describing: lowerBound ..< upperBound)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[374/385] Compiling SwiftVizScale HistogramBinRange.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:57:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:57:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:92:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:92:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:146:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:146:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:198:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:198:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:236:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if higher == lastThreshold {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:236:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if higher == lastThreshold {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:58:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: largestValue, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:60:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + Value(niceBinSize))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:93:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: largestValue, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:95:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + Value(niceBinSize))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:147:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: upperBound, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:149:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + stride)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:199:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: upperBound, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:201:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + stride)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:237:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: lower, upperBound: higher, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:239:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: lower, upperBound: higher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:52:35: warning: result of operator '&&' is unused
element >= lowerBound && element <= upperBound
~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:54:35: warning: result of operator '&&' is unused
element >= lowerBound && element < upperBound
~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:63:13: warning: result of 'String' initializer is unused
String(describing: lowerBound ... upperBound)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:65:13: warning: result of 'String' initializer is unused
String(describing: lowerBound ..< upperBound)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[375/385] Compiling SwiftVizScale Interpolation.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:57:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:57:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:92:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:92:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:146:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:146:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:198:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:198:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:236:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if higher == lastThreshold {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:236:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if higher == lastThreshold {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:58:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: largestValue, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:60:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + Value(niceBinSize))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:93:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: largestValue, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:95:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + Value(niceBinSize))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:147:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: upperBound, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:149:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + stride)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:199:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: upperBound, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:201:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + stride)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:237:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: lower, upperBound: higher, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:239:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: lower, upperBound: higher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:52:35: warning: result of operator '&&' is unused
element >= lowerBound && element <= upperBound
~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:54:35: warning: result of operator '&&' is unused
element >= lowerBound && element < upperBound
~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:63:13: warning: result of 'String' initializer is unused
String(describing: lowerBound ... upperBound)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:65:13: warning: result of 'String' initializer is unused
String(describing: lowerBound ..< upperBound)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[376/385] Compiling SwiftVizScale BandScale.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:30: error: expected initial value after '='
let doublePosition = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:29: error: consecutive statements on a line must be separated by ';'
let doublePosition = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:41: error: expected initial value after '='
let indexedRangeValue: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:40: error: consecutive statements on a line must be separated by ';'
let indexedRangeValue: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:116:51: error: expected initial value after '='
let targetForInterpolation: CGFloat = if hue1 > hue2 {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:116:50: error: consecutive statements on a line must be separated by ';'
let targetForInterpolation: CGFloat = if hue1 > hue2 {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:190:13: warning: result of 'Double' initializer is unused
Double(domain.reversed().firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:192:13: warning: result of 'Double' initializer is unused
Double(domain.firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:246:76: warning: result of operator '/' is unused
(Double(upperRange) - Double(paddingOuter) - Double(location)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:248:55: warning: result of operator '/' is unused
(Double(location) - Double(paddingOuter)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:309:46: warning: result of operator '??' is unused
formatter.string(for: value) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:311:17: warning: expression of type 'String' is unused
String("\(value)")
^~~~~~~~~~~~~~~~~~
[377/385] Compiling SwiftVizScale CGColor+hex.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:30: error: expected initial value after '='
let doublePosition = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:29: error: consecutive statements on a line must be separated by ';'
let doublePosition = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:41: error: expected initial value after '='
let indexedRangeValue: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:40: error: consecutive statements on a line must be separated by ';'
let indexedRangeValue: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:116:51: error: expected initial value after '='
let targetForInterpolation: CGFloat = if hue1 > hue2 {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:116:50: error: consecutive statements on a line must be separated by ';'
let targetForInterpolation: CGFloat = if hue1 > hue2 {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:190:13: warning: result of 'Double' initializer is unused
Double(domain.reversed().firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:192:13: warning: result of 'Double' initializer is unused
Double(domain.firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:246:76: warning: result of operator '/' is unused
(Double(upperRange) - Double(paddingOuter) - Double(location)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:248:55: warning: result of operator '/' is unused
(Double(location) - Double(paddingOuter)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:309:46: warning: result of operator '??' is unused
formatter.string(for: value) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:311:17: warning: expression of type 'String' is unused
String("\(value)")
^~~~~~~~~~~~~~~~~~
[378/385] Compiling SwiftVizScale LCH.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:30: error: expected initial value after '='
let doublePosition = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:29: error: consecutive statements on a line must be separated by ';'
let doublePosition = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:41: error: expected initial value after '='
let indexedRangeValue: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:40: error: consecutive statements on a line must be separated by ';'
let indexedRangeValue: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:116:51: error: expected initial value after '='
let targetForInterpolation: CGFloat = if hue1 > hue2 {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:116:50: error: consecutive statements on a line must be separated by ';'
let targetForInterpolation: CGFloat = if hue1 > hue2 {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:190:13: warning: result of 'Double' initializer is unused
Double(domain.reversed().firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:192:13: warning: result of 'Double' initializer is unused
Double(domain.firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:246:76: warning: result of operator '/' is unused
(Double(upperRange) - Double(paddingOuter) - Double(location)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:248:55: warning: result of operator '/' is unused
(Double(location) - Double(paddingOuter)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:309:46: warning: result of operator '??' is unused
formatter.string(for: value) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:311:17: warning: expression of type 'String' is unused
String("\(value)")
^~~~~~~~~~~~~~~~~~
[379/385] Compiling SwiftVizScale ContinuousScale.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:42: error: expected initial value after '='
let valueMappedToRange: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:41: error: consecutive statements on a line must be separated by ';'
let valueMappedToRange: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:502:44: error: expected initial value after '='
let normalizedRangeValue: Double = if case .radial = scaleType {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:502:43: error: consecutive statements on a line must be separated by ';'
let normalizedRangeValue: Double = if case .radial = scaleType {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:47: error: expected initial value after '='
let linearInterpolatedValue: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:46: error: consecutive statements on a line must be separated by ';'
let linearInterpolatedValue: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:660:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:660:38: error: consecutive statements on a line must be separated by ';'
let tickValues: [InputType] = if scaleType == .log {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:685:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:685:38: error: consecutive statements on a line must be separated by ';'
let tickValues: [InputType] = if scaleType == .log {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:702:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:702:38: error: consecutive statements on a line must be separated by ';'
let tickValues: [InputType] = if scaleType == .log {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:434:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedDomainValue, lower: Double(rangeHigher), higher: Double(rangeLower))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:436:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedDomainValue, lower: Double(rangeLower), higher: Double(rangeHigher))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:503:13: warning: result of call to 'normalize(_:lower:higher:)' is unused
normalize(sqrt(Double(rangeValue)), lower: Double(rangeLower), higher: Double(rangeHigher))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:505:13: warning: result of call to 'normalize(_:lower:higher:)' is unused
normalize(Double(rangeValue), lower: Double(rangeLower), higher: Double(rangeHigher))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:511:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedRangeValue, lower: transformedDomainHigher, higher: transformedDomainLower)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:513:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedRangeValue, lower: transformedDomainLower, higher: transformedDomainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:661:23: warning: result of call to 'logRangeOfNiceValues(min:max:)' is unused
InputType.logRangeOfNiceValues(min: domainLower, max: domainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:663:23: warning: result of call to 'rangeOfNiceValues(min:max:ofSize:)' is unused
InputType.rangeOfNiceValues(min: domainLower, max: domainHigher, ofSize: desiredTicks)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:686:23: warning: result of call to 'logRangeOfNiceValues(min:max:)' is unused
InputType.logRangeOfNiceValues(min: domainLower, max: domainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:688:23: warning: result of call to 'rangeOfNiceValues(min:max:ofSize:)' is unused
InputType.rangeOfNiceValues(min: domainLower, max: domainHigher, ofSize: desiredTicks)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:703:23: warning: result of call to 'logRangeOfNiceValues(min:max:)' is unused
InputType.logRangeOfNiceValues(min: domainLower, max: domainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:705:23: warning: result of call to 'rangeOfNiceValues(min:max:ofSize:)' is unused
InputType.rangeOfNiceValues(min: domainLower, max: domainHigher, ofSize: desiredTicks)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:709:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:711:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:21:13: warning: string literal is unused
"linear"
^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:23:13: warning: string literal is unused
"log"
^~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:25:13: warning: string literal is unused
"power(\(exp))"
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:27:13: warning: string literal is unused
"radial"
^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:15: error: ambiguous use of 'log10'
{ log10($0) }
^
Foundation.log10:1:13: note: found this candidate
public func log10(_ x: CGFloat) -> CGFloat
^
Glibc.log10:1:13: note: found this candidate
public func log10(_ x: Float) -> Float
^
Glibc.log10:1:13: note: found this candidate
public func log10(_ x: Float80) -> Float80
^
SwiftGlibc.log10:1:13: note: found this candidate
public func log10(_ __x: Double) -> Double
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:13: error: closure expression is unused
{ log10($0) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: closure expression is unused
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:38:13: error: closure expression is unused
{ pow($0, exp) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:45:15: error: ambiguous use of 'pow'
{ pow(10, $0) }
^
Foundation.pow:1:13: note: found this candidate
public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
^
Foundation.pow:1:13: note: found this candidate
public func pow(_ x: Decimal, _ y: Int) -> Decimal
^
Glibc.pow:1:13: note: found this candidate
public func pow(_ lhs: Float, _ rhs: Float) -> Float
^
Glibc.pow:1:13: note: found this candidate
public func pow(_ lhs: Float80, _ rhs: Float80) -> Float80
^
SwiftGlibc.pow:1:13: note: found this candidate
public func pow(_ __x: Double, _ __y: Double) -> Double
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:45:13: error: closure expression is unused
{ pow(10, $0) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: closure expression is unused
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:49:13: error: closure expression is unused
{ pow($0, 1.0 / exp) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:288:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:290:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
[380/385] Compiling SwiftVizScale ContinuousScaleType.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:42: error: expected initial value after '='
let valueMappedToRange: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:41: error: consecutive statements on a line must be separated by ';'
let valueMappedToRange: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:502:44: error: expected initial value after '='
let normalizedRangeValue: Double = if case .radial = scaleType {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:502:43: error: consecutive statements on a line must be separated by ';'
let normalizedRangeValue: Double = if case .radial = scaleType {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:47: error: expected initial value after '='
let linearInterpolatedValue: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:46: error: consecutive statements on a line must be separated by ';'
let linearInterpolatedValue: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:660:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:660:38: error: consecutive statements on a line must be separated by ';'
let tickValues: [InputType] = if scaleType == .log {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:685:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:685:38: error: consecutive statements on a line must be separated by ';'
let tickValues: [InputType] = if scaleType == .log {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:702:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:702:38: error: consecutive statements on a line must be separated by ';'
let tickValues: [InputType] = if scaleType == .log {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:434:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedDomainValue, lower: Double(rangeHigher), higher: Double(rangeLower))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:436:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedDomainValue, lower: Double(rangeLower), higher: Double(rangeHigher))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:503:13: warning: result of call to 'normalize(_:lower:higher:)' is unused
normalize(sqrt(Double(rangeValue)), lower: Double(rangeLower), higher: Double(rangeHigher))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:505:13: warning: result of call to 'normalize(_:lower:higher:)' is unused
normalize(Double(rangeValue), lower: Double(rangeLower), higher: Double(rangeHigher))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:511:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedRangeValue, lower: transformedDomainHigher, higher: transformedDomainLower)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:513:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedRangeValue, lower: transformedDomainLower, higher: transformedDomainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:661:23: warning: result of call to 'logRangeOfNiceValues(min:max:)' is unused
InputType.logRangeOfNiceValues(min: domainLower, max: domainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:663:23: warning: result of call to 'rangeOfNiceValues(min:max:ofSize:)' is unused
InputType.rangeOfNiceValues(min: domainLower, max: domainHigher, ofSize: desiredTicks)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:686:23: warning: result of call to 'logRangeOfNiceValues(min:max:)' is unused
InputType.logRangeOfNiceValues(min: domainLower, max: domainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:688:23: warning: result of call to 'rangeOfNiceValues(min:max:ofSize:)' is unused
InputType.rangeOfNiceValues(min: domainLower, max: domainHigher, ofSize: desiredTicks)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:703:23: warning: result of call to 'logRangeOfNiceValues(min:max:)' is unused
InputType.logRangeOfNiceValues(min: domainLower, max: domainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:705:23: warning: result of call to 'rangeOfNiceValues(min:max:ofSize:)' is unused
InputType.rangeOfNiceValues(min: domainLower, max: domainHigher, ofSize: desiredTicks)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:709:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:711:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:21:13: warning: string literal is unused
"linear"
^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:23:13: warning: string literal is unused
"log"
^~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:25:13: warning: string literal is unused
"power(\(exp))"
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:27:13: warning: string literal is unused
"radial"
^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:15: error: ambiguous use of 'log10'
{ log10($0) }
^
Foundation.log10:1:13: note: found this candidate
public func log10(_ x: CGFloat) -> CGFloat
^
Glibc.log10:1:13: note: found this candidate
public func log10(_ x: Float) -> Float
^
Glibc.log10:1:13: note: found this candidate
public func log10(_ x: Float80) -> Float80
^
SwiftGlibc.log10:1:13: note: found this candidate
public func log10(_ __x: Double) -> Double
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:13: error: closure expression is unused
{ log10($0) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: closure expression is unused
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:38:13: error: closure expression is unused
{ pow($0, exp) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:45:15: error: ambiguous use of 'pow'
{ pow(10, $0) }
^
Foundation.pow:1:13: note: found this candidate
public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
^
Foundation.pow:1:13: note: found this candidate
public func pow(_ x: Decimal, _ y: Int) -> Decimal
^
Glibc.pow:1:13: note: found this candidate
public func pow(_ lhs: Float, _ rhs: Float) -> Float
^
Glibc.pow:1:13: note: found this candidate
public func pow(_ lhs: Float80, _ rhs: Float80) -> Float80
^
SwiftGlibc.pow:1:13: note: found this candidate
public func pow(_ __x: Double, _ __y: Double) -> Double
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:45:13: error: closure expression is unused
{ pow(10, $0) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: closure expression is unused
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:49:13: error: closure expression is unused
{ pow($0, 1.0 / exp) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:288:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:290:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
[381/385] Compiling SwiftVizScale DateScale.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:42: error: expected initial value after '='
let valueMappedToRange: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:41: error: consecutive statements on a line must be separated by ';'
let valueMappedToRange: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:502:44: error: expected initial value after '='
let normalizedRangeValue: Double = if case .radial = scaleType {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:502:43: error: consecutive statements on a line must be separated by ';'
let normalizedRangeValue: Double = if case .radial = scaleType {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:47: error: expected initial value after '='
let linearInterpolatedValue: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:46: error: consecutive statements on a line must be separated by ';'
let linearInterpolatedValue: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:660:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:660:38: error: consecutive statements on a line must be separated by ';'
let tickValues: [InputType] = if scaleType == .log {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:685:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:685:38: error: consecutive statements on a line must be separated by ';'
let tickValues: [InputType] = if scaleType == .log {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:702:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:702:38: error: consecutive statements on a line must be separated by ';'
let tickValues: [InputType] = if scaleType == .log {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:434:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedDomainValue, lower: Double(rangeHigher), higher: Double(rangeLower))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:436:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedDomainValue, lower: Double(rangeLower), higher: Double(rangeHigher))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:503:13: warning: result of call to 'normalize(_:lower:higher:)' is unused
normalize(sqrt(Double(rangeValue)), lower: Double(rangeLower), higher: Double(rangeHigher))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:505:13: warning: result of call to 'normalize(_:lower:higher:)' is unused
normalize(Double(rangeValue), lower: Double(rangeLower), higher: Double(rangeHigher))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:511:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedRangeValue, lower: transformedDomainHigher, higher: transformedDomainLower)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:513:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedRangeValue, lower: transformedDomainLower, higher: transformedDomainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:661:23: warning: result of call to 'logRangeOfNiceValues(min:max:)' is unused
InputType.logRangeOfNiceValues(min: domainLower, max: domainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:663:23: warning: result of call to 'rangeOfNiceValues(min:max:ofSize:)' is unused
InputType.rangeOfNiceValues(min: domainLower, max: domainHigher, ofSize: desiredTicks)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:686:23: warning: result of call to 'logRangeOfNiceValues(min:max:)' is unused
InputType.logRangeOfNiceValues(min: domainLower, max: domainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:688:23: warning: result of call to 'rangeOfNiceValues(min:max:ofSize:)' is unused
InputType.rangeOfNiceValues(min: domainLower, max: domainHigher, ofSize: desiredTicks)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:703:23: warning: result of call to 'logRangeOfNiceValues(min:max:)' is unused
InputType.logRangeOfNiceValues(min: domainLower, max: domainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:705:23: warning: result of call to 'rangeOfNiceValues(min:max:ofSize:)' is unused
InputType.rangeOfNiceValues(min: domainLower, max: domainHigher, ofSize: desiredTicks)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:709:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:711:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:21:13: warning: string literal is unused
"linear"
^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:23:13: warning: string literal is unused
"log"
^~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:25:13: warning: string literal is unused
"power(\(exp))"
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:27:13: warning: string literal is unused
"radial"
^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:15: error: ambiguous use of 'log10'
{ log10($0) }
^
Foundation.log10:1:13: note: found this candidate
public func log10(_ x: CGFloat) -> CGFloat
^
Glibc.log10:1:13: note: found this candidate
public func log10(_ x: Float) -> Float
^
Glibc.log10:1:13: note: found this candidate
public func log10(_ x: Float80) -> Float80
^
SwiftGlibc.log10:1:13: note: found this candidate
public func log10(_ __x: Double) -> Double
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:13: error: closure expression is unused
{ log10($0) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: closure expression is unused
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:38:13: error: closure expression is unused
{ pow($0, exp) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:45:15: error: ambiguous use of 'pow'
{ pow(10, $0) }
^
Foundation.pow:1:13: note: found this candidate
public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
^
Foundation.pow:1:13: note: found this candidate
public func pow(_ x: Decimal, _ y: Int) -> Decimal
^
Glibc.pow:1:13: note: found this candidate
public func pow(_ lhs: Float, _ rhs: Float) -> Float
^
Glibc.pow:1:13: note: found this candidate
public func pow(_ lhs: Float80, _ rhs: Float80) -> Float80
^
SwiftGlibc.pow:1:13: note: found this candidate
public func pow(_ __x: Double, _ __y: Double) -> Double
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:45:13: error: closure expression is unused
{ pow(10, $0) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: closure expression is unused
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:49:13: error: closure expression is unused
{ pow($0, 1.0 / exp) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:288:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:290:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/25] Compiling SwiftVizScale IndexedColorInterpolator.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:30:35: error: expected initial value after '='
let lowerIndex: Int = if t == 1.0 {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:30:34: error: consecutive statements on a line must be separated by ';'
let lowerIndex: Int = if t == 1.0 {
^
;
[4/25] Compiling SwiftVizScale LCHColorInterpolator.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:30:35: error: expected initial value after '='
let lowerIndex: Int = if t == 1.0 {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:30:34: error: consecutive statements on a line must be separated by ';'
let lowerIndex: Int = if t == 1.0 {
^
;
[5/27] Compiling SwiftVizScale SequentialScale.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:54:39: error: expected initial value after '='
let clampedX: InputType = if x < domainLower {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:54:38: error: consecutive statements on a line must be separated by ';'
let clampedX: InputType = if x < domainLower {
^
;
[6/27] Compiling SwiftVizScale Tick.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:54:39: error: expected initial value after '='
let clampedX: InputType = if x < domainLower {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:54:38: error: consecutive statements on a line must be separated by ';'
let clampedX: InputType = if x < domainLower {
^
;
[7/27] Emitting module SwiftVizScale
[8/27] Compiling SwiftVizScale BandScale.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:30: error: expected initial value after '='
let doublePosition = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:29: error: consecutive statements on a line must be separated by ';'
let doublePosition = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:41: error: expected initial value after '='
let indexedRangeValue: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:40: error: consecutive statements on a line must be separated by ';'
let indexedRangeValue: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:116:51: error: expected initial value after '='
let targetForInterpolation: CGFloat = if hue1 > hue2 {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:116:50: error: consecutive statements on a line must be separated by ';'
let targetForInterpolation: CGFloat = if hue1 > hue2 {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:190:13: warning: result of 'Double' initializer is unused
Double(domain.reversed().firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:192:13: warning: result of 'Double' initializer is unused
Double(domain.firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:246:76: warning: result of operator '/' is unused
(Double(upperRange) - Double(paddingOuter) - Double(location)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:248:55: warning: result of operator '/' is unused
(Double(location) - Double(paddingOuter)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:309:46: warning: result of operator '??' is unused
formatter.string(for: value) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:311:17: warning: expression of type 'String' is unused
String("\(value)")
^~~~~~~~~~~~~~~~~~
[9/27] Compiling SwiftVizScale CGColor+hex.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:30: error: expected initial value after '='
let doublePosition = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:29: error: consecutive statements on a line must be separated by ';'
let doublePosition = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:41: error: expected initial value after '='
let indexedRangeValue: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:40: error: consecutive statements on a line must be separated by ';'
let indexedRangeValue: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:116:51: error: expected initial value after '='
let targetForInterpolation: CGFloat = if hue1 > hue2 {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:116:50: error: consecutive statements on a line must be separated by ';'
let targetForInterpolation: CGFloat = if hue1 > hue2 {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:190:13: warning: result of 'Double' initializer is unused
Double(domain.reversed().firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:192:13: warning: result of 'Double' initializer is unused
Double(domain.firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:246:76: warning: result of operator '/' is unused
(Double(upperRange) - Double(paddingOuter) - Double(location)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:248:55: warning: result of operator '/' is unused
(Double(location) - Double(paddingOuter)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:309:46: warning: result of operator '??' is unused
formatter.string(for: value) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:311:17: warning: expression of type 'String' is unused
String("\(value)")
^~~~~~~~~~~~~~~~~~
[10/27] Compiling SwiftVizScale LCH.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:30: error: expected initial value after '='
let doublePosition = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:29: error: consecutive statements on a line must be separated by ';'
let doublePosition = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:41: error: expected initial value after '='
let indexedRangeValue: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:40: error: consecutive statements on a line must be separated by ';'
let indexedRangeValue: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:116:51: error: expected initial value after '='
let targetForInterpolation: CGFloat = if hue1 > hue2 {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:116:50: error: consecutive statements on a line must be separated by ';'
let targetForInterpolation: CGFloat = if hue1 > hue2 {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:190:13: warning: result of 'Double' initializer is unused
Double(domain.reversed().firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:192:13: warning: result of 'Double' initializer is unused
Double(domain.firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:246:76: warning: result of operator '/' is unused
(Double(upperRange) - Double(paddingOuter) - Double(location)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:248:55: warning: result of operator '/' is unused
(Double(location) - Double(paddingOuter)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:309:46: warning: result of operator '??' is unused
formatter.string(for: value) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:311:17: warning: expression of type 'String' is unused
String("\(value)")
^~~~~~~~~~~~~~~~~~
[11/27] Compiling SwiftVizScale ReversibleScale.swift
[12/27] Compiling SwiftVizScale Scale.swift
[13/27] Compiling SwiftVizScale Histogram.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:57:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:57:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:92:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:92:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:146:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:146:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:198:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:198:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:236:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if higher == lastThreshold {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:236:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if higher == lastThreshold {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:58:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: largestValue, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:60:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + Value(niceBinSize))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:93:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: largestValue, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:95:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + Value(niceBinSize))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:147:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: upperBound, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:149:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + stride)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:199:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: upperBound, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:201:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + stride)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:237:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: lower, upperBound: higher, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:239:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: lower, upperBound: higher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:52:35: warning: result of operator '&&' is unused
element >= lowerBound && element <= upperBound
~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:54:35: warning: result of operator '&&' is unused
element >= lowerBound && element < upperBound
~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:63:13: warning: result of 'String' initializer is unused
String(describing: lowerBound ... upperBound)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:65:13: warning: result of 'String' initializer is unused
String(describing: lowerBound ..< upperBound)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[14/27] Compiling SwiftVizScale HistogramBinRange.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:57:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:57:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:92:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:92:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:146:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:146:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:198:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:198:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:236:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if higher == lastThreshold {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:236:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if higher == lastThreshold {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:58:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: largestValue, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:60:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + Value(niceBinSize))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:93:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: largestValue, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:95:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + Value(niceBinSize))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:147:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: upperBound, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:149:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + stride)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:199:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: upperBound, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:201:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + stride)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:237:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: lower, upperBound: higher, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:239:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: lower, upperBound: higher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:52:35: warning: result of operator '&&' is unused
element >= lowerBound && element <= upperBound
~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:54:35: warning: result of operator '&&' is unused
element >= lowerBound && element < upperBound
~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:63:13: warning: result of 'String' initializer is unused
String(describing: lowerBound ... upperBound)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:65:13: warning: result of 'String' initializer is unused
String(describing: lowerBound ..< upperBound)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[15/27] Compiling SwiftVizScale Interpolation.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:57:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:57:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:92:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:92:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:146:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:146:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:198:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:198:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:236:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if higher == lastThreshold {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:236:48: error: consecutive statements on a line must be separated by ';'
let bin: HistogramBinRange<Value> = if higher == lastThreshold {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:58:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: largestValue, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:60:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + Value(niceBinSize))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:93:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: largestValue, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:95:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + Value(niceBinSize))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:147:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: upperBound, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:149:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + stride)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:199:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: upperBound, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:201:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + stride)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:237:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: lower, upperBound: higher, _final: true)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:239:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: lower, upperBound: higher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:52:35: warning: result of operator '&&' is unused
element >= lowerBound && element <= upperBound
~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:54:35: warning: result of operator '&&' is unused
element >= lowerBound && element < upperBound
~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:63:13: warning: result of 'String' initializer is unused
String(describing: lowerBound ... upperBound)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:65:13: warning: result of 'String' initializer is unused
String(describing: lowerBound ..< upperBound)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[16/27] Compiling SwiftVizScale ContinuousScale.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:42: error: expected initial value after '='
let valueMappedToRange: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:41: error: consecutive statements on a line must be separated by ';'
let valueMappedToRange: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:502:44: error: expected initial value after '='
let normalizedRangeValue: Double = if case .radial = scaleType {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:502:43: error: consecutive statements on a line must be separated by ';'
let normalizedRangeValue: Double = if case .radial = scaleType {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:47: error: expected initial value after '='
let linearInterpolatedValue: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:46: error: consecutive statements on a line must be separated by ';'
let linearInterpolatedValue: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:660:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:660:38: error: consecutive statements on a line must be separated by ';'
let tickValues: [InputType] = if scaleType == .log {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:685:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:685:38: error: consecutive statements on a line must be separated by ';'
let tickValues: [InputType] = if scaleType == .log {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:702:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:702:38: error: consecutive statements on a line must be separated by ';'
let tickValues: [InputType] = if scaleType == .log {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:434:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedDomainValue, lower: Double(rangeHigher), higher: Double(rangeLower))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:436:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedDomainValue, lower: Double(rangeLower), higher: Double(rangeHigher))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:503:13: warning: result of call to 'normalize(_:lower:higher:)' is unused
normalize(sqrt(Double(rangeValue)), lower: Double(rangeLower), higher: Double(rangeHigher))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:505:13: warning: result of call to 'normalize(_:lower:higher:)' is unused
normalize(Double(rangeValue), lower: Double(rangeLower), higher: Double(rangeHigher))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:511:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedRangeValue, lower: transformedDomainHigher, higher: transformedDomainLower)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:513:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedRangeValue, lower: transformedDomainLower, higher: transformedDomainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:661:23: warning: result of call to 'logRangeOfNiceValues(min:max:)' is unused
InputType.logRangeOfNiceValues(min: domainLower, max: domainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:663:23: warning: result of call to 'rangeOfNiceValues(min:max:ofSize:)' is unused
InputType.rangeOfNiceValues(min: domainLower, max: domainHigher, ofSize: desiredTicks)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:686:23: warning: result of call to 'logRangeOfNiceValues(min:max:)' is unused
InputType.logRangeOfNiceValues(min: domainLower, max: domainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:688:23: warning: result of call to 'rangeOfNiceValues(min:max:ofSize:)' is unused
InputType.rangeOfNiceValues(min: domainLower, max: domainHigher, ofSize: desiredTicks)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:703:23: warning: result of call to 'logRangeOfNiceValues(min:max:)' is unused
InputType.logRangeOfNiceValues(min: domainLower, max: domainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:705:23: warning: result of call to 'rangeOfNiceValues(min:max:ofSize:)' is unused
InputType.rangeOfNiceValues(min: domainLower, max: domainHigher, ofSize: desiredTicks)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:709:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:711:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:21:13: warning: string literal is unused
"linear"
^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:23:13: warning: string literal is unused
"log"
^~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:25:13: warning: string literal is unused
"power(\(exp))"
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:27:13: warning: string literal is unused
"radial"
^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:15: error: ambiguous use of 'log10'
{ log10($0) }
^
Foundation.log10:1:13: note: found this candidate
public func log10(_ x: CGFloat) -> CGFloat
^
Glibc.log10:1:13: note: found this candidate
public func log10(_ x: Float) -> Float
^
Glibc.log10:1:13: note: found this candidate
public func log10(_ x: Float80) -> Float80
^
SwiftGlibc.log10:1:13: note: found this candidate
public func log10(_ __x: Double) -> Double
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:13: error: closure expression is unused
{ log10($0) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: closure expression is unused
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:38:13: error: closure expression is unused
{ pow($0, exp) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:45:15: error: ambiguous use of 'pow'
{ pow(10, $0) }
^
Foundation.pow:1:13: note: found this candidate
public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
^
Foundation.pow:1:13: note: found this candidate
public func pow(_ x: Decimal, _ y: Int) -> Decimal
^
Glibc.pow:1:13: note: found this candidate
public func pow(_ lhs: Float, _ rhs: Float) -> Float
^
Glibc.pow:1:13: note: found this candidate
public func pow(_ lhs: Float80, _ rhs: Float80) -> Float80
^
SwiftGlibc.pow:1:13: note: found this candidate
public func pow(_ __x: Double, _ __y: Double) -> Double
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:45:13: error: closure expression is unused
{ pow(10, $0) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: closure expression is unused
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:49:13: error: closure expression is unused
{ pow($0, 1.0 / exp) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:288:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:290:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
[17/27] Compiling SwiftVizScale ContinuousScaleType.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:42: error: expected initial value after '='
let valueMappedToRange: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:41: error: consecutive statements on a line must be separated by ';'
let valueMappedToRange: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:502:44: error: expected initial value after '='
let normalizedRangeValue: Double = if case .radial = scaleType {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:502:43: error: consecutive statements on a line must be separated by ';'
let normalizedRangeValue: Double = if case .radial = scaleType {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:47: error: expected initial value after '='
let linearInterpolatedValue: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:46: error: consecutive statements on a line must be separated by ';'
let linearInterpolatedValue: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:660:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:660:38: error: consecutive statements on a line must be separated by ';'
let tickValues: [InputType] = if scaleType == .log {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:685:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:685:38: error: consecutive statements on a line must be separated by ';'
let tickValues: [InputType] = if scaleType == .log {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:702:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:702:38: error: consecutive statements on a line must be separated by ';'
let tickValues: [InputType] = if scaleType == .log {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:434:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedDomainValue, lower: Double(rangeHigher), higher: Double(rangeLower))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:436:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedDomainValue, lower: Double(rangeLower), higher: Double(rangeHigher))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:503:13: warning: result of call to 'normalize(_:lower:higher:)' is unused
normalize(sqrt(Double(rangeValue)), lower: Double(rangeLower), higher: Double(rangeHigher))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:505:13: warning: result of call to 'normalize(_:lower:higher:)' is unused
normalize(Double(rangeValue), lower: Double(rangeLower), higher: Double(rangeHigher))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:511:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedRangeValue, lower: transformedDomainHigher, higher: transformedDomainLower)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:513:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedRangeValue, lower: transformedDomainLower, higher: transformedDomainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:661:23: warning: result of call to 'logRangeOfNiceValues(min:max:)' is unused
InputType.logRangeOfNiceValues(min: domainLower, max: domainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:663:23: warning: result of call to 'rangeOfNiceValues(min:max:ofSize:)' is unused
InputType.rangeOfNiceValues(min: domainLower, max: domainHigher, ofSize: desiredTicks)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:686:23: warning: result of call to 'logRangeOfNiceValues(min:max:)' is unused
InputType.logRangeOfNiceValues(min: domainLower, max: domainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:688:23: warning: result of call to 'rangeOfNiceValues(min:max:ofSize:)' is unused
InputType.rangeOfNiceValues(min: domainLower, max: domainHigher, ofSize: desiredTicks)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:703:23: warning: result of call to 'logRangeOfNiceValues(min:max:)' is unused
InputType.logRangeOfNiceValues(min: domainLower, max: domainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:705:23: warning: result of call to 'rangeOfNiceValues(min:max:ofSize:)' is unused
InputType.rangeOfNiceValues(min: domainLower, max: domainHigher, ofSize: desiredTicks)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:709:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:711:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:21:13: warning: string literal is unused
"linear"
^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:23:13: warning: string literal is unused
"log"
^~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:25:13: warning: string literal is unused
"power(\(exp))"
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:27:13: warning: string literal is unused
"radial"
^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:15: error: ambiguous use of 'log10'
{ log10($0) }
^
Foundation.log10:1:13: note: found this candidate
public func log10(_ x: CGFloat) -> CGFloat
^
Glibc.log10:1:13: note: found this candidate
public func log10(_ x: Float) -> Float
^
Glibc.log10:1:13: note: found this candidate
public func log10(_ x: Float80) -> Float80
^
SwiftGlibc.log10:1:13: note: found this candidate
public func log10(_ __x: Double) -> Double
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:13: error: closure expression is unused
{ log10($0) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: closure expression is unused
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:38:13: error: closure expression is unused
{ pow($0, exp) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:45:15: error: ambiguous use of 'pow'
{ pow(10, $0) }
^
Foundation.pow:1:13: note: found this candidate
public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
^
Foundation.pow:1:13: note: found this candidate
public func pow(_ x: Decimal, _ y: Int) -> Decimal
^
Glibc.pow:1:13: note: found this candidate
public func pow(_ lhs: Float, _ rhs: Float) -> Float
^
Glibc.pow:1:13: note: found this candidate
public func pow(_ lhs: Float80, _ rhs: Float80) -> Float80
^
SwiftGlibc.pow:1:13: note: found this candidate
public func pow(_ __x: Double, _ __y: Double) -> Double
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:45:13: error: closure expression is unused
{ pow(10, $0) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: closure expression is unused
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:49:13: error: closure expression is unused
{ pow($0, 1.0 / exp) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:288:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:290:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
[18/27] Compiling SwiftVizScale DateScale.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:42: error: expected initial value after '='
let valueMappedToRange: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:41: error: consecutive statements on a line must be separated by ';'
let valueMappedToRange: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:502:44: error: expected initial value after '='
let normalizedRangeValue: Double = if case .radial = scaleType {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:502:43: error: consecutive statements on a line must be separated by ';'
let normalizedRangeValue: Double = if case .radial = scaleType {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:47: error: expected initial value after '='
let linearInterpolatedValue: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:46: error: consecutive statements on a line must be separated by ';'
let linearInterpolatedValue: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:660:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:660:38: error: consecutive statements on a line must be separated by ';'
let tickValues: [InputType] = if scaleType == .log {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:685:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:685:38: error: consecutive statements on a line must be separated by ';'
let tickValues: [InputType] = if scaleType == .log {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:702:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:702:38: error: consecutive statements on a line must be separated by ';'
let tickValues: [InputType] = if scaleType == .log {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:434:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedDomainValue, lower: Double(rangeHigher), higher: Double(rangeLower))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:436:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedDomainValue, lower: Double(rangeLower), higher: Double(rangeHigher))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:503:13: warning: result of call to 'normalize(_:lower:higher:)' is unused
normalize(sqrt(Double(rangeValue)), lower: Double(rangeLower), higher: Double(rangeHigher))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:505:13: warning: result of call to 'normalize(_:lower:higher:)' is unused
normalize(Double(rangeValue), lower: Double(rangeLower), higher: Double(rangeHigher))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:511:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedRangeValue, lower: transformedDomainHigher, higher: transformedDomainLower)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:513:13: warning: result of call to 'interpolate(_:lower:higher:)' is unused
interpolate(normalizedRangeValue, lower: transformedDomainLower, higher: transformedDomainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:661:23: warning: result of call to 'logRangeOfNiceValues(min:max:)' is unused
InputType.logRangeOfNiceValues(min: domainLower, max: domainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:663:23: warning: result of call to 'rangeOfNiceValues(min:max:ofSize:)' is unused
InputType.rangeOfNiceValues(min: domainLower, max: domainHigher, ofSize: desiredTicks)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:686:23: warning: result of call to 'logRangeOfNiceValues(min:max:)' is unused
InputType.logRangeOfNiceValues(min: domainLower, max: domainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:688:23: warning: result of call to 'rangeOfNiceValues(min:max:ofSize:)' is unused
InputType.rangeOfNiceValues(min: domainLower, max: domainHigher, ofSize: desiredTicks)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:703:23: warning: result of call to 'logRangeOfNiceValues(min:max:)' is unused
InputType.logRangeOfNiceValues(min: domainLower, max: domainHigher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:705:23: warning: result of call to 'rangeOfNiceValues(min:max:ofSize:)' is unused
InputType.rangeOfNiceValues(min: domainLower, max: domainHigher, ofSize: desiredTicks)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:709:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:711:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:21:13: warning: string literal is unused
"linear"
^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:23:13: warning: string literal is unused
"log"
^~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:25:13: warning: string literal is unused
"power(\(exp))"
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:27:13: warning: string literal is unused
"radial"
^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:15: error: ambiguous use of 'log10'
{ log10($0) }
^
Foundation.log10:1:13: note: found this candidate
public func log10(_ x: CGFloat) -> CGFloat
^
Glibc.log10:1:13: note: found this candidate
public func log10(_ x: Float) -> Float
^
Glibc.log10:1:13: note: found this candidate
public func log10(_ x: Float80) -> Float80
^
SwiftGlibc.log10:1:13: note: found this candidate
public func log10(_ __x: Double) -> Double
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:13: error: closure expression is unused
{ log10($0) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: closure expression is unused
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:38:13: error: closure expression is unused
{ pow($0, exp) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:45:15: error: ambiguous use of 'pow'
{ pow(10, $0) }
^
Foundation.pow:1:13: note: found this candidate
public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
^
Foundation.pow:1:13: note: found this candidate
public func pow(_ x: Decimal, _ y: Int) -> Decimal
^
Glibc.pow:1:13: note: found this candidate
public func pow(_ lhs: Float, _ rhs: Float) -> Float
^
Glibc.pow:1:13: note: found this candidate
public func pow(_ lhs: Float80, _ rhs: Float80) -> Float80
^
SwiftGlibc.pow:1:13: note: found this candidate
public func pow(_ __x: Double, _ __y: Double) -> Double
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:45:13: error: closure expression is unused
{ pow(10, $0) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: closure expression is unused
{ $0 }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:49:13: error: closure expression is unused
{ pow($0, 1.0 / exp) }
^
/host/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:288:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:290:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
[19/27] Compiling SwiftVizScale NiceValue.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:36: error: expected initial value after '='
let niceFraction: Double = if trendTowardsZero {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:35: error: consecutive statements on a line must be separated by ';'
let niceFraction: Double = if trendTowardsZero {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:24: error: expected initial value after '='
let fixedMin = if min == 0 {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:23: error: consecutive statements on a line must be separated by ';'
let fixedMin = if min == 0 {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:388:29: error: expected initial value after '='
let incDate: Date = if let stepSize, stepSize >= magnitude.seconds {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:388:28: error: consecutive statements on a line must be separated by ';'
let incDate: Date = if let stepSize, stepSize >= magnitude.seconds {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:172:30: error: expected initial value after '='
let doublePosition = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:172:29: error: consecutive statements on a line must be separated by ';'
let doublePosition = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:227:41: error: expected initial value after '='
let indexedRangeValue: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:227:40: error: consecutive statements on a line must be separated by ';'
let indexedRangeValue: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:18:17: warning: integer literal is unused
1
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:20:17: warning: integer literal is unused
2
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:22:17: warning: integer literal is unused
5
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:24:17: warning: integer literal is unused
10
^~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:28:17: warning: integer literal is unused
1
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:30:17: warning: integer literal is unused
2
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:32:17: warning: integer literal is unused
5
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:34:17: warning: integer literal is unused
10
^~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:187:20: warning: expression of type 'Double' is unused
Double.leastNonzeroMagnitude
~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:189:13: warning: result of 'BinaryFloatingPoint' initializer is unused
Double(min)
^ ~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:249:13: warning: integer literal is unused
0
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:251:13: warning: integer literal is unused
1
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:253:44: warning: expression of type 'Double' is unused
DateMagnitude.minutesThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:255:42: warning: expression of type 'Double' is unused
DateMagnitude.hoursThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:257:41: warning: expression of type 'Double' is unused
DateMagnitude.daysThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:259:43: warning: expression of type 'Double' is unused
DateMagnitude.monthsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:261:42: warning: expression of type 'Double' is unused
DateMagnitude.yearsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:389:18: warning: result of operator '+' is unused
self + stepSize
~~~~ ^ ~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:391:18: warning: result of operator '+' is unused
self + magnitude.seconds
~~~~ ^ ~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:173:13: warning: result of 'Double' initializer is unused
Double(domain.reversed().firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:175:13: warning: result of 'Double' initializer is unused
Double(domain.firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:228:71: warning: result of operator '/' is unused
(Double(upperRange) - Double(padding) - Double(location)) / rangeExtentWithoutPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:230:50: warning: result of operator '/' is unused
(Double(location) - Double(padding)) / rangeExtentWithoutPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:251:46: warning: result of operator '??' is unused
formatter.string(for: value) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:253:17: warning: expression of type 'String' is unused
String("\(value)")
^~~~~~~~~~~~~~~~~~
[20/27] Compiling SwiftVizScale PointScale.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:36: error: expected initial value after '='
let niceFraction: Double = if trendTowardsZero {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:35: error: consecutive statements on a line must be separated by ';'
let niceFraction: Double = if trendTowardsZero {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:24: error: expected initial value after '='
let fixedMin = if min == 0 {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:23: error: consecutive statements on a line must be separated by ';'
let fixedMin = if min == 0 {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:388:29: error: expected initial value after '='
let incDate: Date = if let stepSize, stepSize >= magnitude.seconds {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:388:28: error: consecutive statements on a line must be separated by ';'
let incDate: Date = if let stepSize, stepSize >= magnitude.seconds {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:172:30: error: expected initial value after '='
let doublePosition = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:172:29: error: consecutive statements on a line must be separated by ';'
let doublePosition = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:227:41: error: expected initial value after '='
let indexedRangeValue: Double = if reversed {
^
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:227:40: error: consecutive statements on a line must be separated by ';'
let indexedRangeValue: Double = if reversed {
^
;
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:18:17: warning: integer literal is unused
1
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:20:17: warning: integer literal is unused
2
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:22:17: warning: integer literal is unused
5
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:24:17: warning: integer literal is unused
10
^~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:28:17: warning: integer literal is unused
1
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:30:17: warning: integer literal is unused
2
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:32:17: warning: integer literal is unused
5
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:34:17: warning: integer literal is unused
10
^~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:187:20: warning: expression of type 'Double' is unused
Double.leastNonzeroMagnitude
~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:189:13: warning: result of 'BinaryFloatingPoint' initializer is unused
Double(min)
^ ~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:249:13: warning: integer literal is unused
0
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:251:13: warning: integer literal is unused
1
^
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:253:44: warning: expression of type 'Double' is unused
DateMagnitude.minutesThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:255:42: warning: expression of type 'Double' is unused
DateMagnitude.hoursThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:257:41: warning: expression of type 'Double' is unused
DateMagnitude.daysThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:259:43: warning: expression of type 'Double' is unused
DateMagnitude.monthsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:261:42: warning: expression of type 'Double' is unused
DateMagnitude.yearsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:389:18: warning: result of operator '+' is unused
self + stepSize
~~~~ ^ ~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:391:18: warning: result of operator '+' is unused
self + magnitude.seconds
~~~~ ^ ~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:173:13: warning: result of 'Double' initializer is unused
Double(domain.reversed().firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:175:13: warning: result of 'Double' initializer is unused
Double(domain.firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:228:71: warning: result of operator '/' is unused
(Double(upperRange) - Double(padding) - Double(location)) / rangeExtentWithoutPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:230:50: warning: result of operator '/' is unused
(Double(location) - Double(padding)) / rangeExtentWithoutPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:251:46: warning: result of operator '??' is unused
formatter.string(for: value) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/host/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:253:17: warning: expression of type 'String' is unused
String("\(value)")
^~~~~~~~~~~~~~~~~~
[21/27] Compiling SwiftVizScale DiscreteScale.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:17:13: warning: string literal is unused
"point"
^~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:19:13: warning: string literal is unused
"band"
^~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:17:13: warning: string literal is unused
"none"
^~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:19:13: warning: string literal is unused
"drop"
^~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:21:13: warning: string literal is unused
"clamp"
^~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:21:5: error: missing return in getter expected to return 'String'
}
^
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:23:5: error: missing return in getter expected to return 'String'
}
^
[22/27] Compiling SwiftVizScale DomainDataTransform.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:17:13: warning: string literal is unused
"point"
^~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:19:13: warning: string literal is unused
"band"
^~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:17:13: warning: string literal is unused
"none"
^~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:19:13: warning: string literal is unused
"drop"
^~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:21:13: warning: string literal is unused
"clamp"
^~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:21:5: error: missing return in getter expected to return 'String'
}
^
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:23:5: error: missing return in getter expected to return 'String'
}
^
[23/27] Compiling SwiftVizScale Collection+SimpleStats.swift
/host/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:17:13: warning: string literal is unused
"point"
^~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:19:13: warning: string literal is unused
"band"
^~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:17:13: warning: string literal is unused
"none"
^~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:19:13: warning: string literal is unused
"drop"
^~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:21:13: warning: string literal is unused
"clamp"
^~~~~~~
/host/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:21:5: error: missing return in getter expected to return 'String'
}
^
/host/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:23:5: error: missing return in getter expected to return 'String'
}
^
BUILD FAILURE 5.8 linux