Build Information
Failed to build MacMenuBar with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chipjarred/MacMenuBar.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 99c91a3 Fixing wonky checklist formatting in TODO.md
Cloned https://github.com/chipjarred/MacMenuBar.git
Revision (git rev-parse @):
99c91a347f017bdf197cb2ad918e5b5dfbefd9dc
SUCCESS checkout https://github.com/chipjarred/MacMenuBar.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
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-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/29] Compiling MacMenuBar MacMenuItem.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[4/29] Compiling MacMenuBar MenuSeparator.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[5/29] Compiling MacMenuBar TextMenuItem.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[6/29] Compiling MacMenuBar MacMenu.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[7/32] Compiling MacMenuBar StandardMenu.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[8/32] Compiling MacMenuBar MenuBar.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[9/32] Compiling MacMenuBar MenuElement.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[10/32] Compiling MacMenuBar NoAction.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[11/32] Compiling MacMenuBar SelectorAction.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[12/32] Compiling MacMenuBar DynamicNSMenuContent.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[13/32] Compiling MacMenuBar NSApplicationDelegate+Extension.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[14/32] Compiling MacMenuBar MenuBuilder.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[15/32] Compiling MacMenuBar MenuItemGroup.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[16/32] Compiling MacMenuBar NoMenu.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[17/32] Compiling MacMenuBar ResponderChain.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[18/32] Compiling MacMenuBar StandardMenuItemAction.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[19/32] Compiling MacMenuBar UtilFunctions.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[20/32] Compiling MacMenuBar Action.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[21/32] Compiling MacMenuBar ActionResponder.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[22/32] Compiling MacMenuBar ClosureAction.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[23/32] Compiling MacMenuBar NSObject+Extension.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/32] Emitting module MacMenuBar
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[25/32] Compiling MacMenuBar KeyEquivalent.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[26/32] Compiling MacMenuBar KeyEquivalentParser.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[27/32] Compiling MacMenuBar ActionableMenuItem.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[28/32] Compiling MacMenuBar ForEach.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[29/32] Compiling MacMenuBar NSMacMenu.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[30/32] Compiling MacMenuBar NSMacMenuItem.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[31/32] Compiling MacMenuBar NSMenu+Extension.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
[32/32] Compiling MacMenuBar NSMenuItem+Extension.swift
/host/spi-builder-workspace/Sources/MacMenuBar/Actions/Action.swift:21:8: error: no such module 'Cocoa'
19 | // SOFTWARE.
20 |
21 | import Cocoa
| `- error: no such module 'Cocoa'
22 |
23 | // -------------------------------------
BUILD FAILURE 6.0 linux