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, reference master (0d6a86), with Swift 6.0 for Linux on 3 Nov 2024 17:30:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 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 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:             6.0
Building package at path:  $PWD
https://github.com/Clipy/Magnet.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Clipy/Sauce
[1/872] 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 (0.94s)
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 InputSource.swift
[6/12] Emitting module Sauce
[7/12] Compiling Sauce TISInputSource+Property.swift
[8/12] Compiling Sauce ModifierTransformer.swift
[9/12] Compiling Sauce NSMenuItem+Key.swift
[10/12] Compiling Sauce Sauce.swift
[11/12] Compiling Sauce Key.swift
[12/12] Compiling Sauce KeyboardLayout.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 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 |
[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 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 |
[18/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/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 |
[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 |
[21/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 |
[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.0 linux