The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ScreenShieldKit, reference 0.2.1 (40956f), with Swift 6.2 for Linux on 25 Jun 2026 02:10:33 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4071e0796c748d991a0123890d2f0ecadc8fcc8c
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kyle-Ye/ScreenShieldKit.git
Reference: 0.2.1
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/Kyle-Ye/ScreenShieldKit
 * tag               0.2.1      -> FETCH_HEAD
HEAD is now at 40956f5 Add SPI interface build support (#7)
Cloned https://github.com/Kyle-Ye/ScreenShieldKit.git
Revision (git rev-parse @):
40956f5d257587b200c15ebd64d6956f34e26742
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Kyle-Ye/ScreenShieldKit.git at 0.2.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Kyle-Ye/ScreenShieldKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c1e64916691157aa211c844e845a45f54e1288d5927bb1481ff28ec0cfa5960d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling ScreenShieldKit Logger.swift
/host/spi-builder-workspace/Sources/ScreenShieldKit/CALayer+ScreenShieldKit.swift:9:8: error: no such module 'os.log'
 7 |
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | #if canImport(QuartzCore)
[4/9] Compiling ScreenShieldKit OpenSwiftUI+ScreenShieldKit.swift
/host/spi-builder-workspace/Sources/ScreenShieldKit/CALayer+ScreenShieldKit.swift:9:8: error: no such module 'os.log'
 7 |
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | #if canImport(QuartzCore)
[5/9] Compiling ScreenShieldKit UIKit+ScreenShieldKit.swift
/host/spi-builder-workspace/Sources/ScreenShieldKit/CALayer+ScreenShieldKit.swift:9:8: error: no such module 'os.log'
 7 |
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | #if canImport(QuartzCore)
[6/9] Compiling ScreenShieldKit SwiftUI+ScreenShieldKit.swift
/host/spi-builder-workspace/Sources/ScreenShieldKit/CALayer+ScreenShieldKit.swift:9:8: error: no such module 'os.log'
 7 |
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | #if canImport(QuartzCore)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/9] Emitting module ScreenShieldKit
/host/spi-builder-workspace/Sources/ScreenShieldKit/CALayer+ScreenShieldKit.swift:9:8: error: no such module 'os.log'
 7 |
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | #if canImport(QuartzCore)
[8/9] Compiling ScreenShieldKit AppKit+ScreenShieldKit.swift
/host/spi-builder-workspace/Sources/ScreenShieldKit/CALayer+ScreenShieldKit.swift:9:8: error: no such module 'os.log'
 7 |
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | #if canImport(QuartzCore)
[9/9] Compiling ScreenShieldKit CALayer+ScreenShieldKit.swift
/host/spi-builder-workspace/Sources/ScreenShieldKit/CALayer+ScreenShieldKit.swift:9:8: error: no such module 'os.log'
 7 |
 8 | import Foundation
 9 | import os.log
   |        `- error: no such module 'os.log'
10 |
11 | #if canImport(QuartzCore)
BUILD FAILURE 6.2 linux