The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-soc-metrics, reference main (7454da), with Swift 6.2 for Linux on 16 Jul 2026 16:12:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/GoodOlClint/swift-soc-metrics.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/GoodOlClint/swift-soc-metrics
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7454da9 docs: add Swift Package Index badges (swift-versions, platforms)
Cloned https://github.com/GoodOlClint/swift-soc-metrics.git
Revision (git rev-parse @):
7454da9c72d420e602e54fa07aa23885de574961
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/GoodOlClint/swift-soc-metrics.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/GoodOlClint/swift-soc-metrics.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:146297aca0eb7f3e338453cbf4c0aa72424647d7d0d3f35fda2f7ef7698dd3aa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/10] Emitting module SoCMetrics
/host/spi-builder-workspace/Sources/SoCMetrics/SMC.swift:3:8: error: no such module 'IOKit'
  1 | import CIOReport
  2 | import Foundation
  3 | import IOKit
    |        `- error: no such module 'IOKit'
  4 |
  5 | /// Reads Apple SMC sensor keys **sudoless** (the `AppleSMC` user-client; reads
[5/10] Compiling SoCMetrics SMC.swift
/host/spi-builder-workspace/Sources/SoCMetrics/SMC.swift:3:8: error: no such module 'IOKit'
  1 | import CIOReport
  2 | import Foundation
  3 | import IOKit
    |        `- error: no such module 'IOKit'
  4 |
  5 | /// Reads Apple SMC sensor keys **sudoless** (the `AppleSMC` user-client; reads
[6/10] Compiling SoCMetrics SoCMetrics.swift
/host/spi-builder-workspace/Sources/SoCMetrics/SMC.swift:3:8: error: no such module 'IOKit'
  1 | import CIOReport
  2 | import Foundation
  3 | import IOKit
    |        `- error: no such module 'IOKit'
  4 |
  5 | /// Reads Apple SMC sensor keys **sudoless** (the `AppleSMC` user-client; reads
BUILD FAILURE 6.2 linux