The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of MenuBarExtraAccess, reference 1.2.1 (e911e6), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 17:14:49 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/orchetect/MenuBarExtraAccess.git
Reference: 1.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/orchetect/MenuBarExtraAccess
 * tag               1.2.1      -> FETCH_HEAD
HEAD is now at e911e64 Fixed Xcode 15 build
Cloned https://github.com/orchetect/MenuBarExtraAccess.git
Revision (git rev-parse @):
e911e6454f8cbfe34a52136fc48e1ceb989a60e7
SUCCESS checkout https://github.com/orchetect/MenuBarExtraAccess.git at 1.2.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/orchetect/MenuBarExtraAccess.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/12] Compiling MenuBarExtraAccess Unused Code.swift
[4/13] Compiling MenuBarExtraAccess NSControl Extensions.swift
[5/13] Compiling MenuBarExtraAccess NSWindow Extensions.swift
[6/13] Compiling MenuBarExtraAccess NSStatusItem Extensions.swift
[7/13] Compiling MenuBarExtraAccess NSEvent Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MenuBarExtraAccess/NSEvent Extensions.swift:14:9: warning: switch must be exhaustive
12 |     @_disfavoredOverload
13 |     public var name: String {
14 |         switch self {
   |         |- warning: switch must be exhaustive
   |         `- note: add missing case: '.mouseCancelled'
15 |         case .leftMouseDown: return "leftMouseDown"
16 |         case .leftMouseUp: return "leftMouseUp"
[8/13] Compiling MenuBarExtraAccess StatusItemIdentity.swift
[9/13] Compiling MenuBarExtraAccess MenuBarExtraUtils.swift
[10/13] Compiling MenuBarExtraAccess MenuBarExtra Window Introspection.swift
[11/13] Emitting module MenuBarExtraAccess
[12/13] Compiling MenuBarExtraAccess MenuBarExtraAccess.swift
/Users/admin/builder/spi-builder-workspace/Sources/MenuBarExtraAccess/MenuBarExtraAccess.swift:202:17: warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
200 |             // run async so that it can execute after SwiftUI sets up the NSStatusItem
201 |             Task { @MainActor [self] in
202 |                 observer = block()
    |                 `- warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 |             }
204 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MenuBarExtraAccess/MenuBarExtraAccess.swift:201:32: warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
199 |         ) {
200 |             // run async so that it can execute after SwiftUI sets up the NSStatusItem
201 |             Task { @MainActor [self] in
    |                                `- warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
202 |                 observer = block()
203 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MenuBarExtraAccess/MenuBarExtraAccess.swift:212:40: warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
210 |             Task { @MainActor [self] in
211 |                 // tear down old monitor, if one exists
212 |                 if let eventsMonitor = eventsMonitor {
    |                                        `- warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
213 |                     NSEvent.removeMonitor(eventsMonitor)
214 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/MenuBarExtraAccess/MenuBarExtraAccess.swift:210:32: warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
208 |         ) {
209 |             // run async so that it can execute after SwiftUI sets up the NSStatusItem
210 |             Task { @MainActor [self] in
    |                                `- warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
211 |                 // tear down old monitor, if one exists
212 |                 if let eventsMonitor = eventsMonitor {
/Users/admin/builder/spi-builder-workspace/Sources/MenuBarExtraAccess/MenuBarExtraAccess.swift:227:17: warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
225 |             // run async so that it can execute after SwiftUI sets up the NSStatusItem
226 |             Task { @MainActor [self] in
227 |                 windowDidBecomeKeyObserver = MenuBarExtraUtils.newWindowObserver(
    |                 `- warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
228 |                     index: index,
229 |                     for: NSWindow.didBecomeKeyNotification
/Users/admin/builder/spi-builder-workspace/Sources/MenuBarExtraAccess/MenuBarExtraAccess.swift:226:32: warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
224 |         ) {
225 |             // run async so that it can execute after SwiftUI sets up the NSStatusItem
226 |             Task { @MainActor [self] in
    |                                `- warning: capture of non-sendable type 'Content.Type' in an isolated closure; this is an error in the Swift 6 language mode
227 |                 windowDidBecomeKeyObserver = MenuBarExtraUtils.newWindowObserver(
228 |                     index: index,
[13/13] Compiling MenuBarExtraAccess Utilities.swift
Build complete! (7.14s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MenuBarExtraAccess",
  "name" : "MenuBarExtraAccess",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "MenuBarExtraAccess",
      "targets" : [
        "MenuBarExtraAccess"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MenuBarExtraAccess",
      "module_type" : "SwiftTarget",
      "name" : "MenuBarExtraAccess",
      "path" : "Sources/MenuBarExtraAccess",
      "product_memberships" : [
        "MenuBarExtraAccess"
      ],
      "sources" : [
        "MenuBarExtra Window Introspection.swift",
        "MenuBarExtraAccess.swift",
        "MenuBarExtraUtils/MenuBarExtraUtils.swift",
        "MenuBarExtraUtils/StatusItemIdentity.swift",
        "NSControl Extensions.swift",
        "NSEvent Extensions.swift",
        "NSStatusItem Extensions.swift",
        "NSWindow Extensions.swift",
        "Unused/Unused Code.swift",
        "Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.