The Swift Package Index logo.Swift Package Index

Build Information

Failed to build KeepMacAwakeCore, reference main (f1ebfd), with Swift 6.1 for Android on 20 Nov 2026 20:38:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bartdudzic/keepmacawake.git
https://github.com/bartdudzic/keepmacawake.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:4a2fa435ac333753e63ed6c656fe70fcece760f0601ff6567c222f81f55cb110
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/22] Compiling KeepMacAwakeCore SystemProbe.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
[8/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
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/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
[11/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)
[12/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:4a2fa435ac333753e63ed6c656fe70fcece760f0601ff6567c222f81f55cb110
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/17] 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
[3/17] Compiling KeepMacAwakeCore SystemProbe.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
[4/17] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/17] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/17] 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
BUILD FAILURE 6.1 android