Build Information
Failed to build PythonKit with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.28.6
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kongzii/PythonKit.git
Reference: 0.0.1
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/kongzii/PythonKit
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at 977002d Versioned LoggerKit
Cloned https://github.com/kongzii/PythonKit.git
Revision (git rev-parse @):
977002d1f5cad96c84360d0ad4496ec614c58975
SUCCESS checkout https://github.com/kongzii/PythonKit.git at 0.0.1
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/kongzii/LoggerKit.git from cache
Fetched https://github.com/kongzii/LoggerKit.git (0.22s)
Fetched https://github.com/apple/swift-argument-parser (1.53s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (0.44s)
Fetching https://github.com/onevcat/Rainbow from cache
Fetched https://github.com/onevcat/Rainbow (0.19s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.38s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.43s)
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "pythonkit",
"name": "PythonKit",
"url": "https://github.com/kongzii/PythonKit.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PythonKit",
"dependencies": [
{
"identity": "loggerkit",
"name": "LoggerKit",
"url": "https://github.com/kongzii/LoggerKit.git",
"version": "0.0.0",
"path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LoggerKit",
"dependencies": [
{
"identity": "rainbow",
"name": "Rainbow",
"url": "https://github.com/onevcat/Rainbow",
"version": "3.2.0",
"path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
"dependencies": [
]
}
]
},
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "0.0.6",
"path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/kongzii/PythonKit.git from cache
Fetched https://github.com/kongzii/PythonKit.git (0.17s)
Fetching https://github.com/kongzii/LoggerKit.git from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/kongzii/LoggerKit.git (0.18s)
Fetched https://github.com/apple/swift-argument-parser (0.61s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (0.04s)
Fetching https://github.com/onevcat/Rainbow from cache
Fetched https://github.com/onevcat/Rainbow (0.18s)
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/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.02s)
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.git
Working copy of https://github.com/kongzii/PythonKit.git 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
Found 2 product dependencies
- LoggerKit
- swift-argument-parser
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
https://github.com/kongzii/PythonKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[1/45] Compiling PythonKit Python.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
^
[2/45] Compiling PythonKit PythonLibrary+Symbols.swift
[3/45] Compiling PythonKit NumpyConversion.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/PythonKit/NumpyConversion.swift:140:34: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
buffPtr.baseAddress!.assign(from: ptr, count: scalarCount)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/PythonKit/NumpyConversion.swift:140:34: note: use 'update(from:count:)' instead
buffPtr.baseAddress!.assign(from: ptr, count: scalarCount)
^~~~~~
update
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/45] Compiling PythonKit PythonLibrary.swift
[5/45] Emitting module PythonKit
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
^
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/42] Emitting module PythonKit
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
^
[2/42] Compiling PythonKit Python.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/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/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
^
error: fatalError
BUILD FAILURE 5.9 macosSpm