Build Information
Failed to build KeyHolder with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/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/Clipy/KeyHolder.git
Reference: master
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/Clipy/KeyHolder
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 959b713 Bump rexml from 3.2.6 to 3.2.8 (#73)
Submodule path 'Carthage/Checkouts/Magnet': checked out '26d672a031fd33eac94887b4e19aca0ab4761f45'
Submodule path 'Carthage/Checkouts/Magnet/Carthage/Checkouts/Sauce': checked out '8f8fabaa8509c1a653d6c2c3c87396a4c493d876'
Submodule path 'Carthage/Checkouts/Sauce': checked out '8f8fabaa8509c1a653d6c2c3c87396a4c493d876'
Submodule 'Carthage/Checkouts/Magnet' (https://github.com/Clipy/Magnet.git) registered for path 'Carthage/Checkouts/Magnet'
Submodule 'Carthage/Checkouts/Sauce' (https://github.com/Clipy/Sauce.git) registered for path 'Carthage/Checkouts/Sauce'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Magnet'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Sauce'...
Submodule 'Carthage/Checkouts/Sauce' (https://github.com/Clipy/Sauce.git) registered for path 'Carthage/Checkouts/Magnet/Carthage/Checkouts/Sauce'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Magnet/Carthage/Checkouts/Sauce'...
Cloned https://github.com/Clipy/KeyHolder.git
Revision (git rev-parse @):
959b713a4f6d9f7bfb08e5b21011b165836fa213
SUCCESS checkout https://github.com/Clipy/KeyHolder.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/Clipy/KeyHolder.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/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
Fetching https://github.com/Clipy/Magnet
[1/1328] Fetching magnet
Fetched https://github.com/Clipy/Magnet from cache (0.34s)
Computing version for https://github.com/Clipy/Magnet
Computed https://github.com/Clipy/Magnet at 3.4.0 (0.54s)
Fetching https://github.com/Clipy/Sauce
[1/865] Fetching sauce
Fetched https://github.com/Clipy/Sauce from cache (0.25s)
Computing version for https://github.com/Clipy/Sauce
Computed https://github.com/Clipy/Sauce at 2.4.1 (0.51s)
Creating working copy for https://github.com/Clipy/Magnet
Working copy of https://github.com/Clipy/Magnet resolved at 3.4.0
Creating working copy for https://github.com/Clipy/Sauce
Working copy of https://github.com/Clipy/Sauce resolved at 2.4.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling Sauce SpecialKeyCode.swift
[6/13] Compiling Sauce TISInputSource+Property.swift
[7/13] Emitting module Sauce
[8/13] Compiling Sauce InputSource.swift
[9/13] Compiling Sauce Sauce.swift
[10/13] Compiling Sauce NSMenuItem+Key.swift
[11/13] Compiling Sauce KeyboardLayout.swift
[12/13] Compiling Sauce Key.swift
[13/13] Compiling Sauce ModifierTransformer.swift
[15/22] Compiling Magnet NSEventExtension.swift
/host/spi-builder-workspace/.build/checkouts/Magnet/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
9 | //
10 |
11 | import Cocoa
| `- error: no such module 'Cocoa'
12 | import Carbon
13 |
[16/22] Compiling Magnet HotKey.swift
/host/spi-builder-workspace/.build/checkouts/Magnet/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
9 | //
10 |
11 | import Cocoa
| `- error: no such module 'Cocoa'
12 | import Carbon
13 |
[17/23] Compiling Magnet KeyCombo.swift
/host/spi-builder-workspace/.build/checkouts/Magnet/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
9 | //
10 |
11 | import Cocoa
| `- error: no such module 'Cocoa'
12 | import Carbon
13 |
[18/23] Compiling Magnet HotKeyCenter.swift
/host/spi-builder-workspace/.build/checkouts/Magnet/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
9 | //
10 |
11 | import Cocoa
| `- error: no such module 'Cocoa'
12 | import Carbon
13 |
[19/23] Compiling Magnet ModifierEventHandler.swift
/host/spi-builder-workspace/.build/checkouts/Magnet/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
9 | //
10 |
11 | import Cocoa
| `- error: no such module 'Cocoa'
12 | import Carbon
13 |
[20/23] Compiling Magnet IntExtension.swift
/host/spi-builder-workspace/.build/checkouts/Magnet/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
9 | //
10 |
11 | import Cocoa
| `- error: no such module 'Cocoa'
12 | import Carbon
13 |
[21/23] Compiling Magnet KeyExtension.swift
/host/spi-builder-workspace/.build/checkouts/Magnet/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
9 | //
10 |
11 | import Cocoa
| `- error: no such module 'Cocoa'
12 | import Carbon
13 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/23] Emitting module Magnet
/host/spi-builder-workspace/.build/checkouts/Magnet/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
9 | //
10 |
11 | import Cocoa
| `- error: no such module 'Cocoa'
12 | import Carbon
13 |
[23/23] Compiling Magnet CollectionExtension.swift
/host/spi-builder-workspace/.build/checkouts/Magnet/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
9 | //
10 |
11 | import Cocoa
| `- error: no such module 'Cocoa'
12 | import Carbon
13 |
BUILD FAILURE 6.0 linux