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 main (57ff15), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 00:54:57 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradhowes/morkandmidi.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bradhowes/morkandmidi
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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
[6/567] Fetching morkandmidi
Fetched https://github.com/bradhowes/morkandmidi.git from cache (0.73s)
Creating working copy for https://github.com/bradhowes/morkandmidi.git
Working copy of https://github.com/bradhowes/morkandmidi.git resolved at main (57ff15f)
warning: '.resolve-product-dependencies': dependency 'morkandmidi' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bradhowes/morkandmidi.git
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.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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/17] Compiling MorkAndMIDI MIDI1Parser.swift
[4/18] Compiling MorkAndMIDI MIDIProto.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
  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
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
  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
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
  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
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
  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
243 |         }
244 |       }
[7/18] Compiling MorkAndMIDI MIDIUniqueID.swift
[8/18] Compiling MorkAndMIDI OSStatus.swift
[9/18] Emitting module MorkAndMIDI
[10/18] Compiling MorkAndMIDI UInt8.swift
[11/18] Compiling MorkAndMIDI KnownEntities.swift
[12/18] Compiling MorkAndMIDI MIDI2Parser.swift
[13/18] Compiling MorkAndMIDI String.swift
[14/18] Compiling MorkAndMIDI UInt32.swift
[15/18] Compiling MorkAndMIDI Monitor.swift
[16/18] Compiling MorkAndMIDI MIDINotificationMessageID.swift
[17/18] Compiling MorkAndMIDI MIDIObjectRef.swift
[18/18] Compiling MorkAndMIDI Receiver.swift
Build complete! (5.45s)
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.