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.8 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.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: 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.8
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.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.64s)
Fetched https://github.com/apple/swift-argument-parser (0.64s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (0.30s)
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.31s)
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/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
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 ArgumentParser ArgumentSetSequence.swift
[2/50] Compiling ArgumentParser CommandParser.swift
[3/50] Compiling ArgumentParser InputOrigin.swift
[4/50] Compiling ArgumentParser Name.swift
[5/53] Compiling ArgumentParser NameSpecification.swift
[6/53] Compiling ArgumentParser Option.swift
[7/54] Compiling Rainbow Style.swift
[8/54] Compiling Rainbow StringGenerator.swift
[9/54] Compiling Rainbow String+Rainbow.swift
[10/54] Compiling Rainbow XcodeColorsSupport.swift
[11/54] Compiling ArgumentParser ParsableCommand.swift
[12/54] Compiling ArgumentParser ArgumentDecoder.swift
[13/54] Compiling ArgumentParser ArgumentDefinition.swift
[14/54] Compiling ArgumentParser ArgumentSet.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/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
[16/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
          ^
[17/54] Compiling ArgumentParser OptionGroup.swift
[18/54] Compiling ArgumentParser CommandConfiguration.swift
[19/54] Emitting module Rainbow
[20/54] Compiling ArgumentParser Argument.swift
[21/54] Compiling ArgumentParser ArgumentHelp.swift
[22/54] Compiling Rainbow Rainbow.swift
[28/56] Compiling ArgumentParser EnumerableFlag.swift
[29/56] Compiling ArgumentParser ExpressibleByArgument.swift
[30/56] Compiling ArgumentParser ParsableArguments.swift
[31/56] Compiling ArgumentParser ParsableArgumentsValidation.swift
[33/56] Compiling ArgumentParser UsageGenerator.swift
[34/56] Compiling ArgumentParser StringExtensions.swift
[35/56] Compiling ArgumentParser Tree.swift
[35/56] Wrapping AST for Rainbow for debugging
[37/56] Compiling PythonKit PythonLibrary+Symbols.swift
[38/56] Compiling PythonKit PythonLibrary.swift
[39/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
          ^
[40/58] Emitting module ArgumentParser
[0/1] Planning build
Building for debugging...
warning: Will not do cross-module incremental builds, priors saved at TimePoint(seconds: 1704795558, nanoseconds: 0)), but the previous build started at TimePoint(seconds: 1704795558, nanoseconds: 801609000), at '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/LoggerKit.build/master.priors'
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/20] 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/20] 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
          ^
[3/20] Emitting module LoggerKit
BUILD FAILURE 5.8 linux