Build Information
Failed to build Unlocker, reference master (b2d219
), with Swift 6.0 for Linux on 24 Jan 2025 17:57:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
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 master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/mat1th/unlocker.git
https://github.com/mat1th/unlocker.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
}
],
"manifest_display_name" : "Unlocker",
"name" : "Unlocker",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "unlocker",
"targets" : [
"unlocker"
],
"type" : {
"executable" : null
}
},
{
"name" : "UnlockerCore",
"targets" : [
"UnlockerCore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "unlocker",
"module_type" : "SwiftTarget",
"name" : "unlocker",
"path" : "Sources/unlocker",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"unlocker"
],
"sources" : [
"Commands/Lock/LockCommand.swift",
"Commands/Unlock/UnlockCommand.swift",
"Commands/Unlock/UnlockerCommandSetup.swift",
"View/Input.swift",
"main.swift"
],
"target_dependencies" : [
"UnlockerCore",
"SwiftLintPlugin"
],
"type" : "executable"
},
{
"c99name" : "UnlockerCoreTests",
"module_type" : "SwiftTarget",
"name" : "UnlockerCoreTests",
"path" : "Tests/UnlockerCoreTests",
"sources" : [
"TestDoubles/AccessablityPermissionIsAllowedSpy.swift",
"TestDoubles/CGEventProtocolSpy.swift",
"TestDoubles/ExecuteFramworkUseCaseSpy.swift",
"TestDoubles/LockScreenIsActiveUseCaseSpy.swift",
"TestDoubles/PostKeyEventUseCaseSpy.swift",
"TestDoubles/StopScreenSaverUseCaseSpy.swift",
"TestDoubles/UnlockScreenUseCaseSpy.swift",
"TestDoubles/WakeScreenUseCaseSpy.swift",
"UseCases/LockScreen/LockScreenUseCaseTests.swift",
"UseCases/LockScreen/StopScreenSaverUseCaseTests.swift",
"UseCases/LockScreen/UnlockScreenUseCaseTest.swift"
],
"target_dependencies" : [
"UnlockerCore"
],
"type" : "test"
},
{
"c99name" : "UnlockerCore",
"module_type" : "SwiftTarget",
"name" : "UnlockerCore",
"path" : "Sources/UnlockerCore",
"product_memberships" : [
"unlocker",
"UnlockerCore"
],
"sources" : [
"Entities/CGEventProtocol.swift",
"Entities/KeyCode.swift",
"Extentions/CGEvent+CGEventProtocol.swift",
"UseCases/AccessablityPermissionIsAllowedUseCase.swift",
"UseCases/LockScreen/LockScreenIsActiveUseCase.swift",
"UseCases/LockScreen/LockScreenUseCase.swift",
"UseCases/LockScreen/UnlockScreenUseCase.swift",
"UseCases/ScreenSaver/StartSceenSaverUseCase.swift",
"UseCases/ScreenSaver/StopScreenSaverUseCase.swift",
"UseCases/Utils/ExecuteFramworkUseCase.swift",
"UseCases/Utils/PostKeyEventUseCase.swift",
"UseCases/Utils/WakeScreenUseCase.swift"
],
"target_dependencies" : [
"SwiftLintPlugin"
],
"type" : "library"
},
{
"c99name" : "SwiftLintPlugin",
"module_type" : "PluginTarget",
"name" : "SwiftLintPlugin",
"path" : "Plugins/SwiftLintPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"unlocker",
"UnlockerCore"
],
"sources" : [
"SwiftLintPlugin.swift"
],
"target_dependencies" : [
"SwiftLintBinary"
],
"type" : "plugin"
},
{
"c99name" : "SwiftLintBinary",
"module_type" : "BinaryTarget",
"name" : "SwiftLintBinary",
"path" : "remote/archive/SwiftLintBinary.artifactbundle.zip",
"product_memberships" : [
"unlocker",
"UnlockerCore"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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.69s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.87s)
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
[1397/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.92s)
warning: Build tool command 'Running SwiftLint for unlocker' (applied to target 'unlocker') does not declare any output files and therefore will not run. You may want to consider updating the given package to tools-version 6.0 (or higher) which would run such a build tool command even without declared outputs.
warning: Build tool command 'Running SwiftLint for UnlockerCore' (applied to target 'UnlockerCore') does not declare any output files and therefore will not run. You may want to consider updating the given package to tools-version 6.0 (or higher) which would run such a build tool command even without declared outputs.
[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 OptionGroup.swift
[13/66] Compiling ArgumentParser AsyncParsableCommand.swift
[14/66] Compiling ArgumentParser CommandConfiguration.swift
[15/66] Compiling ArgumentParser CommandGroup.swift
[16/66] Compiling ArgumentParser EnumerableFlag.swift
[17/71] Compiling ArgumentParser CollectionExtensions.swift
[18/71] Compiling ArgumentParser Platform.swift
[19/71] Compiling ArgumentParser SequenceExtensions.swift
[20/71] Compiling ArgumentParser StringExtensions.swift
[21/71] Compiling ArgumentParser Tree.swift
[22/71] Compiling ArgumentParser Name.swift
[23/71] Compiling ArgumentParser Parsed.swift
[24/71] Compiling ArgumentParser ParsedValues.swift
[25/71] Compiling ArgumentParser ParserError.swift
[26/71] Compiling ArgumentParser SplitArguments.swift
[27/71] Compiling UnlockerCore StopScreenSaverUseCase.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
[28/72] Compiling ArgumentParser ArgumentVisibility.swift
[29/72] Compiling ArgumentParser CompletionKind.swift
[30/72] Compiling ArgumentParser Errors.swift
[31/72] Compiling ArgumentParser Flag.swift
[32/72] Compiling ArgumentParser NameSpecification.swift
[33/72] Compiling ArgumentParser Option.swift
[34/72] Emitting module ArgumentParser
[35/72] Compiling ArgumentParser BashCompletionsGenerator.swift
[36/72] Compiling ArgumentParser CompletionsGenerator.swift
[37/72] Compiling ArgumentParser FishCompletionsGenerator.swift
[38/72] Compiling ArgumentParser ZshCompletionsGenerator.swift
[39/72] Compiling ArgumentParser Argument.swift
[40/72] Compiling ArgumentParser ArgumentHelp.swift
[41/72] Compiling UnlockerCore PostKeyEventUseCase.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
[42/72] Compiling UnlockerCore WakeScreenUseCase.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
[49/72] Emitting module UnlockerCore
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
[52/72] Compiling UnlockerCore ExecuteFramworkUseCase.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
[53/72] Compiling ArgumentParser ExpressibleByArgument.swift
[54/72] Compiling ArgumentParser ParsableArguments.swift
[55/72] Compiling ArgumentParser ParsableArgumentsValidation.swift
[56/72] Compiling ArgumentParser ParsableCommand.swift
[57/72] Compiling ArgumentParser ArgumentDecoder.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: Build tool command 'Running SwiftLint for unlocker' (applied to target 'unlocker') does not declare any output files and therefore will not run. You may want to consider updating the given package to tools-version 6.0 (or higher) which would run such a build tool command even without declared outputs.
warning: Build tool command 'Running SwiftLint for UnlockerCore' (applied to target 'UnlockerCore') does not declare any output files and therefore will not run. You may want to consider updating the given package to tools-version 6.0 (or higher) which would run such a build tool command even without declared outputs.
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SwiftLintPlugin
Building for debugging...
[2/9] Write swift-version-24593BA9C3E375BF.txt
[4/23] Compiling UnlockerCore StopScreenSaverUseCase.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
[5/23] Compiling UnlockerCore ExecuteFramworkUseCase.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
[6/24] Compiling UnlockerCore PostKeyEventUseCase.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/24] Emitting module UnlockerCore
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
[8/24] Compiling UnlockerCore CGEventProtocol.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
[9/24] Compiling UnlockerCore KeyCode.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
[10/24] Compiling UnlockerCore CGEvent+CGEventProtocol.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
[11/24] Compiling UnlockerCore AccessablityPermissionIsAllowedUseCase.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
[12/24] Compiling UnlockerCore LockScreenIsActiveUseCase.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
[13/24] Compiling UnlockerCore LockScreenUseCase.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
[14/24] Compiling UnlockerCore UnlockScreenUseCase.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
[15/24] Compiling UnlockerCore StartSceenSaverUseCase.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
[16/24] Compiling UnlockerCore WakeScreenUseCase.swift
/host/spi-builder-workspace/Sources/UnlockerCore/Entities/CGEventProtocol.swift:1:8: error: no such module 'CoreGraphics'
1 | import CoreGraphics
| `- error: no such module 'CoreGraphics'
2 | import Foundation
3 |
[17/24] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.0 linux