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.2 (beta) for Linux on 24 Jun 2025 05:25:58 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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.2
Building package at path:  $PWD
https://github.com/mtj0928/SyntaxInk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70927] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.41s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (9.22s)
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
[13/25] Emitting module SwiftSyntax510
[14/25] Compiling SwiftSyntax510 Empty.swift
[17/26] Emitting module SwiftSyntax509
[18/26] Compiling SwiftSyntax509 Empty.swift
[20/27] Emitting module SwiftSyntax601
[21/27] Compiling SwiftSyntax601 Empty.swift
[23/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 {
[24/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 {
[25/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 {
[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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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.2 linux