The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SagaInkMarkdownReader, reference 1.3.0 (076e63), with Swift 6.3 for Wasm on 18 Nov 2026 23:38:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loopwerk/SagaInkMarkdownReader.git
Reference: 1.3.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/loopwerk/SagaInkMarkdownReader
 * tag               1.3.0      -> FETCH_HEAD
HEAD is now at 076e639 feat: Declare support for Saga 4
Cloned https://github.com/loopwerk/SagaInkMarkdownReader.git
Revision (git rev-parse @):
076e63941f48b2692f236ec6b16181ae4303b28a
SUCCESS checkout https://github.com/loopwerk/SagaInkMarkdownReader.git at 1.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/loopwerk/SagaInkMarkdownReader.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:d3f568d85e0aea9035607cd00c00b956e2abec4c377680cdb286c930e5f653a0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/loopwerk/Saga.git
Fetching https://github.com/johnsundell/Ink.git
Fetching https://github.com/JohnSundell/Splash
[1/2180] Fetching splash
[2/4201] Fetching splash, ink
[133/9416] Fetching splash, ink, saga
Fetched https://github.com/johnsundell/Ink.git from cache (0.41s)
[4266/7395] Fetching splash, saga
Fetched https://github.com/JohnSundell/Splash from cache (0.50s)
Fetched https://github.com/loopwerk/Saga.git from cache (0.50s)
Computing version for https://github.com/JohnSundell/Splash
Computed https://github.com/JohnSundell/Splash at 0.16.0 (1.42s)
Computing version for https://github.com/johnsundell/Ink.git
Computed https://github.com/johnsundell/Ink.git at 0.6.0 (0.18s)
Computing version for https://github.com/loopwerk/Saga.git
Computed https://github.com/loopwerk/Saga.git at 4.0.0 (0.17s)
Fetching https://github.com/loopwerk/SagaPathKit
Fetching https://github.com/apple/swift-crypto
[1/829] Fetching sagapathkit
[830/19777] Fetching sagapathkit, swift-crypto
Fetched https://github.com/loopwerk/SagaPathKit from cache (1.24s)
Fetched https://github.com/apple/swift-crypto from cache (1.25s)
Computing version for https://github.com/loopwerk/SagaPathKit
Computed https://github.com/loopwerk/SagaPathKit at 1.6.1 (1.39s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 5.1.1 (0.96s)
Fetching https://github.com/apple/swift-asn1.git
[1/2077] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.40s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.58s)
Creating working copy for https://github.com/loopwerk/SagaPathKit
Working copy of https://github.com/loopwerk/SagaPathKit resolved at 1.6.1
Creating working copy for https://github.com/loopwerk/Saga.git
Working copy of https://github.com/loopwerk/Saga.git resolved at 4.0.0
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 5.1.1
Creating working copy for https://github.com/JohnSundell/Splash
Working copy of https://github.com/JohnSundell/Splash resolved at 0.16.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.4
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/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/63] Emitting module Ink
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/67] 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
[9/70] Compiling Ink NamedURLCollection.swift
[10/70] Compiling Splash Segment.swift
[11/70] Compiling Splash TokenType.swift
[12/70] Compiling Splash Tokenizer.swift
[13/70] Compiling Ink TextStyle.swift
[14/70] Compiling Ink TextStyleMarker.swift
[15/70] Compiling Ink URL.swift
[16/70] Compiling Ink URLDeclaration.swift
[17/70] Compiling Splash CharacterSet+Contains.swift
[18/70] Compiling Splash Equatable+AnyOf.swift
[19/70] Compiling Splash Int+IsOdd.swift
[20/70] Compiling Splash Sequence+AnyOf.swift
[21/70] Compiling Splash Sequence+Occurrences.swift
[22/70] Compiling Ink HTMLConvertible.swift
[23/70] Compiling Ink Hashable+AnyOf.swift
[24/70] Compiling Ink Heading.swift
[25/70] Compiling Ink HorizontalLine.swift
[26/70] Compiling Ink List.swift
[27/70] Compiling Ink Metadata.swift
[28/70] Compiling Ink Modifiable.swift
[29/70] Compiling Ink ModifierCollection.swift
[30/70] Compiling Ink Image.swift
[31/70] Compiling Ink InlineCode.swift
[32/70] Compiling Ink KeyPathPatterns.swift
[33/70] Compiling Ink Link.swift
[37/70] Compiling Ink Modifier.swift
[38/70] Compiling Ink Blockquote.swift
[39/70] Compiling Ink Character+Classification.swift
[40/70] Compiling Ink Table.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 |     }
[43/70] Compiling Ink Reader.swift
[44/70] Compiling Ink Require.swift
[45/70] Compiling Ink Substring+Trimming.swift
[47/70] Compiling Ink Markdown.swift
[48/70] Compiling Ink MarkdownParser.swift
[56/70] Compiling SagaPathKit SagaPathKit.swift
/host/spi-builder-workspace/.build/checkouts/SagaPathKit/Sources/SagaPathKit.swift:8:10: error: no such module 'Darwin'
  6 |   let system_glob = Glibc.glob
  7 | #else
  8 |   import Darwin
    |          `- error: no such module 'Darwin'
  9 |
 10 |   let system_glob = Darwin.glob
error: emit-module command failed with exit code 1 (use -v to see invocation)
[57/70] Emitting module SagaPathKit
/host/spi-builder-workspace/.build/checkouts/SagaPathKit/Sources/SagaPathKit.swift:8:10: error: no such module 'Darwin'
  6 |   let system_glob = Glibc.glob
  7 | #else
  8 |   import Darwin
    |          `- error: no such module 'Darwin'
  9 |
 10 |   let system_glob = Darwin.glob
BUILD FAILURE 6.3 wasm