Build Information
Failed to build KeyHolder with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.39.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: 5.10
Building package at path: $workDir
https://github.com/Clipy/KeyHolder.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/Clipy/Magnet
[1/1328] Fetching magnet
Fetched https://github.com/Clipy/Magnet from cache (0.26s)
Computing version for https://github.com/Clipy/Magnet
Computed https://github.com/Clipy/Magnet at 3.4.0 (0.41s)
Fetching https://github.com/Clipy/Sauce
[1/865] Fetching sauce
Fetched https://github.com/Clipy/Sauce from cache (0.29s)
Computing version for https://github.com/Clipy/Sauce
Computed https://github.com/Clipy/Sauce at 2.4.1 (0.66s)
Creating working copy for https://github.com/Clipy/Sauce
Working copy of https://github.com/Clipy/Sauce resolved at 2.4.1
Creating working copy for https://github.com/Clipy/Magnet
Working copy of https://github.com/Clipy/Magnet resolved at 3.4.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/12] Compiling Sauce Key.swift
[6/13] Compiling Sauce TISInputSource+Property.swift
[7/13] Compiling Sauce Sauce.swift
[8/13] Compiling Sauce SpecialKeyCode.swift
[9/13] Compiling Sauce NSMenuItem+Key.swift
[10/13] Compiling Sauce ModifierTransformer.swift
[11/13] Emitting module Sauce
[12/13] Compiling Sauce InputSource.swift
[13/13] Compiling Sauce KeyboardLayout.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'
import Cocoa
^
[16/23] Compiling Magnet KeyCombo.swift
/host/spi-builder-workspace/.build/checkouts/Magnet/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
^
[17/23] Compiling Magnet HotKey.swift
/host/spi-builder-workspace/.build/checkouts/Magnet/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
^
[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'
import Cocoa
^
[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'
import Cocoa
^
[20/23] Compiling Magnet KeyExtension.swift
/host/spi-builder-workspace/.build/checkouts/Magnet/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/23] Emitting module Magnet
/host/spi-builder-workspace/.build/checkouts/Magnet/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
^
[22/23] Compiling Magnet IntExtension.swift
/host/spi-builder-workspace/.build/checkouts/Magnet/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
^
[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'
import Cocoa
^
error: fatalError
BUILD FAILURE 5.10 linux