The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Markup, reference master (88beb1), with Swift 6.0 for Linux on 26 Nov 2024 22:42:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gonzalezreal/Markup.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 88beb18 Update README.md
Cloned https://github.com/gonzalezreal/Markup.git
Revision (git rev-parse @):
88beb1814147918b458c68296558282a099ae77d
SUCCESS checkout https://github.com/gonzalezreal/Markup.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/gonzalezreal/Markup.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling Markup MarkupToken.swift
[4/8] Compiling Markup MarkupTokenizer.swift
[5/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: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: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: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: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: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)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Compiling Markup MarkupParser.swift
[7/8] Compiling Markup MarkupNode.swift
[8/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 {
BUILD FAILURE 6.0 linux