The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Magnet with Swift 5.8 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-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/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 0d6a869 Bump rexml from 3.2.6 to 3.2.8 (#95)
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 @):
0d6a869cbb40142488ed58c1be631b6823fca169
SUCCESS checkout https://github.com/Clipy/Magnet.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/Clipy/Magnet.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/Clipy/Sauce
[1/865] Fetching sauce
Fetched https://github.com/Clipy/Sauce (0.21s)
Computing version for https://github.com/Clipy/Sauce
Computed https://github.com/Clipy/Sauce at 2.4.1 (0.30s)
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...
[1/8] Compiling Sauce SpecialKeyCode.swift
[2/9] Compiling Sauce TISInputSource+Property.swift
[3/9] Compiling Sauce KeyboardLayout.swift
[4/9] Compiling Sauce Key.swift
[5/9] Compiling Sauce Sauce.swift
[6/9] Compiling Sauce NSMenuItem+Key.swift
[7/9] Compiling Sauce ModifierTransformer.swift
[8/9] Compiling Sauce InputSource.swift
[9/9] Emitting module Sauce
[12/19] Compiling Magnet NSEventExtension.swift
/host/spi-builder-workspace/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
       ^
[13/20] Compiling Magnet KeyCombo.swift
/host/spi-builder-workspace/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
       ^
[14/20] Compiling Magnet ModifierEventHandler.swift
/host/spi-builder-workspace/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
       ^
[15/20] Compiling Magnet HotKeyCenter.swift
/host/spi-builder-workspace/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
       ^
[16/20] Compiling Magnet HotKey.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)
[17/20] Emitting module Magnet
/host/spi-builder-workspace/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
       ^
[18/20] Compiling Magnet CollectionExtension.swift
/host/spi-builder-workspace/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
       ^
[19/20] Compiling Magnet IntExtension.swift
/host/spi-builder-workspace/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
       ^
[20/20] Compiling Magnet KeyExtension.swift
/host/spi-builder-workspace/Lib/Magnet/Extensions/IntExtension.swift:11:8: error: no such module 'Cocoa'
import Cocoa
       ^
BUILD FAILURE 5.8 linux