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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kongzii/SwiftXGBoost.git
Reference: 0.13.0
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-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:             5.10
Building package at path:  $workDir
https://github.com/kongzii/SwiftXGBoost.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/51] Write sources
[1/51] Write PredictLeafIndices-entitlement.plist
[7/51] Write ExternalMemory-entitlement.plist
[8/51] Write PredictFirstNTree-entitlement.plist
[8/51] Write sources
[14/51] Write GeneralizedLinearModel-entitlement.plist
[15/51] Write EvalsResult-entitlement.plist
[15/51] Write sources
[17/51] Write CustomObjective-entitlement.plist
[17/51] Write CrossValidation-entitlement.plist
[18/51] Write sources
[21/51] Write AftSurvival-entitlement.plist
[22/51] Write BoostFromPrediction-entitlement.plist
[23/51] Write swift-version--423B1241ED78D482.txt
[25/90] Compiling Logging LogHandler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/90] Compiling PythonKit NumpyConversion.swift
[27/90] Compiling PythonKit PythonLibrary.swift
[28/90] Compiling PythonKit PythonLibrary+Symbols.swift
[29/90] Emitting module PythonKit
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-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
    private var pointer: OwnedPyObjectPointer
                ^        ~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
          ^
[30/90] Compiling PythonKit Python.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-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
    private var pointer: OwnedPyObjectPointer
                ^        ~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
          ^
error: fatalError
[31/90] Compiling Logging Locks.swift
[32/90] Emitting module Logging
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/onevcat/Rainbow from cache
Fetching https://github.com/KarthikRIyer/swiftplot.git
Fetching https://github.com/kongzii/LoggerKit.git
Fetching https://github.com/kongzii/PythonKit
[1/369] Fetching loggerkit
Fetched https://github.com/apple/swift-argument-parser from cache (0.21s)
Fetched https://github.com/onevcat/Rainbow from cache (0.21s)
[46/1236] Fetching loggerkit, pythonkit
Fetched https://github.com/apple/swift-log.git from cache (0.21s)
[974/7938] Fetching loggerkit, pythonkit, swiftplot
Fetched https://github.com/KarthikRIyer/swiftplot.git from cache (3.74s)
Fetched https://github.com/kongzii/LoggerKit.git from cache (3.74s)
Fetched https://github.com/kongzii/PythonKit from cache (3.74s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.2.0 (0.02s)
Computing version for https://github.com/KarthikRIyer/swiftplot.git
Computed https://github.com/KarthikRIyer/swiftplot.git at 2.0.0 (0.34s)
Computing version for https://github.com/kongzii/PythonKit
Computed https://github.com/kongzii/PythonKit at 0.0.1 (0.36s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.02s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (0.33s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.5 (0.32s)
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
warning: /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/swift-argument-parser-54a11a8d is not valid git repository for 'https://github.com/apple/swift-argument-parser', will fetch again.
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.01s)
warning: /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/swift-argument-parser-54a11a8d is not valid git repository for 'https://github.com/apple/swift-argument-parser', will fetch again.
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.00s)
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.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/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
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
[0/1] Planning build
Building for debugging...
[0/28] Write swift-version--423B1241ED78D482.txt
[2/62] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/62] Emitting module PythonKit
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-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
    private var pointer: OwnedPyObjectPointer
                ^        ~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
          ^
[4/62] Compiling PythonKit Python.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-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
    private var pointer: OwnedPyObjectPointer
                ^        ~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
          ^
error: fatalError
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
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
BUILD FAILURE 5.10 macosSpm