Build Information
Failed to build syntax-highlight-publish-plugin, reference main (fc4b26), with Swift 6.3 for Wasm on 1 May 2026 15:05:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
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.3
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-4606859-2":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/JohnSundell/Publish.git
Fetching https://github.com/nerdsupremacist/Syntax.git
Fetching https://github.com/nerdsupremacist/syntax-highlight.git
Fetching https://github.com/nerdsupremacist/TextMate.git
Fetching https://github.com/JohnSundell/Splash.git
[1/335] Fetching textmate
[336/2508] Fetching textmate, splash
[510/5490] Fetching textmate, splash, publish
[511/8261] Fetching textmate, splash, publish, syntax
[3009/8355] Fetching textmate, splash, publish, syntax, syntax-highlight
Fetched https://github.com/nerdsupremacist/syntax-highlight.git from cache (0.44s)
Fetched https://github.com/nerdsupremacist/TextMate.git from cache (0.44s)
[7677/7926] Fetching splash, publish, syntax
Fetched https://github.com/JohnSundell/Publish.git from cache (0.45s)
[4889/4944] Fetching splash, syntax
Fetched https://github.com/JohnSundell/Splash.git from cache (0.44s)
[2771/2771] Fetching syntax
Fetched https://github.com/nerdsupremacist/Syntax.git from cache (0.55s)
Computing version for https://github.com/nerdsupremacist/TextMate.git
Computed https://github.com/nerdsupremacist/TextMate.git at 0.1.0 (1.11s)
Fetching https://github.com/nerdsupremacist/SyntaxTree.git
[1/29] Fetching syntaxtree
Fetched https://github.com/nerdsupremacist/SyntaxTree.git from cache (0.27s)
Computing version for https://github.com/nerdsupremacist/syntax-highlight.git
Computed https://github.com/nerdsupremacist/syntax-highlight.git at 0.1.0 (0.82s)
Computing version for https://github.com/nerdsupremacist/SyntaxTree.git
Computed https://github.com/nerdsupremacist/SyntaxTree.git at 0.1.0 (0.63s)
Computing version for https://github.com/JohnSundell/Publish.git
Computed https://github.com/JohnSundell/Publish.git at 0.8.0 (0.72s)
Fetching https://github.com/johnsundell/ink.git
Fetching https://github.com/johnsundell/plot.git
Fetching https://github.com/johnsundell/shellout.git
Fetching https://github.com/johnsundell/codextended.git
Fetching https://github.com/johnsundell/files.git
[1/980] Fetching shellout
[315/1161] Fetching shellout, codextended
[1162/2434] Fetching shellout, codextended, files
[1748/4339] Fetching shellout, codextended, files, ink
Fetched https://github.com/johnsundell/codextended.git from cache (0.52s)
[1948/4158] Fetching shellout, files, ink
[2407/6267] Fetching shellout, files, ink, plot
Fetched https://github.com/johnsundell/shellout.git from cache (0.56s)
[2687/5287] Fetching files, ink, plot
Fetched https://github.com/johnsundell/files.git from cache (0.70s)
Fetching https://github.com/johnsundell/sweep.git
Fetched https://github.com/johnsundell/ink.git from cache (0.80s)
Fetched https://github.com/johnsundell/plot.git from cache (0.80s)
[1/116] Fetching sweep
Fetched https://github.com/johnsundell/sweep.git from cache (0.34s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (2.10s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (3.85s)
Computing version for https://github.com/JohnSundell/Splash.git
Computed https://github.com/JohnSundell/Splash.git at 0.16.0 (0.52s)
Computing version for https://github.com/nerdsupremacist/Syntax.git
Computed https://github.com/nerdsupremacist/Syntax.git at 3.1.0 (0.93s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.47s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.6.0 (0.58s)
Computing version for https://github.com/johnsundell/files.git
Computed https://github.com/johnsundell/files.git at 4.3.0 (0.87s)
Computing version for https://github.com/johnsundell/plot.git
Computed https://github.com/johnsundell/plot.git at 0.14.0 (1.06s)
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/plot.git
Working copy of https://github.com/johnsundell/plot.git resolved at 0.14.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/johnsundell/files.git
Working copy of https://github.com/johnsundell/files.git resolved at 4.3.0
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/Publish.git
Working copy of https://github.com/JohnSundell/Publish.git resolved at 0.8.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/Splash.git
Working copy of https://github.com/JohnSundell/Splash.git resolved at 0.16.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/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/ink.git
Working copy of https://github.com/johnsundell/ink.git resolved at 0.6.0
Building for debugging...
[0/14] Write sources
[13/14] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/144] Emitting module Splash
/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/Theming/Color.swift:16:20: error: cannot find type 'Color' in scope
14 |
15 | #if !os(Linux)
16 | internal extension Color {
| `- error: cannot find type 'Color' in scope
17 | convenience init(red: CGFloat, green: CGFloat, blue: CGFloat) {
18 | self.init(red: red, green: green, blue: blue, alpha: 1)
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Font.swift:60:39: error: cannot find type 'Loaded' in scope
58 | }
59 |
60 | private func loadDefaultFont() -> Loaded {
| `- error: cannot find type 'Loaded' in scope
61 | let font: Loaded?
62 |
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Font.swift:72:49: error: cannot find type 'Loaded' in scope
70 | }
71 |
72 | private func load(fromPath path: String) -> Loaded? {
| `- error: cannot find type 'Loaded' in scope
73 | guard
74 | let url = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, path as CFString, .cfurlposixPathStyle, false),
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Theme.swift:25:33: error: cannot find type 'Color' in scope
23 |
24 | public init(font: Font,
25 | plainTextColor: Color,
| `- error: cannot find type 'Color' in scope
26 | tokenColors: [TokenType: Color],
27 | backgroundColor: Color = Color(white: 0.12, alpha: 1)) {
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Theme.swift:26:42: error: cannot find type 'Color' in scope
24 | public init(font: Font,
25 | plainTextColor: Color,
26 | tokenColors: [TokenType: Color],
| `- error: cannot find type 'Color' in scope
27 | backgroundColor: Color = Color(white: 0.12, alpha: 1)) {
28 | self.font = font
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Theme.swift:27:34: error: cannot find type 'Color' in scope
25 | plainTextColor: Color,
26 | tokenColors: [TokenType: Color],
27 | backgroundColor: Color = Color(white: 0.12, alpha: 1)) {
| `- error: cannot find type 'Color' in scope
28 | self.font = font
29 | self.plainTextColor = plainTextColor
[16/147] Emitting module Ink
[17/151] Emitting module Plot
[18/159] Compiling Ink HTMLConvertible.swift
[19/159] Compiling Ink Hashable+AnyOf.swift
[20/159] Compiling Ink Heading.swift
[21/159] Compiling Ink HorizontalLine.swift
[22/159] Compiling Ink TextStyle.swift
[23/159] Compiling Ink TextStyleMarker.swift
[24/159] Compiling Ink URL.swift
[25/159] Compiling Ink URLDeclaration.swift
[26/159] Compiling Ink Markdown.swift
[27/159] Compiling Ink MarkdownParser.swift
[28/159] Compiling Ink Modifier.swift
[29/159] Compiling Ink Blockquote.swift
[30/159] Compiling Ink Character+Classification.swift
[31/159] Compiling Ink Character+Escaping.swift
[32/159] Compiling Ink CodeBlock.swift
[33/159] Compiling Ink FormattedText.swift
[34/159] Compiling Ink Fragment.swift
[35/159] Compiling Ink HTML.swift
[36/159] Compiling Plot SiteMapElements.swift
[37/159] Compiling Plot TwitterCardType.swift
[38/159] Compiling Plot URLRepresentable.swift
[39/159] Compiling Plot XML.swift
[40/159] Compiling Plot XMLAttributes.swift
[41/159] Compiling Plot XMLElements.swift
[42/159] Compiling Plot AnyAttribute.swift
[43/159] Compiling Plot AnyElement.swift
[44/159] Compiling SyntaxTree LineColumnIndex.swift
[45/159] Compiling Ink Require.swift
[46/159] Compiling Ink Substring+Trimming.swift
[47/159] Compiling Ink Table.swift
[52/159] Compiling Plot Language.swift
[53/159] Compiling Ink Modifiable.swift
[54/159] Compiling Ink ModifierCollection.swift
[55/159] Compiling Ink NamedURLCollection.swift
/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 | ])
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Output/AttributedStringOutputFormat.swift:60:14: error: type 'NSAttributedString.Key' has no member 'font'
58 | let attributedString = NSAttributedString(string: string, attributes: [
59 | .foregroundColor: color,
60 | .font: font
| `- error: type 'NSAttributedString.Key' has no member 'font'
61 | ])
62 |
/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 | ])
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Output/AttributedStringOutputFormat.swift:60:14: error: type 'NSAttributedString.Key' has no member 'font'
58 | let attributedString = NSAttributedString(string: string, attributes: [
59 | .foregroundColor: color,
60 | .font: font
| `- error: type 'NSAttributedString.Key' has no member 'font'
61 | ])
62 |
/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 | ])
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Output/AttributedStringOutputFormat.swift:60:14: error: type 'NSAttributedString.Key' has no member 'font'
58 | let attributedString = NSAttributedString(string: string, attributes: [
59 | .foregroundColor: color,
60 | .font: font
| `- error: type 'NSAttributedString.Key' has no member 'font'
61 | ])
62 |
[59/159] Compiling Ink List.swift
[60/159] Compiling Ink Metadata.swift
[63/159] Compiling Ink Reader.swift
[68/159] Compiling Splash Segment.swift
[69/159] Compiling Splash TokenType.swift
[70/159] Compiling Splash Tokenizer.swift
[71/159] Compiling Ink Image.swift
[72/159] Compiling Ink InlineCode.swift
[73/159] Compiling Ink KeyPathPatterns.swift
[74/159] Compiling Ink Link.swift
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Color.swift:16:20: error: cannot find type 'Color' in scope
14 |
15 | #if !os(Linux)
16 | internal extension Color {
| `- error: cannot find type 'Color' in scope
17 | convenience init(red: CGFloat, green: CGFloat, blue: CGFloat) {
18 | self.init(red: red, green: green, blue: blue, alpha: 1)
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Color.swift:17:27: error: cannot find type 'CGFloat' in scope
15 | #if !os(Linux)
16 | internal extension Color {
17 | convenience init(red: CGFloat, green: CGFloat, blue: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
18 | self.init(red: red, green: green, blue: blue, alpha: 1)
19 | }
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Color.swift:17:43: error: cannot find type 'CGFloat' in scope
15 | #if !os(Linux)
16 | internal extension Color {
17 | convenience init(red: CGFloat, green: CGFloat, blue: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
18 | self.init(red: red, green: green, blue: blue, alpha: 1)
19 | }
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Color.swift:17:58: error: cannot find type 'CGFloat' in scope
15 | #if !os(Linux)
16 | internal extension Color {
17 | convenience init(red: CGFloat, green: CGFloat, blue: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
18 | self.init(red: red, green: green, blue: blue, alpha: 1)
19 | }
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Color.swift:16:20: error: cannot find type 'Color' in scope
14 |
15 | #if !os(Linux)
16 | internal extension Color {
| `- error: cannot find type 'Color' in scope
17 | convenience init(red: CGFloat, green: CGFloat, blue: CGFloat) {
18 | self.init(red: red, green: green, blue: blue, alpha: 1)
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Color.swift:17:27: error: cannot find type 'CGFloat' in scope
15 | #if !os(Linux)
16 | internal extension Color {
17 | convenience init(red: CGFloat, green: CGFloat, blue: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
18 | self.init(red: red, green: green, blue: blue, alpha: 1)
19 | }
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Color.swift:17:43: error: cannot find type 'CGFloat' in scope
15 | #if !os(Linux)
16 | internal extension Color {
17 | convenience init(red: CGFloat, green: CGFloat, blue: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
18 | self.init(red: red, green: green, blue: blue, alpha: 1)
19 | }
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Color.swift:17:58: error: cannot find type 'CGFloat' in scope
15 | #if !os(Linux)
16 | internal extension Color {
17 | convenience init(red: CGFloat, green: CGFloat, blue: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
18 | self.init(red: red, green: green, blue: blue, alpha: 1)
19 | }
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Color.swift:16:20: error: cannot find type 'Color' in scope
14 |
15 | #if !os(Linux)
16 | internal extension Color {
| `- error: cannot find type 'Color' in scope
17 | convenience init(red: CGFloat, green: CGFloat, blue: CGFloat) {
18 | self.init(red: red, green: green, blue: blue, alpha: 1)
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Color.swift:17:27: error: cannot find type 'CGFloat' in scope
15 | #if !os(Linux)
16 | internal extension Color {
17 | convenience init(red: CGFloat, green: CGFloat, blue: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
18 | self.init(red: red, green: green, blue: blue, alpha: 1)
19 | }
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Color.swift:17:43: error: cannot find type 'CGFloat' in scope
15 | #if !os(Linux)
16 | internal extension Color {
17 | convenience init(red: CGFloat, green: CGFloat, blue: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
18 | self.init(red: red, green: green, blue: blue, alpha: 1)
19 | }
/host/spi-builder-workspace/.build/checkouts/Splash/Sources/Splash/Theming/Color.swift:17:58: error: cannot find type 'CGFloat' in scope
15 | #if !os(Linux)
16 | internal extension Color {
17 | convenience init(red: CGFloat, green: CGFloat, blue: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope
18 | self.init(red: red, green: green, blue: blue, alpha: 1)
19 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[82/160] 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
[83/160] 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
[102/160] Emitting module Files
[103/160] Emitting module Codextended
[104/160] Emitting module Sweep
BUILD FAILURE 6.3 wasm