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 MorkAndMIDI, reference 4.0.0 (57ff15), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 05:47:54 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradhowes/morkandmidi.git
Reference: 4.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bradhowes/morkandmidi
 * tag               4.0.0      -> FETCH_HEAD
HEAD is now at 57ff15f Add channel to Receiver API
Cloned https://github.com/bradhowes/morkandmidi.git
Revision (git rev-parse @):
57ff15f669b9129fda8530869608214133002f8a
SUCCESS checkout https://github.com/bradhowes/morkandmidi.git at 4.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "morkandmidi",
      "name": "MorkAndMIDI",
      "url": "https://github.com/bradhowes/morkandmidi.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/morkandmidi",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/bradhowes/morkandmidi.git
[1/567] Fetching morkandmidi
Fetched https://github.com/bradhowes/morkandmidi.git from cache (0.86s)
Creating working copy for https://github.com/bradhowes/morkandmidi.git
Working copy of https://github.com/bradhowes/morkandmidi.git resolved at 4.0.0 (57ff15f)
warning: '.resolve-product-dependencies': dependency 'morkandmidi' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/bradhowes/morkandmidi.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MorkAndMIDI",
  "name" : "MorkAndMIDI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "MorkAndMIDI",
      "targets" : [
        "MorkAndMIDI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MorkAndMIDITests",
      "module_type" : "SwiftTarget",
      "name" : "MorkAndMIDITests",
      "path" : "Tests/MorkAndMIDITests",
      "sources" : [
        "KnownEntitiesTests.swift",
        "MIDI1ParserTests.swift",
        "MIDI2ParserTests.swift",
        "MIDINotificationMessageIDTests.swift",
        "MIDIObjectRefTests.swift",
        "MIDITests.swift",
        "MIDIUniqueIDTests.swift",
        "MonitorTests.swift",
        "OSStatusTests.swift",
        "ReceivingTests.swift",
        "StringTests.swift",
        "Support/MIDITestCase.swift",
        "Support/TestMonitor.swift",
        "Support/TestReceiver.swift",
        "UInt32Tests.swift",
        "UInt8Tests.swift"
      ],
      "target_dependencies" : [
        "MorkAndMIDI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MorkAndMIDI",
      "module_type" : "SwiftTarget",
      "name" : "MorkAndMIDI",
      "path" : "Sources/MorkAndMIDI",
      "product_memberships" : [
        "MorkAndMIDI"
      ],
      "sources" : [
        "Extensions/MIDINotificationMessageID.swift",
        "Extensions/MIDIObjectRef.swift",
        "Extensions/MIDIUniqueID.swift",
        "Extensions/OSStatus.swift",
        "Extensions/String.swift",
        "Extensions/UInt32.swift",
        "Extensions/UInt8.swift",
        "KnownEntities.swift",
        "Logging.swift",
        "MIDI.swift",
        "MIDI1Parser.swift",
        "MIDI2Parser.swift",
        "MIDIProto.swift",
        "Monitor.swift",
        "Receiver.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/17] Compiling MorkAndMIDI Monitor.swift
[4/18] Compiling MorkAndMIDI MIDI1Parser.swift
[5/18] Compiling MorkAndMIDI Logging.swift
/Users/admin/builder/spi-builder-workspace/Sources/MorkAndMIDI/MIDI.swift:140:7: warning: capture of 'self' with non-sendable type 'MIDI?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  8 |  an instance and set the `receiver` (aka delegate) to receive the incoming MIDI traffic.
  9 |  */
 10 | public final class MIDI: NSObject {
    |                    `- note: class 'MIDI' does not conform to the 'Sendable' protocol
 11 |   private let log: OSLog = Logging.logger("MIDI")
 12 |   /// The MIDI protocol we are expecting.
    :
138 |     configureNetworkConnections()
139 |     self.eventQueue.async { [weak self] in
140 |       self?.updateConnections()
    |       `- warning: capture of 'self' with non-sendable type 'MIDI?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 |     }
142 |
/Users/admin/builder/spi-builder-workspace/Sources/MorkAndMIDI/MIDI.swift:242:11: warning: capture of 'self' with non-sendable type 'MIDI' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  8 |  an instance and set the `receiver` (aka delegate) to receive the incoming MIDI traffic.
  9 |  */
 10 | public final class MIDI: NSObject {
    |                    `- note: class 'MIDI' does not conform to the 'Sendable' protocol
 11 |   private let log: OSLog = Logging.logger("MIDI")
 12 |   /// The MIDI protocol we are expecting.
    :
240 |       if messageID  == .msgSetupChanged {
241 |         self.eventQueue.async {
242 |           self.updateConnections()
    |           `- warning: capture of 'self' with non-sendable type 'MIDI' in a `@Sendable` closure; this is an error in the Swift 6 language mode
243 |         }
244 |       }
[6/18] Compiling MorkAndMIDI MIDI.swift
/Users/admin/builder/spi-builder-workspace/Sources/MorkAndMIDI/MIDI.swift:140:7: warning: capture of 'self' with non-sendable type 'MIDI?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  8 |  an instance and set the `receiver` (aka delegate) to receive the incoming MIDI traffic.
  9 |  */
 10 | public final class MIDI: NSObject {
    |                    `- note: class 'MIDI' does not conform to the 'Sendable' protocol
 11 |   private let log: OSLog = Logging.logger("MIDI")
 12 |   /// The MIDI protocol we are expecting.
    :
138 |     configureNetworkConnections()
139 |     self.eventQueue.async { [weak self] in
140 |       self?.updateConnections()
    |       `- warning: capture of 'self' with non-sendable type 'MIDI?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 |     }
142 |
/Users/admin/builder/spi-builder-workspace/Sources/MorkAndMIDI/MIDI.swift:242:11: warning: capture of 'self' with non-sendable type 'MIDI' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  8 |  an instance and set the `receiver` (aka delegate) to receive the incoming MIDI traffic.
  9 |  */
 10 | public final class MIDI: NSObject {
    |                    `- note: class 'MIDI' does not conform to the 'Sendable' protocol
 11 |   private let log: OSLog = Logging.logger("MIDI")
 12 |   /// The MIDI protocol we are expecting.
    :
240 |       if messageID  == .msgSetupChanged {
241 |         self.eventQueue.async {
242 |           self.updateConnections()
    |           `- warning: capture of 'self' with non-sendable type 'MIDI' in a `@Sendable` closure; this is an error in the Swift 6 language mode
243 |         }
244 |       }
[7/18] Compiling MorkAndMIDI UInt8.swift
[8/18] Compiling MorkAndMIDI KnownEntities.swift
[9/18] Compiling MorkAndMIDI MIDIProto.swift
[10/18] Compiling MorkAndMIDI MIDI2Parser.swift
[11/18] Compiling MorkAndMIDI MIDINotificationMessageID.swift
[12/18] Compiling MorkAndMIDI MIDIObjectRef.swift
[13/18] Compiling MorkAndMIDI String.swift
[14/18] Compiling MorkAndMIDI UInt32.swift
[15/18] Compiling MorkAndMIDI MIDIUniqueID.swift
[16/18] Compiling MorkAndMIDI OSStatus.swift
[17/18] Emitting module MorkAndMIDI
[18/18] Compiling MorkAndMIDI Receiver.swift
Build complete! (13.00s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MorkAndMIDI",
  "name" : "MorkAndMIDI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "MorkAndMIDI",
      "targets" : [
        "MorkAndMIDI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MorkAndMIDITests",
      "module_type" : "SwiftTarget",
      "name" : "MorkAndMIDITests",
      "path" : "Tests/MorkAndMIDITests",
      "sources" : [
        "KnownEntitiesTests.swift",
        "MIDI1ParserTests.swift",
        "MIDI2ParserTests.swift",
        "MIDINotificationMessageIDTests.swift",
        "MIDIObjectRefTests.swift",
        "MIDITests.swift",
        "MIDIUniqueIDTests.swift",
        "MonitorTests.swift",
        "OSStatusTests.swift",
        "ReceivingTests.swift",
        "StringTests.swift",
        "Support/MIDITestCase.swift",
        "Support/TestMonitor.swift",
        "Support/TestReceiver.swift",
        "UInt32Tests.swift",
        "UInt8Tests.swift"
      ],
      "target_dependencies" : [
        "MorkAndMIDI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MorkAndMIDI",
      "module_type" : "SwiftTarget",
      "name" : "MorkAndMIDI",
      "path" : "Sources/MorkAndMIDI",
      "product_memberships" : [
        "MorkAndMIDI"
      ],
      "sources" : [
        "Extensions/MIDINotificationMessageID.swift",
        "Extensions/MIDIObjectRef.swift",
        "Extensions/MIDIUniqueID.swift",
        "Extensions/OSStatus.swift",
        "Extensions/String.swift",
        "Extensions/UInt32.swift",
        "Extensions/UInt8.swift",
        "KnownEntities.swift",
        "Logging.swift",
        "MIDI.swift",
        "MIDI1Parser.swift",
        "MIDI2Parser.swift",
        "MIDIProto.swift",
        "Monitor.swift",
        "Receiver.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.