The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Magnet, reference master (b24a37), with Swift 5.10 for Linux on 6 Nov 2024 05:16:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Clipy/Magnet.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/Magnet
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b24a371 Bump rexml from 3.2.8 to 3.3.9 (#97)
Submodule path 'Carthage/Checkouts/Sauce': checked out '8f8fabaa8509c1a653d6c2c3c87396a4c493d876'
Submodule 'Carthage/Checkouts/Sauce' (https://github.com/Clipy/Sauce.git) registered for path 'Carthage/Checkouts/Sauce'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/Sauce'...
Cloned https://github.com/Clipy/Magnet.git
Revision (git rev-parse @):
b24a371a882033893266575f76964855eae65099
SUCCESS checkout https://github.com/Clipy/Magnet.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/Clipy/Magnet.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:bbf8567030a4fa53b55a34fff1a818ffa3e86e892fedc5d8aa9c6958f48fdf8a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/Clipy/Sauce
[1/872] Fetching sauce
Fetched https://github.com/Clipy/Sauce from cache (0.36s)
Computing version for https://github.com/Clipy/Sauce
Computed https://github.com/Clipy/Sauce at 2.4.1 (0.73s)
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/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling Sauce SpecialKeyCode.swift
[5/12] Compiling Sauce TISInputSource+Property.swift
[6/12] Compiling Sauce NSMenuItem+Key.swift
[7/12] Compiling Sauce Sauce.swift
[8/12] Compiling Sauce KeyboardLayout.swift
[9/12] Compiling Sauce Key.swift
[10/12] Compiling Sauce InputSource.swift
[11/12] Compiling Sauce ModifierTransformer.swift
[12/12] Emitting module Sauce
[14/21] Compiling Magnet NSEventExtension.swift
/host/spi-builder-workspace/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
       ^
[15/21] Compiling Magnet KeyCombo.swift
/host/spi-builder-workspace/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
       ^
[16/21] Compiling Magnet HotKey.swift
/host/spi-builder-workspace/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
       ^
[17/22] Compiling Magnet IntExtension.swift
/host/spi-builder-workspace/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
       ^
[18/22] Compiling Magnet ModifierEventHandler.swift
/host/spi-builder-workspace/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
       ^
[19/22] Compiling Magnet HotKeyCenter.swift
/host/spi-builder-workspace/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)
[20/22] Emitting module Magnet
/host/spi-builder-workspace/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
       ^
[21/22] Compiling Magnet CollectionExtension.swift
/host/spi-builder-workspace/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
       ^
[22/22] Compiling Magnet KeyExtension.swift
/host/spi-builder-workspace/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
       ^
error: fatalError
BUILD FAILURE 5.10 linux