The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Magnet, reference v3.5.0 (c72103), with Swift 6.4 for macOS (SPM) on 25 Sep 2026 06:28:59 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Clipy/Magnet.git
Reference: v3.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Clipy/Magnet
 * tag               v3.5.0     -> FETCH_HEAD
HEAD is now at c721032 Bump version to v3.5.0
Submodule path 'Carthage/Checkouts/Sauce': checked out 'c9ebdcfddb4b94da5b9a6ebd113ab385edda88c1'
Submodule 'Carthage/Checkouts/Sauce' (https://github.com/Clipy/Sauce.git) registered for path 'Carthage/Checkouts/Sauce'
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/Sauce'...
Cloned https://github.com/Clipy/Magnet.git
Revision (git rev-parse @):
c721032f386a6664a234e04b98cb68823865369a
SUCCESS checkout https://github.com/Clipy/Magnet.git at v3.5.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Clipy/Magnet.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 96]
[Planning deferred tasks]
[25 / 42]
[26 / 43] Sauce
[36 / 117]
[39 / 117]
[47 / 117]
[49 / 117]
[50 / 117]
[55 / 117]
[57 / 117]
[59 / 117]
[62 / 117]
[66 / 117]
[69 / 117]
[71 / 117]
[72 / 117]
[81 / 117]
[84 / 117]
[85 / 117]
[87 / 117]
[89 / 117]
[100 / 117] Sauce
[101 / 117] Sauce
[107 / 118]
[107 / 118] Magnet
[113 / 129] Magnet
[115 / 129] Magnet
[124 / 129] Magnet-product
[124 / 129] Magnet
[125 / 129] Sauce
Build complete! (12.10 sec)
Fetching https://github.com/Clipy/Sauce
[1/1142] Fetching sauce
Fetched https://github.com/Clipy/Sauce (0.98s)
Computing version for https://github.com/Clipy/Sauce
Computed https://github.com/Clipy/Sauce at 2.5.2 (1.57s)
Creating working copy for https://github.com/Clipy/Sauce
Working copy of https://github.com/Clipy/Sauce resolved at 2.5.2
/Users/admin/builder/spi-builder-workspace/Lib/Magnet/KeyCombo.swift:27:29: warning: 'character(for:carbonModifiers:)' is deprecated: Use character(for:modifiers:) with .carbon(...). [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 25 |     public var characters: String {
 26 |         guard !doubledModifiers else { return "" }
 27 |         return Sauce.shared.character(for: Int(Sauce.shared.keyCode(for: key)), carbonModifiers: modifiers) ?? ""
    |                             `- warning: 'character(for:carbonModifiers:)' is deprecated: Use character(for:modifiers:) with .carbon(...). [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 28 |     }
 29 |     public var keyEquivalent: String {
/Users/admin/builder/spi-builder-workspace/Lib/Magnet/KeyCombo.swift:31:40: warning: 'keyCode(for:carbonModifiers:)' is deprecated: Use keyCode(for:modifiers:) with .carbon(...). [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 29 |     public var keyEquivalent: String {
 30 |         guard !doubledModifiers else { return "" }
 31 |         let keyCode = Int(Sauce.shared.keyCode(for: key, carbonModifiers: modifiers))
    |                                        `- warning: 'keyCode(for:carbonModifiers:)' is deprecated: Use keyCode(for:modifiers:) with .carbon(...). [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 32 |         guard key.isAlphabet else { return Sauce.shared.character(for: keyCode, cocoaModifiers: []) ?? "" }
 33 |         let modifiers = keyEquivalentModifierMask.filterNotShiftModifiers()
/Users/admin/builder/spi-builder-workspace/Lib/Magnet/KeyCombo.swift:32:57: warning: 'character(for:cocoaModifiers:)' is deprecated: Use character(for:modifiers:) with .cocoa(...). [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 30 |         guard !doubledModifiers else { return "" }
 31 |         let keyCode = Int(Sauce.shared.keyCode(for: key, carbonModifiers: modifiers))
 32 |         guard key.isAlphabet else { return Sauce.shared.character(for: keyCode, cocoaModifiers: []) ?? "" }
    |                                                         `- warning: 'character(for:cocoaModifiers:)' is deprecated: Use character(for:modifiers:) with .cocoa(...). [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 33 |         let modifiers = keyEquivalentModifierMask.filterNotShiftModifiers()
 34 |         return Sauce.shared.character(for: keyCode, cocoaModifiers: modifiers) ?? ""
/Users/admin/builder/spi-builder-workspace/Lib/Magnet/KeyCombo.swift:34:29: warning: 'character(for:cocoaModifiers:)' is deprecated: Use character(for:modifiers:) with .cocoa(...). [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 32 |         guard key.isAlphabet else { return Sauce.shared.character(for: keyCode, cocoaModifiers: []) ?? "" }
 33 |         let modifiers = keyEquivalentModifierMask.filterNotShiftModifiers()
 34 |         return Sauce.shared.character(for: keyCode, cocoaModifiers: modifiers) ?? ""
    |                             `- warning: 'character(for:cocoaModifiers:)' is deprecated: Use character(for:modifiers:) with .cocoa(...). [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 35 |     }
 36 |     public var keyEquivalentModifierMask: NSEvent.ModifierFlags {
/Users/admin/builder/spi-builder-workspace/Lib/Magnet/KeyCombo.swift:44:29: warning: 'keyCode(for:carbonModifiers:)' is deprecated: Use keyCode(for:modifiers:) with .carbon(...). [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 42 |     public var currentKeyCode: CGKeyCode {
 43 |         guard !doubledModifiers else { return 0 }
 44 |         return Sauce.shared.keyCode(for: key, carbonModifiers: modifiers)
    |                             `- warning: 'keyCode(for:carbonModifiers:)' is deprecated: Use keyCode(for:modifiers:) with .carbon(...). [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 45 |     }
 46 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Lib/Magnet/HotKeyCenter.swift:58:49: warning: 'UTGetOSTypeFromString' was deprecated in macOS 12.0: HFS type codes are obsolete. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 56 |     @discardableResult
 57 |     private func registerEvent(with hotKey: HotKey) -> Bool {
 58 |         let hotKeyId = EventHotKeyID(signature: UTGetOSTypeFromString("Magnet" as CFString), id: hotKeyCount)
    |                                                 `- warning: 'UTGetOSTypeFromString' was deprecated in macOS 12.0: HFS type codes are obsolete. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 59 |         var carbonHotKey: EventHotKeyRef?
 60 |         let currentKeyCode = hotKey.keyCombo.currentKeyCode
/Users/admin/builder/spi-builder-workspace/Lib/Magnet/HotKeyCenter.swift:162:38: warning: 'UTGetOSTypeFromString' was deprecated in macOS 12.0: HFS type codes are obsolete. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
160 |
161 |         guard error == noErr else { return error }
162 |         assert(hotKeyId.signature == UTGetOSTypeFromString("Magnet" as CFString), "Invalid hot key id")
    |                                      `- warning: 'UTGetOSTypeFromString' was deprecated in macOS 12.0: HFS type codes are obsolete. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
163 |
164 |         let hotKey = hotKeys.values.first(where: { $0.hotKeyId == hotKeyId.id })
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Lib/Magnet/Extensions/NSEventExtension.swift:113:38: warning: 'key(for:cocoaModifiers:)' is deprecated: Use key(for:modifiers:) with .cocoa(...). [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
111 |     public var keyCombo: KeyCombo? {
112 |         guard self.type.isKeyboardEvent else { return nil }
113 |         guard let key = Sauce.shared.key(for: Int(self.keyCode), cocoaModifiers: self.modifierFlags) else { return nil }
    |                                      `- warning: 'key(for:cocoaModifiers:)' is deprecated: Use key(for:modifiers:) with .cocoa(...). [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
114 |         return KeyCombo(key: key, cocoaModifiers: self.modifierFlags)
115 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "sauce",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.5.0",
            "upper_bound" : "2.6.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Clipy/Sauce"
    }
  ],
  "manifest_display_name" : "Magnet",
  "name" : "Magnet",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "Magnet",
      "targets" : [
        "Magnet"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "MagnetTests",
      "module_type" : "SwiftTarget",
      "name" : "MagnetTests",
      "path" : "Lib/MagnetTests",
      "sources" : [
        "CollectionExtensionTests.swift",
        "Fixtures/v2_0_0KeyCombo.swift",
        "Fixtures/v3_1_0KeyCombo.swift",
        "KeyComboTests.swift",
        "ModifierEventHandlerTests.swift"
      ],
      "target_dependencies" : [
        "Magnet"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Magnet",
      "module_type" : "SwiftTarget",
      "name" : "Magnet",
      "path" : "Lib/Magnet",
      "product_dependencies" : [
        "Sauce"
      ],
      "product_memberships" : [
        "Magnet"
      ],
      "sources" : [
        "Extensions/CollectionExtension.swift",
        "Extensions/IntExtension.swift",
        "Extensions/KeyExtension.swift",
        "Extensions/NSEventExtension.swift",
        "Extensions/NSMenuItem+keyCombo.swift",
        "HotKey.swift",
        "HotKeyCenter.swift",
        "KeyCombo.swift",
        "ModifierEventHandler.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.