Build Information
Failed to build SwiftVizScale with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[343/358] Compiling SwiftVizScale SequentialScale.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:54:39: error: expected initial value after '='
let clampedX: InputType = if x < domainLower {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:55:17: warning: expression of type 'InputType' is unused
domainLower
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:57:17: warning: expression of type 'InputType' is unused
domainHigher
^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:59:17: warning: expression of type 'InputType' is unused
x
^
[344/358] Compiling SwiftVizScale Tick.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:54:39: error: expected initial value after '='
let clampedX: InputType = if x < domainLower {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:55:17: warning: expression of type 'InputType' is unused
domainLower
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:57:17: warning: expression of type 'InputType' is unused
domainHigher
^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:59:17: warning: expression of type 'InputType' is unused
x
^
[345/358] Compiling SwiftVizScale DiscreteScale.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:17:13: warning: string literal is unused
"point"
^~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:19:13: warning: string literal is unused
"band"
^~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:17:13: warning: string literal is unused
"none"
^~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:19:13: warning: string literal is unused
"drop"
^~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:21:13: warning: string literal is unused
"clamp"
^~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:21:5: error: missing return in getter expected to return 'String'
}
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:23:5: error: missing return in getter expected to return 'String'
}
^
[346/358] Compiling SwiftVizScale DomainDataTransform.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:17:13: warning: string literal is unused
"point"
^~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:19:13: warning: string literal is unused
"band"
^~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:17:13: warning: string literal is unused
"none"
^~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:19:13: warning: string literal is unused
"drop"
^~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:21:13: warning: string literal is unused
"clamp"
^~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:21:5: error: missing return in getter expected to return 'String'
}
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:23:5: error: missing return in getter expected to return 'String'
}
^
[347/358] Compiling SwiftVizScale Collection+SimpleStats.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:17:13: warning: string literal is unused
"point"
^~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:19:13: warning: string literal is unused
"band"
^~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:17:13: warning: string literal is unused
"none"
^~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:19:13: warning: string literal is unused
"drop"
^~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:21:13: warning: string literal is unused
"clamp"
^~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:21:5: error: missing return in getter expected to return 'String'
}
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:23:5: error: missing return in getter expected to return 'String'
}
^
[348/358] Compiling SwiftVizScale ContinuousScale.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:42: error: expected initial value after '='
let valueMappedToRange: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:41: error: consecutive statements on a line must be separated by ';'
let valueMappedToRange: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:502:44: error: expected initial value after '='
let normalizedRangeValue: Double = if case .radial = scaleType {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:47: error: expected initial value after '='
let linearInterpolatedValue: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:46: error: consecutive statements on a line must be separated by ';'
let linearInterpolatedValue: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:660:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:685:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:702:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:709:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:711:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:21:13: warning: string literal is unused
"linear"
^~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:23:13: warning: string literal is unused
"log"
^~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:25:13: warning: string literal is unused
"power(\(exp))"
^~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:27:13: warning: string literal is unused
"radial"
^~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:15: error: ambiguous use of 'log10'
{ log10($0) }
^
Darwin.log10:1:13: note: found this candidate
public func log10(_ x: Float) -> Float
^
Darwin.log10:1:13: note: found this candidate
public func log10(_ x: Double) -> Double
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:13: error: closure expression is unused
{ log10($0) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: closure expression is unused
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:38:13: error: closure expression is unused
{ pow($0, exp) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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(_ x: Decimal, _ y: Int) -> Decimal
^
Darwin.pow:1:13: note: found this candidate
public func pow(_ lhs: Float, _ rhs: Float) -> Float
^
Darwin.pow:1:13: note: found this candidate
public func pow(_: Double, _: Double) -> Double
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:45:13: error: closure expression is unused
{ pow(10, $0) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: closure expression is unused
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:49:13: error: closure expression is unused
{ pow($0, 1.0 / exp) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:288:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:290:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
[349/358] Compiling SwiftVizScale ContinuousScaleType.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:42: error: expected initial value after '='
let valueMappedToRange: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:41: error: consecutive statements on a line must be separated by ';'
let valueMappedToRange: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:502:44: error: expected initial value after '='
let normalizedRangeValue: Double = if case .radial = scaleType {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:47: error: expected initial value after '='
let linearInterpolatedValue: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:46: error: consecutive statements on a line must be separated by ';'
let linearInterpolatedValue: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:660:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:685:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:702:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:709:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:711:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:21:13: warning: string literal is unused
"linear"
^~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:23:13: warning: string literal is unused
"log"
^~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:25:13: warning: string literal is unused
"power(\(exp))"
^~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:27:13: warning: string literal is unused
"radial"
^~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:15: error: ambiguous use of 'log10'
{ log10($0) }
^
Darwin.log10:1:13: note: found this candidate
public func log10(_ x: Float) -> Float
^
Darwin.log10:1:13: note: found this candidate
public func log10(_ x: Double) -> Double
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:13: error: closure expression is unused
{ log10($0) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: closure expression is unused
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:38:13: error: closure expression is unused
{ pow($0, exp) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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(_ x: Decimal, _ y: Int) -> Decimal
^
Darwin.pow:1:13: note: found this candidate
public func pow(_ lhs: Float, _ rhs: Float) -> Float
^
Darwin.pow:1:13: note: found this candidate
public func pow(_: Double, _: Double) -> Double
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:45:13: error: closure expression is unused
{ pow(10, $0) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: closure expression is unused
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:49:13: error: closure expression is unused
{ pow($0, 1.0 / exp) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:288:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:290:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
[350/358] Compiling SwiftVizScale DateScale.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:42: error: expected initial value after '='
let valueMappedToRange: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:41: error: consecutive statements on a line must be separated by ';'
let valueMappedToRange: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:502:44: error: expected initial value after '='
let normalizedRangeValue: Double = if case .radial = scaleType {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:47: error: expected initial value after '='
let linearInterpolatedValue: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:46: error: consecutive statements on a line must be separated by ';'
let linearInterpolatedValue: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:660:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:685:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:702:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:709:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:711:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:21:13: warning: string literal is unused
"linear"
^~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:23:13: warning: string literal is unused
"log"
^~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:25:13: warning: string literal is unused
"power(\(exp))"
^~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:27:13: warning: string literal is unused
"radial"
^~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:15: error: ambiguous use of 'log10'
{ log10($0) }
^
Darwin.log10:1:13: note: found this candidate
public func log10(_ x: Float) -> Float
^
Darwin.log10:1:13: note: found this candidate
public func log10(_ x: Double) -> Double
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:13: error: closure expression is unused
{ log10($0) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: closure expression is unused
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:38:13: error: closure expression is unused
{ pow($0, exp) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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(_ x: Decimal, _ y: Int) -> Decimal
^
Darwin.pow:1:13: note: found this candidate
public func pow(_ lhs: Float, _ rhs: Float) -> Float
^
Darwin.pow:1:13: note: found this candidate
public func pow(_: Double, _: Double) -> Double
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:45:13: error: closure expression is unused
{ pow(10, $0) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: closure expression is unused
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:49:13: error: closure expression is unused
{ pow($0, 1.0 / exp) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:288:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:290:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
[351/358] Emitting module SwiftVizScale
[352/358] Compiling SwiftVizScale IndexedColorInterpolator.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:30:35: error: expected initial value after '='
let lowerIndex: Int = if t == 1.0 {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:36: error: expected initial value after '='
let niceFraction: Double = if trendTowardsZero {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:35: error: consecutive statements on a line must be separated by ';'
let niceFraction: Double = if trendTowardsZero {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:24: error: expected initial value after '='
let fixedMin = if min == 0 {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:23: error: consecutive statements on a line must be separated by ';'
let fixedMin = if min == 0 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:388:29: error: expected initial value after '='
let incDate: Date = if let stepSize, stepSize >= magnitude.seconds {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:31:23: warning: result of operator '-' is unused
count - 2
~~~~~ ^ ~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:33:17: warning: result of 'Int' initializer is unused
Int(floor(t / step))
^ ~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:18:17: warning: integer literal is unused
1
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:20:17: warning: integer literal is unused
2
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:22:17: warning: integer literal is unused
5
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:24:17: warning: integer literal is unused
10
^~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:28:17: warning: integer literal is unused
1
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:30:17: warning: integer literal is unused
2
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:32:17: warning: integer literal is unused
5
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:34:17: warning: integer literal is unused
10
^~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:187:20: warning: expression of type 'Double' is unused
Double.leastNonzeroMagnitude
~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:189:13: warning: result of 'BinaryFloatingPoint' initializer is unused
Double(min)
^ ~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:249:13: warning: integer literal is unused
0
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:251:13: warning: integer literal is unused
1
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:253:44: warning: expression of type 'Double' is unused
DateMagnitude.minutesThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:255:42: warning: expression of type 'Double' is unused
DateMagnitude.hoursThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:257:41: warning: expression of type 'Double' is unused
DateMagnitude.daysThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:259:43: warning: expression of type 'Double' is unused
DateMagnitude.monthsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:261:42: warning: expression of type 'Double' is unused
DateMagnitude.yearsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:389:18: warning: result of operator '+' is unused
self + stepSize
~~~~ ^ ~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:391:18: warning: result of operator '+' is unused
self + magnitude.seconds
~~~~ ^ ~~~~~~~~~~~~~~~~~
[353/358] Compiling SwiftVizScale LCHColorInterpolator.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:30:35: error: expected initial value after '='
let lowerIndex: Int = if t == 1.0 {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:36: error: expected initial value after '='
let niceFraction: Double = if trendTowardsZero {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:35: error: consecutive statements on a line must be separated by ';'
let niceFraction: Double = if trendTowardsZero {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:24: error: expected initial value after '='
let fixedMin = if min == 0 {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:23: error: consecutive statements on a line must be separated by ';'
let fixedMin = if min == 0 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:388:29: error: expected initial value after '='
let incDate: Date = if let stepSize, stepSize >= magnitude.seconds {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:31:23: warning: result of operator '-' is unused
count - 2
~~~~~ ^ ~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:33:17: warning: result of 'Int' initializer is unused
Int(floor(t / step))
^ ~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:18:17: warning: integer literal is unused
1
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:20:17: warning: integer literal is unused
2
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:22:17: warning: integer literal is unused
5
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:24:17: warning: integer literal is unused
10
^~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:28:17: warning: integer literal is unused
1
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:30:17: warning: integer literal is unused
2
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:32:17: warning: integer literal is unused
5
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:34:17: warning: integer literal is unused
10
^~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:187:20: warning: expression of type 'Double' is unused
Double.leastNonzeroMagnitude
~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:189:13: warning: result of 'BinaryFloatingPoint' initializer is unused
Double(min)
^ ~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:249:13: warning: integer literal is unused
0
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:251:13: warning: integer literal is unused
1
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:253:44: warning: expression of type 'Double' is unused
DateMagnitude.minutesThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:255:42: warning: expression of type 'Double' is unused
DateMagnitude.hoursThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:257:41: warning: expression of type 'Double' is unused
DateMagnitude.daysThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:259:43: warning: expression of type 'Double' is unused
DateMagnitude.monthsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:261:42: warning: expression of type 'Double' is unused
DateMagnitude.yearsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:389:18: warning: result of operator '+' is unused
self + stepSize
~~~~ ^ ~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:391:18: warning: result of operator '+' is unused
self + magnitude.seconds
~~~~ ^ ~~~~~~~~~~~~~~~~~
[354/358] Compiling SwiftVizScale NiceValue.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:30:35: error: expected initial value after '='
let lowerIndex: Int = if t == 1.0 {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:36: error: expected initial value after '='
let niceFraction: Double = if trendTowardsZero {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:35: error: consecutive statements on a line must be separated by ';'
let niceFraction: Double = if trendTowardsZero {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:24: error: expected initial value after '='
let fixedMin = if min == 0 {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:23: error: consecutive statements on a line must be separated by ';'
let fixedMin = if min == 0 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:388:29: error: expected initial value after '='
let incDate: Date = if let stepSize, stepSize >= magnitude.seconds {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:31:23: warning: result of operator '-' is unused
count - 2
~~~~~ ^ ~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:33:17: warning: result of 'Int' initializer is unused
Int(floor(t / step))
^ ~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:18:17: warning: integer literal is unused
1
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:20:17: warning: integer literal is unused
2
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:22:17: warning: integer literal is unused
5
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:24:17: warning: integer literal is unused
10
^~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:28:17: warning: integer literal is unused
1
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:30:17: warning: integer literal is unused
2
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:32:17: warning: integer literal is unused
5
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:34:17: warning: integer literal is unused
10
^~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:187:20: warning: expression of type 'Double' is unused
Double.leastNonzeroMagnitude
~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:189:13: warning: result of 'BinaryFloatingPoint' initializer is unused
Double(min)
^ ~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:249:13: warning: integer literal is unused
0
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:251:13: warning: integer literal is unused
1
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:253:44: warning: expression of type 'Double' is unused
DateMagnitude.minutesThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:255:42: warning: expression of type 'Double' is unused
DateMagnitude.hoursThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:257:41: warning: expression of type 'Double' is unused
DateMagnitude.daysThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:259:43: warning: expression of type 'Double' is unused
DateMagnitude.monthsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:261:42: warning: expression of type 'Double' is unused
DateMagnitude.yearsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:389:18: warning: result of operator '+' is unused
self + stepSize
~~~~ ^ ~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:391:18: warning: result of operator '+' is unused
self + magnitude.seconds
~~~~ ^ ~~~~~~~~~~~~~~~~~
[355/358] Compiling SwiftVizScale BandScale.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:30: error: expected initial value after '='
let doublePosition = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:29: error: consecutive statements on a line must be separated by ';'
let doublePosition = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:41: error: expected initial value after '='
let indexedRangeValue: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:40: error: consecutive statements on a line must be separated by ';'
let indexedRangeValue: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:116:51: error: expected initial value after '='
let targetForInterpolation: CGFloat = if hue1 > hue2 {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:190:13: warning: result of 'Double' initializer is unused
Double(domain.reversed().firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:192:13: warning: result of 'Double' initializer is unused
Double(domain.firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:246:76: warning: result of operator '/' is unused
(Double(upperRange) - Double(paddingOuter) - Double(location)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:248:55: warning: result of operator '/' is unused
(Double(location) - Double(paddingOuter)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:309:46: warning: result of operator '??' is unused
formatter.string(for: value) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:311:17: warning: expression of type 'String' is unused
String("\(value)")
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:120:26: warning: result of operator '+' is unused
hue2 + 2 * Double.pi
~~~~ ^ ~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:122:21: warning: expression of type 'CGFloat' is unused
hue2
^~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:128:26: warning: result of operator '+' is unused
hue2 + 2 * Double.pi
~~~~ ^ ~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:130:21: warning: expression of type 'CGFloat' is unused
hue2
^~~~
[356/358] Compiling SwiftVizScale CGColor+hex.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:30: error: expected initial value after '='
let doublePosition = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:29: error: consecutive statements on a line must be separated by ';'
let doublePosition = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:41: error: expected initial value after '='
let indexedRangeValue: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:40: error: consecutive statements on a line must be separated by ';'
let indexedRangeValue: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:116:51: error: expected initial value after '='
let targetForInterpolation: CGFloat = if hue1 > hue2 {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:190:13: warning: result of 'Double' initializer is unused
Double(domain.reversed().firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:192:13: warning: result of 'Double' initializer is unused
Double(domain.firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:246:76: warning: result of operator '/' is unused
(Double(upperRange) - Double(paddingOuter) - Double(location)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:248:55: warning: result of operator '/' is unused
(Double(location) - Double(paddingOuter)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:309:46: warning: result of operator '??' is unused
formatter.string(for: value) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:311:17: warning: expression of type 'String' is unused
String("\(value)")
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:120:26: warning: result of operator '+' is unused
hue2 + 2 * Double.pi
~~~~ ^ ~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:122:21: warning: expression of type 'CGFloat' is unused
hue2
^~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:128:26: warning: result of operator '+' is unused
hue2 + 2 * Double.pi
~~~~ ^ ~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:130:21: warning: expression of type 'CGFloat' is unused
hue2
^~~~
[357/358] Compiling SwiftVizScale LCH.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:30: error: expected initial value after '='
let doublePosition = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:29: error: consecutive statements on a line must be separated by ';'
let doublePosition = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:41: error: expected initial value after '='
let indexedRangeValue: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:40: error: consecutive statements on a line must be separated by ';'
let indexedRangeValue: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:116:51: error: expected initial value after '='
let targetForInterpolation: CGFloat = if hue1 > hue2 {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:190:13: warning: result of 'Double' initializer is unused
Double(domain.reversed().firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:192:13: warning: result of 'Double' initializer is unused
Double(domain.firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:246:76: warning: result of operator '/' is unused
(Double(upperRange) - Double(paddingOuter) - Double(location)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:248:55: warning: result of operator '/' is unused
(Double(location) - Double(paddingOuter)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:309:46: warning: result of operator '??' is unused
formatter.string(for: value) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:311:17: warning: expression of type 'String' is unused
String("\(value)")
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:120:26: warning: result of operator '+' is unused
hue2 + 2 * Double.pi
~~~~ ^ ~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:122:21: warning: expression of type 'CGFloat' is unused
hue2
^~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:128:26: warning: result of operator '+' is unused
hue2 + 2 * Double.pi
~~~~ ^ ~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:130:21: warning: expression of type 'CGFloat' is unused
hue2
^~~~
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-docc-plugin from cache
Fetching https://github.com/apple/swift-docc-symbolkit from cache
Fetched https://github.com/apple/swift-docc-plugin (0.67s)
Fetched https://github.com/apple/swift-docc-symbolkit (0.97s)
Fetched https://github.com/apple/swift-collections.git (1.34s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.02s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.03s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.09s)
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
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/22] Compiling SwiftVizScale ReversibleScale.swift
[4/22] Compiling SwiftVizScale Scale.swift
[5/24] Compiling SwiftVizScale DiscreteScale.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:17:13: warning: string literal is unused
"point"
^~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:19:13: warning: string literal is unused
"band"
^~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:17:13: warning: string literal is unused
"none"
^~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:19:13: warning: string literal is unused
"drop"
^~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:21:13: warning: string literal is unused
"clamp"
^~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:21:5: error: missing return in getter expected to return 'String'
}
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:23:5: error: missing return in getter expected to return 'String'
}
^
[6/24] Compiling SwiftVizScale DomainDataTransform.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:17:13: warning: string literal is unused
"point"
^~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:19:13: warning: string literal is unused
"band"
^~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:17:13: warning: string literal is unused
"none"
^~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:19:13: warning: string literal is unused
"drop"
^~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:21:13: warning: string literal is unused
"clamp"
^~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:21:5: error: missing return in getter expected to return 'String'
}
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:23:5: error: missing return in getter expected to return 'String'
}
^
[7/24] Compiling SwiftVizScale Collection+SimpleStats.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:17:13: warning: string literal is unused
"point"
^~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:19:13: warning: string literal is unused
"band"
^~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:17:13: warning: string literal is unused
"none"
^~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:19:13: warning: string literal is unused
"drop"
^~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:21:13: warning: string literal is unused
"clamp"
^~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DiscreteScale.swift:21:5: error: missing return in getter expected to return 'String'
}
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DomainDataTransform.swift:23:5: error: missing return in getter expected to return 'String'
}
^
[8/24] Compiling SwiftVizScale Histogram.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:57:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:92:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:146:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:198:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:236:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if higher == lastThreshold {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:149:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + stride)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:201:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + stride)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:239:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: lower, upperBound: higher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:52:35: warning: result of operator '&&' is unused
element >= lowerBound && element <= upperBound
~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:54:35: warning: result of operator '&&' is unused
element >= lowerBound && element < upperBound
~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:63:13: warning: result of 'String' initializer is unused
String(describing: lowerBound ... upperBound)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:65:13: warning: result of 'String' initializer is unused
String(describing: lowerBound ..< upperBound)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[9/24] Compiling SwiftVizScale HistogramBinRange.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:57:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:92:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:146:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:198:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:236:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if higher == lastThreshold {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:149:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + stride)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:201:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + stride)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:239:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: lower, upperBound: higher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:52:35: warning: result of operator '&&' is unused
element >= lowerBound && element <= upperBound
~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:54:35: warning: result of operator '&&' is unused
element >= lowerBound && element < upperBound
~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:63:13: warning: result of 'String' initializer is unused
String(describing: lowerBound ... upperBound)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:65:13: warning: result of 'String' initializer is unused
String(describing: lowerBound ..< upperBound)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[10/24] Compiling SwiftVizScale Interpolation.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:57:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:92:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + Value(niceBinSize) > largestValue {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:146:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:198:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if currentStep + stride > upperBound {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:236:49: error: expected initial value after '='
let bin: HistogramBinRange<Value> = if higher == lastThreshold {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:149:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + stride)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:201:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: currentStep, upperBound: currentStep + stride)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/Histogram.swift:239:17: warning: result of 'HistogramBinRange<Bound>' initializer is unused
HistogramBinRange(lowerBound: lower, upperBound: higher)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:52:35: warning: result of operator '&&' is unused
element >= lowerBound && element <= upperBound
~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:54:35: warning: result of operator '&&' is unused
element >= lowerBound && element < upperBound
~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:63:13: warning: result of 'String' initializer is unused
String(describing: lowerBound ... upperBound)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Histogram/HistogramBinRange.swift:65:13: warning: result of 'String' initializer is unused
String(describing: lowerBound ..< upperBound)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[11/24] Emitting module SwiftVizScale
[12/24] Compiling SwiftVizScale SequentialScale.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:54:39: error: expected initial value after '='
let clampedX: InputType = if x < domainLower {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:55:17: warning: expression of type 'InputType' is unused
domainLower
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:57:17: warning: expression of type 'InputType' is unused
domainHigher
^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:59:17: warning: expression of type 'InputType' is unused
x
^
[13/24] Compiling SwiftVizScale Tick.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:54:39: error: expected initial value after '='
let clampedX: InputType = if x < domainLower {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:55:17: warning: expression of type 'InputType' is unused
domainLower
^~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:57:17: warning: expression of type 'InputType' is unused
domainHigher
^~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/SequentialScale.swift:59:17: warning: expression of type 'InputType' is unused
x
^
[14/24] Compiling SwiftVizScale NiceValue.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:36: error: expected initial value after '='
let niceFraction: Double = if trendTowardsZero {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:35: error: consecutive statements on a line must be separated by ';'
let niceFraction: Double = if trendTowardsZero {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:24: error: expected initial value after '='
let fixedMin = if min == 0 {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:23: error: consecutive statements on a line must be separated by ';'
let fixedMin = if min == 0 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:388:29: error: expected initial value after '='
let incDate: Date = if let stepSize, stepSize >= magnitude.seconds {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:172:30: error: expected initial value after '='
let doublePosition = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:172:29: error: consecutive statements on a line must be separated by ';'
let doublePosition = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:227:41: error: expected initial value after '='
let indexedRangeValue: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:227:40: error: consecutive statements on a line must be separated by ';'
let indexedRangeValue: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:18:17: warning: integer literal is unused
1
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:20:17: warning: integer literal is unused
2
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:22:17: warning: integer literal is unused
5
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:24:17: warning: integer literal is unused
10
^~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:28:17: warning: integer literal is unused
1
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:30:17: warning: integer literal is unused
2
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:32:17: warning: integer literal is unused
5
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:34:17: warning: integer literal is unused
10
^~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:187:20: warning: expression of type 'Double' is unused
Double.leastNonzeroMagnitude
~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:189:13: warning: result of 'BinaryFloatingPoint' initializer is unused
Double(min)
^ ~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:249:13: warning: integer literal is unused
0
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:251:13: warning: integer literal is unused
1
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:253:44: warning: expression of type 'Double' is unused
DateMagnitude.minutesThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:255:42: warning: expression of type 'Double' is unused
DateMagnitude.hoursThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:257:41: warning: expression of type 'Double' is unused
DateMagnitude.daysThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:259:43: warning: expression of type 'Double' is unused
DateMagnitude.monthsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:261:42: warning: expression of type 'Double' is unused
DateMagnitude.yearsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:389:18: warning: result of operator '+' is unused
self + stepSize
~~~~ ^ ~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:391:18: warning: result of operator '+' is unused
self + magnitude.seconds
~~~~ ^ ~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:173:13: warning: result of 'Double' initializer is unused
Double(domain.reversed().firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:175:13: warning: result of 'Double' initializer is unused
Double(domain.firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:228:71: warning: result of operator '/' is unused
(Double(upperRange) - Double(padding) - Double(location)) / rangeExtentWithoutPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:230:50: warning: result of operator '/' is unused
(Double(location) - Double(padding)) / rangeExtentWithoutPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:251:46: warning: result of operator '??' is unused
formatter.string(for: value) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:253:17: warning: expression of type 'String' is unused
String("\(value)")
^~~~~~~~~~~~~~~~~~
[15/24] Compiling SwiftVizScale PointScale.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:36: error: expected initial value after '='
let niceFraction: Double = if trendTowardsZero {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:16:35: error: consecutive statements on a line must be separated by ';'
let niceFraction: Double = if trendTowardsZero {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:24: error: expected initial value after '='
let fixedMin = if min == 0 {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:186:23: error: consecutive statements on a line must be separated by ';'
let fixedMin = if min == 0 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:388:29: error: expected initial value after '='
let incDate: Date = if let stepSize, stepSize >= magnitude.seconds {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:172:30: error: expected initial value after '='
let doublePosition = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:172:29: error: consecutive statements on a line must be separated by ';'
let doublePosition = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:227:41: error: expected initial value after '='
let indexedRangeValue: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:227:40: error: consecutive statements on a line must be separated by ';'
let indexedRangeValue: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:18:17: warning: integer literal is unused
1
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:20:17: warning: integer literal is unused
2
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:22:17: warning: integer literal is unused
5
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:24:17: warning: integer literal is unused
10
^~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:28:17: warning: integer literal is unused
1
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:30:17: warning: integer literal is unused
2
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:32:17: warning: integer literal is unused
5
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:34:17: warning: integer literal is unused
10
^~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:187:20: warning: expression of type 'Double' is unused
Double.leastNonzeroMagnitude
~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:189:13: warning: result of 'BinaryFloatingPoint' initializer is unused
Double(min)
^ ~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:249:13: warning: integer literal is unused
0
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:251:13: warning: integer literal is unused
1
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:253:44: warning: expression of type 'Double' is unused
DateMagnitude.minutesThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:255:42: warning: expression of type 'Double' is unused
DateMagnitude.hoursThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:257:41: warning: expression of type 'Double' is unused
DateMagnitude.daysThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:259:43: warning: expression of type 'Double' is unused
DateMagnitude.monthsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:261:42: warning: expression of type 'Double' is unused
DateMagnitude.yearsThreshold.lowerBound
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:389:18: warning: result of operator '+' is unused
self + stepSize
~~~~ ^ ~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/NiceValue.swift:391:18: warning: result of operator '+' is unused
self + magnitude.seconds
~~~~ ^ ~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:173:13: warning: result of 'Double' initializer is unused
Double(domain.reversed().firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:175:13: warning: result of 'Double' initializer is unused
Double(domain.firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:228:71: warning: result of operator '/' is unused
(Double(upperRange) - Double(padding) - Double(location)) / rangeExtentWithoutPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:230:50: warning: result of operator '/' is unused
(Double(location) - Double(padding)) / rangeExtentWithoutPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:251:46: warning: result of operator '??' is unused
formatter.string(for: value) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/PointScale.swift:253:17: warning: expression of type 'String' is unused
String("\(value)")
^~~~~~~~~~~~~~~~~~
[16/24] Compiling SwiftVizScale ContinuousScale.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:42: error: expected initial value after '='
let valueMappedToRange: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:41: error: consecutive statements on a line must be separated by ';'
let valueMappedToRange: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:502:44: error: expected initial value after '='
let normalizedRangeValue: Double = if case .radial = scaleType {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:47: error: expected initial value after '='
let linearInterpolatedValue: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:46: error: consecutive statements on a line must be separated by ';'
let linearInterpolatedValue: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:660:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:685:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:702:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:709:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:711:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:21:13: warning: string literal is unused
"linear"
^~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:23:13: warning: string literal is unused
"log"
^~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:25:13: warning: string literal is unused
"power(\(exp))"
^~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:27:13: warning: string literal is unused
"radial"
^~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:15: error: ambiguous use of 'log10'
{ log10($0) }
^
Darwin.log10:1:13: note: found this candidate
public func log10(_ x: Float) -> Float
^
Darwin.log10:1:13: note: found this candidate
public func log10(_ x: Double) -> Double
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:13: error: closure expression is unused
{ log10($0) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: closure expression is unused
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:38:13: error: closure expression is unused
{ pow($0, exp) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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(_ x: Decimal, _ y: Int) -> Decimal
^
Darwin.pow:1:13: note: found this candidate
public func pow(_ lhs: Float, _ rhs: Float) -> Float
^
Darwin.pow:1:13: note: found this candidate
public func pow(_: Double, _: Double) -> Double
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:45:13: error: closure expression is unused
{ pow(10, $0) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: closure expression is unused
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:49:13: error: closure expression is unused
{ pow($0, 1.0 / exp) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:288:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:290:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
[17/24] Compiling SwiftVizScale ContinuousScaleType.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:42: error: expected initial value after '='
let valueMappedToRange: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:41: error: consecutive statements on a line must be separated by ';'
let valueMappedToRange: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:502:44: error: expected initial value after '='
let normalizedRangeValue: Double = if case .radial = scaleType {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:47: error: expected initial value after '='
let linearInterpolatedValue: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:46: error: consecutive statements on a line must be separated by ';'
let linearInterpolatedValue: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:660:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:685:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:702:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:709:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:711:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:21:13: warning: string literal is unused
"linear"
^~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:23:13: warning: string literal is unused
"log"
^~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:25:13: warning: string literal is unused
"power(\(exp))"
^~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:27:13: warning: string literal is unused
"radial"
^~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:15: error: ambiguous use of 'log10'
{ log10($0) }
^
Darwin.log10:1:13: note: found this candidate
public func log10(_ x: Float) -> Float
^
Darwin.log10:1:13: note: found this candidate
public func log10(_ x: Double) -> Double
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:13: error: closure expression is unused
{ log10($0) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: closure expression is unused
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:38:13: error: closure expression is unused
{ pow($0, exp) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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(_ x: Decimal, _ y: Int) -> Decimal
^
Darwin.pow:1:13: note: found this candidate
public func pow(_ lhs: Float, _ rhs: Float) -> Float
^
Darwin.pow:1:13: note: found this candidate
public func pow(_: Double, _: Double) -> Double
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:45:13: error: closure expression is unused
{ pow(10, $0) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: closure expression is unused
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:49:13: error: closure expression is unused
{ pow($0, 1.0 / exp) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:288:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:290:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
[18/24] Compiling SwiftVizScale DateScale.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:42: error: expected initial value after '='
let valueMappedToRange: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:433:41: error: consecutive statements on a line must be separated by ';'
let valueMappedToRange: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:502:44: error: expected initial value after '='
let normalizedRangeValue: Double = if case .radial = scaleType {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:47: error: expected initial value after '='
let linearInterpolatedValue: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:510:46: error: consecutive statements on a line must be separated by ';'
let linearInterpolatedValue: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:660:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:685:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:702:39: error: expected initial value after '='
let tickValues: [InputType] = if scaleType == .log {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:709:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScale.swift:711:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:21:13: warning: string literal is unused
"linear"
^~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:23:13: warning: string literal is unused
"log"
^~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:25:13: warning: string literal is unused
"power(\(exp))"
^~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:27:13: warning: string literal is unused
"radial"
^~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:15: error: ambiguous use of 'log10'
{ log10($0) }
^
Darwin.log10:1:13: note: found this candidate
public func log10(_ x: Float) -> Float
^
Darwin.log10:1:13: note: found this candidate
public func log10(_ x: Double) -> Double
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:34:13: error: closure expression is unused
{ log10($0) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:36:13: error: closure expression is unused
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:38:13: error: closure expression is unused
{ pow($0, exp) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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(_ x: Decimal, _ y: Int) -> Decimal
^
Darwin.pow:1:13: note: found this candidate
public func pow(_ lhs: Float, _ rhs: Float) -> Float
^
Darwin.pow:1:13: note: found this candidate
public func pow(_: Double, _: Double) -> Double
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:45:13: error: closure expression is unused
{ pow(10, $0) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: unable to infer type of a closure parameter '$0' in the current context
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:47:13: error: closure expression is unused
{ $0 }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/ContinuousScaleType.swift:49:13: error: closure expression is unused
{ pow($0, 1.0 / exp) }
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:288:49: warning: result of operator '??' is unused
formatter.string(for: intValue) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/DateScale.swift:290:17: warning: expression of type 'String' is unused
String("\(intValue)")
^~~~~~~~~~~~~~~~~~~~~
[19/24] Compiling SwiftVizScale IndexedColorInterpolator.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:30:35: error: expected initial value after '='
let lowerIndex: Int = if t == 1.0 {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:31:23: warning: result of operator '-' is unused
count - 2
~~~~~ ^ ~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:33:17: warning: result of 'Int' initializer is unused
Int(floor(t / step))
^ ~~~~~~~~~~~~~~~~~
[20/24] Compiling SwiftVizScale LCHColorInterpolator.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:30:35: error: expected initial value after '='
let lowerIndex: Int = if t == 1.0 {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:31:23: warning: result of operator '-' is unused
count - 2
~~~~~ ^ ~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Interpolators/IndexedColorInterpolator.swift:33:17: warning: result of 'Int' initializer is unused
Int(floor(t / step))
^ ~~~~~~~~~~~~~~~~~
[21/24] Compiling SwiftVizScale BandScale.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:30: error: expected initial value after '='
let doublePosition = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:29: error: consecutive statements on a line must be separated by ';'
let doublePosition = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:41: error: expected initial value after '='
let indexedRangeValue: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:40: error: consecutive statements on a line must be separated by ';'
let indexedRangeValue: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:116:51: error: expected initial value after '='
let targetForInterpolation: CGFloat = if hue1 > hue2 {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:190:13: warning: result of 'Double' initializer is unused
Double(domain.reversed().firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:192:13: warning: result of 'Double' initializer is unused
Double(domain.firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:246:76: warning: result of operator '/' is unused
(Double(upperRange) - Double(paddingOuter) - Double(location)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:248:55: warning: result of operator '/' is unused
(Double(location) - Double(paddingOuter)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:309:46: warning: result of operator '??' is unused
formatter.string(for: value) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:311:17: warning: expression of type 'String' is unused
String("\(value)")
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:120:26: warning: result of operator '+' is unused
hue2 + 2 * Double.pi
~~~~ ^ ~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:122:21: warning: expression of type 'CGFloat' is unused
hue2
^~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:128:26: warning: result of operator '+' is unused
hue2 + 2 * Double.pi
~~~~ ^ ~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:130:21: warning: expression of type 'CGFloat' is unused
hue2
^~~~
[22/24] Compiling SwiftVizScale CGColor+hex.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:30: error: expected initial value after '='
let doublePosition = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:29: error: consecutive statements on a line must be separated by ';'
let doublePosition = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:41: error: expected initial value after '='
let indexedRangeValue: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:40: error: consecutive statements on a line must be separated by ';'
let indexedRangeValue: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:116:51: error: expected initial value after '='
let targetForInterpolation: CGFloat = if hue1 > hue2 {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:190:13: warning: result of 'Double' initializer is unused
Double(domain.reversed().firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:192:13: warning: result of 'Double' initializer is unused
Double(domain.firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:246:76: warning: result of operator '/' is unused
(Double(upperRange) - Double(paddingOuter) - Double(location)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:248:55: warning: result of operator '/' is unused
(Double(location) - Double(paddingOuter)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:309:46: warning: result of operator '??' is unused
formatter.string(for: value) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:311:17: warning: expression of type 'String' is unused
String("\(value)")
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:120:26: warning: result of operator '+' is unused
hue2 + 2 * Double.pi
~~~~ ^ ~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:122:21: warning: expression of type 'CGFloat' is unused
hue2
^~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:128:26: warning: result of operator '+' is unused
hue2 + 2 * Double.pi
~~~~ ^ ~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:130:21: warning: expression of type 'CGFloat' is unused
hue2
^~~~
[23/24] Compiling SwiftVizScale LCH.swift
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:30: error: expected initial value after '='
let doublePosition = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:189:29: error: consecutive statements on a line must be separated by ';'
let doublePosition = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:41: error: expected initial value after '='
let indexedRangeValue: Double = if reversed {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:245:40: error: consecutive statements on a line must be separated by ';'
let indexedRangeValue: Double = if reversed {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:116:51: error: expected initial value after '='
let targetForInterpolation: CGFloat = if hue1 > hue2 {
^
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/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 {
^
;
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:190:13: warning: result of 'Double' initializer is unused
Double(domain.reversed().firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:192:13: warning: result of 'Double' initializer is unused
Double(domain.firstIndex(of: value)!)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:246:76: warning: result of operator '/' is unused
(Double(upperRange) - Double(paddingOuter) - Double(location)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:248:55: warning: result of operator '/' is unused
(Double(location) - Double(paddingOuter)) / rangeExtentWithoutOuterPadding
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:309:46: warning: result of operator '??' is unused
formatter.string(for: value) ?? ""
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/BandScale.swift:311:17: warning: expression of type 'String' is unused
String("\(value)")
^~~~~~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:120:26: warning: result of operator '+' is unused
hue2 + 2 * Double.pi
~~~~ ^ ~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:122:21: warning: expression of type 'CGFloat' is unused
hue2
^~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:128:26: warning: result of operator '+' is unused
hue2 + 2 * Double.pi
~~~~ ^ ~~~~~~~~~~~~~
/Users/builder/builds/o86TiJKT/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftVizScale/Color/LCH.swift:130:21: warning: expression of type 'CGFloat' is unused
hue2
^~~~
BUILD FAILURE 5.8 macosSpm