Build Information
Failed to build PythonKit with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
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 /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: 5.8
Building package at path: $PWD/checkout
https://github.com/kongzii/PythonKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/kongzii/LoggerKit.git
[1/369] Fetching loggerkit
[370/11770] Fetching loggerkit, swift-argument-parser
Fetched https://github.com/kongzii/LoggerKit.git (0.72s)
Fetched https://github.com/apple/swift-argument-parser (0.73s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (0.29s)
Fetching https://github.com/onevcat/Rainbow
[1/1114] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow (0.23s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.32s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.90s)
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
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/50] 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
private var pointer: OwnedPyObjectPointer
^ ~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
^
[2/50] Compiling Rainbow Style.swift
[3/51] Compiling Rainbow StringGenerator.swift
[4/51] Compiling Rainbow String+Rainbow.swift
[5/51] Compiling Rainbow XcodeColorsSupport.swift
[6/51] Compiling ArgumentParser Errors.swift
[7/51] Compiling ArgumentParser Flag.swift
[8/51] Emitting module Rainbow
[9/51] Compiling ArgumentParser Argument.swift
[10/51] Compiling ArgumentParser ArgumentHelp.swift
[11/51] Compiling ArgumentParser ParsableCommand.swift
[12/51] Compiling ArgumentParser ArgumentDecoder.swift
[13/51] Compiling ArgumentParser ArgumentDefinition.swift
[14/51] Compiling ArgumentParser ArgumentSet.swift
[15/54] Compiling ArgumentParser ArgumentSetSequence.swift
[16/54] Compiling ArgumentParser CommandParser.swift
[17/54] Compiling ArgumentParser InputOrigin.swift
[18/54] Compiling ArgumentParser Name.swift
[19/54] Emitting module ArgumentParser
[24/54] Compiling PythonKit PythonLibrary+Symbols.swift
[25/54] 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
private var pointer: OwnedPyObjectPointer
^ ~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
^
[26/54] Compiling PythonKit NumpyConversion.swift
/host/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)
^
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:140:34: note: use 'update(from:count:)' instead
buffPtr.baseAddress!.assign(from: ptr, count: scalarCount)
^~~~~~
update
[27/54] Compiling PythonKit PythonLibrary.swift
[28/54] Compiling ArgumentParser NameSpecification.swift
[29/54] Compiling ArgumentParser Option.swift
[30/54] Compiling ArgumentParser OptionGroup.swift
[31/54] Compiling ArgumentParser CommandConfiguration.swift
[32/54] Compiling ArgumentParser EnumerableFlag.swift
[33/54] Compiling ArgumentParser ExpressibleByArgument.swift
[34/54] Compiling ArgumentParser ParsableArguments.swift
[35/54] Compiling ArgumentParser ParsableArgumentsValidation.swift
[0/1] Planning build
Building for debugging...
[1/22] Compiling Rainbow Rainbow.swift
[2/25] 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
private var pointer: OwnedPyObjectPointer
^ ~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/25] 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
private var pointer: OwnedPyObjectPointer
^ ~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
^
[4/27] Compiling Rainbow OutputTarget.swift
[5/27] Emitting module Rainbow
[6/28] Compiling Rainbow ModesExtractor.swift
BUILD FAILURE 5.8 linux