Build Information
Failed to build SwiftVizScale with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-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: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-4609320-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-docc-symbolkit
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-docc-plugin
[1/1457] Fetching swift-docc-plugin
[1255/4148] Fetching swift-docc-plugin, swift-docc-symbolkit
[4033/17893] Fetching swift-docc-plugin, swift-docc-symbolkit, swift-collections
Fetched https://github.com/apple/swift-docc-plugin (0.47s)
[5578/16436] Fetching swift-docc-symbolkit, swift-collections
Fetched https://github.com/apple/swift-docc-symbolkit (1.16s)
Fetched https://github.com/apple/swift-collections.git (1.18s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.42s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.52s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.56s)
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
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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/31] Emitting module _CollectionsUtilities
[4/33] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[5/33] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[6/33] Compiling _CollectionsUtilities UInt+reversed.swift
[7/33] Compiling _CollectionsUtilities _UnsafeBitSet+Index.swift
[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 RandomAccessCollection+Offsets.swift
[12/33] Compiling _CollectionsUtilities Specialize.swift
[13/33] Compiling _CollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[14/33] Compiling _CollectionsUtilities Integer rank.swift
[15/33] Compiling _CollectionsUtilities UInt+first and last set bit.swift
[16/33] Compiling _CollectionsUtilities _UnsafeBitSet+_Word.swift
[17/33] Compiling _CollectionsUtilities _UnsafeBitSet.swift
[18/33] Compiling _CollectionsUtilities _SortedCollection.swift
[19/33] Compiling _CollectionsUtilities _UniqueCollection.swift
[20/33] Compiling _CollectionsUtilities Debugging.swift
[21/33] Compiling _CollectionsUtilities Descriptions.swift
[23/35] Wrapping AST for _CollectionsUtilities for debugging
[25/310] Compiling HashTreeCollections _HashNode+Structural union.swift
[26/310] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[27/312] Compiling HeapModule _HeapNode.swift
[28/312] Compiling HeapModule Heap+Invariants.swift
[29/312] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[30/312] Compiling HeapModule Heap+Descriptions.swift
[31/312] Compiling HeapModule Heap+UnsafeHandle.swift
[32/312] Emitting module HeapModule
[33/312] Compiling HeapModule Heap.swift
[36/314] Compiling OrderedCollections _HashTable+Constants.swift
[37/314] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[38/314] Compiling OrderedCollections _HashTable+Bucket.swift
[39/314] Compiling OrderedCollections _HashTable+BucketIterator.swift
[40/314] Compiling OrderedCollections _HashTable.swift
[41/314] Compiling OrderedCollections _Hashtable+Header.swift
[42/314] Compiling OrderedCollections _HashTable+Testing.swift
[43/314] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[44/314] Compiling DequeModule _DequeSlot.swift
[45/314] Compiling DequeModule _UnsafeWrappedBuffer.swift
[45/314] Wrapping AST for HeapModule for debugging
[47/314] Compiling HashTreeCollections _HashNode+Storage.swift
[48/314] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[49/314] Compiling HashTreeCollections _HashNode+Structural filter.swift
[50/314] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[51/314] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[52/314] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[53/314] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[54/321] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[55/321] Compiling HashTreeCollections TreeSet+Debugging.swift
[56/321] Compiling HashTreeCollections TreeSet+Descriptions.swift
[57/321] Compiling HashTreeCollections TreeSet+Equatable.swift
[58/321] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[59/321] Compiling BitCollections BitSet.Index.swift
[60/321] Compiling BitCollections BitSet._UnsafeHandle.swift
[61/328] Compiling HashTreeCollections TreeDictionary+Collection.swift
[62/328] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[63/328] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[64/328] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[65/328] Compiling HashTreeCollections TreeDictionary.swift
[66/328] Compiling HashTreeCollections TreeSet+Codable.swift
[67/328] Compiling HashTreeCollections TreeSet+Collection.swift
[68/328] Compiling HashTreeCollections TreeSet+Hashable.swift
[69/328] Compiling HashTreeCollections TreeSet+Sendable.swift
[70/328] Compiling HashTreeCollections TreeSet+Sequence.swift
[71/328] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[72/328] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[73/328] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[74/328] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[75/328] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[76/328] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[77/328] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[78/338] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[79/338] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[80/338] Compiling OrderedCollections OrderedDictionary+Codable.swift
[81/338] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[82/338] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[90/338] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[91/338] Compiling HashTreeCollections _HashNode+Structural merge.swift
[92/338] Compiling HashTreeCollections _HashTreeIterator.swift
[93/338] Compiling HashTreeCollections _HashTreeStatistics.swift
[94/338] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[95/338] Compiling HashTreeCollections _RawHashNode.swift
[96/338] Compiling HashTreeCollections _UnmanagedHashNode.swift
[97/338] Compiling HashTreeCollections _UnsafePath.swift
[98/338] Compiling HashTreeCollections TreeDictionary+Codable.swift
[100/338] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[101/338] Compiling HashTreeCollections _HashNode.swift
[102/338] Compiling HashTreeCollections _HashNodeHeader.swift
[103/338] Compiling HashTreeCollections _HashSlot.swift
[104/338] Compiling HashTreeCollections _HashStack.swift
[105/338] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[106/338] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[115/338] Emitting module DequeModule
[147/339] Emitting module BitCollections
[157/340] Compiling OrderedCollections OrderedSet+Sendable.swift
[158/340] Compiling OrderedCollections OrderedSet+SubSequence.swift
[159/340] Compiling OrderedCollections OrderedSet+Testing.swift
[160/340] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[161/340] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[162/340] Compiling OrderedCollections OrderedSet.swift
[163/340] Compiling OrderedCollections _UnsafeBitset.swift
[164/340] Compiling HashTreeCollections TreeDictionary+Merge.swift
[165/340] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[166/340] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[167/340] Compiling HashTreeCollections TreeDictionary+Values.swift
[168/340] Wrapping AST for DequeModule for debugging
[186/349] Compiling _RopeModule _CharacterRecognizer.swift
[187/349] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[188/349] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[189/349] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[190/349] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[191/349] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[192/349] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[193/349] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[194/349] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[195/349] Compiling HashTreeCollections TreeSet.swift
[234/351] Wrapping AST for BitCollections for debugging
[251/351] Emitting module OrderedCollections
[272/353] Wrapping AST for OrderedCollections for debugging
[285/353] Emitting module _RopeModule
[308/353] Emitting module HashTreeCollections
[309/354] Compiling _RopeModule Rope+Join.swift
[310/354] Compiling _RopeModule Rope+MutatingForEach.swift
[311/354] Compiling _RopeModule Rope+Remove.swift
[312/354] Compiling _RopeModule Rope+RemoveSubrange.swift
[313/354] Compiling _RopeModule Rope+Split.swift
[314/354] Compiling _RopeModule Optional Utilities.swift
[315/354] Compiling _RopeModule String Utilities.swift
[316/354] Compiling _RopeModule String.Index+ABI.swift
[319/355] Wrapping AST for HashTreeCollections for debugging
[351/357] Wrapping AST for _RopeModule for debugging
[353/359] Emitting module Collections
[354/359] Compiling Collections Collections.swift
[356/361] Wrapping AST for Collections for debugging
[358/383] Compiling SwiftVizScale ColorInterpolator.swift
[359/383] Compiling SwiftVizScale ColorScheme.swift
[360/383] Compiling SwiftVizScale ComputedRGBInterpolator.swift
[361/385] Emitting module SwiftVizScale
[362/385] 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)")
^~~~~~~~~~~~~~~~~~
[363/385] 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)")
^~~~~~~~~~~~~~~~~~
[364/385] 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)")
^~~~~~~~~~~~~~~~~~
[365/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[366/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[367/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[368/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
~~~~ ^ ~~~~~~~~~~~~~~~~~
[369/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
~~~~ ^ ~~~~~~~~~~~~~~~~~
[370/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
~~~~ ^ ~~~~~~~~~~~~~~~~~
[371/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 {
^
;
[372/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 {
^
;
[373/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'
}
^
[374/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'
}
^
[375/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'
}
^
[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/15] Emitting module _CollectionsUtilities
[5/17] Wrapping AST for _CollectionsUtilities for debugging
[7/23] Emitting module HeapModule
[10/24] Emitting module BitCollections
[13/26] Emitting module DequeModule
[15/28] Wrapping AST for BitCollections for debugging
[16/28] Wrapping AST for DequeModule for debugging
[18/28] Emitting module OrderedCollections
[20/30] Wrapping AST for OrderedCollections for debugging
[22/30] Emitting module _RopeModule
[24/32] Wrapping AST for _RopeModule for debugging
[26/32] Emitting module HashTreeCollections
[28/34] Wrapping AST for HashTreeCollections for debugging
warning: Will not do cross-module incremental builds, priors saved at TimePoint(seconds: 1713207313, nanoseconds: 0)), but the previous build started at TimePoint(seconds: 1713207313, nanoseconds: 301664000), at '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Collections.build/master.priors'
[30/36] Emitting module Collections
[31/36] Compiling Collections Collections.swift
[34/56] 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)")
^~~~~~~~~~~~~~~~~~
[35/56] 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)")
^~~~~~~~~~~~~~~~~~
[36/56] 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)")
^~~~~~~~~~~~~~~~~~
[37/58] 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 {
^
;
[38/58] 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 {
^
;
[39/58] Emitting module SwiftVizScale
[40/58] 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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[41/58] 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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[42/58] 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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[43/58] 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)")
^~~~~~~~~~~~~~~~~~~~~
[44/58] 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)")
^~~~~~~~~~~~~~~~~~~~~
[45/58] 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)")
^~~~~~~~~~~~~~~~~~~~~
[46/58] Compiling SwiftVizScale ReversibleScale.swift
[47/58] Compiling SwiftVizScale Scale.swift
[48/58] 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 {
^
;
[49/58] 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 {
^
;
[50/58] 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)")
^~~~~~~~~~~~~~~~~~
[51/58] 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)")
^~~~~~~~~~~~~~~~~~
[52/58] 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'
}
^
[53/58] 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'
}
^
[54/58] 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