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-4606859-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: 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.9
Building package at path:  $PWD/checkout
https://github.com/kongzii/PythonKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/kongzii/LoggerKit.git
[1/369] Fetching loggerkit
Fetched https://github.com/kongzii/LoggerKit.git (0.21s)
[1/11401] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.68s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (0.38s)
Fetching https://github.com/onevcat/Rainbow
[1/1114] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow (0.24s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.47s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (1.42s)
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
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Building for debugging...
[1/50] Compiling PythonKit PythonLibrary+Symbols.swift
[2/50] Compiling ArgumentParser ParsableCommand.swift
[3/50] Compiling ArgumentParser ArgumentDecoder.swift
[4/50] Compiling ArgumentParser ArgumentDefinition.swift
[5/50] Compiling ArgumentParser ArgumentSet.swift
[6/50] Compiling ArgumentParser ArgumentSetSequence.swift
[7/50] Compiling ArgumentParser CommandParser.swift
[8/50] Compiling ArgumentParser InputOrigin.swift
[9/50] Compiling ArgumentParser Name.swift
[10/53] Emitting module Rainbow
[11/53] Compiling ArgumentParser Argument.swift
[12/53] Compiling ArgumentParser ArgumentHelp.swift
[13/54] Compiling Rainbow String+Rainbow.swift
[14/54] Compiling Rainbow Style.swift
[15/54] Compiling Rainbow XcodeColorsSupport.swift
[16/54] Compiling ArgumentParser NameSpecification.swift
[17/54] Compiling ArgumentParser Option.swift
[18/54] Compiling ArgumentParser OptionGroup.swift
[19/54] Compiling ArgumentParser CommandConfiguration.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/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
[21/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
          ^
[22/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
          ^
[23/54] Compiling Rainbow StringGenerator.swift
[24/54] Compiling ArgumentParser EnumerableFlag.swift
[25/54] Compiling ArgumentParser ExpressibleByArgument.swift
[26/54] Compiling ArgumentParser ParsableArguments.swift
[27/54] Compiling ArgumentParser ParsableArgumentsValidation.swift
[28/54] Compiling Rainbow Rainbow.swift
[29/54] Compiling ArgumentParser Errors.swift
[30/54] Compiling ArgumentParser Flag.swift
[34/56] Compiling PythonKit PythonLibrary.swift
error: fatalError
[36/56] Emitting module ArgumentParser
[0/1] Planning build
Building for debugging...
[1/23] Emitting module Rainbow
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/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
          ^
[3/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: fatalError
BUILD FAILURE 5.9 linux