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, reference master (977002), with Swift 6.0 for Linux on 4 Nov 2024 03:20:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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:             6.0
Building package at path:  $PWD
https://github.com/kongzii/PythonKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
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 from cache (0.20s)
[1/12353] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.61s)
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/1126] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.20s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.43s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (1.79s)
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 PythonLibrary+Symbols.swift
/host/spi-builder-workspace/PythonKit/PythonLibrary+Symbols.swift:181:5: warning: let '_Py_ZeroStruct' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
179 |         legacyName: "PyString_FromStringAndSize")
180 |
181 | let _Py_ZeroStruct: PyObjectPointer =
    |     |- warning: let '_Py_ZeroStruct' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate '_Py_ZeroStruct' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |     PythonLibrary.loadSymbol(name: "_Py_ZeroStruct")
183 |
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
  |                       `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 |     public typealias Pointee = UInt8
3 |     public let _rawValue: Builtin.RawPointer
/host/spi-builder-workspace/PythonKit/PythonLibrary+Symbols.swift:184:5: warning: let '_Py_TrueStruct' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
182 |     PythonLibrary.loadSymbol(name: "_Py_ZeroStruct")
183 |
184 | let _Py_TrueStruct: PyObjectPointer =
    |     |- warning: let '_Py_TrueStruct' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate '_Py_TrueStruct' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |     PythonLibrary.loadSymbol(name: "_Py_TrueStruct")
186 |
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
  |                       `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 |     public typealias Pointee = UInt8
3 |     public let _rawValue: Builtin.RawPointer
/host/spi-builder-workspace/PythonKit/PythonLibrary+Symbols.swift:187:5: warning: let 'PyBool_Type' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
185 |     PythonLibrary.loadSymbol(name: "_Py_TrueStruct")
186 |
187 | let PyBool_Type: PyObjectPointer =
    |     |- warning: let 'PyBool_Type' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'PyBool_Type' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 |     PythonLibrary.loadSymbol(name: "PyBool_Type")
189 |
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
  |                       `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 |     public typealias Pointee = UInt8
3 |     public let _rawValue: Builtin.RawPointer
/host/spi-builder-workspace/PythonKit/PythonLibrary+Symbols.swift:190:5: warning: let 'PySlice_Type' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
188 |     PythonLibrary.loadSymbol(name: "PyBool_Type")
189 |
190 | let PySlice_Type: PyObjectPointer =
    |     |- warning: let 'PySlice_Type' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'PySlice_Type' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 |     PythonLibrary.loadSymbol(name: "PySlice_Type")
192 |
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
  |                       `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 |     public typealias Pointee = UInt8
3 |     public let _rawValue: Builtin.RawPointer
[9/60] Compiling Rainbow Style.swift
[10/60] Compiling Rainbow StringGenerator.swift
[11/61] Compiling ArgumentParser ParsableCommand.swift
[12/61] Compiling ArgumentParser ArgumentDecoder.swift
[13/61] Compiling ArgumentParser ArgumentDefinition.swift
[14/61] Compiling ArgumentParser ArgumentSet.swift
[15/61] Compiling ArgumentParser ArgumentSetSequence.swift
[16/61] Compiling ArgumentParser CommandParser.swift
[17/61] Compiling ArgumentParser InputOrigin.swift
[18/61] Compiling ArgumentParser Name.swift
[19/61] Compiling ArgumentParser Parsed.swift
[20/61] Compiling ArgumentParser ParsedValues.swift
[21/61] Compiling ArgumentParser ParserError.swift
[22/61] Compiling ArgumentParser SplitArguments.swift
[23/61] Compiling Rainbow String+Rainbow.swift
[24/61] Emitting module Rainbow
[25/61] Compiling ArgumentParser Argument.swift
[26/61] Compiling ArgumentParser ArgumentHelp.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/61] Compiling PythonKit NumpyConversion.swift
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:21:13: warning: let 'np' is not concurrency-safe because non-'Sendable' type 'PythonObject' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | /// Note: Global variables are lazy, so the following declaration won't produce
 20 | /// a Python import error until it is first used.
 21 | private let np = Python.import("numpy")
    |             |- warning: let 'np' is not concurrency-safe because non-'Sendable' type 'PythonObject' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: annotate 'np' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 | private let ctypes = Python.import("ctypes")
 23 |
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/Python.swift:630:12: warning: let 'Python' is not concurrency-safe because non-'Sendable' type 'PythonInterface' may have shared mutable state; this is an error in the Swift 6 language mode
 628 | ///     print(Python.type(list) == Python.list) // Prints true.
 629 | @_fixed_layout
 630 | public let Python = PythonInterface()
     |            |- warning: let 'Python' is not concurrency-safe because non-'Sendable' type 'PythonInterface' may have shared mutable state; this is an error in the Swift 6 language mode
     |            |- note: annotate 'Python' with '@MainActor' if property should only be accessed from the main actor
     |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 631 |
 632 | /// An interface for Python.
     :
 638 | ///   called `Python`.
 639 | @dynamicMemberLookup
 640 | public struct PythonInterface {
     |               `- note: consider making struct 'PythonInterface' conform to the 'Sendable' protocol
 641 |     /// A dictionary of the Python builtins.
 642 |     public let builtins: PythonObject
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:22:13: warning: let 'ctypes' is not concurrency-safe because non-'Sendable' type 'PythonObject' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// a Python import error until it is first used.
 21 | private let np = Python.import("numpy")
 22 | private let ctypes = Python.import("ctypes")
    |             |- warning: let 'ctypes' is not concurrency-safe because non-'Sendable' type 'PythonObject' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: annotate 'ctypes' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 | /// A type that can be initialized from a `numpy.ndarray` instance represented
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:40:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 38 |
 39 | extension Bool : NumpyScalarCompatible {
 40 |     public static let numpyScalarTypes = [np.bool_, Python.bool]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |     public static var ctype: PythonObject { return ctypes.c_bool }
 42 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:45:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 43 |
 44 | extension UInt8 : NumpyScalarCompatible {
 45 |     public static let numpyScalarTypes = [np.uint8]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |     public static var ctype: PythonObject { return ctypes.c_uint8 }
 47 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:50:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 | extension Int8 : NumpyScalarCompatible {
 50 |     public static let numpyScalarTypes = [np.int8]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |     public static var ctype: PythonObject { return ctypes.c_int8 }
 52 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:55:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 53 |
 54 | extension UInt16 : NumpyScalarCompatible {
 55 |     public static let numpyScalarTypes = [np.uint16]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 56 |     public static var ctype: PythonObject { return ctypes.c_uint16 }
 57 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:60:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 58 |
 59 | extension Int16 : NumpyScalarCompatible {
 60 |     public static let numpyScalarTypes = [np.int16]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |     public static var ctype: PythonObject { return ctypes.c_int16 }
 62 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:65:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 63 |
 64 | extension UInt32 : NumpyScalarCompatible {
 65 |     public static let numpyScalarTypes = [np.uint32]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |     public static var ctype: PythonObject { return ctypes.c_uint32 }
 67 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:70:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 68 |
 69 | extension Int32 : NumpyScalarCompatible {
 70 |     public static let numpyScalarTypes = [np.int32]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |     public static var ctype: PythonObject { return ctypes.c_int32 }
 72 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:75:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 73 |
 74 | extension UInt64 : NumpyScalarCompatible {
 75 |     public static let numpyScalarTypes = [np.uint64]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |     public static var ctype: PythonObject { return ctypes.c_uint64 }
 77 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:80:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 78 |
 79 | extension Int64 : NumpyScalarCompatible {
 80 |     public static let numpyScalarTypes = [np.int64]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 81 |     public static var ctype: PythonObject { return ctypes.c_int64 }
 82 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:85:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 83 |
 84 | extension Float : NumpyScalarCompatible {
 85 |     public static let numpyScalarTypes = [np.float32]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |     public static var ctype: PythonObject { return ctypes.c_float }
 87 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:90:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 88 |
 89 | extension Double : NumpyScalarCompatible {
 90 |     public static let numpyScalarTypes = [np.float64]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |     public static var ctype: PythonObject { return ctypes.c_double }
 92 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:140:34: warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
138 |         dummyPointer.deallocate()
139 |         withUnsafeMutableBufferPointer { buffPtr in
140 |             buffPtr.baseAddress!.assign(from: ptr, count: scalarCount)
    |                                  |- warning: 'assign(from:count:)' is deprecated: renamed to 'update(from:count:)'
    |                                  `- note: use 'update(from:count:)' instead
141 |         }
142 |     }
[28/61] Emitting module PythonKit
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:21:13: warning: let 'np' is not concurrency-safe because non-'Sendable' type 'PythonObject' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | /// Note: Global variables are lazy, so the following declaration won't produce
 20 | /// a Python import error until it is first used.
 21 | private let np = Python.import("numpy")
    |             |- warning: let 'np' is not concurrency-safe because non-'Sendable' type 'PythonObject' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: annotate 'np' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 | private let ctypes = Python.import("ctypes")
 23 |
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/Python.swift:630:12: warning: let 'Python' is not concurrency-safe because non-'Sendable' type 'PythonInterface' may have shared mutable state; this is an error in the Swift 6 language mode
 628 | ///     print(Python.type(list) == Python.list) // Prints true.
 629 | @_fixed_layout
 630 | public let Python = PythonInterface()
     |            |- warning: let 'Python' is not concurrency-safe because non-'Sendable' type 'PythonInterface' may have shared mutable state; this is an error in the Swift 6 language mode
     |            |- note: annotate 'Python' with '@MainActor' if property should only be accessed from the main actor
     |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 631 |
 632 | /// An interface for Python.
     :
 638 | ///   called `Python`.
 639 | @dynamicMemberLookup
 640 | public struct PythonInterface {
     |               `- note: consider making struct 'PythonInterface' conform to the 'Sendable' protocol
 641 |     /// A dictionary of the Python builtins.
 642 |     public let builtins: PythonObject
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:22:13: warning: let 'ctypes' is not concurrency-safe because non-'Sendable' type 'PythonObject' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// a Python import error until it is first used.
 21 | private let np = Python.import("numpy")
 22 | private let ctypes = Python.import("ctypes")
    |             |- warning: let 'ctypes' is not concurrency-safe because non-'Sendable' type 'PythonObject' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: annotate 'ctypes' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 | /// A type that can be initialized from a `numpy.ndarray` instance represented
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:40:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 38 |
 39 | extension Bool : NumpyScalarCompatible {
 40 |     public static let numpyScalarTypes = [np.bool_, Python.bool]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 41 |     public static var ctype: PythonObject { return ctypes.c_bool }
 42 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:45:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 43 |
 44 | extension UInt8 : NumpyScalarCompatible {
 45 |     public static let numpyScalarTypes = [np.uint8]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |     public static var ctype: PythonObject { return ctypes.c_uint8 }
 47 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:50:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 48 |
 49 | extension Int8 : NumpyScalarCompatible {
 50 |     public static let numpyScalarTypes = [np.int8]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |     public static var ctype: PythonObject { return ctypes.c_int8 }
 52 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:55:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 53 |
 54 | extension UInt16 : NumpyScalarCompatible {
 55 |     public static let numpyScalarTypes = [np.uint16]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 56 |     public static var ctype: PythonObject { return ctypes.c_uint16 }
 57 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:60:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 58 |
 59 | extension Int16 : NumpyScalarCompatible {
 60 |     public static let numpyScalarTypes = [np.int16]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |     public static var ctype: PythonObject { return ctypes.c_int16 }
 62 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:65:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 63 |
 64 | extension UInt32 : NumpyScalarCompatible {
 65 |     public static let numpyScalarTypes = [np.uint32]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |     public static var ctype: PythonObject { return ctypes.c_uint32 }
 67 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:70:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 68 |
 69 | extension Int32 : NumpyScalarCompatible {
 70 |     public static let numpyScalarTypes = [np.int32]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |     public static var ctype: PythonObject { return ctypes.c_int32 }
 72 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:75:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 73 |
 74 | extension UInt64 : NumpyScalarCompatible {
 75 |     public static let numpyScalarTypes = [np.uint64]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |     public static var ctype: PythonObject { return ctypes.c_uint64 }
 77 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:80:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 78 |
 79 | extension Int64 : NumpyScalarCompatible {
 80 |     public static let numpyScalarTypes = [np.int64]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 81 |     public static var ctype: PythonObject { return ctypes.c_int64 }
 82 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:85:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 83 |
 84 | extension Float : NumpyScalarCompatible {
 85 |     public static let numpyScalarTypes = [np.float32]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |     public static var ctype: PythonObject { return ctypes.c_float }
 87 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/host/spi-builder-workspace/PythonKit/NumpyConversion.swift:90:23: warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
 88 |
 89 | extension Double : NumpyScalarCompatible {
 90 |     public static let numpyScalarTypes = [np.float64]
    |                       |- warning: static property 'numpyScalarTypes' is not concurrency-safe because non-'Sendable' type '[PythonObject]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'numpyScalarTypes' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |     public static var ctype: PythonObject { return ctypes.c_double }
 92 | }
/host/spi-builder-workspace/PythonKit/Python.swift:89:15: note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
/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
  26 | /// Typealias used when passing or returning a `PyObject` pointer with
  27 | /// implied ownership.
  28 | typealias OwnedPyObjectPointer = PyObjectPointer
     |           `- note: type declared here
  29 |
  30 | /// A primitive reference to a Python C API `PyObject`.
     :
  38 | @usableFromInline @_fixed_layout
  39 | final class PyReference {
  40 |     private var pointer: OwnedPyObjectPointer
     |                 `- error: type referenced from a stored property in a '@frozen' struct must be '@usableFromInline' or public
  41 |
  42 |     // This `PyReference`, once deleted, will make no delta change to the
/host/spi-builder-workspace/PythonKit/Python.swift:211:10: warning: associated value 'exception(_:traceback:)' of 'Sendable'-conforming enum 'PythonError' has non-sendable type 'PythonObject'; this is an error in the Swift 6 language mode
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
     :
 209 | public enum PythonError : Error, Equatable {
 210 |     /// A Python runtime exception, produced by calling a Python function.
 211 |     case exception(PythonObject, traceback: PythonObject?)
     |          `- warning: associated value 'exception(_:traceback:)' of 'Sendable'-conforming enum 'PythonError' has non-sendable type 'PythonObject'; this is an error in the Swift 6 language mode
 212 |
 213 |     /// A failed call on a `PythonObject`.
/host/spi-builder-workspace/PythonKit/Python.swift:211:10: warning: associated value 'exception(_:traceback:)' of 'Sendable'-conforming enum 'PythonError' has non-sendable type 'PythonObject'; this is an error in the Swift 6 language mode
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
     :
 209 | public enum PythonError : Error, Equatable {
 210 |     /// A Python runtime exception, produced by calling a Python function.
 211 |     case exception(PythonObject, traceback: PythonObject?)
     |          `- warning: associated value 'exception(_:traceback:)' of 'Sendable'-conforming enum 'PythonError' has non-sendable type 'PythonObject'; this is an error in the Swift 6 language mode
 212 |
 213 |     /// A failed call on a `PythonObject`.
/host/spi-builder-workspace/PythonKit/Python.swift:219:10: warning: associated value 'invalidCall' of 'Sendable'-conforming enum 'PythonError' has non-sendable type 'PythonObject'; this is an error in the Swift 6 language mode
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
     :
 217 |     ///   object.
 218 |     /// - An invalid keyword argument was specified.
 219 |     case invalidCall(PythonObject)
     |          `- warning: associated value 'invalidCall' of 'Sendable'-conforming enum 'PythonError' has non-sendable type 'PythonObject'; this is an error in the Swift 6 language mode
 220 |
 221 |     /// A module import error.
/host/spi-builder-workspace/PythonKit/PythonLibrary+Symbols.swift:181:5: warning: let '_Py_ZeroStruct' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
179 |         legacyName: "PyString_FromStringAndSize")
180 |
181 | let _Py_ZeroStruct: PyObjectPointer =
    |     |- warning: let '_Py_ZeroStruct' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate '_Py_ZeroStruct' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |     PythonLibrary.loadSymbol(name: "_Py_ZeroStruct")
183 |
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
  |                       `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 |     public typealias Pointee = UInt8
3 |     public let _rawValue: Builtin.RawPointer
/host/spi-builder-workspace/PythonKit/PythonLibrary+Symbols.swift:184:5: warning: let '_Py_TrueStruct' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
182 |     PythonLibrary.loadSymbol(name: "_Py_ZeroStruct")
183 |
184 | let _Py_TrueStruct: PyObjectPointer =
    |     |- warning: let '_Py_TrueStruct' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate '_Py_TrueStruct' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |     PythonLibrary.loadSymbol(name: "_Py_TrueStruct")
186 |
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
  |                       `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 |     public typealias Pointee = UInt8
3 |     public let _rawValue: Builtin.RawPointer
/host/spi-builder-workspace/PythonKit/PythonLibrary+Symbols.swift:187:5: warning: let 'PyBool_Type' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
185 |     PythonLibrary.loadSymbol(name: "_Py_TrueStruct")
186 |
187 | let PyBool_Type: PyObjectPointer =
    |     |- warning: let 'PyBool_Type' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'PyBool_Type' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 |     PythonLibrary.loadSymbol(name: "PyBool_Type")
189 |
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
  |                       `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 |     public typealias Pointee = UInt8
3 |     public let _rawValue: Builtin.RawPointer
/host/spi-builder-workspace/PythonKit/PythonLibrary+Symbols.swift:190:5: warning: let 'PySlice_Type' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
188 |     PythonLibrary.loadSymbol(name: "PyBool_Type")
189 |
190 | let PySlice_Type: PyObjectPointer =
    |     |- warning: let 'PySlice_Type' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'PySlice_Type' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 |     PythonLibrary.loadSymbol(name: "PySlice_Type")
192 |
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
  |                       `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 |     public typealias Pointee = UInt8
3 |     public let _rawValue: Builtin.RawPointer
/host/spi-builder-workspace/PythonKit/PythonLibrary.swift:31:24: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PythonLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
 28 | //===----------------------------------------------------------------------===//
 29 |
 30 | public struct PythonLibrary {
    |               `- note: consider making struct 'PythonLibrary' conform to the 'Sendable' protocol
 31 |     private static let shared = PythonLibrary()
    |                        |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PythonLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |     private static let pythonLegacySymbolName = "PyString_AsString"
 33 |     private static var librarySymbolsLoaded = false
/host/spi-builder-workspace/PythonKit/PythonLibrary.swift:33:24: warning: static property 'librarySymbolsLoaded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 |     private static let shared = PythonLibrary()
 32 |     private static let pythonLegacySymbolName = "PyString_AsString"
 33 |     private static var librarySymbolsLoaded = false
    |                        |- warning: static property 'librarySymbolsLoaded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'librarySymbolsLoaded' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'librarySymbolsLoaded' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |     private let pythonLibraryHandle: UnsafeMutableRawPointer
/host/spi-builder-workspace/PythonKit/PythonLibrary.swift:162:16: warning: static property 'libraryNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
160 |     static var libraryVersionSeparator = "."
161 |     #elseif os(Linux)
162 |     static var libraryNames = ["libpython:", "libpython:m"]
    |                |- warning: static property 'libraryNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'libraryNames' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'libraryNames' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |     static var libraryPathExtensions = [".so"]
164 |     static var librarySearchPaths = [""]
/host/spi-builder-workspace/PythonKit/PythonLibrary.swift:163:16: warning: static property 'libraryPathExtensions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 |     #elseif os(Linux)
162 |     static var libraryNames = ["libpython:", "libpython:m"]
163 |     static var libraryPathExtensions = [".so"]
    |                |- warning: static property 'libraryPathExtensions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'libraryPathExtensions' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'libraryPathExtensions' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |     static var librarySearchPaths = [""]
165 |     static var libraryVersionSeparator = "."
/host/spi-builder-workspace/PythonKit/PythonLibrary.swift:164:16: warning: static property 'librarySearchPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
162 |     static var libraryNames = ["libpython:", "libpython:m"]
163 |     static var libraryPathExtensions = [".so"]
164 |     static var librarySearchPaths = [""]
    |                |- warning: static property 'librarySearchPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'librarySearchPaths' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'librarySearchPaths' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |     static var libraryVersionSeparator = "."
166 |     #elseif os(Windows)
/host/spi-builder-workspace/PythonKit/PythonLibrary.swift:165:16: warning: static property 'libraryVersionSeparator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
163 |     static var libraryPathExtensions = [".so"]
164 |     static var librarySearchPaths = [""]
165 |     static var libraryVersionSeparator = "."
    |                |- warning: static property 'libraryVersionSeparator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'libraryVersionSeparator' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'libraryVersionSeparator' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |     #elseif os(Windows)
167 |     static var libraryNames = ["python:"]
[29/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
  26 | /// Typealias used when passing or returning a `PyObject` pointer with
  27 | /// implied ownership.
  28 | typealias OwnedPyObjectPointer = PyObjectPointer
     |           `- note: type declared here
  29 |
  30 | /// A primitive reference to a Python C API `PyObject`.
     :
  38 | @usableFromInline @_fixed_layout
  39 | final class PyReference {
  40 |     private var pointer: OwnedPyObjectPointer
     |                 `- error: type referenced from a stored property in a '@frozen' struct must be '@usableFromInline' or public
  41 |
  42 |     // This `PyReference`, once deleted, will make no delta change to the
/host/spi-builder-workspace/PythonKit/Python.swift:211:10: warning: associated value 'exception(_:traceback:)' of 'Sendable'-conforming enum 'PythonError' has non-sendable type 'PythonObject'; this is an error in the Swift 6 language mode
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
     :
 209 | public enum PythonError : Error, Equatable {
 210 |     /// A Python runtime exception, produced by calling a Python function.
 211 |     case exception(PythonObject, traceback: PythonObject?)
     |          `- warning: associated value 'exception(_:traceback:)' of 'Sendable'-conforming enum 'PythonError' has non-sendable type 'PythonObject'; this is an error in the Swift 6 language mode
 212 |
 213 |     /// A failed call on a `PythonObject`.
/host/spi-builder-workspace/PythonKit/Python.swift:211:10: warning: associated value 'exception(_:traceback:)' of 'Sendable'-conforming enum 'PythonError' has non-sendable type 'PythonObject'; this is an error in the Swift 6 language mode
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
     :
 209 | public enum PythonError : Error, Equatable {
 210 |     /// A Python runtime exception, produced by calling a Python function.
 211 |     case exception(PythonObject, traceback: PythonObject?)
     |          `- warning: associated value 'exception(_:traceback:)' of 'Sendable'-conforming enum 'PythonError' has non-sendable type 'PythonObject'; this is an error in the Swift 6 language mode
 212 |
 213 |     /// A failed call on a `PythonObject`.
/host/spi-builder-workspace/PythonKit/Python.swift:219:10: warning: associated value 'invalidCall' of 'Sendable'-conforming enum 'PythonError' has non-sendable type 'PythonObject'; this is an error in the Swift 6 language mode
  87 | @dynamicCallable
  88 | @dynamicMemberLookup
  89 | public struct PythonObject {
     |               `- note: consider making struct 'PythonObject' conform to the 'Sendable' protocol
  90 |     /// The underlying `PyReference`.
  91 |     fileprivate var reference: PyReference
     :
 217 |     ///   object.
 218 |     /// - An invalid keyword argument was specified.
 219 |     case invalidCall(PythonObject)
     |          `- warning: associated value 'invalidCall' of 'Sendable'-conforming enum 'PythonError' has non-sendable type 'PythonObject'; this is an error in the Swift 6 language mode
 220 |
 221 |     /// A module import error.
/host/spi-builder-workspace/PythonKit/Python.swift:630:12: warning: let 'Python' is not concurrency-safe because non-'Sendable' type 'PythonInterface' may have shared mutable state; this is an error in the Swift 6 language mode
 628 | ///     print(Python.type(list) == Python.list) // Prints true.
 629 | @_fixed_layout
 630 | public let Python = PythonInterface()
     |            |- warning: let 'Python' is not concurrency-safe because non-'Sendable' type 'PythonInterface' may have shared mutable state; this is an error in the Swift 6 language mode
     |            |- note: annotate 'Python' with '@MainActor' if property should only be accessed from the main actor
     |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 631 |
 632 | /// An interface for Python.
     :
 638 | ///   called `Python`.
 639 | @dynamicMemberLookup
 640 | public struct PythonInterface {
     |               `- note: consider making struct 'PythonInterface' conform to the 'Sendable' protocol
 641 |     /// A dictionary of the Python builtins.
 642 |     public let builtins: PythonObject
/host/spi-builder-workspace/PythonKit/PythonLibrary+Symbols.swift:181:5: warning: let '_Py_ZeroStruct' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
179 |         legacyName: "PyString_FromStringAndSize")
180 |
181 | let _Py_ZeroStruct: PyObjectPointer =
    |     |- warning: let '_Py_ZeroStruct' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate '_Py_ZeroStruct' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |     PythonLibrary.loadSymbol(name: "_Py_ZeroStruct")
183 |
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
  |                       `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 |     public typealias Pointee = UInt8
3 |     public let _rawValue: Builtin.RawPointer
/host/spi-builder-workspace/PythonKit/PythonLibrary+Symbols.swift:187:5: warning: let 'PyBool_Type' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
185 |     PythonLibrary.loadSymbol(name: "_Py_TrueStruct")
186 |
187 | let PyBool_Type: PyObjectPointer =
    |     |- warning: let 'PyBool_Type' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'PyBool_Type' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 |     PythonLibrary.loadSymbol(name: "PyBool_Type")
189 |
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
  |                       `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 |     public typealias Pointee = UInt8
3 |     public let _rawValue: Builtin.RawPointer
/host/spi-builder-workspace/PythonKit/PythonLibrary+Symbols.swift:184:5: warning: let '_Py_TrueStruct' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
182 |     PythonLibrary.loadSymbol(name: "_Py_ZeroStruct")
183 |
184 | let _Py_TrueStruct: PyObjectPointer =
    |     |- warning: let '_Py_TrueStruct' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate '_Py_TrueStruct' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |     PythonLibrary.loadSymbol(name: "_Py_TrueStruct")
186 |
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
  |                       `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 |     public typealias Pointee = UInt8
3 |     public let _rawValue: Builtin.RawPointer
/host/spi-builder-workspace/PythonKit/PythonLibrary+Symbols.swift:190:5: warning: let 'PySlice_Type' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
188 |     PythonLibrary.loadSymbol(name: "PyBool_Type")
189 |
190 | let PySlice_Type: PyObjectPointer =
    |     |- warning: let 'PySlice_Type' is not concurrency-safe because non-'Sendable' type 'PyObjectPointer' (aka 'UnsafeMutableRawPointer') may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'PySlice_Type' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 |     PythonLibrary.loadSymbol(name: "PySlice_Type")
192 |
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
  |                       `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 |     public typealias Pointee = UInt8
3 |     public let _rawValue: Builtin.RawPointer
[30/61] Compiling Rainbow XcodeColorsSupport.swift
[31/61] Compiling ArgumentParser NameSpecification.swift
[32/61] Compiling ArgumentParser Option.swift
[33/61] Compiling ArgumentParser OptionGroup.swift
[34/61] Compiling ArgumentParser CommandConfiguration.swift
[37/61] Compiling ArgumentParser Errors.swift
[38/61] Compiling ArgumentParser Flag.swift
[39/61] Compiling ArgumentParser EnumerableFlag.swift
[40/61] Compiling ArgumentParser ExpressibleByArgument.swift
[41/61] Compiling ArgumentParser ParsableArguments.swift
[42/61] Compiling ArgumentParser ParsableArgumentsValidation.swift
[43/61] Compiling PythonKit PythonLibrary.swift
/host/spi-builder-workspace/PythonKit/PythonLibrary.swift:31:24: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PythonLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
 28 | //===----------------------------------------------------------------------===//
 29 |
 30 | public struct PythonLibrary {
    |               `- note: consider making struct 'PythonLibrary' conform to the 'Sendable' protocol
 31 |     private static let shared = PythonLibrary()
    |                        |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'PythonLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |     private static let pythonLegacySymbolName = "PyString_AsString"
 33 |     private static var librarySymbolsLoaded = false
/host/spi-builder-workspace/PythonKit/PythonLibrary.swift:33:24: warning: static property 'librarySymbolsLoaded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 |     private static let shared = PythonLibrary()
 32 |     private static let pythonLegacySymbolName = "PyString_AsString"
 33 |     private static var librarySymbolsLoaded = false
    |                        |- warning: static property 'librarySymbolsLoaded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'librarySymbolsLoaded' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'librarySymbolsLoaded' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |     private let pythonLibraryHandle: UnsafeMutableRawPointer
/host/spi-builder-workspace/PythonKit/PythonLibrary.swift:162:16: warning: static property 'libraryNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
160 |     static var libraryVersionSeparator = "."
161 |     #elseif os(Linux)
162 |     static var libraryNames = ["libpython:", "libpython:m"]
    |                |- warning: static property 'libraryNames' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'libraryNames' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'libraryNames' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |     static var libraryPathExtensions = [".so"]
164 |     static var librarySearchPaths = [""]
/host/spi-builder-workspace/PythonKit/PythonLibrary.swift:163:16: warning: static property 'libraryPathExtensions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 |     #elseif os(Linux)
162 |     static var libraryNames = ["libpython:", "libpython:m"]
163 |     static var libraryPathExtensions = [".so"]
    |                |- warning: static property 'libraryPathExtensions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'libraryPathExtensions' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'libraryPathExtensions' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |     static var librarySearchPaths = [""]
165 |     static var libraryVersionSeparator = "."
/host/spi-builder-workspace/PythonKit/PythonLibrary.swift:164:16: warning: static property 'librarySearchPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
162 |     static var libraryNames = ["libpython:", "libpython:m"]
163 |     static var libraryPathExtensions = [".so"]
164 |     static var librarySearchPaths = [""]
    |                |- warning: static property 'librarySearchPaths' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'librarySearchPaths' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'librarySearchPaths' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |     static var libraryVersionSeparator = "."
166 |     #elseif os(Windows)
/host/spi-builder-workspace/PythonKit/PythonLibrary.swift:165:16: warning: static property 'libraryVersionSeparator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
163 |     static var libraryPathExtensions = [".so"]
164 |     static var librarySearchPaths = [""]
165 |     static var libraryVersionSeparator = "."
    |                |- warning: static property 'libraryVersionSeparator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'libraryVersionSeparator' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'libraryVersionSeparator' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |     #elseif os(Windows)
167 |     static var libraryNames = ["python:"]
/host/spi-builder-workspace/PythonKit/PythonLibrary.swift:248:31: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
246 |     static func log(_ message: String) {
247 |         guard Environment.loaderLogging.value != nil else { return }
248 |         fputs(message + "\n", stderr)
    |                               `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
249 |     }
250 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
BUILD FAILURE 6.0 linux