The Swift Package Index logo.Swift Package Index

Build Information

Failed to build syntax-highlight, reference 0.1.0 (61ea28), with Swift 6.3 for Linux on 13 Apr 2026 06:17:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerdsupremacist/syntax-highlight.git
Reference: 0.1.0
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/nerdsupremacist/syntax-highlight
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 61ea287 updating syntax tree
Cloned https://github.com/nerdsupremacist/syntax-highlight.git
Revision (git rev-parse @):
61ea287164c6453925d7967f9d7fa6b236752e3d
SUCCESS checkout https://github.com/nerdsupremacist/syntax-highlight.git at 0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/nerdsupremacist/syntax-highlight.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/nerdsupremacist/SyntaxTree.git
[1/29] Fetching syntaxtree
Fetched https://github.com/nerdsupremacist/SyntaxTree.git from cache (0.26s)
Computing version for https://github.com/nerdsupremacist/SyntaxTree.git
Computed https://github.com/nerdsupremacist/SyntaxTree.git at 0.1.0 (1.13s)
Creating working copy for https://github.com/nerdsupremacist/SyntaxTree.git
Working copy of https://github.com/nerdsupremacist/SyntaxTree.git resolved at 0.1.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/10] Compiling SyntaxTree Kind.swift
[5/10] Compiling SyntaxTree Location.swift
[6/10] Compiling SyntaxTree LineColumnIndex.swift
[7/10] Emitting module SyntaxTree
[8/10] Compiling SyntaxTree SyntaxTree.swift
[9/10] Compiling SyntaxTree MutableSyntaxTree.swift
[10/10] Compiling SyntaxTree SyntaxTreeFactory.swift
[12/16] Compiling SyntaxHighlight Parser+attributedString.swift
/host/spi-builder-workspace/Sources/SyntaxHighlight/Parser+attributedString.swift:25:49: error: missing argument for parameter 'string' in call
23 |     internal init(attributes: @escaping (Kind?, [String : Any]) -> [NSAttributedString.Key : Any]?) {
24 |         self.attributes = attributes
25 |         self.string = NSMutableAttributedString()
   |                                                 `- error: missing argument for parameter 'string' in call
26 |     }
27 |
Foundation.NSMutableAttributedString.init:2:17: note: 'init(string:)' declared here
1 | class NSMutableAttributedString {
2 | override public init(string: String)}
  |                 `- note: 'init(string:)' declared here
3 |
[13/16] Compiling SyntaxHighlight Format.swift
[14/16] Emitting module SyntaxHighlight
[15/16] Compiling SyntaxHighlight Parser+highlight.swift
[16/16] Compiling SyntaxHighlight Parser+html.swift
BUILD FAILURE 6.3 linux