Build Information
Failed to build SwiftXGBoost, reference master (144652
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 09:50:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kongzii/SwiftXGBoost.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 1446528 Fix readme xgboost installation
Cloned https://github.com/kongzii/SwiftXGBoost.git
Revision (git rev-parse @):
144652898942f4d012dc423a6ecebf820d9b12bf
SUCCESS checkout https://github.com/kongzii/SwiftXGBoost.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/kongzii/SwiftXGBoost.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/KarthikRIyer/swiftplot.git
Fetching https://github.com/kongzii/PythonKit
Fetching https://github.com/apple/swift-log.git
[1/6708] Fetching swiftplot
[203/7575] Fetching swiftplot, pythonkit
[1673/11411] Fetching swiftplot, pythonkit, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.42s)
[2880/7575] Fetching swiftplot, pythonkit
Fetched https://github.com/kongzii/PythonKit from cache (0.96s)
Fetched https://github.com/KarthikRIyer/swiftplot.git from cache (1.00s)
Computing version for https://github.com/KarthikRIyer/swiftplot.git
Computed https://github.com/KarthikRIyer/swiftplot.git at 2.0.0 (1.39s)
Computing version for https://github.com/kongzii/PythonKit
Computed https://github.com/kongzii/PythonKit at 0.0.1 (0.38s)
Fetching https://github.com/kongzii/LoggerKit.git
Fetching https://github.com/apple/swift-argument-parser
[1/369] Fetching loggerkit
[370/15749] Fetching loggerkit, swift-argument-parser
Fetched https://github.com/kongzii/LoggerKit.git from cache (0.82s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.83s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (1.18s)
Fetching https://github.com/onevcat/Rainbow
[1/1196] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.21s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.63s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (3.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.40s)
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/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/LoggerKit.git
Working copy of https://github.com/kongzii/LoggerKit.git resolved at 0.0.0
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.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.6.3
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/87] Emitting module SwiftPlot
[17/91] Compiling SwiftPlot ScatterPlotSeriesOptions.swift
[18/91] Compiling SwiftPlot SequencePlots.swift
[19/91] Compiling SwiftPlot Series.swift
[20/91] Compiling SwiftPlot SubPlot.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/91] 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
[22/91] Compiling Logging MetadataProvider.swift
[23/91] Compiling PythonKit PythonLibrary+Symbols.swift
[24/91] Compiling PythonKit NumpyConversion.swift
[25/91] Compiling PythonKit PythonLibrary.swift
[26/91] 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
[27/91] Compiling SwiftPlot Heatmap.swift
[28/91] Compiling SwiftPlot HelperFunction.swift
[29/91] Compiling SwiftPlot Histogram.swift
[30/91] Compiling SwiftPlot HistogramSeries.swift
[31/91] Compiling SwiftPlot AdaptersNamespace.swift
[32/91] Compiling SwiftPlot Axis.swift
[33/91] Compiling SwiftPlot BarChart.swift
[34/91] Compiling SwiftPlot BarGraphSeriesOptions.swift
[35/91] Compiling SwiftPlot Color.swift
[36/91] Compiling SwiftPlot HistogramSeriesOptions.swift
[37/91] Compiling SwiftPlot Label.swift
[38/91] Compiling SwiftPlot LayoutComponent.swift
[39/91] Compiling SwiftPlot Spacing.swift
[40/91] Compiling SwiftPlot LineChart.swift
[41/91] Compiling SwiftPlot Pair.swift
[42/91] Compiling SwiftPlot Plot.swift
[43/91] Compiling SwiftPlot PlotDimensions.swift
[44/91] Compiling Logging Locks.swift
[45/91] Emitting module Logging
[46/91] Compiling SwiftPlot ColorMap.swift
[47/91] Compiling SwiftPlot ColorMapData.swift
[48/91] Compiling SwiftPlot FloatConvertible.swift
[49/91] Compiling SwiftPlot EdgeComponents.swift
BUILD FAILURE 6.2 linux