This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kongzii/SwiftXGBoost.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/kongzii/SwiftXGBoost.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/51] Write EvalsResult-entitlement.plist
[0/51] Write CustomObjective-entitlement.plist
[1/51] Write BoostFromPrediction-entitlement.plist
[3/51] Write ExternalMemory-entitlement.plist
[3/51] Write CrossValidation-entitlement.plist
[4/51] Write sources
[6/51] Write GeneralizedLinearModel-entitlement.plist
[6/51] Write sources
[6/51] Write AftSurvival-entitlement.plist
[7/51] Write PredictLeafIndices-entitlement.plist
[7/51] Write PredictFirstNTree-entitlement.plist
[12/51] Write sources
[23/51] Write swift-version-6F35C1178C84523A.txt
[25/91] Compiling PythonKit PythonLibrary+Symbols.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/91] Compiling PythonKit NumpyConversion.swift
[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 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
[30/91] Compiling Logging LogHandler.swift
[31/91] Compiling Logging Logging.swift
[32/91] Emitting module Logging
Fetching https://github.com/kongzii/LoggerKit.git
Fetching https://github.com/KarthikRIyer/swiftplot.git
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/onevcat/Rainbow
[1/369] Fetching loggerkit
[75/1487] Fetching loggerkit, rainbow
[232/2354] Fetching loggerkit, rainbow, pythonkit
[811/5715] Fetching loggerkit, rainbow, pythonkit, swift-log
[1314/12417] Fetching loggerkit, rainbow, pythonkit, swift-log, swiftplot
[2962/24096] Fetching loggerkit, rainbow, pythonkit, swift-log, swiftplot, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (2.07s)
[7726/12417] Fetching loggerkit, rainbow, pythonkit, swift-log, swiftplot
Fetched https://github.com/apple/swift-log.git from cache (4.53s)
Fetched https://github.com/onevcat/Rainbow from cache (4.53s)
Fetched https://github.com/kongzii/PythonKit from cache (4.53s)
Fetched https://github.com/kongzii/LoggerKit.git from cache (4.54s)
Fetched https://github.com/KarthikRIyer/swiftplot.git from cache (4.54s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.2.0 (0.68s)
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.66s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.68s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (0.67s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.5 (2.68s)
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.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/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/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
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.