The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Unlocker, reference v0.2.1 (b2d219), with Swift 5.10 for Linux on 24 Jan 2025 17:56:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mat1th/unlocker.git
Reference: v0.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/mat1th/unlocker
 * tag               v0.2.1     -> FETCH_HEAD
HEAD is now at b2d2197 feat: Update deps + fix warnings; (#8)
Cloned https://github.com/mat1th/unlocker.git
Revision (git rev-parse @):
b2d21979eb8d729c72f184ebcb88d6ea316f7c11
SUCCESS checkout https://github.com/mat1th/unlocker.git at v0.2.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/mat1th/unlocker.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-argument-parser
[1/12533] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.67s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.32s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
[2803/40913916] Downloading https://github.com/realm/SwiftLint/releases/download/0.58.2/SwiftLintBinary.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.58.2/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.58.2/SwiftLintBinary.artifactbundle.zip (3.55s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SwiftLintPlugin
Building for debugging...
[2/13] Write sources
[6/13] Write swift-version-24593BA9C3E375BF.txt
[8/27] Emitting module ArgumentParserToolInfo
[9/27] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/28] Wrapping AST for ArgumentParserToolInfo for debugging
[12/66] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[13/66] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/67] Emitting module UnlockerCore
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[15/67] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[16/67] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[17/67] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[18/67] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[19/67] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[20/67] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[21/67] Compiling UnlockerCore WakeScreenUseCase.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[22/67] Compiling UnlockerCore ExecuteFramworkUseCase.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[23/67] Compiling UnlockerCore StopScreenSaverUseCase.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[24/67] Compiling UnlockerCore PostKeyEventUseCase.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
[25/67] Emitting module ArgumentParser
error: fatalError
BUILD FAILURE 5.10 linux