The Swift Package Index logo.Swift Package Index

Build Information

Failed to build KeepMacAwakeCore, reference main (f1ebfd), with Swift 6.3 for Linux on 20 Nov 2026 20:35:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-58779149-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bartdudzic/keepmacawake.git
Reference: main
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/bartdudzic/keepmacawake
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f1ebfda Keep Mac Awake 1.0.12 public core
Cloned https://github.com/bartdudzic/keepmacawake.git
Revision (git rev-parse @):
f1ebfda88f45ac169c691b37c15dbbb70e7882c4
SUCCESS checkout https://github.com/bartdudzic/keepmacawake.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/bartdudzic/keepmacawake.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-58779149-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:2d5b74478f792f87932467cb1c47b1b25df4173cb6dae554d34910d5911b073a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.3-latest
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/22] Emitting module KeepMacAwakeControlProtocol
/host/spi-builder-workspace/Sources/KeepMacAwakeControlProtocol/ControlProtocol.swift:56:2: error: Objective-C interoperability is disabled
 54 | }
 55 |
 56 | @objc public protocol KeepMacAwakeServiceProtocol {
    |  `- error: Objective-C interoperability is disabled
 57 |     func request(_ data: Data, withReply reply: @escaping (Data) -> Void)
 58 |     /// An update package, as an open file and nothing else: the helper copies it, checks the
[8/22] Compiling KeepMacAwakeControlProtocol ControlProtocol.swift
/host/spi-builder-workspace/Sources/KeepMacAwakeControlProtocol/ControlProtocol.swift:56:2: error: Objective-C interoperability is disabled
 54 | }
 55 |
 56 | @objc public protocol KeepMacAwakeServiceProtocol {
    |  `- error: Objective-C interoperability is disabled
 57 |     func request(_ data: Data, withReply reply: @escaping (Data) -> Void)
 58 |     /// An update package, as an open file and nothing else: the helper copies it, checks the
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/22] Emitting module KeepMacAwakeCore
/host/spi-builder-workspace/Sources/KeepMacAwakeCore/SystemProbe.swift:2:8: error: no such module 'IOKit'
  1 | import Foundation
  2 | import IOKit
    |        `- error: no such module 'IOKit'
  3 | import IOKit.pwr_mgt
  4 | import IOKit.ps
BUILD FAILURE 6.3 linux