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 Android on 20 Jun 2025 15:41:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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:         android
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-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/Clipy/Sauce
[1/927] Fetching sauce
Fetched https://github.com/Clipy/Sauce from cache (0.37s)
Computing version for https://github.com/Clipy/Sauce
Computed https://github.com/Clipy/Sauce at 2.4.1 (1.22s)
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-8C5A4AE7A8CE2BA.txt
[4/11] Compiling Sauce SpecialKeyCode.swift
[5/12] Compiling Sauce ModifierTransformer.swift
[6/12] Compiling Sauce TISInputSource+Property.swift
[7/12] Compiling Sauce NSMenuItem+Key.swift
[8/12] Compiling Sauce Sauce.swift
[9/12] Compiling Sauce InputSource.swift
[10/12] Emitting module Sauce
[11/12] Compiling Sauce Key.swift
[12/12] Compiling Sauce KeyboardLayout.swift
[14/21] 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 |
[15/21] 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 |
[16/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/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 |
[18/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 |
[19/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 |
[20/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 |
[21/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 |
[22/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 |
BUILD FAILURE 6.2 android