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: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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:             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
[4/51] Write PredictFirstNTree-entitlement.plist
[4/51] Write EvalsResult-entitlement.plist
[11/51] Write CustomObjective-entitlement.plist
[11/51] Write sources
[11/51] Write GeneralizedLinearModel-entitlement.plist
[11/51] Write CrossValidation-entitlement.plist
[11/51] Write sources
[11/51] Write PredictLeafIndices-entitlement.plist
[11/51] Write sources
[14/51] Write AftSurvival-entitlement.plist
[15/51] Write BoostFromPrediction-entitlement.plist
[21/51] Write sources
[21/51] Write ExternalMemory-entitlement.plist
[23/51] Write swift-version--423B1241ED78D482.txt
[25/90] Compiling Logging LogHandler.swift
[26/90] Compiling Logging Locks.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/90] Compiling PythonKit NumpyConversion.swift
[28/90] Compiling PythonKit PythonLibrary.swift
[29/90] Compiling PythonKit PythonLibrary+Symbols.swift
[30/90] Emitting module PythonKit
/Users/builder/builds/UKfvDsi8u/1/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/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
          ^
[31/90] Compiling PythonKit Python.swift
/Users/builder/builds/UKfvDsi8u/1/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/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
          ^
error: fatalError
[32/90] Emitting module Logging
Fetching https://github.com/onevcat/Rainbow from cache
Fetching https://github.com/kongzii/PythonKit from cache
Fetching https://github.com/kongzii/LoggerKit.git from cache
Fetching https://github.com/KarthikRIyer/swiftplot.git from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/KarthikRIyer/swiftplot.git from cache (0.20s)
Fetched https://github.com/onevcat/Rainbow from cache (0.20s)
Fetched https://github.com/kongzii/LoggerKit.git from cache (0.21s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.21s)
Fetched https://github.com/kongzii/PythonKit from cache (0.23s)
Fetched https://github.com/apple/swift-log.git from cache (0.23s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.2.0 (0.03s)
Computing version for https://github.com/KarthikRIyer/swiftplot.git
Computed https://github.com/KarthikRIyer/swiftplot.git at 2.0.0 (0.38s)
Computing version for https://github.com/kongzii/PythonKit
Computed https://github.com/kongzii/PythonKit at 0.0.1 (0.45s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.46s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (0.47s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.1.5 (0.03s)
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.2.0
warning: /Users/builder/builds/UKfvDsi8u/1/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/1/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)
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
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/KarthikRIyer/swiftplot.git
Working copy of https://github.com/KarthikRIyer/swiftplot.git resolved at 2.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
[0/1] Planning build
Building for debugging...
[0/28] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/62] Emitting module PythonKit
/Users/builder/builds/UKfvDsi8u/1/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/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
          ^
[3/62] Compiling PythonKit Python.swift
/Users/builder/builds/UKfvDsi8u/1/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/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/PythonKit/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
          ^
error: fatalError
[4/62] Emitting module Logging
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