Build Information
Failed to build SwiftXGBoost, reference 0.13.0 (569782), with Swift 6.3 for macOS (SPM) on 11 Apr 2026 18:34:08 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build 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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/kongzii/PythonKit
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/KarthikRIyer/swiftplot.git
Fetching https://github.com/kongzii/LoggerKit.git
[1/369] Fetching loggerkit
[46/1811] Fetching loggerkit, rainbow
[104/2678] Fetching loggerkit, rainbow, pythonkit
[302/9386] Fetching loggerkit, rainbow, pythonkit, swiftplot
[1952/15907] Fetching loggerkit, rainbow, pythonkit, swiftplot, swift-log
Fetched https://github.com/onevcat/Rainbow from cache (0.85s)
[2027/14465] Fetching loggerkit, pythonkit, swiftplot, swift-log
[2093/31988] Fetching loggerkit, pythonkit, swiftplot, swift-log, swift-argument-parser
Fetched https://github.com/kongzii/PythonKit from cache (1.82s)
[27499/31121] Fetching loggerkit, swiftplot, swift-log, swift-argument-parser
Fetched https://github.com/KarthikRIyer/swiftplot.git from cache (2.54s)
Fetched https://github.com/apple/swift-log.git from cache (2.54s)
Computing version for https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-argument-parser from cache (2.54s)
Fetched https://github.com/kongzii/LoggerKit.git from cache (2.54s)
Computed https://github.com/apple/swift-log.git at 1.2.0 (3.26s)
Computing version for https://github.com/KarthikRIyer/swiftplot.git
Computed https://github.com/KarthikRIyer/swiftplot.git at 2.0.0 (0.69s)
Computing version for https://github.com/kongzii/PythonKit
Computed https://github.com/kongzii/PythonKit at 0.0.1 (0.71s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.77s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (0.75s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.5 (2.47s)
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
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/kongzii/PythonKit
Working copy of https://github.com/kongzii/PythonKit resolved at 0.0.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swiftxgboost",
"name": "SwiftXGBoost",
"url": "https://github.com/kongzii/SwiftXGBoost.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftXGBoost",
"traits": [
"default"
],
"dependencies": [
{
"identity": "pythonkit",
"name": "PythonKit",
"url": "https://github.com/kongzii/PythonKit",
"version": "0.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PythonKit",
"traits": [
"default"
],
"dependencies": [
{
"identity": "loggerkit",
"name": "LoggerKit",
"url": "https://github.com/kongzii/LoggerKit.git",
"version": "0.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LoggerKit",
"traits": [
"default"
],
"dependencies": [
{
"identity": "rainbow",
"name": "Rainbow",
"url": "https://github.com/onevcat/Rainbow",
"version": "3.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
"traits": [
"default"
],
"dependencies": [
]
}
]
},
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "0.0.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"traits": [
"default"
],
"dependencies": [
]
}
]
},
{
"identity": "swiftplot",
"name": "SwiftPlot",
"url": "https://github.com/KarthikRIyer/swiftplot.git",
"version": "2.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftplot",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.11.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"traits": [
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/kongzii/SwiftXGBoost.git
[1/2962] Fetching swiftxgboost
Fetched https://github.com/kongzii/SwiftXGBoost.git from cache (1.23s)
Fetching https://github.com/kongzii/PythonKit from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/KarthikRIyer/swiftplot.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.55s)
Fetched https://github.com/KarthikRIyer/swiftplot.git from cache (0.55s)
Fetched https://github.com/kongzii/PythonKit from cache (0.55s)
Computing version for https://github.com/KarthikRIyer/swiftplot.git
Computed https://github.com/KarthikRIyer/swiftplot.git at 2.0.0 (0.61s)
Computing version for https://github.com/kongzii/PythonKit
Computed https://github.com/kongzii/PythonKit at 0.0.1 (0.03s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/kongzii/LoggerKit.git from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.57s)
Fetched https://github.com/kongzii/LoggerKit.git from cache (0.57s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (0.63s)
Fetching https://github.com/onevcat/Rainbow from cache
Fetched https://github.com/onevcat/Rainbow from cache (0.42s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.51s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.04s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.71s)
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/kongzii/SwiftXGBoost.git
Working copy of https://github.com/kongzii/SwiftXGBoost.git resolved at 0.13.0 (5697823)
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/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/KarthikRIyer/swiftplot.git
Working copy of https://github.com/KarthikRIyer/swiftplot.git resolved at 2.0.0
warning: '.resolve-product-dependencies': dependency 'swiftxgboost' is not used by any target
Found 3 product dependencies
- PythonKit
- SwiftPlot
- swift-log
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/kongzii/SwiftXGBoost.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/51] Write sources
[5/51] Write PredictFirstNTree-entitlement.plist
[5/51] Write PredictLeafIndices-entitlement.plist
[7/51] Write ExternalMemory-entitlement.plist
[7/51] Write sources
[7/51] Write GeneralizedLinearModel-entitlement.plist
[10/51] Write sources
[14/51] Write EvalsResult-entitlement.plist
[16/51] Write CrossValidation-entitlement.plist
[17/51] Write BoostFromPrediction-entitlement.plist
[17/51] Write sources
[19/51] Write CustomObjective-entitlement.plist
[19/51] Write sources
[19/51] Write AftSurvival-entitlement.plist
[23/51] Write swift-version--6988338F2F200930.txt
[25/91] Compiling Logging Locks.swift
[26/91] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/91] Compiling PythonKit PythonLibrary.swift
[28/91] Emitting module PythonKit
/Users/admin/builder/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
[29/91] Compiling PythonKit NumpyConversion.swift
[30/91] Compiling PythonKit PythonLibrary+Symbols.swift
[31/91] Compiling PythonKit Python.swift
/Users/admin/builder/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/91] Compiling Logging LogHandler.swift
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install xgboost using your system-packager:
brew install xgboost
warning: you may be able to install freetype2 using your system-packager:
brew install freetype2
warning: you may be able to install xgboost using your system-packager:
brew install xgboost
warning: you may be able to install freetype2 using your system-packager:
brew install freetype2
BUILD FAILURE 6.3 macosSpm