Build Information
Failed to build PythonKit with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kongzii/PythonKit.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/kongzii/PythonKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/kongzii/LoggerKit.git
[1/369] Fetching loggerkit
[367/11804] Fetching loggerkit, swift-argument-parser
Fetched https://github.com/kongzii/LoggerKit.git from cache (0.64s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.65s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (0.40s)
Fetching https://github.com/onevcat/Rainbow
[1/1114] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.22s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.40s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (1.08s)
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 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
^
[9/60] Compiling PythonKit PythonLibrary+Symbols.swift
[10/60] Compiling Rainbow Color.swift
[11/60] Compiling ArgumentParser Flag.swift
[12/60] Compiling Rainbow Style.swift
[13/60] Compiling ArgumentParser ArgumentSetSequence.swift
[14/60] Compiling ArgumentParser CommandParser.swift
[15/60] Compiling ArgumentParser InputOrigin.swift
[16/60] Compiling ArgumentParser Name.swift
[17/60] Compiling ArgumentParser Parsed.swift
[18/60] Compiling ArgumentParser ParsedValues.swift
[19/60] Compiling ArgumentParser ParserError.swift
[20/60] Compiling ArgumentParser SplitArguments.swift
[21/61] Emitting module Rainbow
[22/61] Compiling ArgumentParser Argument.swift
[23/61] Compiling ArgumentParser ArgumentHelp.swift
[24/61] Compiling Rainbow StringGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/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:)'
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
[26/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
private var pointer: OwnedPyObjectPointer
^ ~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
^
[27/61] Compiling Rainbow String+Rainbow.swift
[28/61] Compiling Rainbow XcodeColorsSupport.swift
[29/61] Compiling Rainbow Rainbow.swift
[30/61] Compiling Rainbow ModesExtractor.swift
[31/61] Compiling Rainbow OutputTarget.swift
[32/61] Compiling ArgumentParser UsageGenerator.swift
[33/61] Compiling ArgumentParser StringExtensions.swift
[34/61] Compiling ArgumentParser Tree.swift
[35/62] Compiling ArgumentParser NameSpecification.swift
[36/62] Compiling ArgumentParser Option.swift
[37/62] Compiling ArgumentParser OptionGroup.swift
[38/62] Compiling ArgumentParser CommandConfiguration.swift
[41/62] Compiling ArgumentParser ParsableArguments.swift
[42/62] Compiling ArgumentParser ParsableArgumentsValidation.swift
[44/62] Compiling PythonKit PythonLibrary.swift
[45/62] Compiling ArgumentParser ParsableCommand.swift
[46/62] Compiling ArgumentParser ArgumentDecoder.swift
[47/62] Compiling ArgumentParser ArgumentDefinition.swift
[48/62] Compiling ArgumentParser ArgumentSet.swift
[49/62] Compiling ArgumentParser HelpCommand.swift
[50/62] Compiling ArgumentParser HelpGenerator.swift
[51/62] Compiling ArgumentParser MessageInfo.swift
error: fatalError
[51/62] Wrapping AST for Rainbow for debugging
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[1/8] Wrapping AST for Rainbow for debugging
[3/17] Compiling ArgumentParser Errors.swift
[4/17] Compiling ArgumentParser ArgumentHelp.swift
[5/19] Emitting module LoggerKit
[6/22] Compiling LoggerKit Logger.swift
[7/25] Compiling ArgumentParser Argument.swift
[8/27] Wrapping AST for LoggerKit for debugging
[10/27] Compiling ArgumentParser ParsableCommand.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/28] 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
^
[12/28] 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: fatalError
BUILD FAILURE 5.10 linux