Build Information
Failed to build MacMenuBar, reference 0.0.12 (890253), with Swift 6.3 for macOS (SPM) on 13 Apr 2026 11:15:44 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.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
========================================
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",
"traits": [
"default"
],
"dependencies": [
{
"identity": "macmenubar",
"name": "MacMenuBar",
"url": "https://github.com/chipjarred/MacMenuBar.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MacMenuBar",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/chipjarred/MacMenuBar.git
[1/1055] Fetching macmenubar
Fetched https://github.com/chipjarred/MacMenuBar.git from cache (0.79s)
Creating working copy for https://github.com/chipjarred/MacMenuBar.git
Working copy of https://github.com/chipjarred/MacMenuBar.git resolved at 0.0.12 (8902531)
warning: '.resolve-product-dependencies': dependency 'macmenubar' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/chipjarred/MacMenuBar.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/30] Emitting module MacMenuBar
/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/AppKit Subclasses/NSApplicationDelegate+Extension.swift:43:26: error: 'App' is only available in macOS 11.0 or newer
41 |
42 | // -------------------------------------
43 | public extension SwiftUI.App
| | `- error: 'App' is only available in macOS 11.0 or newer
| `- note: add '@available' attribute to enclosing extension
44 | {
45 | // -------------------------------------
/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 |
[4/32] Compiling MacMenuBar MenuItemGroup.swift
/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 |
[5/32] Compiling MacMenuBar NoMenu.swift
/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 |
[6/32] Compiling MacMenuBar StandardMenu.swift
/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 |
[7/32] Compiling MacMenuBar MenuBar.swift
/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 }
[8/32] Compiling MacMenuBar MenuElement.swift
/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 }
[9/32] Compiling MacMenuBar ResponderChain.swift
/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 }
[10/32] Compiling MacMenuBar StandardMenuItemAction.swift
[11/32] Compiling MacMenuBar UtilFunctions.swift
[12/32] Compiling MacMenuBar Action.swift
[13/32] Compiling MacMenuBar ActionResponder.swift
[14/32] Compiling MacMenuBar ClosureAction.swift
[15/32] Compiling MacMenuBar NSObject+Extension.swift
[16/32] Compiling MacMenuBar NoAction.swift
[17/32] Compiling MacMenuBar SelectorAction.swift
[18/32] Compiling MacMenuBar TextMenuItem.swift
/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 | {
[19/32] Compiling MacMenuBar MacMenu.swift
/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 | {
[20/32] Compiling MacMenuBar MenuBuilder.swift
/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 | {
[21/32] Compiling MacMenuBar KeyEquivalent.swift
[22/32] Compiling MacMenuBar KeyEquivalentParser.swift
[23/32] Compiling MacMenuBar ActionableMenuItem.swift
[24/32] Compiling MacMenuBar NSMacMenuItem.swift
[25/32] Compiling MacMenuBar NSMenu+Extension.swift
[26/32] Compiling MacMenuBar NSMenuItem+Extension.swift
[27/32] Compiling MacMenuBar ForEach.swift
[28/32] Compiling MacMenuBar MacMenuItem.swift
[29/32] Compiling MacMenuBar MenuSeparator.swift
[30/32] Compiling MacMenuBar DynamicNSMenuContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacMenuBar/AppKit Subclasses/NSApplicationDelegate+Extension.swift:43:26: error: 'App' is only available in macOS 11.0 or newer
41 |
42 | // -------------------------------------
43 | public extension SwiftUI.App
| | `- error: 'App' is only available in macOS 11.0 or newer
| `- note: add '@available' attribute to enclosing extension
44 | {
45 | // -------------------------------------
[31/32] Compiling MacMenuBar NSApplicationDelegate+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacMenuBar/AppKit Subclasses/NSApplicationDelegate+Extension.swift:43:26: error: 'App' is only available in macOS 11.0 or newer
41 |
42 | // -------------------------------------
43 | public extension SwiftUI.App
| | `- error: 'App' is only available in macOS 11.0 or newer
| `- note: add '@available' attribute to enclosing extension
44 | {
45 | // -------------------------------------
[32/32] Compiling MacMenuBar NSMacMenu.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacMenuBar/AppKit Subclasses/NSApplicationDelegate+Extension.swift:43:26: error: 'App' is only available in macOS 11.0 or newer
41 |
42 | // -------------------------------------
43 | public extension SwiftUI.App
| | `- error: 'App' is only available in macOS 11.0 or newer
| `- note: add '@available' attribute to enclosing extension
44 | {
45 | // -------------------------------------
BUILD FAILURE 6.3 macosSpm