The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PythonKit, reference 0.0.1 (977002), with Swift 6.3 for Linux on 14 Apr 2026 04:48:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kongzii/PythonKit.git
Reference: 0.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/kongzii/PythonKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/kongzii/LoggerKit.git
Fetching https://github.com/apple/swift-argument-parser
[1/369] Fetching loggerkit
Fetched https://github.com/kongzii/LoggerKit.git from cache (0.20s)
[1/17523] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.80s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (1.29s)
Fetching https://github.com/onevcat/Rainbow
[1/1442] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.29s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.76s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (6.65s)
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
Creating working copy for https://github.com/kongzii/LoggerKit.git
Working copy of https://github.com/kongzii/LoggerKit.git resolved at 0.0.0
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/57] Emitting module ArgumentParser
[8/60] Compiling Rainbow Style.swift
[9/61] Compiling ArgumentParser NameSpecification.swift
[10/61] Compiling ArgumentParser Option.swift
[11/61] Compiling ArgumentParser OptionGroup.swift
[12/61] Compiling ArgumentParser CommandConfiguration.swift
[13/61] Compiling Rainbow StringGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/61] Emitting module PythonKit
/host/spi-builder-workspace/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
[15/61] Compiling PythonKit NumpyConversion.swift
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:140:34: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
138 |         dummyPointer.deallocate()
139 |         withUnsafeMutableBufferPointer { buffPtr in
140 |             buffPtr.baseAddress!.assign(from: ptr, count: scalarCount)
    |                                  |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)' [#DeprecatedDeclaration]
    |                                  `- note: use 'update(from:count:)' instead
141 |         }
142 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[16/61] Compiling PythonKit PythonLibrary+Symbols.swift
[17/61] Compiling PythonKit Python.swift
/host/spi-builder-workspace/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
[18/61] Compiling ArgumentParser ArgumentSetSequence.swift
[19/61] Compiling ArgumentParser CommandParser.swift
[20/61] Compiling ArgumentParser InputOrigin.swift
[21/61] Compiling ArgumentParser Name.swift
[22/61] Compiling ArgumentParser ParsableCommand.swift
[23/61] Compiling ArgumentParser ArgumentDecoder.swift
[24/61] Compiling ArgumentParser ArgumentDefinition.swift
[25/61] Compiling ArgumentParser ArgumentSet.swift
[26/61] Compiling Rainbow XcodeColorsSupport.swift
[27/61] Compiling ArgumentParser EnumerableFlag.swift
[28/61] Compiling ArgumentParser ExpressibleByArgument.swift
[29/61] Compiling ArgumentParser ParsableArguments.swift
[30/61] Compiling ArgumentParser ParsableArgumentsValidation.swift
[33/61] Compiling Rainbow String+Rainbow.swift
[36/61] Emitting module Rainbow
[37/61] Compiling Rainbow Rainbow.swift
[40/62] Compiling ArgumentParser Argument.swift
[41/62] Compiling ArgumentParser ArgumentHelp.swift
[42/62] Compiling ArgumentParser Errors.swift
[43/62] Compiling ArgumentParser Flag.swift
[44/62] Compiling ArgumentParser Parsed.swift
[45/62] Compiling ArgumentParser ParsedValues.swift
[46/62] Compiling ArgumentParser ParserError.swift
[47/62] Compiling ArgumentParser SplitArguments.swift
[48/62] Compiling ArgumentParser HelpCommand.swift
[49/62] Compiling ArgumentParser HelpGenerator.swift
[50/62] Compiling ArgumentParser MessageInfo.swift
[51/62] Compiling PythonKit PythonLibrary.swift
[52/62] Compiling ArgumentParser UsageGenerator.swift
[53/62] Compiling ArgumentParser StringExtensions.swift
[54/62] Compiling ArgumentParser Tree.swift
BUILD FAILURE 6.3 linux