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 0.0.2 (66fea7), with Swift 6.0 for Linux on 25 May 2025 07:13:10 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: 0.0.2
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
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at 66fea71 Expose an interface
Cloned https://github.com/mtj0928/SyntaxInk.git
Revision (git rev-parse @):
66fea7139f8e27cc2ac7c42fa9a5167c59685e16
SUCCESS checkout https://github.com/mtj0928/SyntaxInk.git at 0.0.2
========================================
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/70441] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.56s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (2.58s)
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
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/24] Emitting module SwiftSyntax600
[12/24] Compiling SwiftSyntax600 Empty.swift
[14/25] Compiling SwiftSyntax509 Empty.swift
[15/25] Emitting module SwiftSyntax509
[16/26] Emitting module SwiftSyntax510
[17/26] Compiling SwiftSyntax510 Empty.swift
[20/27] Emitting module SwiftSyntax601
[21/27] Compiling SwiftSyntax601 Empty.swift
[23/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 {
[24/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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 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 {
[27/92] 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 {
[28/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 {
BUILD FAILURE 6.0 linux