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 v3.4.0 (26d672), with Swift 6.2 (beta) for Linux on 20 Jun 2025 15:41:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Clipy/Magnet.git
Reference: v3.4.0
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
 * tag               v3.4.0     -> FETCH_HEAD
HEAD is now at 26d672a Bump version to v3.4.0
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 @):
26d672a031fd33eac94887b4e19aca0ab4761f45
SUCCESS checkout https://github.com/Clipy/Magnet.git at v3.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Clipy/Magnet.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/Clipy/Sauce
[1/927] Fetching sauce
Fetched https://github.com/Clipy/Sauce from cache (0.31s)
Computing version for https://github.com/Clipy/Sauce
Computed https://github.com/Clipy/Sauce at 2.4.1 (0.86s)
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] Emitting module Sauce
[5/12] Compiling Sauce Sauce.swift
[6/12] Compiling Sauce KeyboardLayout.swift
[7/12] Compiling Sauce TISInputSource+Property.swift
[8/12] Compiling Sauce Key.swift
[9/12] Compiling Sauce SpecialKeyCode.swift
[10/12] Compiling Sauce ModifierTransformer.swift
[11/12] Compiling Sauce NSMenuItem+Key.swift
[12/12] Compiling Sauce InputSource.swift
[14/21] Compiling Magnet KeyCombo.swift
/host/spi-builder-workspace/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 |
[15/22] Compiling Magnet ModifierEventHandler.swift
/host/spi-builder-workspace/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/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/22] Compiling Magnet HotKeyCenter.swift
/host/spi-builder-workspace/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/22] Compiling Magnet IntExtension.swift
/host/spi-builder-workspace/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/22] Compiling Magnet NSEventExtension.swift
/host/spi-builder-workspace/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/22] Compiling Magnet KeyExtension.swift
/host/spi-builder-workspace/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)
[21/22] Emitting module Magnet
/host/spi-builder-workspace/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 |
[22/22] Compiling Magnet CollectionExtension.swift
/host/spi-builder-workspace/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.2 linux