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 0.0.1 (977002), with Swift 6.1 for Linux on 28 Apr 2025 05:20:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kongzii/PythonKit.git
Reference: 0.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/kongzii/PythonKit
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at 977002d Versioned LoggerKit
Cloned https://github.com/kongzii/PythonKit.git
Revision (git rev-parse @):
977002d1f5cad96c84360d0ad4496ec614c58975
SUCCESS checkout https://github.com/kongzii/PythonKit.git at 0.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/kongzii/PythonKit.git
https://github.com/kongzii/PythonKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "loggerkit",
      "requirement" : {
        "exact" : [
          "0.0.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kongzii/LoggerKit.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "0.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "PythonKit",
  "name" : "PythonKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PythonTool",
      "targets" : [
        "PythonTool"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "PythonKit",
      "targets" : [
        "PythonKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PythonTool",
      "module_type" : "SwiftTarget",
      "name" : "PythonTool",
      "path" : "PythonTool",
      "product_dependencies" : [
        "LoggerKit",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "PythonTool"
      ],
      "sources" : [
        "OperatingSystemVersion.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "PythonKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "PythonKitTests",
      "module_type" : "SwiftTarget",
      "name" : "PythonKitTests",
      "path" : "Tests/PythonKitTests",
      "sources" : [
        "NumpyConversionTests.swift",
        "PythonRuntimeTests.swift"
      ],
      "target_dependencies" : [
        "PythonKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PythonKit",
      "module_type" : "SwiftTarget",
      "name" : "PythonKit",
      "path" : "PythonKit",
      "product_memberships" : [
        "PythonTool",
        "PythonKit"
      ],
      "sources" : [
        "NumpyConversion.swift",
        "Python.swift",
        "PythonLibrary+Symbols.swift",
        "PythonLibrary.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/kongzii/LoggerKit.git
Fetching https://github.com/apple/swift-argument-parser
[8/369] Fetching loggerkit
[370/15319] Fetching loggerkit, swift-argument-parser
Fetched https://github.com/kongzii/LoggerKit.git from cache (0.83s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.84s)
Computing version for https://github.com/kongzii/LoggerKit.git
Computed https://github.com/kongzii/LoggerKit.git at 0.0.0 (1.39s)
Fetching https://github.com/onevcat/Rainbow
[1/1196] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.23s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.0.6 (0.80s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (2.22s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.0.6
Creating working copy for https://github.com/kongzii/LoggerKit.git
Working copy of https://github.com/kongzii/LoggerKit.git resolved at 0.0.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/57] Compiling Rainbow String+Rainbow.swift
[8/57] Compiling Rainbow StringGenerator.swift
[9/57] Compiling Rainbow Style.swift
[10/58] Compiling ArgumentParser Argument.swift
[11/58] Compiling ArgumentParser ArgumentHelp.swift
[12/58] Emitting module Rainbow
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/58] 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: add '@MainActor' to make let 'np' part of global actor 'MainActor'
    |             `- 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/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: add '@MainActor' to make let 'ctypes' part of global actor 'MainActor'
    |             `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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 |     }
[14/58] 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: add '@MainActor' to make let 'np' part of global actor 'MainActor'
    |             `- 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/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: add '@MainActor' to make let 'ctypes' part of global actor 'MainActor'
    |             `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'numpyScalarTypes' part of global actor 'MainActor'
    |                       `- 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/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: add '@MainActor' to make let 'Python' part of global actor 'MainActor'
     |            `- 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: add '@MainActor' to make let '_Py_ZeroStruct' part of global actor 'MainActor'
    |     `- 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: add '@MainActor' to make let '_Py_TrueStruct' part of global actor 'MainActor'
    |     `- 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: add '@MainActor' to make let 'PyBool_Type' part of global actor 'MainActor'
    |     `- 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: add '@MainActor' to make let 'PySlice_Type' part of global actor 'MainActor'
    |     `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                        `- 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: add '@MainActor' to make static property 'librarySymbolsLoaded' part of global actor 'MainActor'
    |                        `- 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: add '@MainActor' to make static property 'libraryNames' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'libraryPathExtensions' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'librarySearchPaths' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'libraryVersionSeparator' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |     #elseif os(Windows)
167 |     static var libraryNames = ["python:"]
[15/58] 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: add '@MainActor' to make let 'Python' part of global actor 'MainActor'
     |            `- 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
[16/58] Compiling Rainbow XcodeColorsSupport.swift
[17/58] Compiling ArgumentParser ParsableCommand.swift
[18/58] Compiling ArgumentParser ArgumentDecoder.swift
[19/58] Compiling ArgumentParser ArgumentDefinition.swift
[20/58] Compiling ArgumentParser ArgumentSet.swift
[21/61] 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: add '@MainActor' to make let '_Py_ZeroStruct' part of global actor 'MainActor'
    |     `- 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: add '@MainActor' to make let '_Py_TrueStruct' part of global actor 'MainActor'
    |     `- 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: add '@MainActor' to make let 'PyBool_Type' part of global actor 'MainActor'
    |     `- 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: add '@MainActor' to make let 'PySlice_Type' part of global actor 'MainActor'
    |     `- 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
[22/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                        `- 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: add '@MainActor' to make static property 'librarySymbolsLoaded' part of global actor 'MainActor'
    |                        `- 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: add '@MainActor' to make static property 'libraryNames' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'libraryPathExtensions' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'librarySearchPaths' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'libraryVersionSeparator' part of global actor 'MainActor'
    |                `- 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 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[23/61] Emitting module ArgumentParser
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/52] Compiling Rainbow Style.swift
[3/53] Compiling PythonKit PythonLibrary+Symbols.swift
[4/53] Compiling PythonKit PythonLibrary.swift
[5/53] Compiling Rainbow XcodeColorsSupport.swift
[6/53] Compiling Rainbow String+Rainbow.swift
[7/53] Compiling Rainbow StringGenerator.swift
[8/53] Compiling PythonKit NumpyConversion.swift
/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 |     }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/53] Emitting module PythonKit
/host/spi-builder-workspace/PythonKit/Python.swift:40:17: error: type referenced from a stored property in a '@frozen' struct must be '@usableFromInline' or public
  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
[10/53] 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
BUILD FAILURE 6.1 linux