The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CoreProtocolLibrary, reference main (ea93f5), with Swift 6.1 for Linux on 26 Sep 2025 11:30:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/tommysima163/CoreProtocolLibrary.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/tommysima163/CoreProtocolLibrary
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ea93f53 fix a issue
Cloned https://github.com/tommysima163/CoreProtocolLibrary.git
Revision (git rev-parse @):
ea93f534db7a7c0b8d6ba5b6db7b1ddd3b917301
SUCCESS checkout https://github.com/tommysima163/CoreProtocolLibrary.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tommysima163/CoreProtocolLibrary.git
https://github.com/tommysima163/CoreProtocolLibrary.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CoreProtocolLibrary",
  "name" : "CoreProtocolLibrary",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CoreProtocolLibrary",
      "targets" : [
        "CoreProtocolLibrary"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CoreProtocolLibrary",
      "module_type" : "SwiftTarget",
      "name" : "CoreProtocolLibrary",
      "path" : "Sources/CoreProtocolLibrary",
      "product_memberships" : [
        "CoreProtocolLibrary"
      ],
      "sources" : [
        "CoreProtocolLibrary.swift",
        "LoginModuleProtocol.swift",
        "ModuleRouter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
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/6] Emitting module CoreProtocolLibrary
/host/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
 1 | // The Swift Programming Language
 2 | // https://docs.swift.org/swift-book
 3 | import UIKit
   |        `- error: no such module 'UIKit'
 4 |
 5 | /// 登录模块对外提供的功能契约
[4/6] Compiling CoreProtocolLibrary LoginModuleProtocol.swift
/host/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
 1 | // The Swift Programming Language
 2 | // https://docs.swift.org/swift-book
 3 | import UIKit
   |        `- error: no such module 'UIKit'
 4 |
 5 | /// 登录模块对外提供的功能契约
[5/6] Compiling CoreProtocolLibrary CoreProtocolLibrary.swift
/host/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
 1 | // The Swift Programming Language
 2 | // https://docs.swift.org/swift-book
 3 | import UIKit
   |        `- error: no such module 'UIKit'
 4 |
 5 | /// 登录模块对外提供的功能契约
[6/6] Compiling CoreProtocolLibrary ModuleRouter.swift
/host/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
 1 | // The Swift Programming Language
 2 | // https://docs.swift.org/swift-book
 3 | import UIKit
   |        `- error: no such module 'UIKit'
 4 |
 5 | /// 登录模块对外提供的功能契约
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:808cb2b2a6cec76654a3acbd283c6c2205bc60d2b29562c95b9f5147612f6d32
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Emitting module CoreProtocolLibrary
/host/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
 1 | // The Swift Programming Language
 2 | // https://docs.swift.org/swift-book
 3 | import UIKit
   |        `- error: no such module 'UIKit'
 4 |
 5 | /// 登录模块对外提供的功能契约
[3/5] Compiling CoreProtocolLibrary LoginModuleProtocol.swift
/host/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
 1 | // The Swift Programming Language
 2 | // https://docs.swift.org/swift-book
 3 | import UIKit
   |        `- error: no such module 'UIKit'
 4 |
 5 | /// 登录模块对外提供的功能契约
[4/5] Compiling CoreProtocolLibrary CoreProtocolLibrary.swift
/host/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
 1 | // The Swift Programming Language
 2 | // https://docs.swift.org/swift-book
 3 | import UIKit
   |        `- error: no such module 'UIKit'
 4 |
 5 | /// 登录模块对外提供的功能契约
[5/5] Compiling CoreProtocolLibrary ModuleRouter.swift
/host/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
 1 | // The Swift Programming Language
 2 | // https://docs.swift.org/swift-book
 3 | import UIKit
   |        `- error: no such module 'UIKit'
 4 |
 5 | /// 登录模块对外提供的功能契约
BUILD FAILURE 6.1 linux