The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MacMenuBar, reference 0.0.12 (890253), with Swift 6.4 for macOS (SPM) on 18 Sep 2026 21:04:28 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chipjarred/MacMenuBar.git
Reference: 0.0.12
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/chipjarred/MacMenuBar
 * tag               0.0.12     -> FETCH_HEAD
HEAD is now at 8902531 Finally fixing compatibility with pure SwiftUI projects that use `@main`.  We have to wait until the main run loop starts processing async tasks to avoid SwiftUI's internal app delegate from stomping over `NSApplication.shared.mainMenu` after we've set it.
Cloned https://github.com/chipjarred/MacMenuBar.git
Revision (git rev-parse @):
89025310ce6014d4ff3840dab887718ac58da774
SUCCESS checkout https://github.com/chipjarred/MacMenuBar.git at 0.0.12
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/chipjarred/MacMenuBar.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] MacMenuBar
[30 / 107]
[33 / 107]
[41 / 107]
[43 / 107]
[44 / 107]
[49 / 107]
[52 / 107]
[55 / 107]
[61 / 107]
[64 / 107]
[66 / 107]
[67 / 107]
[77 / 107]
[79 / 107]
[80 / 107]
[83 / 107]
[85 / 107]
[98 / 107] MacMenuBar
[99 / 107] MacMenuBar
[104 / 107] MacMenuBar
Build complete! (12.38 sec)
warning: /Users/admin/builder/spi-builder-workspace/Sources/MacMenuBar/MacMenus/MenuBuilder.swift:22:2 '@_functionBuilder' has been renamed to '@resultBuilder': FixIt(sourceRange: XCBuild.SwiftBuildMessage.DiagnosticInfo.SourceRange(path: "/Users/admin/builder/spi-builder-workspace/Sources/MacMenuBar/MacMenus/MenuBuilder.swift", startLine: 22, startColumn: 2, endLine: 22, endColumn: 18), textToInsert: "resultBuilder")
warning: /Users/admin/builder/spi-builder-workspace/Sources/MacMenuBar/MenuBar/MenuBar.swift:30:2 '@_functionBuilder' has been renamed to '@resultBuilder': FixIt(sourceRange: XCBuild.SwiftBuildMessage.DiagnosticInfo.SourceRange(path: "/Users/admin/builder/spi-builder-workspace/Sources/MacMenuBar/MenuBar/MenuBar.swift", startLine: 30, startColumn: 2, endLine: 30, endColumn: 18), textToInsert: "resultBuilder")
/Users/admin/builder/spi-builder-workspace/Sources/MacMenuBar/MacMenus/MenuBuilder.swift:22:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
20 |
21 | // -------------------------------------
22 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
23 | public struct MenuBuilder
24 | {
/Users/admin/builder/spi-builder-workspace/Sources/MacMenuBar/MenuBar/MenuBar.swift:30:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
28 |
29 | // -------------------------------------
30 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
31 | public struct MenuBarBuilder {
32 |     public static func buildBlock(_ menus: MacMenu...) -> [MacMenu] { menus }
/Users/admin/builder/spi-builder-workspace/Sources/MacMenuBar/MacMenus/MenuItemGroup.swift:72:39: warning: property 'isHidden' cannot be used in an '@inlinable' function because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
70 |     @inlinable public var isVisible: Bool
71 |     {
72 |         get { !(nsMenu.nsMacMenuItem?.isHidden ?? true) }
   |                                       |- warning: property 'isHidden' cannot be used in an '@inlinable' function because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
   |                                       `- note: The missing import of module 'AppKit' will be added implicitly
73 |         set { nsMenu.nsMacMenuItem?.isHidden = !newValue }
74 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacMenuBar/MacMenus/MenuItemGroup.swift:73:37: warning: property 'isHidden' cannot be used in an '@inlinable' function because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
71 |     {
72 |         get { !(nsMenu.nsMacMenuItem?.isHidden ?? true) }
73 |         set { nsMenu.nsMacMenuItem?.isHidden = !newValue }
   |                                     |- warning: property 'isHidden' cannot be used in an '@inlinable' function because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
   |                                     `- note: The missing import of module 'AppKit' will be added implicitly
74 |     }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/MacMenuBar/MacMenus/StandardMenu.swift:72:39: warning: property 'isHidden' cannot be used in an '@inlinable' function because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
70 |     @inlinable public var isVisible: Bool
71 |     {
72 |         get { !(nsMenu.nsMacMenuItem?.isHidden ?? true) }
   |                                       |- warning: property 'isHidden' cannot be used in an '@inlinable' function because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
   |                                       `- note: The missing import of module 'AppKit' will be added implicitly
73 |         set { nsMenu.nsMacMenuItem?.isHidden = !newValue }
74 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacMenuBar/MacMenus/StandardMenu.swift:73:37: warning: property 'isHidden' cannot be used in an '@inlinable' function because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
71 |     {
72 |         get { !(nsMenu.nsMacMenuItem?.isHidden ?? true) }
73 |         set { nsMenu.nsMacMenuItem?.isHidden = !newValue }
   |                                     |- warning: property 'isHidden' cannot be used in an '@inlinable' function because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
   |                                     `- note: The missing import of module 'AppKit' will be added implicitly
74 |     }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/MacMenuBar/MacMenus/MenuItemGroup.swift:72:39: warning: property 'isHidden' cannot be used in an '@inlinable' function because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
70 |     @inlinable public var isVisible: Bool
71 |     {
72 |         get { !(nsMenu.nsMacMenuItem?.isHidden ?? true) }
   |                                       |- warning: property 'isHidden' cannot be used in an '@inlinable' function because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
   |                                       `- note: The missing import of module 'AppKit' will be added implicitly
73 |         set { nsMenu.nsMacMenuItem?.isHidden = !newValue }
74 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacMenuBar/MacMenus/MenuItemGroup.swift:73:37: warning: property 'isHidden' cannot be used in an '@inlinable' function because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
71 |     {
72 |         get { !(nsMenu.nsMacMenuItem?.isHidden ?? true) }
73 |         set { nsMenu.nsMacMenuItem?.isHidden = !newValue }
   |                                     |- warning: property 'isHidden' cannot be used in an '@inlinable' function because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
   |                                     `- note: The missing import of module 'AppKit' will be added implicitly
74 |     }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/MacMenuBar/MacMenus/StandardMenu.swift:72:39: warning: property 'isHidden' cannot be used in an '@inlinable' function because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
70 |     @inlinable public var isVisible: Bool
71 |     {
72 |         get { !(nsMenu.nsMacMenuItem?.isHidden ?? true) }
   |                                       |- warning: property 'isHidden' cannot be used in an '@inlinable' function because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
   |                                       `- note: The missing import of module 'AppKit' will be added implicitly
73 |         set { nsMenu.nsMacMenuItem?.isHidden = !newValue }
74 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MacMenuBar/MacMenus/StandardMenu.swift:73:37: warning: property 'isHidden' cannot be used in an '@inlinable' function because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
71 |     {
72 |         get { !(nsMenu.nsMacMenuItem?.isHidden ?? true) }
73 |         set { nsMenu.nsMacMenuItem?.isHidden = !newValue }
   |                                     |- warning: property 'isHidden' cannot be used in an '@inlinable' function because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
   |                                     `- note: The missing import of module 'AppKit' will be added implicitly
74 |     }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/MacMenuBar/MacMenus/MenuBuilder.swift:22:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
20 |
21 | // -------------------------------------
22 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
23 | public struct MenuBuilder
24 | {
/Users/admin/builder/spi-builder-workspace/Sources/MacMenuBar/MenuBar/MenuBar.swift:30:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
28 |
29 | // -------------------------------------
30 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
31 | public struct MenuBarBuilder {
32 |     public static func buildBlock(_ menus: MacMenu...) -> [MacMenu] { menus }
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MacMenuBar",
  "name" : "MacMenuBar",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    }
  ],
  "products" : [
    {
      "name" : "MacMenuBar",
      "targets" : [
        "MacMenuBar"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MacMenuBarTests",
      "module_type" : "SwiftTarget",
      "name" : "MacMenuBarTests",
      "path" : "Tests/MacMenuBarTests",
      "sources" : [
        "KeyEquivalent_StringParsing_Tests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "MacMenuBar"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MacMenuBar",
      "module_type" : "SwiftTarget",
      "name" : "MacMenuBar",
      "path" : "Sources/MacMenuBar",
      "product_memberships" : [
        "MacMenuBar"
      ],
      "sources" : [
        "Actions/Action.swift",
        "Actions/ActionResponder.swift",
        "Actions/ClosureAction.swift",
        "Actions/NSObject+Extension.swift",
        "Actions/NoAction.swift",
        "Actions/SelectorAction.swift",
        "AppKit Subclasses/DynamicNSMenuContent.swift",
        "AppKit Subclasses/NSApplicationDelegate+Extension.swift",
        "AppKit Subclasses/NSMacMenu.swift",
        "AppKit Subclasses/NSMacMenuItem.swift",
        "AppKit Subclasses/NSMenu+Extension.swift",
        "AppKit Subclasses/NSMenuItem+Extension.swift",
        "KeyEquivalents/KeyEquivalent.swift",
        "KeyEquivalents/KeyEquivalentParser.swift",
        "MacMenuItems/ActionableMenuItem.swift",
        "MacMenuItems/ForEach.swift",
        "MacMenuItems/MacMenuItem.swift",
        "MacMenuItems/MenuSeparator.swift",
        "MacMenuItems/TextMenuItem.swift",
        "MacMenus/MacMenu.swift",
        "MacMenus/MenuBuilder.swift",
        "MacMenus/MenuItemGroup.swift",
        "MacMenus/NoMenu.swift",
        "MacMenus/StandardMenu.swift",
        "MenuBar/MenuBar.swift",
        "MenuElement.swift",
        "ResponderChain.swift",
        "StandardMenuItemAction.swift",
        "UtilFunctions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.