Build Information
Failed to build SwiftUICharts with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apppear/chartview.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/apppear/chartview
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 102b51b feat: added wiki article links to readme
Cloned https://github.com/apppear/chartview.git
Revision (git rev-parse @):
102b51bff6d2edcb4d0962d05795938199fe3eba
SUCCESS checkout https://github.com/apppear/chartview.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "chartview",
"name": "SwiftUICharts",
"url": "https://github.com/apppear/chartview.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/chartview",
"dependencies": [
]
}
]
}
Fetching https://github.com/apppear/chartview.git from cache
Fetched https://github.com/apppear/chartview.git (0.36s)
Creating working copy for https://github.com/apppear/chartview.git
Working copy of https://github.com/apppear/chartview.git resolved at master
warning: '.resolve-product-dependencies': dependency 'chartview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/16] Compiling SwiftUICharts MultiLineChartView.swift
[2/16] Compiling SwiftUICharts Path+QuadCurve.swift
[3/18] Compiling SwiftUICharts LabelView.swift
[4/18] Compiling SwiftUICharts Helpers.swift
[5/18] Compiling SwiftUICharts LineView.swift
[6/18] Compiling SwiftUICharts MagnifierRect.swift
[7/18] Compiling SwiftUICharts IndicatorPoint.swift
[8/18] Compiling SwiftUICharts Legend.swift
[9/18] Emitting module SwiftUICharts
[10/18] Compiling SwiftUICharts Line.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUICharts/LineChart/LineChartView.swift:84:50: error: cannot force unwrap value of non-optional type 'Int'
Text("\(rateValue!)%")
~~~~~~~~~^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUICharts/LineChart/LineChartView.swift:79:47: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
if (rateValue ?? 0 >= 0){
~~~~~~~~~ ^~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUICharts/LineChart/LineChartView.swift:145:97: error: missing argument for parameter 'rateValue' in call
LineChartView(data: [8,23,54,32,12,37,7,23,43], title: "Line chart", legend: "Basic")
^
, rateValue: <#Int?#>
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUICharts/LineChart/LineChartView.swift:36:12: note: 'init(data:title:legend:style:form:rateValue:dropShadow:valueSpecifier:)' declared here
public init(data: [Double],
^
[11/18] Compiling SwiftUICharts LineChartView.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUICharts/LineChart/LineChartView.swift:84:50: error: cannot force unwrap value of non-optional type 'Int'
Text("\(rateValue!)%")
~~~~~~~~~^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUICharts/LineChart/LineChartView.swift:79:47: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
if (rateValue ?? 0 >= 0){
~~~~~~~~~ ^~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUICharts/LineChart/LineChartView.swift:145:97: error: missing argument for parameter 'rateValue' in call
LineChartView(data: [8,23,54,32,12,37,7,23,43], title: "Line chart", legend: "Basic")
^
, rateValue: <#Int?#>
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUICharts/LineChart/LineChartView.swift:36:12: note: 'init(data:title:legend:style:form:rateValue:dropShadow:valueSpecifier:)' declared here
public init(data: [Double],
^
[12/18] Compiling SwiftUICharts PieChartCell.swift
[13/18] Compiling SwiftUICharts PieChartHelpers.swift
[14/18] Compiling SwiftUICharts BarChartCell.swift
[15/18] Compiling SwiftUICharts BarChartRow.swift
[16/18] Compiling SwiftUICharts BarChartView.swift
[17/18] Compiling SwiftUICharts PieChartRow.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUICharts/PieChart/PieChartRow.swift:44:41: warning: non-constant range: argument must be an integer literal
ForEach(0..<self.slices.count){ i in
^
[18/18] Compiling SwiftUICharts PieChartView.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUICharts/PieChart/PieChartRow.swift:44:41: warning: non-constant range: argument must be an integer literal
ForEach(0..<self.slices.count){ i in
^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/3] Compiling SwiftUICharts Line.swift
[2/3] Emitting module SwiftUICharts
[3/3] Compiling SwiftUICharts LineChartView.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUICharts/LineChart/LineChartView.swift:84:50: error: cannot force unwrap value of non-optional type 'Int'
Text("\(rateValue!)%")
~~~~~~~~~^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUICharts/LineChart/LineChartView.swift:79:47: warning: left side of nil coalescing operator '??' has non-optional type 'Int', so the right side is never used
if (rateValue ?? 0 >= 0){
~~~~~~~~~ ^~~~~
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUICharts/LineChart/LineChartView.swift:145:97: error: missing argument for parameter 'rateValue' in call
LineChartView(data: [8,23,54,32,12,37,7,23,43], title: "Line chart", legend: "Basic")
^
, rateValue: <#Int?#>
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUICharts/LineChart/LineChartView.swift:36:12: note: 'init(data:title:legend:style:form:rateValue:dropShadow:valueSpecifier:)' declared here
public init(data: [Double],
^
[4/5] Compiling SwiftUICharts MultiLineChartView.swift
[5/5] Compiling SwiftUICharts LineView.swift
error: fatalError
BUILD FAILURE 5.9 macosSpm