The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Hawk, reference main (f82237), with Swift 6.1 for Linux on 26 Jan 2026 08:10:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/reeen21/Hawk.git
Reference: main
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/reeen21/Hawk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f82237b Merge pull request #5 from reeen21/fix/public-api-improvements
Cloned https://github.com/reeen21/Hawk.git
Revision (git rev-parse @):
f82237b8343e571d183dafa0fd7839e3f04b0534
SUCCESS checkout https://github.com/reeen21/Hawk.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/reeen21/Hawk.git
https://github.com/reeen21/Hawk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "default_localization" : "ja",
  "dependencies" : [
  ],
  "manifest_display_name" : "Hawk",
  "name" : "Hawk",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Hawk",
      "targets" : [
        "Hawk"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HawkTests",
      "module_type" : "SwiftTarget",
      "name" : "HawkTests",
      "path" : "Tests/HawkTests",
      "sources" : [
        "HawkTests.swift"
      ],
      "target_dependencies" : [
        "Hawk"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Hawk",
      "module_type" : "SwiftTarget",
      "name" : "Hawk",
      "path" : "Sources/Hawk",
      "product_memberships" : [
        "Hawk"
      ],
      "sources" : [
        "Core/Hawk.swift",
        "Core/UpdateLevel.swift",
        "Core/Version.swift",
        "Public Extensions/SwiftUI+CustomDialogModifier.swift",
        "Public Extensions/SwiftUI+ForceUpdateViewModifier.swift",
        "Public Extensions/ViewController+showForceUpdateDialogIfNeeded.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:5a651828b24304580408903d9e8c129215b04dc69edd6058f3847d01e034cce9
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Hawk/Resource/Localizable.xcstrings
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/9] Emitting module Hawk
/host/spi-builder-workspace/Sources/Hawk/Core/Hawk.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A service that manages version checks against the App Store, determining whether
[4/9] Compiling Hawk UpdateLevel.swift
/host/spi-builder-workspace/Sources/Hawk/Core/Hawk.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A service that manages version checks against the App Store, determining whether
[5/9] Compiling Hawk ViewController+showForceUpdateDialogIfNeeded.swift
/host/spi-builder-workspace/Sources/Hawk/Core/Hawk.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A service that manages version checks against the App Store, determining whether
[6/9] Compiling Hawk SwiftUI+ForceUpdateViewModifier.swift
/host/spi-builder-workspace/Sources/Hawk/Core/Hawk.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A service that manages version checks against the App Store, determining whether
[7/9] Compiling Hawk Hawk.swift
/host/spi-builder-workspace/Sources/Hawk/Core/Hawk.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A service that manages version checks against the App Store, determining whether
[8/9] Compiling Hawk Version.swift
/host/spi-builder-workspace/Sources/Hawk/Core/Hawk.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A service that manages version checks against the App Store, determining whether
[9/9] Compiling Hawk SwiftUI+CustomDialogModifier.swift
/host/spi-builder-workspace/Sources/Hawk/Core/Hawk.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A service that manages version checks against the App Store, determining whether
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:5a651828b24304580408903d9e8c129215b04dc69edd6058f3847d01e034cce9
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Hawk/Resource/Localizable.xcstrings
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling Hawk SwiftUI+ForceUpdateViewModifier.swift
/host/spi-builder-workspace/Sources/Hawk/Core/Hawk.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A service that manages version checks against the App Store, determining whether
[3/8] Compiling Hawk ViewController+showForceUpdateDialogIfNeeded.swift
/host/spi-builder-workspace/Sources/Hawk/Core/Hawk.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A service that manages version checks against the App Store, determining whether
[4/8] Compiling Hawk SwiftUI+CustomDialogModifier.swift
/host/spi-builder-workspace/Sources/Hawk/Core/Hawk.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A service that manages version checks against the App Store, determining whether
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/8] Emitting module Hawk
/host/spi-builder-workspace/Sources/Hawk/Core/Hawk.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A service that manages version checks against the App Store, determining whether
[6/8] Compiling Hawk Version.swift
/host/spi-builder-workspace/Sources/Hawk/Core/Hawk.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A service that manages version checks against the App Store, determining whether
[7/8] Compiling Hawk UpdateLevel.swift
/host/spi-builder-workspace/Sources/Hawk/Core/Hawk.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A service that manages version checks against the App Store, determining whether
[8/8] Compiling Hawk Hawk.swift
/host/spi-builder-workspace/Sources/Hawk/Core/Hawk.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | /// A service that manages version checks against the App Store, determining whether
BUILD FAILURE 6.1 linux