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 macOS (SPM) on 4 Nov 2024 03:33:02 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/kongzii/LoggerKit.git
Fetching https://github.com/apple/swift-argument-parser
[1/369] Fetching loggerkit
[367/12722] Fetching loggerkit, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.63s)
Fetched https://github.com/kongzii/LoggerKit.git from cache (1.63s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (0.66s)
Fetching https://github.com/onevcat/Rainbow
[1/1126] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.98s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.70s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (2.91s)
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
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "pythonkit",
      "name": "PythonKit",
      "url": "https://github.com/kongzii/PythonKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PythonKit",
      "dependencies": [
        {
          "identity": "loggerkit",
          "name": "LoggerKit",
          "url": "https://github.com/kongzii/LoggerKit.git",
          "version": "0.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LoggerKit",
          "dependencies": [
            {
              "identity": "rainbow",
              "name": "Rainbow",
              "url": "https://github.com/onevcat/Rainbow",
              "version": "3.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "0.0.6",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/kongzii/PythonKit.git
[1/867] Fetching pythonkit
Fetched https://github.com/kongzii/PythonKit.git from cache (0.91s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/kongzii/LoggerKit.git from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.57s)
Fetched https://github.com/kongzii/LoggerKit.git from cache (0.57s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (0.02s)
Fetching https://github.com/onevcat/Rainbow from cache
Fetched https://github.com/onevcat/Rainbow from cache (0.47s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.03s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.03s)
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/kongzii/PythonKit.git
Working copy of https://github.com/kongzii/PythonKit.git resolved at master (977002d)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Found 2 product dependencies
  - LoggerKit
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kongzii/PythonKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/10] Write sources
[3/10] Write PythonTool-entitlement.plist
[6/10] Write swift-version--7754E27361AE5C74.txt
[8/54] Compiling ArgumentParser ArgumentSet.swift
[9/54] Compiling ArgumentParser ArgumentSetSequence.swift
[10/54] Compiling ArgumentParser CommandParser.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/57] Compiling PythonKit NumpyConversion.swift
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 |     }
[12/57] Compiling PythonKit PythonLibrary.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/PythonKit/PythonLibrary.swift:157: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
155 |
156 |     #if canImport(Darwin)
157 |     static var libraryNames = ["Python.framework/Versions/:/Python"]
    |                |- 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
158 |     static var libraryPathExtensions = [""]
159 |     static var librarySearchPaths = ["", "/usr/local/Frameworks/"]
/Users/admin/builder/spi-builder-workspace/PythonKit/PythonLibrary.swift:158: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
156 |     #if canImport(Darwin)
157 |     static var libraryNames = ["Python.framework/Versions/:/Python"]
158 |     static var libraryPathExtensions = [""]
    |                |- 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
159 |     static var librarySearchPaths = ["", "/usr/local/Frameworks/"]
160 |     static var libraryVersionSeparator = "."
/Users/admin/builder/spi-builder-workspace/PythonKit/PythonLibrary.swift:159: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
157 |     static var libraryNames = ["Python.framework/Versions/:/Python"]
158 |     static var libraryPathExtensions = [""]
159 |     static var librarySearchPaths = ["", "/usr/local/Frameworks/"]
    |                |- 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
160 |     static var libraryVersionSeparator = "."
161 |     #elseif os(Linux)
/Users/admin/builder/spi-builder-workspace/PythonKit/PythonLibrary.swift:160: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
158 |     static var libraryPathExtensions = [""]
159 |     static var librarySearchPaths = ["", "/usr/local/Frameworks/"]
160 |     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
161 |     #elseif os(Linux)
162 |     static var libraryNames = ["libpython:", "libpython:m"]
[13/57] Compiling PythonKit PythonLibrary+Symbols.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[14/57] Emitting module PythonKit
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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`.
/Users/admin/builder/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`.
/Users/admin/builder/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.
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/PythonKit/PythonLibrary.swift:157: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
155 |
156 |     #if canImport(Darwin)
157 |     static var libraryNames = ["Python.framework/Versions/:/Python"]
    |                |- 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
158 |     static var libraryPathExtensions = [""]
159 |     static var librarySearchPaths = ["", "/usr/local/Frameworks/"]
/Users/admin/builder/spi-builder-workspace/PythonKit/PythonLibrary.swift:158: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
156 |     #if canImport(Darwin)
157 |     static var libraryNames = ["Python.framework/Versions/:/Python"]
158 |     static var libraryPathExtensions = [""]
    |                |- 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
159 |     static var librarySearchPaths = ["", "/usr/local/Frameworks/"]
160 |     static var libraryVersionSeparator = "."
/Users/admin/builder/spi-builder-workspace/PythonKit/PythonLibrary.swift:159: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
157 |     static var libraryNames = ["Python.framework/Versions/:/Python"]
158 |     static var libraryPathExtensions = [""]
159 |     static var librarySearchPaths = ["", "/usr/local/Frameworks/"]
    |                |- 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
160 |     static var libraryVersionSeparator = "."
161 |     #elseif os(Linux)
/Users/admin/builder/spi-builder-workspace/PythonKit/PythonLibrary.swift:160: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
158 |     static var libraryPathExtensions = [""]
159 |     static var librarySearchPaths = ["", "/usr/local/Frameworks/"]
160 |     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
161 |     #elseif os(Linux)
162 |     static var libraryNames = ["libpython:", "libpython:m"]
[15/57] Compiling PythonKit Python.swift
/Users/admin/builder/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
/Users/admin/builder/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`.
/Users/admin/builder/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`.
/Users/admin/builder/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.
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[16/57] Emitting module Rainbow
BUILD FAILURE 6.0 macosSpm