The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftXGBoost, reference 0.13.0 (569782), with Swift 6.3 for Linux on 11 Apr 2026 10:14:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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:             6.3
Building package at path:  $PWD
https://github.com/kongzii/SwiftXGBoost.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/KarthikRIyer/swiftplot.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/kongzii/PythonKit
[1/867] Fetching pythonkit
[868/7575] Fetching pythonkit, swiftplot
[1673/14096] Fetching pythonkit, swiftplot, swift-log
Fetched https://github.com/kongzii/PythonKit from cache (1.17s)
Fetched https://github.com/apple/swift-log.git from cache (1.17s)
Fetched https://github.com/KarthikRIyer/swiftplot.git from cache (1.21s)
Computing version for https://github.com/KarthikRIyer/swiftplot.git
Computed https://github.com/KarthikRIyer/swiftplot.git at 2.0.0 (1.65s)
Computing version for https://github.com/kongzii/PythonKit
Computed https://github.com/kongzii/PythonKit at 0.0.1 (1.44s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/kongzii/LoggerKit.git
[1/369] Fetching loggerkit
Fetched https://github.com/kongzii/LoggerKit.git from cache (0.45s)
[1/17523] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.17s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (1.79s)
Fetching https://github.com/onevcat/Rainbow
[1/1442] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.64s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (1.27s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (2.71s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.67s)
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/kongzii/LoggerKit.git
Working copy of https://github.com/kongzii/LoggerKit.git resolved at 0.0.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
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/kongzii/PythonKit
Working copy of https://github.com/kongzii/PythonKit resolved at 0.0.1
warning: couldn't find pc file for xgboost
warning: you may be able to install freetype2 using your system-packager:
    apt-get install libfreetype6-dev
warning: couldn't find pc file for xgboost
warning: you may be able to install freetype2 using your system-packager:
    apt-get install libfreetype6-dev
Building for debugging...
[0/47] Write sources
[14/47] Write swift-version-24593BA9C3E375BF.txt
[16/88] Compiling SwiftPlot ColorMap.swift
[17/88] Compiling SwiftPlot ColorMapData.swift
[18/88] Compiling SwiftPlot FloatConvertible.swift
[19/88] Compiling SwiftPlot EdgeComponents.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/92] 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
  26 | /// Typealias used when passing or returning a `PyObject` pointer with
  27 | /// implied ownership.
  28 | typealias OwnedPyObjectPointer = PyObjectPointer
     |           `- note: type declared here
  29 |
  30 | /// A primitive reference to a Python C API `PyObject`.
     :
  38 | @usableFromInline @_fixed_layout
  39 | final class PyReference {
  40 |     private var pointer: OwnedPyObjectPointer
     |                 `- error: type referenced from a stored property in a '@frozen' struct must be '@usableFromInline' or public
  41 |
  42 |     // This `PyReference`, once deleted, will make no delta change to the
[21/92] Compiling Logging LogHandler.swift
[22/92] Compiling Logging LogEvent.swift
[23/92] Compiling SwiftPlot ScatterPlotSeriesOptions.swift
[24/92] Compiling SwiftPlot SequencePlots.swift
[25/92] Compiling SwiftPlot Series.swift
[26/92] Compiling SwiftPlot SubPlot.swift
[27/92] Compiling Logging Locks.swift
[28/92] Compiling PythonKit PythonLibrary+Symbols.swift
[29/92] Compiling PythonKit NumpyConversion.swift
[30/92] Compiling PythonKit PythonLibrary.swift
[31/92] 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
  26 | /// Typealias used when passing or returning a `PyObject` pointer with
  27 | /// implied ownership.
  28 | typealias OwnedPyObjectPointer = PyObjectPointer
     |           `- note: type declared here
  29 |
  30 | /// A primitive reference to a Python C API `PyObject`.
     :
  38 | @usableFromInline @_fixed_layout
  39 | final class PyReference {
  40 |     private var pointer: OwnedPyObjectPointer
     |                 `- error: type referenced from a stored property in a '@frozen' struct must be '@usableFromInline' or public
  41 |
  42 |     // This `PyReference`, once deleted, will make no delta change to the
[32/92] Compiling Logging MetadataProvider.swift
[33/92] Emitting module SwiftPlot
[34/92] Compiling SwiftPlot HistogramSeriesOptions.swift
[35/92] Compiling SwiftPlot Label.swift
[36/92] Compiling SwiftPlot LayoutComponent.swift
[37/92] Compiling SwiftPlot Spacing.swift
[38/92] Emitting module Logging
BUILD FAILURE 6.3 linux