The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-58779149-1":/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.2-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: v1.0.12
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
 * tag               v1.0.12    -> FETCH_HEAD
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 v1.0.12
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/bartdudzic/keepmacawake.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-58779149-1":/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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:448fd83fd52215d086a1e24a6dfef7af36c159759f7d20bea90a3c7c927de91e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.2-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 KeepMacAwakeControlCore
/host/spi-builder-workspace/Sources/KeepMacAwakeControlCore/NativeSleepBackend.swift:3:8: error: no such module 'Darwin'
 1 | import Foundation
 2 | import CoreFoundation
 3 | import Darwin
   |        `- error: no such module 'Darwin'
 4 | import IOKit
 5 | import notify
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/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
[9/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)
[10/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
[11/22] Compiling KeepMacAwakeCore PowerSnapshot.swift
/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
/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.2 linux