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 (735dd1), with Swift 6.1 for Wasm on 8 Jun 2025 18:04:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 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 735dd17 Swift: Bump github.com/apple/swift-argument-parser (#9)
Cloned https://github.com/mat1th/unlocker.git
Revision (git rev-parse @):
735dd17c4478ced9af6f8d086739181b537a2c01
SUCCESS checkout https://github.com/mat1th/unlocker.git at master
========================================
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-4609320-1":/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/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.73s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.15s)
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 (3.21s)
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] 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 |
[13/66] 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 |
[14/66] 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 |
[15/66] Compiling ArgumentParser FishCompletionsGenerator.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/66] Compiling ArgumentParser ZshCompletionsGenerator.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/66] 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 |
[18/66] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/67] 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 |
[20/67] Compiling ArgumentParser Argument.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/67] Compiling ArgumentParser ArgumentHelp.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/67] 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 |
[23/67] 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 |
[24/67] 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 |
[25/67] Emitting module ArgumentParser
[26/72] Compiling ArgumentParser OptionGroup.swift
[27/72] Compiling ArgumentParser AsyncParsableCommand.swift
[28/72] Compiling ArgumentParser CommandConfiguration.swift
[29/72] Compiling ArgumentParser CommandGroup.swift
[30/72] Compiling ArgumentParser EnumerableFlag.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
[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/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 |
[6/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)
[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 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 |
[9/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 |
[10/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 |
[11/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 |
[12/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 |
[13/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 |
[14/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 |
[15/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 |
[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