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 SyntaxInk, reference main (76a4c1), with Swift 6.0 for Linux on 26 May 2025 19:24:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mtj0928/SyntaxInk.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/mtj0928/SyntaxInk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 76a4c1c Update README.md
Cloned https://github.com/mtj0928/SyntaxInk.git
Revision (git rev-parse @):
76a4c1c0fc4132c48ec564a4a28fd96ae9e60d6e
SUCCESS checkout https://github.com/mtj0928/SyntaxInk.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mtj0928/SyntaxInk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:eb4fa402aea9a5d8f220b50fa960a581858eee7d87d88f234799973af2acd8ee
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70443] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.22s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (3.18s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Building for debugging...
[0/10] Write sources
[8/10] Compiling _SwiftSyntaxCShims dummy.c
[8/10] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/24] Emitting module SwiftSyntax509
[12/24] Emitting module SyntaxInk
/host/spi-builder-workspace/Sources/SyntaxInk/AttributedString+Platform.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | extension AttributedString {
[13/24] Compiling SwiftSyntax509 Empty.swift
[14/24] Compiling SyntaxInk AttributedString+Platform.swift
/host/spi-builder-workspace/Sources/SyntaxInk/AttributedString+Platform.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | extension AttributedString {
[15/25] Emitting module SwiftSyntax601
[16/25] Compiling SwiftSyntax601 Empty.swift
[18/26] Emitting module SwiftSyntax600
[19/26] Compiling SwiftSyntax600 Empty.swift
[21/27] Compiling SwiftSyntax510 Empty.swift
[22/27] Emitting module SwiftSyntax510
[25/92] Compiling SyntaxInk Theme.swift
/host/spi-builder-workspace/Sources/SyntaxInk/AttributedString+Platform.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | extension AttributedString {
[26/92] Compiling SyntaxInk SyntaxStyle.swift
/host/spi-builder-workspace/Sources/SyntaxInk/AttributedString+Platform.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | extension AttributedString {
[27/92] Compiling SyntaxInk Grammar.swift
/host/spi-builder-workspace/Sources/SyntaxInk/AttributedString+Platform.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | extension AttributedString {
[28/92] Compiling SyntaxInk SyntaxHighlighter.swift
/host/spi-builder-workspace/Sources/SyntaxInk/AttributedString+Platform.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | extension AttributedString {
BUILD FAILURE 6.0 linux