Build Information
Failed to build MacMenuBar with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.28.9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chipjarred/MacMenuBar.git
Reference: 0.0.12
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: linux
Swift version: 5.8
Building package at path: $workDir
https://github.com/chipjarred/MacMenuBar.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Building for debugging...
[1/27] Compiling MacMenuBar NSMacMenu.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[2/27] Compiling MacMenuBar NSMacMenuItem.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[3/27] Compiling MacMenuBar NSMenu+Extension.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[4/27] Compiling MacMenuBar NSMenuItem+Extension.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[5/30] Compiling MacMenuBar ResponderChain.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[6/30] Compiling MacMenuBar StandardMenuItemAction.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[7/30] Compiling MacMenuBar UtilFunctions.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[8/30] Compiling MacMenuBar StandardMenu.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[9/30] Compiling MacMenuBar MenuBar.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[10/30] Compiling MacMenuBar MenuElement.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[11/30] Compiling MacMenuBar MacMenuItem.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[12/30] Compiling MacMenuBar MenuSeparator.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[13/30] Compiling MacMenuBar TextMenuItem.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[14/30] Compiling MacMenuBar MacMenu.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[15/30] Compiling MacMenuBar MenuBuilder.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[16/30] Compiling MacMenuBar MenuItemGroup.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[17/30] Compiling MacMenuBar NoMenu.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[18/30] Compiling MacMenuBar NoAction.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[19/30] Compiling MacMenuBar SelectorAction.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[20/30] Compiling MacMenuBar DynamicNSMenuContent.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[21/30] Compiling MacMenuBar NSApplicationDelegate+Extension.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/30] Emitting module MacMenuBar
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[23/30] Compiling MacMenuBar Action.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[24/30] Compiling MacMenuBar ActionResponder.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[25/30] Compiling MacMenuBar ClosureAction.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[26/30] Compiling MacMenuBar NSObject+Extension.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[27/30] Compiling MacMenuBar KeyEquivalent.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[28/30] Compiling MacMenuBar KeyEquivalentParser.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[29/30] Compiling MacMenuBar ActionableMenuItem.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[30/30] Compiling MacMenuBar ForEach.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[0/1] Planning build
Building for debugging...
[1/27] Compiling MacMenuBar MenuBuilder.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[2/27] Compiling MacMenuBar MenuItemGroup.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[3/27] Compiling MacMenuBar NoMenu.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[4/30] Compiling MacMenuBar Action.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[5/30] Compiling MacMenuBar ActionResponder.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[6/30] Compiling MacMenuBar ClosureAction.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[7/30] Compiling MacMenuBar NSObject+Extension.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[8/30] Compiling MacMenuBar StandardMenu.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[9/30] Compiling MacMenuBar MenuBar.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[10/30] Compiling MacMenuBar MenuElement.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[11/30] Compiling MacMenuBar NoAction.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[12/30] Compiling MacMenuBar SelectorAction.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[13/30] Compiling MacMenuBar DynamicNSMenuContent.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[14/30] Compiling MacMenuBar NSApplicationDelegate+Extension.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[15/30] Compiling MacMenuBar MacMenuItem.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[16/30] Compiling MacMenuBar MenuSeparator.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[17/30] Compiling MacMenuBar TextMenuItem.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[18/30] Compiling MacMenuBar MacMenu.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[19/30] Compiling MacMenuBar NSMacMenu.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[20/30] Compiling MacMenuBar NSMacMenuItem.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[21/30] Compiling MacMenuBar NSMenu+Extension.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[22/30] Compiling MacMenuBar NSMenuItem+Extension.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[23/30] Compiling MacMenuBar ResponderChain.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[24/30] Compiling MacMenuBar StandardMenuItemAction.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[25/30] Compiling MacMenuBar UtilFunctions.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/30] Emitting module MacMenuBar
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[27/30] Compiling MacMenuBar KeyEquivalent.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[28/30] Compiling MacMenuBar KeyEquivalentParser.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[29/30] Compiling MacMenuBar ActionableMenuItem.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
[30/30] Compiling MacMenuBar ForEach.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
import Cocoa
^
BUILD FAILURE 5.8 linux