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 v0.2.1 (b2d219), with Swift 6.1 for Wasm on 30 May 2025 06:35:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.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:         wasm
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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
[1/15386] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.34s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.96s)
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.1
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.58.2/SwiftLintBinary.artifactbundle.zip
[1369/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 (4.18s)
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
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] Emitting module ArgumentParser
[13/70] Compiling ArgumentParser Errors.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/70] Compiling ArgumentParser Flag.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)
[15/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 |
[16/72] Compiling ArgumentParser ArgumentVisibility.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/72] Compiling ArgumentParser CompletionKind.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/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 |
[19/72] Compiling ArgumentParser OptionGroup.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 |
[20/72] Compiling ArgumentParser AsyncParsableCommand.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 |
[21/72] 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 |
[22/72] Compiling ArgumentParser NameSpecification.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 |
[23/72] Compiling ArgumentParser Option.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 |
[24/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 |
[25/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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
Building for debugging...
[2/9] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/23] 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 |
[5/23] 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 |
[6/23] 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 |
[7/23] 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 |
[8/23] 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 |
[9/23] 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 |
[10/23] 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 |
[11/23] 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 |
[12/23] 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 |
[13/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 |
[14/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 |
[15/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 |
[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.1 wasm