The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Magnet, reference master (b032d4), with Swift 6.4 for macOS (SPM) on 18 Nov 2026 21:47:47 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Clipy/Magnet.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Clipy/Magnet
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b032d40 Bump addressable from 2.9.0 to 2.9.1 (#117)
Cloned https://github.com/Clipy/Magnet.git
Revision (git rev-parse @):
b032d40687253bdaabfb7422d2525bd937f2538c
SUCCESS checkout https://github.com/Clipy/Magnet.git at master
Fetching https://github.com/Clipy/Sauce
[1/1150] Fetching sauce
Fetched https://github.com/Clipy/Sauce (0.84s)
Computing version for https://github.com/Clipy/Sauce
Computed https://github.com/Clipy/Sauce at 2.5.0 (1.45s)
Creating working copy for https://github.com/Clipy/Sauce
Working copy of https://github.com/Clipy/Sauce resolved at 2.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "magnet",
      "name": "Magnet",
      "url": "https://github.com/Clipy/Magnet.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Magnet",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "sauce",
          "name": "Sauce",
          "url": "https://github.com/Clipy/Sauce",
          "version": "2.5.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Sauce",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Clipy/Magnet.git
[1/1526] Fetching magnet
Fetched https://github.com/Clipy/Magnet.git (0.87s)
Fetching https://github.com/Clipy/Sauce from cache
Fetched https://github.com/Clipy/Sauce from cache (0.46s)
Computing version for https://github.com/Clipy/Sauce
Computed https://github.com/Clipy/Sauce at 2.5.2 (1.06s)
Creating working copy for https://github.com/Clipy/Sauce
Working copy of https://github.com/Clipy/Sauce resolved at 2.5.2
Creating working copy for https://github.com/Clipy/Magnet.git
Working copy of https://github.com/Clipy/Magnet.git resolved at master (b032d40)
warning: '.resolve-product-dependencies': dependency 'magnet' is not used by any target
Found 1 product dependencies
  - Sauce
========================================
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.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 96]
[Planning deferred tasks]
[25 / 42]
[26 / 43] Sauce
[36 / 116]
[39 / 116]
[47 / 116]
[49 / 116]
[50 / 116]
[55 / 116]
[58 / 116]
[61 / 116]
[66 / 116]
[69 / 116]
[71 / 116]
[72 / 116]
[81 / 116]
[84 / 116]
[85 / 116]
[87 / 116]
[89 / 116]
[99 / 116] Sauce
[106 / 117]
[109 / 128] Magnet
[110 / 128] Magnet
[112 / 128] Magnet
[123 / 128] AllExcludingTests
[123 / 128] Magnet
[124 / 128] Sauce
Build complete! (11.62 sec)
/Users/admin/builder/spi-builder-workspace/Sources/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/Sources/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>
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" : "Tests/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" : "Sources/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.