This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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

Successful build of CatPrint with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 7

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Benzoate/CatPrint.swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Benzoate/CatPrint.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8901ba6 Add optional setting for using run length encoding
Cloned https://github.com/Benzoate/CatPrint.swift.git
Revision (git rev-parse @):
8901ba6dbd620f4c004231ee98604c7c2a42b16e
SUCCESS checkout https://github.com/Benzoate/CatPrint.swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/Benzoate/CatPrint.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/12] Compiling CatPrint CatPrinter+Printer.swift
[4/12] Compiling CatPrint PrinterImageData.swift
[5/12] Compiling CatPrint CatPrinter+Settings.swift
[6/12] Compiling CatPrint CatPrinterError.swift
[7/12] Compiling CatPrint CatPrinter+BluetoothInfo.swift
[8/12] Compiling CatPrint Image+Grayscale.swift
[9/12] Compiling CatPrint CatPrinter+ImageProcessingOption.swift
/Users/admin/builder/spi-builder-workspace/Sources/Models/CatPrinter+ImageProcessingOption.swift:5:27: warning: static property 'addWhiteBackground' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public extension CatPrinter {
 2 |     struct ImageProcessingOption: OptionSet {
   |            `- note: consider making struct 'ImageProcessingOption' conform to the 'Sendable' protocol
 3 |         public let rawValue: Int
 4 |
 5 |         public static let addWhiteBackground = ImageProcessingOption(rawValue: 1 << 0)
   |                           |- warning: static property 'addWhiteBackground' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'addWhiteBackground' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |         public static let convertToGrayscale = ImageProcessingOption(rawValue: 1 << 1)
 7 |         public static let floydSteinbergDithering = ImageProcessingOption(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Models/CatPrinter+ImageProcessingOption.swift:6:27: warning: static property 'convertToGrayscale' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public extension CatPrinter {
 2 |     struct ImageProcessingOption: OptionSet {
   |            `- note: consider making struct 'ImageProcessingOption' conform to the 'Sendable' protocol
 3 |         public let rawValue: Int
 4 |
 5 |         public static let addWhiteBackground = ImageProcessingOption(rawValue: 1 << 0)
 6 |         public static let convertToGrayscale = ImageProcessingOption(rawValue: 1 << 1)
   |                           |- warning: static property 'convertToGrayscale' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'convertToGrayscale' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |         public static let floydSteinbergDithering = ImageProcessingOption(rawValue: 1 << 2)
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/CatPrinter+ImageProcessingOption.swift:7:27: warning: static property 'floydSteinbergDithering' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public extension CatPrinter {
 2 |     struct ImageProcessingOption: OptionSet {
   |            `- note: consider making struct 'ImageProcessingOption' conform to the 'Sendable' protocol
 3 |         public let rawValue: Int
 4 |
 5 |         public static let addWhiteBackground = ImageProcessingOption(rawValue: 1 << 0)
 6 |         public static let convertToGrayscale = ImageProcessingOption(rawValue: 1 << 1)
 7 |         public static let floydSteinbergDithering = ImageProcessingOption(rawValue: 1 << 2)
   |                           |- warning: static property 'floydSteinbergDithering' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'floydSteinbergDithering' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |
 9 |         public static let all: ImageProcessingOption = [.addWhiteBackground, .convertToGrayscale, .floydSteinbergDithering]
/Users/admin/builder/spi-builder-workspace/Sources/Models/CatPrinter+ImageProcessingOption.swift:9:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public extension CatPrinter {
 2 |     struct ImageProcessingOption: OptionSet {
   |            `- note: consider making struct 'ImageProcessingOption' conform to the 'Sendable' protocol
 3 |         public let rawValue: Int
 4 |
   :
 7 |         public static let floydSteinbergDithering = ImageProcessingOption(rawValue: 1 << 2)
 8 |
 9 |         public static let all: ImageProcessingOption = [.addWhiteBackground, .convertToGrayscale, .floydSteinbergDithering]
   |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 |         public init(rawValue: Int) {
[10/12] Compiling CatPrint PrinterCommands.swift
[11/12] Emitting module CatPrint
/Users/admin/builder/spi-builder-workspace/Sources/Models/CatPrinter+ImageProcessingOption.swift:9:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public extension CatPrinter {
 2 |     struct ImageProcessingOption: OptionSet {
   |            `- note: consider making struct 'ImageProcessingOption' conform to the 'Sendable' protocol
 3 |         public let rawValue: Int
 4 |
   :
 7 |         public static let floydSteinbergDithering = ImageProcessingOption(rawValue: 1 << 2)
 8 |
 9 |         public static let all: ImageProcessingOption = [.addWhiteBackground, .convertToGrayscale, .floydSteinbergDithering]
   |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 |         public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CatPrinter.swift:28:14: warning: actor-isolated property 'settings' can not be mutated from the main actor; this is an error in the Swift 6 language mode
  8 |     @Published private(set) public var availablePrinters: Set<Printer> = []
  9 |
 10 |     let settings: Settings
    |         `- note: mutation of this property is only permitted within the actor
 11 |
 12 |     private let centralManager: CBCentralManager = .init()
    :
 26 |         settings: Settings = .default
 27 |     ) {
 28 |         self.settings = settings
    |              `- warning: actor-isolated property 'settings' can not be mutated from the main actor; this is an error in the Swift 6 language mode
 29 |         centralManager.delegate = managerProxy
 30 |         Task {
/Users/admin/builder/spi-builder-workspace/Sources/CatPrinter.swift:29:9: warning: actor-isolated property 'centralManager' can not be referenced from the main actor; this is an error in the Swift 6 language mode
 10 |     let settings: Settings
 11 |
 12 |     private let centralManager: CBCentralManager = .init()
    |                 `- note: property declared here
 13 |     private let managerProxy = CentralManagerProxy()
 14 |     private let peripheralProxy = PeripheralProxy()
    :
 27 |     ) {
 28 |         self.settings = settings
 29 |         centralManager.delegate = managerProxy
    |         `- warning: actor-isolated property 'centralManager' can not be referenced from the main actor; this is an error in the Swift 6 language mode
 30 |         Task {
 31 |             await setupObservers()
/Users/admin/builder/spi-builder-workspace/Sources/CatPrinter.swift:29:35: warning: actor-isolated property 'managerProxy' can not be referenced from the main actor; this is an error in the Swift 6 language mode
 11 |
 12 |     private let centralManager: CBCentralManager = .init()
 13 |     private let managerProxy = CentralManagerProxy()
    |                 `- note: property declared here
 14 |     private let peripheralProxy = PeripheralProxy()
 15 |     private let logger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: "CatPrinter")
    :
 27 |     ) {
 28 |         self.settings = settings
 29 |         centralManager.delegate = managerProxy
    |                                   `- warning: actor-isolated property 'managerProxy' can not be referenced from the main actor; this is an error in the Swift 6 language mode
 30 |         Task {
 31 |             await setupObservers()
/Users/admin/builder/spi-builder-workspace/Sources/Models/CatPrinter+ImageProcessingOption.swift:5:27: warning: static property 'addWhiteBackground' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public extension CatPrinter {
 2 |     struct ImageProcessingOption: OptionSet {
   |            `- note: consider making struct 'ImageProcessingOption' conform to the 'Sendable' protocol
 3 |         public let rawValue: Int
 4 |
 5 |         public static let addWhiteBackground = ImageProcessingOption(rawValue: 1 << 0)
   |                           |- warning: static property 'addWhiteBackground' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'addWhiteBackground' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |         public static let convertToGrayscale = ImageProcessingOption(rawValue: 1 << 1)
 7 |         public static let floydSteinbergDithering = ImageProcessingOption(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Models/CatPrinter+ImageProcessingOption.swift:6:27: warning: static property 'convertToGrayscale' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public extension CatPrinter {
 2 |     struct ImageProcessingOption: OptionSet {
   |            `- note: consider making struct 'ImageProcessingOption' conform to the 'Sendable' protocol
 3 |         public let rawValue: Int
 4 |
 5 |         public static let addWhiteBackground = ImageProcessingOption(rawValue: 1 << 0)
 6 |         public static let convertToGrayscale = ImageProcessingOption(rawValue: 1 << 1)
   |                           |- warning: static property 'convertToGrayscale' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'convertToGrayscale' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |         public static let floydSteinbergDithering = ImageProcessingOption(rawValue: 1 << 2)
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/CatPrinter+ImageProcessingOption.swift:7:27: warning: static property 'floydSteinbergDithering' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public extension CatPrinter {
 2 |     struct ImageProcessingOption: OptionSet {
   |            `- note: consider making struct 'ImageProcessingOption' conform to the 'Sendable' protocol
 3 |         public let rawValue: Int
 4 |
 5 |         public static let addWhiteBackground = ImageProcessingOption(rawValue: 1 << 0)
 6 |         public static let convertToGrayscale = ImageProcessingOption(rawValue: 1 << 1)
 7 |         public static let floydSteinbergDithering = ImageProcessingOption(rawValue: 1 << 2)
   |                           |- warning: static property 'floydSteinbergDithering' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'floydSteinbergDithering' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |
 9 |         public static let all: ImageProcessingOption = [.addWhiteBackground, .convertToGrayscale, .floydSteinbergDithering]
[12/12] Compiling CatPrint CatPrinter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Models/CatPrinter+ImageProcessingOption.swift:9:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public extension CatPrinter {
 2 |     struct ImageProcessingOption: OptionSet {
   |            `- note: consider making struct 'ImageProcessingOption' conform to the 'Sendable' protocol
 3 |         public let rawValue: Int
 4 |
   :
 7 |         public static let floydSteinbergDithering = ImageProcessingOption(rawValue: 1 << 2)
 8 |
 9 |         public static let all: ImageProcessingOption = [.addWhiteBackground, .convertToGrayscale, .floydSteinbergDithering]
   |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 |         public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CatPrinter.swift:28:14: warning: actor-isolated property 'settings' can not be mutated from the main actor; this is an error in the Swift 6 language mode
  8 |     @Published private(set) public var availablePrinters: Set<Printer> = []
  9 |
 10 |     let settings: Settings
    |         `- note: mutation of this property is only permitted within the actor
 11 |
 12 |     private let centralManager: CBCentralManager = .init()
    :
 26 |         settings: Settings = .default
 27 |     ) {
 28 |         self.settings = settings
    |              `- warning: actor-isolated property 'settings' can not be mutated from the main actor; this is an error in the Swift 6 language mode
 29 |         centralManager.delegate = managerProxy
 30 |         Task {
/Users/admin/builder/spi-builder-workspace/Sources/CatPrinter.swift:29:9: warning: actor-isolated property 'centralManager' can not be referenced from the main actor; this is an error in the Swift 6 language mode
 10 |     let settings: Settings
 11 |
 12 |     private let centralManager: CBCentralManager = .init()
    |                 `- note: property declared here
 13 |     private let managerProxy = CentralManagerProxy()
 14 |     private let peripheralProxy = PeripheralProxy()
    :
 27 |     ) {
 28 |         self.settings = settings
 29 |         centralManager.delegate = managerProxy
    |         `- warning: actor-isolated property 'centralManager' can not be referenced from the main actor; this is an error in the Swift 6 language mode
 30 |         Task {
 31 |             await setupObservers()
/Users/admin/builder/spi-builder-workspace/Sources/CatPrinter.swift:29:35: warning: actor-isolated property 'managerProxy' can not be referenced from the main actor; this is an error in the Swift 6 language mode
 11 |
 12 |     private let centralManager: CBCentralManager = .init()
 13 |     private let managerProxy = CentralManagerProxy()
    |                 `- note: property declared here
 14 |     private let peripheralProxy = PeripheralProxy()
 15 |     private let logger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: "CatPrinter")
    :
 27 |     ) {
 28 |         self.settings = settings
 29 |         centralManager.delegate = managerProxy
    |                                   `- warning: actor-isolated property 'managerProxy' can not be referenced from the main actor; this is an error in the Swift 6 language mode
 30 |         Task {
 31 |             await setupObservers()
/Users/admin/builder/spi-builder-workspace/Sources/Models/CatPrinter+ImageProcessingOption.swift:5:27: warning: static property 'addWhiteBackground' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public extension CatPrinter {
 2 |     struct ImageProcessingOption: OptionSet {
   |            `- note: consider making struct 'ImageProcessingOption' conform to the 'Sendable' protocol
 3 |         public let rawValue: Int
 4 |
 5 |         public static let addWhiteBackground = ImageProcessingOption(rawValue: 1 << 0)
   |                           |- warning: static property 'addWhiteBackground' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'addWhiteBackground' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |         public static let convertToGrayscale = ImageProcessingOption(rawValue: 1 << 1)
 7 |         public static let floydSteinbergDithering = ImageProcessingOption(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Models/CatPrinter+ImageProcessingOption.swift:6:27: warning: static property 'convertToGrayscale' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public extension CatPrinter {
 2 |     struct ImageProcessingOption: OptionSet {
   |            `- note: consider making struct 'ImageProcessingOption' conform to the 'Sendable' protocol
 3 |         public let rawValue: Int
 4 |
 5 |         public static let addWhiteBackground = ImageProcessingOption(rawValue: 1 << 0)
 6 |         public static let convertToGrayscale = ImageProcessingOption(rawValue: 1 << 1)
   |                           |- warning: static property 'convertToGrayscale' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'convertToGrayscale' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |         public static let floydSteinbergDithering = ImageProcessingOption(rawValue: 1 << 2)
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/CatPrinter+ImageProcessingOption.swift:7:27: warning: static property 'floydSteinbergDithering' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | public extension CatPrinter {
 2 |     struct ImageProcessingOption: OptionSet {
   |            `- note: consider making struct 'ImageProcessingOption' conform to the 'Sendable' protocol
 3 |         public let rawValue: Int
 4 |
 5 |         public static let addWhiteBackground = ImageProcessingOption(rawValue: 1 << 0)
 6 |         public static let convertToGrayscale = ImageProcessingOption(rawValue: 1 << 1)
 7 |         public static let floydSteinbergDithering = ImageProcessingOption(rawValue: 1 << 2)
   |                           |- warning: static property 'floydSteinbergDithering' is not concurrency-safe because non-'Sendable' type 'CatPrinter.ImageProcessingOption' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'floydSteinbergDithering' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |
 9 |         public static let all: ImageProcessingOption = [.addWhiteBackground, .convertToGrayscale, .floydSteinbergDithering]
/Users/admin/builder/spi-builder-workspace/Sources/CatPrinter.swift:262:53: warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 |             .sink { [weak self] peripheral in
261 |                 Task { [weak self] in
262 |                     await self?.connectToPeripheral(peripheral)
    |                                                     `- warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a `@Sendable` closure; this is an error in the Swift 6 language mode
263 |                 }
264 |             }
CoreBluetooth.CBPeripheral:2:12: note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.7, *)
 2 | open class CBPeripheral : CBPeer {
   |            `- note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
 3 |     weak open var delegate: (any CBPeripheralDelegate)? { get set }
 4 |     open var name: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/CatPrinter.swift:2:22: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
  1 | import Foundation
  2 | @_implementationOnly import CoreBluetooth
    |                      `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreBluetooth'
  3 | import Combine
  4 | import CoreGraphics
/Users/admin/builder/spi-builder-workspace/Sources/CatPrinter.swift:276:58: warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a `@Sendable` closure; this is an error in the Swift 6 language mode
274 |             .sink { [weak self] peripheral in
275 |                 Task { [weak self] in
276 |                     await self?.onPeripheralDisconnected(peripheral)
    |                                                          `- warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a `@Sendable` closure; this is an error in the Swift 6 language mode
277 |                 }
278 |             }
CoreBluetooth.CBPeripheral:2:12: note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.7, *)
 2 | open class CBPeripheral : CBPeer {
   |            `- note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
 3 |     weak open var delegate: (any CBPeripheralDelegate)? { get set }
 4 |     open var name: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/CatPrinter.swift:284:54: warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a `@Sendable` closure; this is an error in the Swift 6 language mode
282 |             .sink { [weak self] peripheral in
283 |                 Task { [weak self] in
284 |                     await self?.onServicesDiscovered(peripheral)
    |                                                      `- warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 |                 }
286 |             }
CoreBluetooth.CBPeripheral:2:12: note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.7, *)
 2 | open class CBPeripheral : CBPeer {
   |            `- note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
 3 |     weak open var delegate: (any CBPeripheralDelegate)? { get set }
 4 |     open var name: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/CatPrinter.swift:299:37: warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a `@Sendable` closure; this is an error in the Swift 6 language mode
297 |                 Task { [weak self] in
298 |                     await self?.registerMatchedCharacteristic(
299 |                         peripheral: peripheral,
    |                                     `- warning: capture of 'peripheral' with non-sendable type 'CBPeripheral' in a `@Sendable` closure; this is an error in the Swift 6 language mode
300 |                         service: service,
301 |                         characteristic: characteristic
CoreBluetooth.CBPeripheral:2:12: note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.7, *)
 2 | open class CBPeripheral : CBPeer {
   |            `- note: class 'CBPeripheral' does not conform to the 'Sendable' protocol
 3 |     weak open var delegate: (any CBPeripheralDelegate)? { get set }
 4 |     open var name: String? { get }
/Users/admin/builder/spi-builder-workspace/Sources/CatPrinter.swift:300:34: warning: capture of 'service' with non-sendable type 'CBService' in a `@Sendable` closure; this is an error in the Swift 6 language mode
298 |                     await self?.registerMatchedCharacteristic(
299 |                         peripheral: peripheral,
300 |                         service: service,
    |                                  `- warning: capture of 'service' with non-sendable type 'CBService' in a `@Sendable` closure; this is an error in the Swift 6 language mode
301 |                         characteristic: characteristic
302 |                     )
CoreBluetooth.CBService:2:12: note: class 'CBService' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.7, *)
2 | open class CBService : CBAttribute {
  |            `- note: class 'CBService' does not conform to the 'Sendable' protocol
3 |     weak open var peripheral: CBPeripheral? { get }
4 |     open var isPrimary: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/CatPrinter.swift:301:41: warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in a `@Sendable` closure; this is an error in the Swift 6 language mode
299 |                         peripheral: peripheral,
300 |                         service: service,
301 |                         characteristic: characteristic
    |                                         `- warning: capture of 'characteristic' with non-sendable type 'CBCharacteristic' in a `@Sendable` closure; this is an error in the Swift 6 language mode
302 |                     )
303 |                 }
CoreBluetooth.CBCharacteristic:2:12: note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.7, *)
 2 | open class CBCharacteristic : CBAttribute {
   |            `- note: class 'CBCharacteristic' does not conform to the 'Sendable' protocol
 3 |     weak open var service: CBService? { get }
 4 |     open var properties: CBCharacteristicProperties { get }
Build complete! (30.83s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CatPrint",
  "name" : "CatPrint",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "CatPrint",
      "targets" : [
        "CatPrint"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CatPrint",
      "module_type" : "SwiftTarget",
      "name" : "CatPrint",
      "path" : "Sources",
      "product_memberships" : [
        "CatPrint"
      ],
      "sources" : [
        "CatPrinter.swift",
        "Extensions/Image+Grayscale.swift",
        "Models/CatPrinter+BluetoothInfo.swift",
        "Models/CatPrinter+ImageProcessingOption.swift",
        "Models/CatPrinter+Printer.swift",
        "Models/CatPrinter+Settings.swift",
        "Models/CatPrinterError.swift",
        "Models/PrinterImageData.swift",
        "PrinterCommands.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.