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 SwiftXGBoost with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kongzii/SwiftXGBoost.git
Reference: 0.13.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/kongzii/SwiftXGBoost
 * tag               0.13.0     -> FETCH_HEAD
HEAD is now at 5697823 Change default renderer to svg
Cloned https://github.com/kongzii/SwiftXGBoost.git
Revision (git rev-parse @):
569782385a8ae3f490108e73fd24db6f8972c4ed
SUCCESS checkout https://github.com/kongzii/SwiftXGBoost.git at 0.13.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/kongzii/SwiftXGBoost.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/kongzii/LoggerKit.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/KarthikRIyer/swiftplot.git
Fetching https://github.com/kongzii/PythonKit
[1/867] Fetching pythonkit
[504/1981] Fetching pythonkit, rainbow
[1414/2350] Fetching pythonkit, rainbow, loggerkit
[2351/9052] Fetching pythonkit, rainbow, loggerkit, swiftplot
[2620/12222] Fetching pythonkit, rainbow, loggerkit, swiftplot, swift-log
Fetched https://github.com/kongzii/LoggerKit.git from cache (0.33s)
[5481/11853] Fetching pythonkit, rainbow, swiftplot, swift-log
[5957/23279] Fetching pythonkit, rainbow, swiftplot, swift-log, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow from cache (0.74s)
[18345/22165] Fetching pythonkit, swiftplot, swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.75s)
[6986/10739] Fetching pythonkit, swiftplot, swift-log
Fetched https://github.com/kongzii/PythonKit from cache (1.26s)
Fetched https://github.com/apple/swift-log.git from cache (1.27s)
Fetched https://github.com/KarthikRIyer/swiftplot.git from cache (1.30s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.2.0 (0.44s)
Computing version for https://github.com/KarthikRIyer/swiftplot.git
Computed https://github.com/KarthikRIyer/swiftplot.git at 2.0.0 (0.49s)
Computing version for https://github.com/kongzii/PythonKit
Computed https://github.com/kongzii/PythonKit at 0.0.1 (0.45s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.48s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (0.45s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.5 (1.27s)
Creating working copy for https://github.com/kongzii/PythonKit
Working copy of https://github.com/kongzii/PythonKit resolved at 0.0.1
Creating working copy for https://github.com/KarthikRIyer/swiftplot.git
Working copy of https://github.com/KarthikRIyer/swiftplot.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.0.6
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.2.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.1.5
Creating working copy for https://github.com/kongzii/LoggerKit.git
Working copy of https://github.com/kongzii/LoggerKit.git resolved at 0.0.0
warning: couldn't find pc file for xgboost
Building for debugging...
[0/47] Write sources
[14/47] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/86] Emitting module PythonKit
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/Python.swift:40:17: error: type referenced from a stored property in a '@frozen' struct must be '@usableFromInline' or public
    private var pointer: OwnedPyObjectPointer
                ^        ~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
          ^
[17/86] Emitting module SwiftPlot
[18/86] Compiling SwiftPlot AdaptersNamespace.swift
[19/86] Compiling SwiftPlot Axis.swift
[20/86] Compiling SwiftPlot BarChart.swift
[21/86] Compiling SwiftPlot BarGraphSeriesOptions.swift
[22/86] Compiling SwiftPlot Color.swift
[23/90] Compiling SwiftPlot HistogramSeriesOptions.swift
[24/90] Compiling SwiftPlot Label.swift
[25/90] Compiling SwiftPlot LayoutComponent.swift
[26/90] Compiling SwiftPlot Spacing.swift
[27/90] Compiling SwiftPlot LineChart.swift
[28/90] Compiling SwiftPlot Pair.swift
[29/90] Compiling SwiftPlot Plot.swift
[30/90] Compiling SwiftPlot PlotDimensions.swift
[31/90] Compiling SwiftPlot Heatmap.swift
[32/90] Compiling SwiftPlot HelperFunction.swift
[33/90] Compiling SwiftPlot Histogram.swift
[34/90] Compiling SwiftPlot HistogramSeries.swift
[35/90] Compiling SwiftPlot PlotMarkers.swift
[36/90] Compiling SwiftPlot PlotStyleHelpers.swift
[37/90] Compiling SwiftPlot Renderer.swift
[38/90] Compiling SwiftPlot ScatterChart.swift
[39/90] Compiling SwiftPlot ColorMap.swift
[40/90] Compiling SwiftPlot ColorMapData.swift
[41/90] Compiling SwiftPlot FloatConvertible.swift
[42/90] Compiling SwiftPlot EdgeComponents.swift
[43/90] Compiling SwiftPlot Rect.swift
[44/90] Compiling SwiftPlot Size.swift
[45/90] Compiling SwiftPlot GraphLayout.swift
[46/90] Compiling SwiftPlot Heatmap-adapter.swift
[47/90] Compiling PythonKit PythonLibrary+Symbols.swift
[48/90] Compiling PythonKit PythonLibrary.swift
[49/90] Compiling PythonKit NumpyConversion.swift
[50/90] Compiling PythonKit Python.swift
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/Python.swift:40:17: error: type referenced from a stored property in a '@frozen' struct must be '@usableFromInline' or public
    private var pointer: OwnedPyObjectPointer
                ^        ~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
          ^
error: fatalError
[51/90] Compiling Logging LogHandler.swift
[52/90] Emitting module Logging
[53/90] Compiling Logging Locks.swift
warning: couldn't find pc file for xgboost
[0/1] Planning build
Building for debugging...
[0/33] Write swift-version-24593BA9C3E375BF.txt
[2/44] Compiling Logging Locks.swift
[3/44] Emitting module Logging
[4/44] Compiling SwiftPlot Series.swift
[5/48] Compiling SwiftPlot SequencePlots.swift
[6/48] Compiling SwiftPlot SubPlot.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/54] Emitting module PythonKit
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/Python.swift:40:17: error: type referenced from a stored property in a '@frozen' struct must be '@usableFromInline' or public
    private var pointer: OwnedPyObjectPointer
                ^        ~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
          ^
[8/54] Compiling PythonKit Python.swift
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/Python.swift:40:17: error: type referenced from a stored property in a '@frozen' struct must be '@usableFromInline' or public
    private var pointer: OwnedPyObjectPointer
                ^        ~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
          ^
error: fatalError
[9/54] Compiling Logging LogHandler.swift
BUILD FAILURE 5.10 linux