Build Information
Failed to build SagaInkMarkdownReader, reference 1.0.1 (84558e
), with Swift 6.2 (beta) for Android on 24 Jun 2025 03:34:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loopwerk/SagaInkMarkdownReader.git
Reference: 1.0.1
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.0.1 -> FETCH_HEAD
HEAD is now at 84558e0 tests: Add unit tests
Cloned https://github.com/loopwerk/SagaInkMarkdownReader.git
Revision (git rev-parse @):
84558e0f43bbc8c53e69d4df4b53574924742176
SUCCESS checkout https://github.com/loopwerk/SagaInkMarkdownReader.git at 1.0.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/loopwerk/SagaInkMarkdownReader.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/JohnSundell/Splash
Fetching https://github.com/johnsundell/ink.git
Fetching https://github.com/loopwerk/Saga.git
[1/2167] Fetching splash
[175/4072] Fetching splash, ink
[863/7092] Fetching splash, ink, saga
Fetched https://github.com/JohnSundell/Splash from cache (0.35s)
Fetched https://github.com/johnsundell/ink.git from cache (0.45s)
Fetched https://github.com/loopwerk/Saga.git from cache (0.46s)
Computing version for https://github.com/JohnSundell/Splash
Computed https://github.com/JohnSundell/Splash at 0.16.0 (1.21s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.6.0 (0.78s)
Computing version for https://github.com/loopwerk/Saga.git
Computed https://github.com/loopwerk/Saga.git at 2.4.0 (0.80s)
Fetching https://github.com/kylef/PathKit
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit from cache (0.38s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (4.40s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.39s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.18s)
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.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/loopwerk/Saga.git
Working copy of https://github.com/loopwerk/Saga.git resolved at 2.4.0
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-8C5A4AE7A8CE2BA.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/63] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: 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
[8/63] Compiling Ink List.swift
[9/63] Compiling Ink Metadata.swift
[10/63] Compiling Ink Modifiable.swift
[11/63] Compiling Ink ModifierCollection.swift
[12/67] Compiling Ink HTMLConvertible.swift
[13/67] Compiling Ink Hashable+AnyOf.swift
[14/67] Compiling Ink Heading.swift
[15/67] Compiling Ink HorizontalLine.swift
[16/67] Compiling Ink Markdown.swift
[17/67] Compiling Ink MarkdownParser.swift
[18/67] Compiling Ink Modifier.swift
[19/67] Compiling Ink Blockquote.swift
[20/67] Compiling Ink Character+Classification.swift
[21/67] Compiling Ink Character+Escaping.swift
[22/67] Compiling Ink CodeBlock.swift
[23/67] Compiling Ink FormattedText.swift
[24/67] Compiling Ink Fragment.swift
[25/67] Compiling Ink HTML.swift
[26/67] Emitting module Ink
[27/67] Compiling Ink Image.swift
[28/67] Compiling Ink InlineCode.swift
[29/67] Compiling Ink KeyPathPatterns.swift
[30/67] Compiling Ink Link.swift
[31/67] Compiling Ink TextStyle.swift
[32/67] Compiling Ink TextStyleMarker.swift
[33/67] Compiling Ink URL.swift
[34/67] Compiling Ink URLDeclaration.swift
[35/67] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: 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
[39/67] Compiling Ink Reader.swift
[40/67] Compiling Ink Require.swift
[41/67] Compiling Ink Substring+Trimming.swift
[42/67] Compiling Ink Table.swift
[43/67] Compiling Ink NamedURLCollection.swift
[44/67] Compiling Ink Paragraph.swift
[45/67] Compiling Ink PlainTextConvertible.swift
[46/67] Compiling Ink Readable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/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
/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 android