The Swift Package Index logo.Swift Package Index

Build Information

Successful build of RuntimeKit, reference v0.4.0 (ebd00f), with Swift 6.1 for macOS (SPM) on 10 Nov 2026 17:27:18 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nicked/RuntimeKit.git
Reference: v0.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nicked/RuntimeKit
 * tag               v0.4.0     -> FETCH_HEAD
HEAD is now at ebd00f6 Add functions for getting and setting ivar values
Cloned https://github.com/nicked/RuntimeKit.git
Revision (git rev-parse @):
ebd00f62bdff882713596cd975d45b1f16a493f0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nicked/RuntimeKit.git at v0.4.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/nicked/RuntimeKit.git
https://github.com/nicked/RuntimeKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RuntimeKit",
  "name" : "RuntimeKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "RuntimeKit",
      "targets" : [
        "RuntimeKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "RuntimeKitTests",
      "module_type" : "SwiftTarget",
      "name" : "RuntimeKitTests",
      "path" : "Tests/RuntimeKitTests",
      "sources" : [
        "AttributesTests.swift",
        "Invocation/InvocationTests.swift",
        "Invocation/MethodSignatureTests.swift",
        "ObjCClassTests.swift",
        "ProtocolTests.swift",
        "Utils/TypeEncodingTests.swift"
      ],
      "target_dependencies" : [
        "RuntimeKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RuntimeKit",
      "module_type" : "SwiftTarget",
      "name" : "RuntimeKit",
      "path" : "Sources/RuntimeKit",
      "product_memberships" : [
        "RuntimeKit"
      ],
      "sources" : [
        "Invocation/Invocation.swift",
        "Invocation/MethodSignature.swift",
        "ObjCClass+Create.swift",
        "ObjCClass+Ivars.swift",
        "ObjCClass+Methods.swift",
        "ObjCClass+Properties.swift",
        "ObjCClass+Protocols.swift",
        "ObjCClass+RuntimeLists.swift",
        "ObjCClass.swift",
        "ObjCIvar.swift",
        "ObjCMethod.swift",
        "ObjCProperty.Attributes.swift",
        "ObjCProperty.swift",
        "ObjCProtocol+Create.swift",
        "ObjCProtocol+RuntimeLists.swift",
        "ObjCProtocol.swift",
        "RuntimeList/RuntimeList.swift",
        "Utils/MethodTypeEncodings.swift",
        "Utils/Substring+ParseType.swift",
        "Utils/TypeEncoding.swift",
        "Utils/UnsafeBuffer+Utils.swift"
      ],
      "target_dependencies" : [
        "RuntimeFix"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RuntimeFix",
      "module_type" : "ClangTarget",
      "name" : "RuntimeFix",
      "path" : "Sources/RuntimeFix",
      "product_memberships" : [
        "RuntimeKit"
      ],
      "sources" : [
        "RuntimeFix.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version-2F0A5646E1D333AE.txt
[2/3] Compiling RuntimeFix RuntimeFix.m
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/23] Emitting module RuntimeKit
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/ObjCClass+RuntimeLists.swift:40:12: error: type 'ObjCClass.Ivars' does not conform to protocol 'RuntimeClassList'
 38 |
 39 |     /// The instance variables of a class.
 40 |     struct Ivars: RuntimeClassList {
    |            |- error: type 'ObjCClass.Ivars' does not conform to protocol 'RuntimeClassList'
    |            `- note: add stubs for conformance
 41 |         public typealias Element = ObjCIvar
 42 |
    :
 64 |
 65 |         @_documentation(visibility: internal)
 66 |         public static let keyPath = \ObjCClass.ivars
    |                           `- note: candidate has non-matching type 'any KeyPath<ObjCClass, ObjCClass.Ivars> & Sendable'
 67 |     }
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/RuntimeList/RuntimeList.swift:53:16: note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Ivars>'
 51 |     /// - Note: Making this non-static adds a ton of retain/release calls.
 52 |     @_documentation(visibility: internal)
 53 |     static var keyPath: KeyPath<ObjCClass, Self> { get }
    |                `- note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Ivars>'
 54 | }
 55 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/ObjCClass+RuntimeLists.swift:70:12: error: type 'ObjCClass.Properties' does not conform to protocol 'RuntimeClassList'
 68 |
 69 |     /// The instance or class properties of a class.
 70 |     struct Properties: RuntimeClassList {
    |            |- error: type 'ObjCClass.Properties' does not conform to protocol 'RuntimeClassList'
    |            `- note: add stubs for conformance
 71 |         public typealias Element = ObjCProperty
 72 |
    :
 94 |
 95 |         @_documentation(visibility: internal)
 96 |         public static let keyPath = \ObjCClass.properties
    |                           `- note: candidate has non-matching type 'any KeyPath<ObjCClass, ObjCClass.Properties> & Sendable'
 97 |     }
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/RuntimeList/RuntimeList.swift:53:16: note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Properties>'
 51 |     /// - Note: Making this non-static adds a ton of retain/release calls.
 52 |     @_documentation(visibility: internal)
 53 |     static var keyPath: KeyPath<ObjCClass, Self> { get }
    |                `- note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Properties>'
 54 | }
 55 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/ObjCClass+RuntimeLists.swift:100:12: error: type 'ObjCClass.Methods' does not conform to protocol 'RuntimeClassList'
 98 |
 99 |     /// The instance or class methods of a class.
100 |     struct Methods: RuntimeClassList {
    |            |- error: type 'ObjCClass.Methods' does not conform to protocol 'RuntimeClassList'
    |            `- note: add stubs for conformance
101 |         public typealias Element = ObjCMethod
102 |
    :
124 |
125 |         @_documentation(visibility: internal)
126 |         public static let keyPath = \ObjCClass.methods
    |                           `- note: candidate has non-matching type 'any KeyPath<ObjCClass, ObjCClass.Methods> & Sendable'
127 |     }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/RuntimeList/RuntimeList.swift:53:16: note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Methods>'
 51 |     /// - Note: Making this non-static adds a ton of retain/release calls.
 52 |     @_documentation(visibility: internal)
 53 |     static var keyPath: KeyPath<ObjCClass, Self> { get }
    |                `- note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Methods>'
 54 | }
 55 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/ObjCClass+RuntimeLists.swift:130:12: error: type 'ObjCClass.Protocols' does not conform to protocol 'RuntimeClassList'
128 |
129 |     /// The protocols that a class directly conforms to.
130 |     struct Protocols: RuntimeClassList {
    |            |- error: type 'ObjCClass.Protocols' does not conform to protocol 'RuntimeClassList'
    |            `- note: add stubs for conformance
131 |         public typealias Element = ObjCProtocol
132 |
    :
157 |
158 |         @_documentation(visibility: internal)
159 |         public static let keyPath = \ObjCClass.protocols
    |                           `- note: candidate has non-matching type 'any KeyPath<ObjCClass, ObjCClass.Protocols> & Sendable'
160 |     }
161 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/RuntimeList/RuntimeList.swift:53:16: note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Protocols>'
 51 |     /// - Note: Making this non-static adds a ton of retain/release calls.
 52 |     @_documentation(visibility: internal)
 53 |     static var keyPath: KeyPath<ObjCClass, Self> { get }
    |                `- note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Protocols>'
 54 | }
 55 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/Utils/TypeEncoding.swift:70:23: warning: static property 'id' is not concurrency-safe because non-'Sendable' type 'TypeEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Even the runtime fails to parse these encodings correctly. Since commas are used to delimit property attributes,
 21 | /// this also causes functions like `property_copyAttributeValue` to not work.
 22 | public indirect enum TypeEncoding: Equatable {
    |                      `- note: consider making enum 'TypeEncoding' conform to the 'Sendable' protocol
 23 |     // Standard scalars
 24 |     case char
    :
 68 |     case empty
 69 |
 70 |     public static let id = Self.object()
    |                       |- warning: static property 'id' is not concurrency-safe because non-'Sendable' type 'TypeEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'id' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |
 72 |     public static func `struct`(_ name: String, _ types: TypeEncoding...) -> Self {
[5/25] Compiling RuntimeKit TypeEncoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/Utils/TypeEncoding.swift:70:23: warning: static property 'id' is not concurrency-safe because non-'Sendable' type 'TypeEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Even the runtime fails to parse these encodings correctly. Since commas are used to delimit property attributes,
 21 | /// this also causes functions like `property_copyAttributeValue` to not work.
 22 | public indirect enum TypeEncoding: Equatable {
    |                      `- note: consider making enum 'TypeEncoding' conform to the 'Sendable' protocol
 23 |     // Standard scalars
 24 |     case char
    :
 68 |     case empty
 69 |
 70 |     public static let id = Self.object()
    |                       |- warning: static property 'id' is not concurrency-safe because non-'Sendable' type 'TypeEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'id' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |
 72 |     public static func `struct`(_ name: String, _ types: TypeEncoding...) -> Self {
[6/25] Compiling RuntimeKit UnsafeBuffer+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/Utils/TypeEncoding.swift:70:23: warning: static property 'id' is not concurrency-safe because non-'Sendable' type 'TypeEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
 20 | /// Even the runtime fails to parse these encodings correctly. Since commas are used to delimit property attributes,
 21 | /// this also causes functions like `property_copyAttributeValue` to not work.
 22 | public indirect enum TypeEncoding: Equatable {
    |                      `- note: consider making enum 'TypeEncoding' conform to the 'Sendable' protocol
 23 |     // Standard scalars
 24 |     case char
    :
 68 |     case empty
 69 |
 70 |     public static let id = Self.object()
    |                       |- warning: static property 'id' is not concurrency-safe because non-'Sendable' type 'TypeEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'id' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |
 72 |     public static func `struct`(_ name: String, _ types: TypeEncoding...) -> Self {
[7/25] Compiling RuntimeKit ObjCProtocol.swift
[8/25] Compiling RuntimeKit RuntimeList.swift
[9/25] Compiling RuntimeKit ObjCClass+Ivars.swift
[10/25] Compiling RuntimeKit ObjCClass+Methods.swift
[11/25] Compiling RuntimeKit ObjCClass+Properties.swift
[12/25] Compiling RuntimeKit ObjCClass+Protocols.swift
[13/25] Compiling RuntimeKit ObjCProtocol+Create.swift
[14/25] Compiling RuntimeKit ObjCProtocol+RuntimeLists.swift
[15/25] Compiling RuntimeKit ObjCIvar.swift
[16/25] Compiling RuntimeKit ObjCMethod.swift
[17/25] Compiling RuntimeKit MethodTypeEncodings.swift
[18/25] Compiling RuntimeKit Substring+ParseType.swift
[19/25] Compiling RuntimeKit Invocation.swift
[20/25] Compiling RuntimeKit MethodSignature.swift
[21/25] Compiling RuntimeKit ObjCClass+Create.swift
[22/25] Compiling RuntimeKit ObjCProperty.Attributes.swift
[23/25] Compiling RuntimeKit ObjCProperty.swift
[24/25] Compiling RuntimeKit ObjCClass+RuntimeLists.swift
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/ObjCClass+RuntimeLists.swift:40:12: error: type 'ObjCClass.Ivars' does not conform to protocol 'RuntimeClassList'
 38 |
 39 |     /// The instance variables of a class.
 40 |     struct Ivars: RuntimeClassList {
    |            |- error: type 'ObjCClass.Ivars' does not conform to protocol 'RuntimeClassList'
    |            `- note: add stubs for conformance
 41 |         public typealias Element = ObjCIvar
 42 |
    :
 64 |
 65 |         @_documentation(visibility: internal)
 66 |         public static let keyPath = \ObjCClass.ivars
    |                           `- note: candidate has non-matching type 'any KeyPath<ObjCClass, ObjCClass.Ivars> & Sendable'
 67 |     }
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/RuntimeList/RuntimeList.swift:53:16: note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Ivars>'
 51 |     /// - Note: Making this non-static adds a ton of retain/release calls.
 52 |     @_documentation(visibility: internal)
 53 |     static var keyPath: KeyPath<ObjCClass, Self> { get }
    |                `- note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Ivars>'
 54 | }
 55 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/ObjCClass+RuntimeLists.swift:70:12: error: type 'ObjCClass.Properties' does not conform to protocol 'RuntimeClassList'
 68 |
 69 |     /// The instance or class properties of a class.
 70 |     struct Properties: RuntimeClassList {
    |            |- error: type 'ObjCClass.Properties' does not conform to protocol 'RuntimeClassList'
    |            `- note: add stubs for conformance
 71 |         public typealias Element = ObjCProperty
 72 |
    :
 94 |
 95 |         @_documentation(visibility: internal)
 96 |         public static let keyPath = \ObjCClass.properties
    |                           `- note: candidate has non-matching type 'any KeyPath<ObjCClass, ObjCClass.Properties> & Sendable'
 97 |     }
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/RuntimeList/RuntimeList.swift:53:16: note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Properties>'
 51 |     /// - Note: Making this non-static adds a ton of retain/release calls.
 52 |     @_documentation(visibility: internal)
 53 |     static var keyPath: KeyPath<ObjCClass, Self> { get }
    |                `- note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Properties>'
 54 | }
 55 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/ObjCClass+RuntimeLists.swift:100:12: error: type 'ObjCClass.Methods' does not conform to protocol 'RuntimeClassList'
 98 |
 99 |     /// The instance or class methods of a class.
100 |     struct Methods: RuntimeClassList {
    |            |- error: type 'ObjCClass.Methods' does not conform to protocol 'RuntimeClassList'
    |            `- note: add stubs for conformance
101 |         public typealias Element = ObjCMethod
102 |
    :
124 |
125 |         @_documentation(visibility: internal)
126 |         public static let keyPath = \ObjCClass.methods
    |                           `- note: candidate has non-matching type 'any KeyPath<ObjCClass, ObjCClass.Methods> & Sendable'
127 |     }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/RuntimeList/RuntimeList.swift:53:16: note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Methods>'
 51 |     /// - Note: Making this non-static adds a ton of retain/release calls.
 52 |     @_documentation(visibility: internal)
 53 |     static var keyPath: KeyPath<ObjCClass, Self> { get }
    |                `- note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Methods>'
 54 | }
 55 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/ObjCClass+RuntimeLists.swift:130:12: error: type 'ObjCClass.Protocols' does not conform to protocol 'RuntimeClassList'
128 |
129 |     /// The protocols that a class directly conforms to.
130 |     struct Protocols: RuntimeClassList {
    |            |- error: type 'ObjCClass.Protocols' does not conform to protocol 'RuntimeClassList'
    |            `- note: add stubs for conformance
131 |         public typealias Element = ObjCProtocol
132 |
    :
157 |
158 |         @_documentation(visibility: internal)
159 |         public static let keyPath = \ObjCClass.protocols
    |                           `- note: candidate has non-matching type 'any KeyPath<ObjCClass, ObjCClass.Protocols> & Sendable'
160 |     }
161 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/RuntimeList/RuntimeList.swift:53:16: note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Protocols>'
 51 |     /// - Note: Making this non-static adds a ton of retain/release calls.
 52 |     @_documentation(visibility: internal)
 53 |     static var keyPath: KeyPath<ObjCClass, Self> { get }
    |                `- note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Protocols>'
 54 | }
 55 |
[25/25] Compiling RuntimeKit ObjCClass.swift
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/ObjCClass+RuntimeLists.swift:40:12: error: type 'ObjCClass.Ivars' does not conform to protocol 'RuntimeClassList'
 38 |
 39 |     /// The instance variables of a class.
 40 |     struct Ivars: RuntimeClassList {
    |            |- error: type 'ObjCClass.Ivars' does not conform to protocol 'RuntimeClassList'
    |            `- note: add stubs for conformance
 41 |         public typealias Element = ObjCIvar
 42 |
    :
 64 |
 65 |         @_documentation(visibility: internal)
 66 |         public static let keyPath = \ObjCClass.ivars
    |                           `- note: candidate has non-matching type 'any KeyPath<ObjCClass, ObjCClass.Ivars> & Sendable'
 67 |     }
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/RuntimeList/RuntimeList.swift:53:16: note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Ivars>'
 51 |     /// - Note: Making this non-static adds a ton of retain/release calls.
 52 |     @_documentation(visibility: internal)
 53 |     static var keyPath: KeyPath<ObjCClass, Self> { get }
    |                `- note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Ivars>'
 54 | }
 55 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/ObjCClass+RuntimeLists.swift:70:12: error: type 'ObjCClass.Properties' does not conform to protocol 'RuntimeClassList'
 68 |
 69 |     /// The instance or class properties of a class.
 70 |     struct Properties: RuntimeClassList {
    |            |- error: type 'ObjCClass.Properties' does not conform to protocol 'RuntimeClassList'
    |            `- note: add stubs for conformance
 71 |         public typealias Element = ObjCProperty
 72 |
    :
 94 |
 95 |         @_documentation(visibility: internal)
 96 |         public static let keyPath = \ObjCClass.properties
    |                           `- note: candidate has non-matching type 'any KeyPath<ObjCClass, ObjCClass.Properties> & Sendable'
 97 |     }
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/RuntimeList/RuntimeList.swift:53:16: note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Properties>'
 51 |     /// - Note: Making this non-static adds a ton of retain/release calls.
 52 |     @_documentation(visibility: internal)
 53 |     static var keyPath: KeyPath<ObjCClass, Self> { get }
    |                `- note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Properties>'
 54 | }
 55 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/ObjCClass+RuntimeLists.swift:100:12: error: type 'ObjCClass.Methods' does not conform to protocol 'RuntimeClassList'
 98 |
 99 |     /// The instance or class methods of a class.
100 |     struct Methods: RuntimeClassList {
    |            |- error: type 'ObjCClass.Methods' does not conform to protocol 'RuntimeClassList'
    |            `- note: add stubs for conformance
101 |         public typealias Element = ObjCMethod
102 |
    :
124 |
125 |         @_documentation(visibility: internal)
126 |         public static let keyPath = \ObjCClass.methods
    |                           `- note: candidate has non-matching type 'any KeyPath<ObjCClass, ObjCClass.Methods> & Sendable'
127 |     }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/RuntimeList/RuntimeList.swift:53:16: note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Methods>'
 51 |     /// - Note: Making this non-static adds a ton of retain/release calls.
 52 |     @_documentation(visibility: internal)
 53 |     static var keyPath: KeyPath<ObjCClass, Self> { get }
    |                `- note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Methods>'
 54 | }
 55 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/ObjCClass+RuntimeLists.swift:130:12: error: type 'ObjCClass.Protocols' does not conform to protocol 'RuntimeClassList'
128 |
129 |     /// The protocols that a class directly conforms to.
130 |     struct Protocols: RuntimeClassList {
    |            |- error: type 'ObjCClass.Protocols' does not conform to protocol 'RuntimeClassList'
    |            `- note: add stubs for conformance
131 |         public typealias Element = ObjCProtocol
132 |
    :
157 |
158 |         @_documentation(visibility: internal)
159 |         public static let keyPath = \ObjCClass.protocols
    |                           `- note: candidate has non-matching type 'any KeyPath<ObjCClass, ObjCClass.Protocols> & Sendable'
160 |     }
161 |
/Users/admin/builder/spi-builder-workspace/Sources/RuntimeKit/RuntimeList/RuntimeList.swift:53:16: note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Protocols>'
 51 |     /// - Note: Making this non-static adds a ton of retain/release calls.
 52 |     @_documentation(visibility: internal)
 53 |     static var keyPath: KeyPath<ObjCClass, Self> { get }
    |                `- note: protocol requires property 'keyPath' with type 'KeyPath<ObjCClass, ObjCClass.Protocols>'
 54 | }
 55 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/21] Compiling RuntimeKit ObjCClass+Ivars.swift
[3/21] Compiling RuntimeKit ObjCClass+Methods.swift
[4/21] Emitting module RuntimeKit
[5/23] Compiling RuntimeKit ObjCProtocol+Create.swift
[6/23] Compiling RuntimeKit ObjCProtocol+RuntimeLists.swift
[7/23] Compiling RuntimeKit ObjCIvar.swift
[8/23] Compiling RuntimeKit ObjCMethod.swift
[9/23] Compiling RuntimeKit ObjCClass+RuntimeLists.swift
[10/23] Compiling RuntimeKit ObjCClass.swift
[11/23] Compiling RuntimeKit MethodTypeEncodings.swift
[12/23] Compiling RuntimeKit Substring+ParseType.swift
[13/23] Compiling RuntimeKit ObjCClass+Properties.swift
[14/23] Compiling RuntimeKit ObjCClass+Protocols.swift
[15/23] Compiling RuntimeKit ObjCProtocol.swift
[16/23] Compiling RuntimeKit RuntimeList.swift
[17/23] Compiling RuntimeKit Invocation.swift
[18/23] Compiling RuntimeKit MethodSignature.swift
[19/23] Compiling RuntimeKit ObjCClass+Create.swift
[20/23] Compiling RuntimeKit ObjCProperty.Attributes.swift
[21/23] Compiling RuntimeKit ObjCProperty.swift
[22/23] Compiling RuntimeKit TypeEncoding.swift
[23/23] Compiling RuntimeKit UnsafeBuffer+Utils.swift
Build complete! (1.48s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RuntimeKit",
  "name" : "RuntimeKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "RuntimeKit",
      "targets" : [
        "RuntimeKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "RuntimeKitTests",
      "module_type" : "SwiftTarget",
      "name" : "RuntimeKitTests",
      "path" : "Tests/RuntimeKitTests",
      "sources" : [
        "AttributesTests.swift",
        "Invocation/InvocationTests.swift",
        "Invocation/MethodSignatureTests.swift",
        "ObjCClassTests.swift",
        "ProtocolTests.swift",
        "Utils/TypeEncodingTests.swift"
      ],
      "target_dependencies" : [
        "RuntimeKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RuntimeKit",
      "module_type" : "SwiftTarget",
      "name" : "RuntimeKit",
      "path" : "Sources/RuntimeKit",
      "product_memberships" : [
        "RuntimeKit"
      ],
      "sources" : [
        "Invocation/Invocation.swift",
        "Invocation/MethodSignature.swift",
        "ObjCClass+Create.swift",
        "ObjCClass+Ivars.swift",
        "ObjCClass+Methods.swift",
        "ObjCClass+Properties.swift",
        "ObjCClass+Protocols.swift",
        "ObjCClass+RuntimeLists.swift",
        "ObjCClass.swift",
        "ObjCIvar.swift",
        "ObjCMethod.swift",
        "ObjCProperty.Attributes.swift",
        "ObjCProperty.swift",
        "ObjCProtocol+Create.swift",
        "ObjCProtocol+RuntimeLists.swift",
        "ObjCProtocol.swift",
        "RuntimeList/RuntimeList.swift",
        "Utils/MethodTypeEncodings.swift",
        "Utils/Substring+ParseType.swift",
        "Utils/TypeEncoding.swift",
        "Utils/UnsafeBuffer+Utils.swift"
      ],
      "target_dependencies" : [
        "RuntimeFix"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RuntimeFix",
      "module_type" : "ClangTarget",
      "name" : "RuntimeFix",
      "path" : "Sources/RuntimeFix",
      "product_memberships" : [
        "RuntimeKit"
      ],
      "sources" : [
        "RuntimeFix.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.