The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftUICharts with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apppear/chartview.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/apppear/chartview.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/18] Emitting module SwiftUICharts
[4/20] Compiling SwiftUICharts PieChartRow.swift
/Users/admin/builds/J1XnyXFH/1/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
                                        ^
[5/20] Compiling SwiftUICharts PieChartView.swift
/Users/admin/builds/J1XnyXFH/1/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
                                        ^
[6/20] Compiling SwiftUICharts MultiLineChartView.swift
[7/20] Compiling SwiftUICharts Path+QuadCurve.swift
[8/20] Compiling SwiftUICharts Line.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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],
           ^
[9/20] Compiling SwiftUICharts LineChartView.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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],
           ^
[10/20] Compiling SwiftUICharts LabelView.swift
[11/20] Compiling SwiftUICharts Helpers.swift
[12/20] Compiling SwiftUICharts IndicatorPoint.swift
[13/20] Compiling SwiftUICharts Legend.swift
[14/20] Compiling SwiftUICharts PieChartCell.swift
[15/20] Compiling SwiftUICharts PieChartHelpers.swift
[16/20] Compiling SwiftUICharts LineView.swift
[17/20] Compiling SwiftUICharts MagnifierRect.swift
[18/20] Compiling SwiftUICharts BarChartCell.swift
[19/20] Compiling SwiftUICharts BarChartRow.swift
[20/20] Compiling SwiftUICharts BarChartView.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/4] Compiling SwiftUICharts LineChartView.swift
/Users/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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/admin/builds/J1XnyXFH/1/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],
           ^
[3/4] Compiling SwiftUICharts Line.swift
[4/4] Emitting module SwiftUICharts
[5/6] Compiling SwiftUICharts MultiLineChartView.swift
[6/6] Compiling SwiftUICharts LineView.swift
error: fatalError
BUILD FAILURE 5.10 macosSpm