The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Unlocker, reference master (28fcdb), with Swift 6.1 for Android on 19 Aug 2025 19:18:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.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 28fcdbb GitHub Actions: Bump actions/checkout in the dependencies group (#11)
Cloned https://github.com/mat1th/unlocker.git
Revision (git rev-parse @):
28fcdbb032a7237eb889aff31d4a82dd79e78aad
SUCCESS checkout https://github.com/mat1th/unlocker.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
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-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
[1/15671] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.97s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (1.54s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.58.2/SwiftLintBinary.artifactbundle.zip
[16375/40913916] Downloading 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.31s)
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.
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.
[1/1] Compiling plugin SwiftLintPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/14] Write sources
[7/14] Write swift-version-24593BA9C3E375BF.txt
[9/28] Emitting module ArgumentParserToolInfo
[10/28] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/29] Wrapping AST for ArgumentParserToolInfo for debugging
[13/73] Emitting module ArgumentParser
[14/79] Compiling ArgumentParser Tree.swift
[15/79] Compiling ArgumentParser CodingKeyValidator.swift
[16/79] Compiling ArgumentParser NonsenseFlagsValidator.swift
[17/79] Compiling ArgumentParser ParsableArgumentsValidation.swift
[18/79] Compiling ArgumentParser PositionalArgumentsValidator.swift
[19/79] Compiling ArgumentParser UniqueNamesValidator.swift
[20/79] Compiling ArgumentParser CollectionExtensions.swift
[21/79] Compiling ArgumentParser Mutex.swift
[22/79] Compiling ArgumentParser Platform.swift
[23/79] Compiling ArgumentParser SequenceExtensions.swift
[24/79] Compiling ArgumentParser StringExtensions.swift
[25/79] Compiling ArgumentParser SwiftExtensions.swift
[26/79] 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 |
[27/79] Compiling ArgumentParser BashCompletionsGenerator.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/79] Compiling ArgumentParser CompletionsGenerator.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 |
[29/79] Compiling ArgumentParser ArgumentDecoder.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 |
[30/79] Compiling ArgumentParser ArgumentDefinition.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 |
[31/80] Compiling ArgumentParser ParsableArguments.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 |
[32/80] Compiling ArgumentParser ParsableCommand.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)
[33/80] 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 |
[34/80] Compiling ArgumentParser ArgumentSet.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 |
[35/80] Compiling ArgumentParser CommandParser.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 |
[36/80] 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 |
[37/80] Compiling ArgumentParser ArgumentVisibility.swift
[38/80] Compiling ArgumentParser CompletionKind.swift
[39/80] Compiling ArgumentParser Errors.swift
[40/80] Compiling ArgumentParser Flag.swift
[41/80] Compiling ArgumentParser NameSpecification.swift
[42/80] Compiling ArgumentParser Option.swift
[43/80] Compiling ArgumentParser OptionGroup.swift
[44/80] Compiling ArgumentParser AsyncParsableCommand.swift
[45/80] Compiling ArgumentParser CommandConfiguration.swift
[46/80] Compiling ArgumentParser CommandGroup.swift
[47/80] Compiling ArgumentParser EnumerableFlag.swift
[48/80] Compiling ArgumentParser ExpressibleByArgument.swift
[51/80] Compiling ArgumentParser FishCompletionsGenerator.swift
[52/80] Compiling ArgumentParser ZshCompletionsGenerator.swift
[53/80] Compiling ArgumentParser Argument.swift
[54/80] Compiling ArgumentParser ArgumentDiscussion.swift
[55/80] Compiling ArgumentParser ArgumentHelp.swift
[62/80] 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 |
[63/80] 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 |
[64/80] Compiling ArgumentParser InputKey.swift
[65/80] Compiling ArgumentParser InputOrigin.swift
[66/80] Compiling ArgumentParser Name.swift
[67/80] Compiling ArgumentParser Parsed.swift
[68/80] Compiling ArgumentParser ParsedValues.swift
[69/80] Compiling ArgumentParser ParserError.swift
[70/80] Compiling ArgumentParser SplitArguments.swift
[71/80] Compiling ArgumentParser DumpHelpGenerator.swift
[72/80] Compiling ArgumentParser HelpCommand.swift
[73/80] Compiling ArgumentParser HelpGenerator.swift
[74/80] Compiling ArgumentParser MessageInfo.swift
[75/80] Compiling ArgumentParser UsageGenerator.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
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.
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.
[0/1] Planning build
[1/1] Compiling plugin SwiftLintPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/10] Write swift-version-24593BA9C3E375BF.txt
[5/24] 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 |
[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 |
[7/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 |
[8/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/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 |
[10/24] 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 |
[11/25] 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 |
[12/25] 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 |
[13/25] 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 |
[14/25] 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 |
[15/25] 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 |
[16/25] 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 |
[17/25] 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 |
[18/25] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 android