Build Information
Failed to build PythonKit with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/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: 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.10
Building package at path: $workDir
https://github.com/kongzii/PythonKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/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
[370/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.64s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (0.37s)
Fetching https://github.com/onevcat/Rainbow
[1/1114] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.21s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.45s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (1.04s)
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/kongzii/LoggerKit.git
Working copy of https://github.com/kongzii/LoggerKit.git resolved at 0.0.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...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/57] Compiling ArgumentParser ArgumentSetSequence.swift
[8/57] Compiling ArgumentParser CommandParser.swift
[9/57] Compiling ArgumentParser InputOrigin.swift
[10/57] Compiling ArgumentParser Name.swift
[11/60] Compiling Rainbow Style.swift
[12/60] Emitting module Rainbow
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/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
^
[14/61] Compiling Rainbow String+Rainbow.swift
[15/61] Compiling Rainbow StringGenerator.swift
[16/61] Compiling Rainbow ModesExtractor.swift
[17/61] Compiling Rainbow OutputTarget.swift
[18/61] Compiling ArgumentParser ArgumentDefinition.swift
[19/61] Compiling ArgumentParser ArgumentSet.swift
[20/61] Compiling Rainbow XcodeColorsSupport.swift
[21/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
[22/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
private var pointer: OwnedPyObjectPointer
^ ~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/PythonKit/Python.swift:28:11: note: type declared here
typealias OwnedPyObjectPointer = PyObjectPointer
^
[23/61] Compiling PythonKit PythonLibrary+Symbols.swift
[24/61] Compiling PythonKit PythonLibrary.swift
[25/61] Emitting module ArgumentParser
[26/61] Compiling Rainbow Color.swift
[27/61] Compiling Rainbow ControlCode.swift
[28/61] Compiling Rainbow BackgroundColor.swift
[29/61] Compiling Rainbow CodesParser.swift
[30/61] Compiling ArgumentParser EnumerableFlag.swift
[31/61] Compiling ArgumentParser ExpressibleByArgument.swift
[32/61] Compiling ArgumentParser ParsableArguments.swift
[33/61] Compiling ArgumentParser ParsableArgumentsValidation.swift
[40/61] Compiling Rainbow Rainbow.swift
[41/62] Compiling ArgumentParser HelpCommand.swift
[42/62] Compiling ArgumentParser HelpGenerator.swift
[43/62] Compiling ArgumentParser MessageInfo.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 NameSpecification.swift
[49/62] Compiling ArgumentParser Option.swift
[50/62] Compiling ArgumentParser OptionGroup.swift
[51/62] Compiling ArgumentParser CommandConfiguration.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/19] Compiling ArgumentParser CommandConfiguration.swift
[3/20] Compiling ArgumentParser OptionGroup.swift
[4/21] Compiling ArgumentParser Errors.swift
[5/22] Emitting module Rainbow
[6/22] Compiling ArgumentParser Tree.swift
[8/24] 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)
[9/24] 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
^
error: fatalError
BUILD FAILURE 5.10 linux