The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CharacteristicKit, reference main (58ac93), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 09:50:56 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/persello/CharacteristicKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/persello/CharacteristicKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 58ac931 Merge remote-tracking branch 'refs/remotes/origin/main'
Cloned https://github.com/persello/CharacteristicKit.git
Revision (git rev-parse @):
58ac931f160d5ebdbf39a7bcbed2fa9c7fc4766d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/persello/CharacteristicKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/persello/CharacteristicKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/9] Write Example-entitlement.plist
[0/9] Write sources
[4/9] Compiling CRuntime dummy.c
[5/9] Write swift-version-1EA4D86E10B52AF.txt
[7/51] Emitting module Runtime
[8/55] Compiling Runtime Case.swift
[9/55] Compiling Runtime Errors.swift
[10/55] Compiling Runtime FunctionInfo.swift
[11/55] Compiling Runtime Kind.swift
[12/55] Compiling Runtime RelativePointer.swift
[13/55] Compiling Runtime RelativeVectorPointer.swift
[14/55] Compiling Runtime Union.swift
[15/55] Compiling Runtime Vector.swift
[16/55] Compiling Runtime NominalMetadataType.swift
[17/55] Compiling Runtime ProtocolMetadata.swift
[18/55] Compiling Runtime StructMetadata.swift
[19/55] Compiling Runtime TupleMetadata.swift
[20/55] Compiling Runtime MetadataLayoutType.swift
[21/55] Compiling Runtime ProtocolDescriptor.swift
[22/55] Compiling Runtime ProtocolMetadataLayout.swift
[23/55] Compiling Runtime ProtocolTypeContainer.swift
[24/55] Compiling Runtime StructMetadataLayout.swift
[25/55] Compiling Runtime ClassMetadata.swift
[26/55] Compiling Runtime EnumMetadata.swift
[27/55] Compiling Runtime FuntionMetadata.swift
[28/55] Compiling Runtime Metadata.swift
[29/55] Compiling Runtime MetadataType.swift
[30/55] Compiling Runtime GettersSetters.swift
[31/55] Compiling Runtime Pointer+Extensions.swift
[32/55] Compiling Runtime RetainCounts.swift
[33/55] Compiling Runtime String+Extensions.swift
[34/55] Compiling Runtime PropertyInfo.swift
[35/55] Compiling Runtime TypeInfo.swift
[36/55] Compiling Runtime TypeInfoConvertible.swift
[37/55] Compiling Runtime Pointers.swift
[38/55] Compiling Runtime StructTypeDescriptor.swift
[39/55] Compiling Runtime TargetTypeGenericContextDescriptorHeader.swift
[40/55] Compiling Runtime TupleMetadataLayout.swift
[41/55] Compiling Runtime TypeDescriptor.swift
[42/55] Compiling Runtime ValueWitnessTable.swift
[43/55] Compiling Runtime EnumMetadataLayout.swift
[44/55] Compiling Runtime EnumTypeDescriptor.swift
[45/55] Compiling Runtime ExistentialContainter.swift
[46/55] Compiling Runtime FieldDescriptor.swift
[47/55] Compiling Runtime FunctionMetadataLayout.swift
[48/55] Compiling Runtime DefaultValue.swift
[49/55] Compiling Runtime Factory.swift
[50/55] Compiling Runtime ClassHeader.swift
[51/55] Compiling Runtime ClassMetadataLayout.swift
[52/55] Compiling Runtime ClassTypeDescriptor.swift
[53/66] Compiling CharacteristicKit MockPeripheralModel.swift
[54/67] Compiling CharacteristicKit GenericPeripheralModel.swift
[55/67] Compiling CharacteristicKit PeripheralModel+Discovery.swift
[56/67] Compiling CharacteristicKit PublishedCharacteristic.swift
[57/67] Compiling CharacteristicKit GeneralCharacteristicProtocol.swift
[58/67] Compiling CharacteristicKit PeripheralDelegate.swift
[59/67] Compiling CharacteristicKit DataDecodable.swift
[60/67] Compiling CharacteristicKit MockCharacteristic.swift
[61/67] Emitting module CharacteristicKit
[62/67] Compiling CharacteristicKit Characteristic.swift
/Users/admin/builder/spi-builder-workspace/Sources/CharacteristicKit/Characteristics/Characteristic.swift:110:29: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
108 |             let size = MemoryLayout.size(ofValue: self.internalValue)
109 |             peripheral.writeValue(
110 |                 Data(bytes: &self.internalValue, count: size),
    |                             `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
111 |                 for: characteristic,
112 |                 type: .withResponse
[63/67] Compiling CharacteristicKit CharacteristicContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/CharacteristicKit/Characteristics/Characteristic.swift:110:29: warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
108 |             let size = MemoryLayout.size(ofValue: self.internalValue)
109 |             peripheral.writeValue(
110 |                 Data(bytes: &self.internalValue, count: size),
    |                             `- warning: forming 'UnsafeRawPointer' to a variable of type 'T'; this is likely incorrect because 'T' may contain an object reference.
111 |                 for: characteristic,
112 |                 type: .withResponse
[64/67] Compiling CharacteristicKit PeripheralModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/CharacteristicKit/Device/PeripheralModel.swift:50:18: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
48 |     func initialiseDelegate() {
49 |         Task {
50 |             self.delegate = await PeripheralDelegate(model: self)
   |                  `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
51 |             peripheral.delegate = self.delegate
52 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CharacteristicKit/Device/PeripheralModel.swift:48:10: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
46 | public extension PeripheralModel {
47 |
48 |     func initialiseDelegate() {
   |          `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
49 |         Task {
50 |             self.delegate = await PeripheralDelegate(model: self)
[65/74] Compiling Example DeviceListItem.swift
[66/74] Compiling Example FakeDeviceModel.swift
[67/74] Compiling Example DeviceModel.swift
[68/74] Emitting module Example
[69/74] Compiling Example ExampleApp.swift
[70/74] Compiling Example DeviceModelProtocol.swift
[71/74] Compiling Example ContentView.swift
[71/74] Write Objects.LinkFileList
[72/74] Linking Example
[73/74] Applying Example
Build complete! (13.18s)
Fetching https://github.com/wickwirew/Runtime.git
[1/1966] Fetching runtime
Fetched https://github.com/wickwirew/Runtime.git from cache (0.95s)
Computing version for https://github.com/wickwirew/Runtime.git
Computed https://github.com/wickwirew/Runtime.git at 2.2.7 (1.50s)
Creating working copy for https://github.com/wickwirew/Runtime.git
Working copy of https://github.com/wickwirew/Runtime.git resolved at 2.2.7
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Example/Example/Example.entitlements
    /Users/admin/builder/spi-builder-workspace/Example/Example/Assets.xcassets
    /Users/admin/builder/spi-builder-workspace/Example/Example/Info.plist
    /Users/admin/builder/spi-builder-workspace/Example/Example/Preview Content/Preview Assets.xcassets
Build complete.
{
  "dependencies" : [
    {
      "identity" : "runtime",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/wickwirew/Runtime.git"
    }
  ],
  "manifest_display_name" : "CharacteristicKit",
  "name" : "CharacteristicKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "CharacteristicKit",
      "targets" : [
        "CharacteristicKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Example",
      "targets" : [
        "Example"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Example",
      "module_type" : "SwiftTarget",
      "name" : "Example",
      "path" : "Example/Example",
      "product_memberships" : [
        "Example"
      ],
      "sources" : [
        "ExampleApp.swift",
        "Model/DeviceModel.swift",
        "Model/DeviceModelProtocol.swift",
        "Model/FakeDeviceModel.swift",
        "Views/ContentView.swift",
        "Views/DeviceListItem.swift"
      ],
      "target_dependencies" : [
        "CharacteristicKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CharacteristicKit",
      "module_type" : "SwiftTarget",
      "name" : "CharacteristicKit",
      "path" : "Sources/CharacteristicKit",
      "product_dependencies" : [
        "Runtime"
      ],
      "product_memberships" : [
        "CharacteristicKit",
        "Example"
      ],
      "sources" : [
        "Characteristics/Characteristic.swift",
        "Characteristics/CharacteristicContainer.swift",
        "Characteristics/DataDecodable.swift",
        "Characteristics/GeneralCharacteristicProtocol.swift",
        "Characteristics/MockCharacteristic.swift",
        "Characteristics/PublishedCharacteristic.swift",
        "Device/GenericPeripheralModel.swift",
        "Device/MockPeripheralModel.swift",
        "Device/PeripheralDelegate.swift",
        "Device/PeripheralModel+Discovery.swift",
        "Device/PeripheralModel.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.