The Swift Package Index logo.Swift Package Index

Build Information

Failed to build syntax-highlight-publish-plugin, reference main (fc4b26), with Swift 6.2 for Wasm on 26 Jun 2026 05:20:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerdsupremacist/syntax-highlight-publish-plugin.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/nerdsupremacist/syntax-highlight-publish-plugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fc4b268 Update Package versions
Cloned https://github.com/nerdsupremacist/syntax-highlight-publish-plugin.git
Revision (git rev-parse @):
fc4b268385d0a12fc4d3d158c4a248cc04138db7
SUCCESS checkout https://github.com/nerdsupremacist/syntax-highlight-publish-plugin.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/nerdsupremacist/syntax-highlight-publish-plugin.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/JohnSundell/Splash.git
Fetching https://github.com/JohnSundell/Publish.git
Fetching https://github.com/nerdsupremacist/Syntax.git
Fetching https://github.com/nerdsupremacist/TextMate.git
Fetching https://github.com/nerdsupremacist/syntax-highlight.git
[1/335] Fetching textmate
[336/429] Fetching textmate, syntax-highlight
[430/2609] Fetching textmate, syntax-highlight, splash
[605/5591] Fetching textmate, syntax-highlight, splash, publish
[1232/8362] Fetching textmate, syntax-highlight, splash, publish, syntax
Fetched https://github.com/nerdsupremacist/syntax-highlight.git from cache (0.51s)
Fetched https://github.com/nerdsupremacist/TextMate.git from cache (0.51s)
Fetched https://github.com/JohnSundell/Splash.git from cache (0.51s)
Fetched https://github.com/JohnSundell/Publish.git from cache (0.51s)
Fetched https://github.com/nerdsupremacist/Syntax.git from cache (0.51s)
Computing version for https://github.com/nerdsupremacist/TextMate.git
Computed https://github.com/nerdsupremacist/TextMate.git at 0.1.0 (0.67s)
Fetching https://github.com/nerdsupremacist/SyntaxTree.git
[1/29] Fetching syntaxtree
Fetched https://github.com/nerdsupremacist/SyntaxTree.git from cache (0.34s)
Computing version for https://github.com/nerdsupremacist/syntax-highlight.git
Computed https://github.com/nerdsupremacist/syntax-highlight.git at 0.1.0 (0.50s)
Computing version for https://github.com/nerdsupremacist/SyntaxTree.git
Computed https://github.com/nerdsupremacist/SyntaxTree.git at 0.1.0 (0.15s)
Computing version for https://github.com/JohnSundell/Publish.git
Computed https://github.com/JohnSundell/Publish.git at 0.8.0 (0.16s)
Fetching https://github.com/johnsundell/sweep.git
Fetching https://github.com/johnsundell/files.git
Fetching https://github.com/johnsundell/shellout.git
Fetching https://github.com/johnsundell/ink.git
Fetching https://github.com/johnsundell/plot.git
Fetching https://github.com/johnsundell/codextended.git
[1/980] Fetching shellout
[11/2885] Fetching shellout, ink
[285/4158] Fetching shellout, ink, files
[3332/6267] Fetching shellout, ink, files, plot
[4434/6383] Fetching shellout, ink, files, plot, sweep
Fetched https://github.com/johnsundell/sweep.git from cache (0.38s)
Fetched https://github.com/johnsundell/shellout.git from cache (0.39s)
Fetched https://github.com/johnsundell/ink.git from cache (0.39s)
Fetched https://github.com/johnsundell/plot.git from cache (0.39s)
Fetched https://github.com/johnsundell/files.git from cache (0.39s)
[1/181] Fetching codextended
Fetched https://github.com/johnsundell/codextended.git from cache (0.56s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (0.72s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (0.84s)
Computing version for https://github.com/JohnSundell/Splash.git
Computed https://github.com/JohnSundell/Splash.git at 0.16.0 (0.16s)
Computing version for https://github.com/nerdsupremacist/Syntax.git
Computed https://github.com/nerdsupremacist/Syntax.git at 3.1.0 (0.15s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.15s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.6.0 (0.15s)
Computing version for https://github.com/johnsundell/files.git
Computed https://github.com/johnsundell/files.git at 4.3.0 (0.15s)
Computing version for https://github.com/johnsundell/plot.git
Computed https://github.com/johnsundell/plot.git at 0.14.0 (0.15s)
Creating working copy for https://github.com/nerdsupremacist/TextMate.git
Working copy of https://github.com/nerdsupremacist/TextMate.git resolved at 0.1.0
Creating working copy for https://github.com/johnsundell/plot.git
Working copy of https://github.com/johnsundell/plot.git resolved at 0.14.0
Creating working copy for https://github.com/johnsundell/codextended.git
Working copy of https://github.com/johnsundell/codextended.git resolved at 0.3.0
Creating working copy for https://github.com/JohnSundell/Publish.git
Working copy of https://github.com/JohnSundell/Publish.git resolved at 0.8.0
Creating working copy for https://github.com/johnsundell/files.git
Working copy of https://github.com/johnsundell/files.git resolved at 4.3.0
Creating working copy for https://github.com/johnsundell/shellout.git
Working copy of https://github.com/johnsundell/shellout.git resolved at 2.3.0
Creating working copy for https://github.com/johnsundell/ink.git
Working copy of https://github.com/johnsundell/ink.git resolved at 0.6.0
Creating working copy for https://github.com/nerdsupremacist/syntax-highlight.git
Working copy of https://github.com/nerdsupremacist/syntax-highlight.git resolved at 0.1.0
Creating working copy for https://github.com/nerdsupremacist/Syntax.git
Working copy of https://github.com/nerdsupremacist/Syntax.git resolved at 3.1.0
Creating working copy for https://github.com/johnsundell/sweep.git
Working copy of https://github.com/johnsundell/sweep.git resolved at 0.4.0
Creating working copy for https://github.com/nerdsupremacist/SyntaxTree.git
Working copy of https://github.com/nerdsupremacist/SyntaxTree.git resolved at 0.1.0
Creating working copy for https://github.com/JohnSundell/Splash.git
Working copy of https://github.com/JohnSundell/Splash.git resolved at 0.16.0
Building for debugging...
[0/14] Write sources
[13/14] Write swift-version-24593BA9C3E375BF.txt
[15/144] Emitting module SyntaxTree
[16/144] Compiling Plot ComponentGroup.swift
[17/144] Compiling Plot ControlFlow.swift
[18/144] Compiling Plot Directionality.swift
[19/144] Compiling Plot Document.swift
[20/148] Compiling Plot Component.swift
[21/148] Compiling Plot ComponentAttributes.swift
[22/148] Compiling Plot ComponentBuilder.swift
[23/148] Compiling Plot ComponentContainer.swift
[24/148] Compiling Plot EmptyComponent.swift
[25/148] Compiling Plot EnvironmentKey.swift
[26/148] Compiling Plot EnvironmentValue.swift
[27/148] Compiling Plot HTML.swift
[28/148] Compiling Plot Attribute.swift
[29/148] Emitting module Ink
[30/148] Compiling Plot DocumentEncoding.swift
[31/148] Compiling Plot Element.swift
[32/148] Compiling Plot ElementClosingMode.swift
[33/148] Compiling Plot ElementComponent.swift
[34/148] Compiling Plot ElementDefinition.swift
[35/148] Compiling Ink TextStyle.swift
[36/148] Compiling Ink TextStyleMarker.swift
[37/148] Compiling Ink URL.swift
[38/148] Compiling Ink URLDeclaration.swift
[39/148] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/shellout/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/148] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/shellout/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
  6 |
  7 | import Foundation
  8 | import Dispatch
    |        `- error: no such module 'Dispatch'
  9 |
 10 | // MARK: - API
[41/148] Compiling Plot HTMLInputType.swift
[42/148] Compiling Plot HTMLLinkRelationship.swift
[43/148] Compiling Plot HTMLListStyle.swift
[44/148] Compiling Plot HTMLVideoFormat.swift
[45/148] Emitting module Codextended
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Theme.swift:18:32: error: cannot find type 'Color' in scope
16 |     public var font: Font
17 |     /// What color to use for plain text (no highlighting)
18 |     public var plainTextColor: Color
   |                                `- error: cannot find type 'Color' in scope
19 |     /// What color to use for the background
20 |     public var backgroundColor: Color
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Theme.swift:20:33: error: cannot find type 'Color' in scope
18 |     public var plainTextColor: Color
19 |     /// What color to use for the background
20 |     public var backgroundColor: Color
   |                                 `- error: cannot find type 'Color' in scope
21 |     /// What color to use for the text's highlighted tokens
22 |     public var tokenColors: [TokenType: Color]
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Theme.swift:22:41: error: cannot find type 'Color' in scope
20 |     public var backgroundColor: Color
21 |     /// What color to use for the text's highlighted tokens
22 |     public var tokenColors: [TokenType: Color]
   |                                         `- error: cannot find type 'Color' in scope
23 |
24 |     public init(font: Font,
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Font.swift:42:24: error: cannot find type 'Loaded' in scope
 40 |         case system
 41 |         /// Use a pre-loaded font
 42 |         case preloaded(Loaded)
    |                        `- error: cannot find type 'Loaded' in scope
 43 |         /// Load a font file from a given file system path
 44 |         case path(String)
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Font.swift:49:20: error: cannot find type 'Loaded' in scope
 47 |
 48 | internal extension Font {
 49 |     func load() -> Loaded {
    |                    `- error: cannot find type 'Loaded' in scope
 50 |         switch resource {
 51 |         case .system:
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Output/AttributedStringOutputFormat.swift:30:56: error: missing argument for parameter 'string' in call
28 |         private let theme: Theme
29 |         private lazy var font = theme.font.load()
30 |         private var string = NSMutableAttributedString()
   |                                                        `- error: missing argument for parameter 'string' in call
31 |
32 |         fileprivate init(theme: Theme) {
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 |
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Output/AttributedStringOutputFormat.swift:57:46: error: 'Loaded' is not a member type of struct 'Splash.Font'
55 |
56 | private extension NSMutableAttributedString {
57 |     func append(_ string: String, font: Font.Loaded, color: Color) {
   |                                              `- error: 'Loaded' is not a member type of struct 'Splash.Font'
58 |         let attributedString = NSAttributedString(string: string, attributes: [
59 |             .foregroundColor: color,
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Font.swift:15:15: note: 'Font' declared here
 13 | /// simplified font representation rather than `NSFont`
 14 | /// or `UIFont`.
 15 | public struct Font {
    |               `- note: 'Font' declared here
 16 |     /// The underlying resource used to load the font
 17 |     public var resource: Resource
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Output/AttributedStringOutputFormat.swift:57:61: error: cannot find type 'Color' in scope
55 |
56 | private extension NSMutableAttributedString {
57 |     func append(_ string: String, font: Font.Loaded, color: Color) {
   |                                                             `- error: cannot find type 'Color' in scope
58 |         let attributedString = NSAttributedString(string: string, attributes: [
59 |             .foregroundColor: color,
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Output/AttributedStringOutputFormat.swift:37:52: error: cannot find 'Color' in scope
35 |
36 |         public mutating func addToken(_ token: String, ofType type: TokenType) {
37 |             let color = theme.tokenColors[type] ?? Color(red: 1, green: 1, blue: 1)
   |                                                    `- error: cannot find 'Color' in scope
38 |             string.append(token, font: font, color: color)
39 |         }
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Output/AttributedStringOutputFormat.swift:46:25: error: cannot find 'Color' in scope
44 |
45 |         public mutating func addWhitespace(_ whitespace: String) {
46 |             let color = Color(red: 1, green: 1, blue: 1)
   |                         `- error: cannot find 'Color' in scope
47 |             string.append(whitespace, font: font, color: color)
48 |         }
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Output/AttributedStringOutputFormat.swift:59:14: error: type 'NSAttributedString.Key' has no member 'foregroundColor'
57 |     func append(_ string: String, font: Font.Loaded, color: Color) {
58 |         let attributedString = NSAttributedString(string: string, attributes: [
59 |             .foregroundColor: color,
   |              `- error: type 'NSAttributedString.Key' has no member 'foregroundColor'
60 |             .font: font
61 |         ])
BUILD FAILURE 6.2 wasm