Build Information
Failed to build Markup, reference 2.3.0 (6cc984), with Swift 6.3 for Linux on 10 Apr 2026 20:55:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gonzalezreal/Markup.git
Reference: 2.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/gonzalezreal/Markup
* tag 2.3.0 -> FETCH_HEAD
HEAD is now at 6cc9840 Add proper support for Xcode 11 and SPM (#14)
Cloned https://github.com/gonzalezreal/Markup.git
Revision (git rev-parse @):
6cc9840d7bcd93e3255acb41f4826e0c9e8f5fbe
SUCCESS checkout https://github.com/gonzalezreal/Markup.git at 2.3.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/gonzalezreal/Markup.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling Markup MarkupRenderer.swift
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:16:24: error: cannot find type 'Font' in scope
14 |
15 | public final class MarkupRenderer {
16 | private let baseFont: Font
| `- error: cannot find type 'Font' in scope
17 |
18 | public init(baseFont: Font) {
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:18:24: error: cannot find type 'Font' in scope
16 | private let baseFont: Font
17 |
18 | public init(baseFont: Font) {
| `- error: cannot find type 'Font' in scope
19 | self.baseFont = baseFont
20 | }
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:22:38: error: cannot find type 'NSAttributedString' in scope
20 | }
21 |
22 | public func render(text: String) -> NSAttributedString {
| `- error: cannot find type 'NSAttributedString' in scope
23 | let elements = MarkupParser.parse(text: text)
24 | let attributes = [NSAttributedString.Key.font: baseFont]
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:31:75: error: cannot find type 'NSAttributedString' in scope
29 |
30 | private extension MarkupNode {
31 | func render(withAttributes attributes: [NSAttributedString.Key: Any]) -> NSAttributedString {
| `- error: cannot find type 'NSAttributedString' in scope
32 | guard let currentFont = attributes[NSAttributedString.Key.font] as? Font else {
33 | fatalError("Missing font attribute in \(attributes)")
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:31:42: error: cannot find type 'NSAttributedString' in scope
29 |
30 | private extension MarkupNode {
31 | func render(withAttributes attributes: [NSAttributedString.Key: Any]) -> NSAttributedString {
| `- error: cannot find type 'NSAttributedString' in scope
32 | guard let currentFont = attributes[NSAttributedString.Key.font] as? Font else {
33 | fatalError("Missing font attribute in \(attributes)")
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:59:32: error: cannot find type 'NSAttributedString' in scope
57 | }
58 |
59 | extension Array where Element: NSAttributedString {
| `- error: cannot find type 'NSAttributedString' in scope
60 | func joined() -> NSAttributedString {
61 | let result = NSMutableAttributedString()
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:60:19: error: cannot find type 'NSAttributedString' in scope
58 |
59 | extension Array where Element: NSAttributedString {
60 | func joined() -> NSAttributedString {
| `- error: cannot find type 'NSAttributedString' in scope
61 | let result = NSMutableAttributedString()
62 | for element in self {
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:24:21: error: cannot find 'NSAttributedString' in scope
22 | public func render(text: String) -> NSAttributedString {
23 | let elements = MarkupParser.parse(text: text)
24 | let attributes = [NSAttributedString.Key.font: baseFont]
| `- error: cannot find 'NSAttributedString' in scope
25 |
26 | return elements.map { $0.render(withAttributes: attributes) }.joined()
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:26:65: error: no 'joined' candidates produce the expected contextual result type '_'
24 | let attributes = [NSAttributedString.Key.font: baseFont]
25 |
26 | return elements.map { $0.render(withAttributes: attributes) }.joined()
| `- error: no 'joined' candidates produce the expected contextual result type '_'
27 | }
28 | }
Swift.Sequence.joined:2:36: note: 'joined()' produces 'FlattenSequence<[T]>', not the expected contextual result type '_'
1 | protocol Sequence {
2 | @inlinable public __consuming func joined() -> FlattenSequence<Self>}
| |- note: 'joined()' produces 'FlattenSequence<[T]>', not the expected contextual result type '_'
| `- note: 'joined()' produces 'FlattenSequence<[T]>', not the expected contextual result type '_'
3 |
Swift.BidirectionalCollection.joined:2:13: note: 'joined(separator:)' produces 'String', not the expected contextual result type '_'
1 | protocol BidirectionalCollection {
2 | public func joined(separator: String = "") -> String}
| |- note: 'joined(separator:)' produces 'String', not the expected contextual result type '_'
| `- note: 'joined(separator:)' produces 'String', not the expected contextual result type '_'
3 |
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:32:38: error: cannot find 'NSAttributedString' in scope
30 | private extension MarkupNode {
31 | func render(withAttributes attributes: [NSAttributedString.Key: Any]) -> NSAttributedString {
32 | guard let currentFont = attributes[NSAttributedString.Key.font] as? Font else {
| `- error: cannot find 'NSAttributedString' in scope
33 | fatalError("Missing font attribute in \(attributes)")
34 | }
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:32:71: error: cannot find type 'Font' in scope
30 | private extension MarkupNode {
31 | func render(withAttributes attributes: [NSAttributedString.Key: Any]) -> NSAttributedString {
32 | guard let currentFont = attributes[NSAttributedString.Key.font] as? Font else {
| `- error: cannot find type 'Font' in scope
33 | fatalError("Missing font attribute in \(attributes)")
34 | }
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:38:11: error: cannot find 'NSAttributedString' in scope
36 | switch self {
37 | case .text(let text):
38 | return NSAttributedString(string: text, attributes: attributes)
| `- error: cannot find 'NSAttributedString' in scope
39 |
40 | case .strong(let children):
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:42:18: error: cannot find 'NSAttributedString' in scope
40 | case .strong(let children):
41 | var newAttributes = attributes
42 | newAttributes[NSAttributedString.Key.font] = currentFont.boldFont()
| `- error: cannot find 'NSAttributedString' in scope
43 | return children.map { $0.render(withAttributes: newAttributes) }.joined()
44 |
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:43:69: error: no 'joined' candidates produce the expected contextual result type '_'
41 | var newAttributes = attributes
42 | newAttributes[NSAttributedString.Key.font] = currentFont.boldFont()
43 | return children.map { $0.render(withAttributes: newAttributes) }.joined()
| `- error: no 'joined' candidates produce the expected contextual result type '_'
44 |
45 | case .emphasis(let children):
Swift.Sequence.joined:2:36: note: 'joined()' produces 'FlattenSequence<[T]>', not the expected contextual result type '_'
1 | protocol Sequence {
2 | @inlinable public __consuming func joined() -> FlattenSequence<Self>}
| |- note: 'joined()' produces 'FlattenSequence<[T]>', not the expected contextual result type '_'
| `- note: 'joined()' produces 'FlattenSequence<[T]>', not the expected contextual result type '_'
3 |
Swift.BidirectionalCollection.joined:2:13: note: 'joined(separator:)' produces 'String', not the expected contextual result type '_'
1 | protocol BidirectionalCollection {
2 | public func joined(separator: String = "") -> String}
| |- note: 'joined(separator:)' produces 'String', not the expected contextual result type '_'
| `- note: 'joined(separator:)' produces 'String', not the expected contextual result type '_'
3 |
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:47:18: error: cannot find 'NSAttributedString' in scope
45 | case .emphasis(let children):
46 | var newAttributes = attributes
47 | newAttributes[NSAttributedString.Key.font] = currentFont.italicFont()
| `- error: cannot find 'NSAttributedString' in scope
48 | return children.map { $0.render(withAttributes: newAttributes) }.joined()
49 |
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:48:69: error: no 'joined' candidates produce the expected contextual result type '_'
46 | var newAttributes = attributes
47 | newAttributes[NSAttributedString.Key.font] = currentFont.italicFont()
48 | return children.map { $0.render(withAttributes: newAttributes) }.joined()
| `- error: no 'joined' candidates produce the expected contextual result type '_'
49 |
50 | case .delete(let children):
Swift.Sequence.joined:2:36: note: 'joined()' produces 'FlattenSequence<[T]>', not the expected contextual result type '_'
1 | protocol Sequence {
2 | @inlinable public __consuming func joined() -> FlattenSequence<Self>}
| |- note: 'joined()' produces 'FlattenSequence<[T]>', not the expected contextual result type '_'
| `- note: 'joined()' produces 'FlattenSequence<[T]>', not the expected contextual result type '_'
3 |
Swift.BidirectionalCollection.joined:2:13: note: 'joined(separator:)' produces 'String', not the expected contextual result type '_'
1 | protocol BidirectionalCollection {
2 | public func joined(separator: String = "") -> String}
| |- note: 'joined(separator:)' produces 'String', not the expected contextual result type '_'
| `- note: 'joined(separator:)' produces 'String', not the expected contextual result type '_'
3 |
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:52:18: error: cannot find 'NSAttributedString' in scope
50 | case .delete(let children):
51 | var newAttributes = attributes
52 | newAttributes[NSAttributedString.Key.strikethroughStyle] = NSUnderlineStyle.single.rawValue
| `- error: cannot find 'NSAttributedString' in scope
53 | newAttributes[NSAttributedString.Key.baselineOffset] = 0
54 | return children.map { $0.render(withAttributes: newAttributes) }.joined()
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:52:63: error: cannot find 'NSUnderlineStyle' in scope
50 | case .delete(let children):
51 | var newAttributes = attributes
52 | newAttributes[NSAttributedString.Key.strikethroughStyle] = NSUnderlineStyle.single.rawValue
| `- error: cannot find 'NSUnderlineStyle' in scope
53 | newAttributes[NSAttributedString.Key.baselineOffset] = 0
54 | return children.map { $0.render(withAttributes: newAttributes) }.joined()
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:53:18: error: cannot find 'NSAttributedString' in scope
51 | var newAttributes = attributes
52 | newAttributes[NSAttributedString.Key.strikethroughStyle] = NSUnderlineStyle.single.rawValue
53 | newAttributes[NSAttributedString.Key.baselineOffset] = 0
| `- error: cannot find 'NSAttributedString' in scope
54 | return children.map { $0.render(withAttributes: newAttributes) }.joined()
55 | }
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:54:69: error: no 'joined' candidates produce the expected contextual result type '_'
52 | newAttributes[NSAttributedString.Key.strikethroughStyle] = NSUnderlineStyle.single.rawValue
53 | newAttributes[NSAttributedString.Key.baselineOffset] = 0
54 | return children.map { $0.render(withAttributes: newAttributes) }.joined()
| `- error: no 'joined' candidates produce the expected contextual result type '_'
55 | }
56 | }
Swift.Sequence.joined:2:36: note: 'joined()' produces 'FlattenSequence<[T]>', not the expected contextual result type '_'
1 | protocol Sequence {
2 | @inlinable public __consuming func joined() -> FlattenSequence<Self>}
| |- note: 'joined()' produces 'FlattenSequence<[T]>', not the expected contextual result type '_'
| `- note: 'joined()' produces 'FlattenSequence<[T]>', not the expected contextual result type '_'
3 |
Swift.BidirectionalCollection.joined:2:13: note: 'joined(separator:)' produces 'String', not the expected contextual result type '_'
1 | protocol BidirectionalCollection {
2 | public func joined(separator: String = "") -> String}
| |- note: 'joined(separator:)' produces 'String', not the expected contextual result type '_'
| `- note: 'joined(separator:)' produces 'String', not the expected contextual result type '_'
3 |
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:61:16: error: cannot find 'NSMutableAttributedString' in scope
59 | extension Array where Element: NSAttributedString {
60 | func joined() -> NSAttributedString {
61 | let result = NSMutableAttributedString()
| `- error: cannot find 'NSMutableAttributedString' in scope
62 | for element in self {
63 | result.append(element)
[4/8] Compiling Markup MarkupToken.swift
[5/8] Compiling Markup MarkupTokenizer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Emitting module Markup
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:16:24: error: cannot find type 'Font' in scope
14 |
15 | public final class MarkupRenderer {
16 | private let baseFont: Font
| `- error: cannot find type 'Font' in scope
17 |
18 | public init(baseFont: Font) {
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:18:24: error: cannot find type 'Font' in scope
16 | private let baseFont: Font
17 |
18 | public init(baseFont: Font) {
| `- error: cannot find type 'Font' in scope
19 | self.baseFont = baseFont
20 | }
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:22:38: error: cannot find type 'NSAttributedString' in scope
20 | }
21 |
22 | public func render(text: String) -> NSAttributedString {
| `- error: cannot find type 'NSAttributedString' in scope
23 | let elements = MarkupParser.parse(text: text)
24 | let attributes = [NSAttributedString.Key.font: baseFont]
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:31:75: error: cannot find type 'NSAttributedString' in scope
29 |
30 | private extension MarkupNode {
31 | func render(withAttributes attributes: [NSAttributedString.Key: Any]) -> NSAttributedString {
| `- error: cannot find type 'NSAttributedString' in scope
32 | guard let currentFont = attributes[NSAttributedString.Key.font] as? Font else {
33 | fatalError("Missing font attribute in \(attributes)")
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:31:42: error: cannot find type 'NSAttributedString' in scope
29 |
30 | private extension MarkupNode {
31 | func render(withAttributes attributes: [NSAttributedString.Key: Any]) -> NSAttributedString {
| `- error: cannot find type 'NSAttributedString' in scope
32 | guard let currentFont = attributes[NSAttributedString.Key.font] as? Font else {
33 | fatalError("Missing font attribute in \(attributes)")
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:59:32: error: cannot find type 'NSAttributedString' in scope
57 | }
58 |
59 | extension Array where Element: NSAttributedString {
| `- error: cannot find type 'NSAttributedString' in scope
60 | func joined() -> NSAttributedString {
61 | let result = NSMutableAttributedString()
/host/spi-builder-workspace/Sources/Markup/MarkupRenderer.swift:60:19: error: cannot find type 'NSAttributedString' in scope
58 |
59 | extension Array where Element: NSAttributedString {
60 | func joined() -> NSAttributedString {
| `- error: cannot find type 'NSAttributedString' in scope
61 | let result = NSMutableAttributedString()
62 | for element in self {
[7/8] Compiling Markup MarkupParser.swift
[8/8] Compiling Markup MarkupNode.swift
BUILD FAILURE 6.3 linux