The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftXGBoost, reference 0.13.0 (569782), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 09:53:38 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kongzii/SwiftXGBoost.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/51] Write sources
[4/51] Write PredictLeafIndices-entitlement.plist
[4/51] Write sources
[4/51] Write GeneralizedLinearModel-entitlement.plist
[4/51] Write PredictFirstNTree-entitlement.plist
[6/51] Write sources
[10/51] Write ExternalMemory-entitlement.plist
[10/51] Write EvalsResult-entitlement.plist
[10/51] Write sources
[14/51] Write CrossValidation-entitlement.plist
[15/51] Write sources
[15/51] Write CustomObjective-entitlement.plist
[16/51] Write sources
[20/51] Write BoostFromPrediction-entitlement.plist
[22/51] Write AftSurvival-entitlement.plist
[23/51] Write swift-version-1EA4D86E10B52AF.txt
[25/92] Compiling Logging MetadataProvider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/92] Compiling PythonKit PythonLibrary+Symbols.swift
[27/92] Compiling PythonKit PythonLibrary.swift
[28/92] Compiling PythonKit NumpyConversion.swift
[29/92] 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
[30/92] 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
[31/92] Compiling Logging LogHandler.swift
[32/92] Compiling Logging Locks.swift
[33/92] Emitting module Logging
Fetching https://github.com/KarthikRIyer/swiftplot.git
Fetching https://github.com/kongzii/PythonKit
Fetching https://github.com/apple/swift-log.git
[1/867] Fetching pythonkit
[19/7575] Fetching pythonkit, swiftplot
[397/11411] Fetching pythonkit, swiftplot, swift-log
Fetched https://github.com/kongzii/PythonKit from cache (0.79s)
[730/10544] Fetching swiftplot, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.02s)
[873/6708] Fetching swiftplot
Fetched https://github.com/KarthikRIyer/swiftplot.git from cache (2.76s)
Computing version for https://github.com/KarthikRIyer/swiftplot.git
Computed https://github.com/KarthikRIyer/swiftplot.git at 2.0.0 (3.27s)
Computing version for https://github.com/kongzii/PythonKit
Computed https://github.com/kongzii/PythonKit at 0.0.1 (0.48s)
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/apple/swift-argument-parser from cache (1.63s)
Fetched https://github.com/kongzii/LoggerKit.git from cache (1.63s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (2.13s)
Fetching https://github.com/onevcat/Rainbow
[1/1196] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.83s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (1.34s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (1.91s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.39s)
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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
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/LoggerKit.git
Working copy of https://github.com/kongzii/LoggerKit.git resolved at 0.0.0
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.2 macosSpm