The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build PythonKit with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path:  $PWD/checkout
https://github.com/kongzii/PythonKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/kongzii/LoggerKit.git
Fetching https://github.com/apple/swift-argument-parser
[1/369] Fetching loggerkit
[370/11770] Fetching loggerkit, swift-argument-parser
Fetched https://github.com/kongzii/LoggerKit.git (0.88s)
Fetched https://github.com/apple/swift-argument-parser (0.89s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (0.42s)
Fetching https://github.com/onevcat/Rainbow
[1/1114] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow (0.27s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.48s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (1.84s)
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...
[1/50] Emitting module ArgumentParser
[2/53] Emitting module Rainbow
[3/53] Compiling ArgumentParser Argument.swift
[4/53] Compiling ArgumentParser ArgumentHelp.swift
[5/54] Compiling ArgumentParser Errors.swift
[6/54] Compiling ArgumentParser Flag.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/54] 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
          ^
[8/54] Compiling Rainbow StringGenerator.swift
[9/54] Compiling Rainbow Style.swift
[10/54] Compiling Rainbow XcodeColorsSupport.swift
[11/54] Compiling Rainbow String+Rainbow.swift
[12/54] Compiling ArgumentParser Parsed.swift
[13/54] Compiling ArgumentParser ParsedValues.swift
[14/54] Compiling Rainbow Rainbow.swift
[19/55] Compiling ArgumentParser UsageGenerator.swift
[20/55] Compiling ArgumentParser StringExtensions.swift
[21/55] Compiling ArgumentParser Tree.swift
[23/56] Compiling PythonKit PythonLibrary+Symbols.swift
[24/56] Compiling PythonKit PythonLibrary.swift
[25/56] 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/56] 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
          ^
[28/56] Compiling ArgumentParser HelpCommand.swift
[29/56] Compiling ArgumentParser HelpGenerator.swift
[30/56] Compiling ArgumentParser MessageInfo.swift
error: fatalError
[33/56] Compiling ArgumentParser ParserError.swift
[34/56] Compiling ArgumentParser SplitArguments.swift
[35/56] Compiling ArgumentParser ParsableCommand.swift
[36/56] Compiling ArgumentParser ArgumentDecoder.swift
[37/56] Compiling ArgumentParser ArgumentDefinition.swift
[38/56] Compiling ArgumentParser ArgumentSet.swift
[39/56] Compiling ArgumentParser NameSpecification.swift
[40/56] Compiling ArgumentParser Option.swift
[41/56] Compiling ArgumentParser OptionGroup.swift
[42/56] Compiling ArgumentParser CommandConfiguration.swift
[43/56] Compiling ArgumentParser ArgumentSetSequence.swift
[44/56] Compiling ArgumentParser CommandParser.swift
[45/56] Compiling ArgumentParser InputOrigin.swift
[46/56] Compiling ArgumentParser Name.swift
[47/56] Compiling ArgumentParser EnumerableFlag.swift
[48/56] Compiling ArgumentParser ExpressibleByArgument.swift
[49/56] Compiling ArgumentParser ParsableArguments.swift
[50/56] Compiling ArgumentParser ParsableArgumentsValidation.swift
[0/1] Planning build
Building for debugging...
[1/10] Emitting module Rainbow
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/12] 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
          ^
[5/12] 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.9 linux