Build Information
Successful build of MarkdownKit, reference master (cd47be
), with Swift 6.1 for macOS (SPM) on 4 May 2025 22:57:51 UTC.
Swift 6 data race errors: 11
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objecthub/swift-markdownkit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/objecthub/swift-markdownkit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at cd47be6 Remove debug output.
Cloned https://github.com/objecthub/swift-markdownkit.git
Revision (git rev-parse @):
cd47be6f1d07e6fc78481796ac79e7c3dafb4c6d
SUCCESS checkout https://github.com/objecthub/swift-markdownkit.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-markdownkit",
"name": "MarkdownKit",
"url": "https://github.com/objecthub/swift-markdownkit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-markdownkit",
"dependencies": [
]
}
]
}
Fetching https://github.com/objecthub/swift-markdownkit.git
[1/646] Fetching swift-markdownkit
Fetched https://github.com/objecthub/swift-markdownkit.git from cache (0.82s)
Creating working copy for https://github.com/objecthub/swift-markdownkit.git
Working copy of https://github.com/objecthub/swift-markdownkit.git resolved at master (cd47be6)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/objecthub/swift-markdownkit.git
https://github.com/objecthub/swift-markdownkit.git
{
"dependencies" : [
],
"manifest_display_name" : "MarkdownKit",
"name" : "MarkdownKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "MarkdownKit",
"targets" : [
"MarkdownKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MarkdownKitProcess",
"targets" : [
"MarkdownKitProcess"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "MarkdownKitTests",
"module_type" : "SwiftTarget",
"name" : "MarkdownKitTests",
"path" : "Tests/MarkdownKitTests",
"sources" : [
"ExtendedMarkdownBlockTests.swift",
"ExtendedMarkdownHtmlTests.swift",
"MarkdownASTests.swift",
"MarkdownBlockTests.swift",
"MarkdownExtension.swift",
"MarkdownFactory.swift",
"MarkdownHtmlTests.swift",
"MarkdownInlineTests.swift",
"MarkdownStringTests.swift"
],
"target_dependencies" : [
"MarkdownKit"
],
"type" : "test"
},
{
"c99name" : "MarkdownKitProcess",
"module_type" : "SwiftTarget",
"name" : "MarkdownKitProcess",
"path" : "Sources/MarkdownKitProcess",
"product_memberships" : [
"MarkdownKitProcess"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"MarkdownKit"
],
"type" : "executable"
},
{
"c99name" : "MarkdownKit",
"module_type" : "SwiftTarget",
"name" : "MarkdownKit",
"path" : "Sources/MarkdownKit",
"product_memberships" : [
"MarkdownKit",
"MarkdownKitProcess"
],
"sources" : [
"AttributedString/AttributedStringGenerator.swift",
"AttributedString/Color.swift",
"Block.swift",
"Blocks.swift",
"CustomBlock.swift",
"CustomTextFragment.swift",
"HTML/HtmlGenerator.swift",
"HTML/NamedCharacters.swift",
"HTML/String+Entities.swift",
"Parser/AtxHeadingParser.swift",
"Parser/BlockParser.swift",
"Parser/BlockquoteParser.swift",
"Parser/CodeBlockParser.swift",
"Parser/CodeLinkHtmlTransformer.swift",
"Parser/Container.swift",
"Parser/DelimiterTransformer.swift",
"Parser/DocumentParser.swift",
"Parser/EmphasisTransformer.swift",
"Parser/EscapeTransformer.swift",
"Parser/ExtendedDocumentParser.swift",
"Parser/ExtendedListItemParser.swift",
"Parser/ExtendedMarkdownParser.swift",
"Parser/HtmlBlockParser.swift",
"Parser/InlineParser.swift",
"Parser/InlineTransformer.swift",
"Parser/LinkRefDefinitionParser.swift",
"Parser/LinkTransformer.swift",
"Parser/ListItemParser.swift",
"Parser/MarkdownParser.swift",
"Parser/ParserUtil.swift",
"Parser/SetextHeadingParser.swift",
"Parser/TableParser.swift",
"Parser/ThematicBreakParser.swift",
"Text.swift",
"TextFragment.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/7] Write sources
[1/7] Write MarkdownKitProcess-entitlement.plist
[3/7] Write swift-version-2F0A5646E1D333AE.txt
[5/40] Emitting module MarkdownKit
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/AttributedString/AttributedStringGenerator.swift:45:23: warning: static property 'tightLists' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Options for the attributed string generator
38 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
39 | public let rawValue: UInt
40 |
:
43 | }
44 |
45 | public static let tightLists = Options(rawValue: 1 << 0)
| |- warning: static property 'tightLists' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tightLists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/AttributedString/AttributedStringGenerator.swift:168:21: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
33 | /// override how individual Markdown structures are converted into attributed strings.
34 | ///
35 | open class AttributedStringGenerator {
| `- note: class 'AttributedStringGenerator' does not conform to the 'Sendable' protocol
36 |
37 | /// Options for the attributed string generator
:
166 |
167 | /// Default `AttributedStringGenerator` implementation.
168 | public static let standard: AttributedStringGenerator = AttributedStringGenerator()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |
170 | /// The generator options.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/HTML/HtmlGenerator.swift:36:21: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'HtmlGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
26 | /// individual Markdown structures are converted into HTML.
27 | ///
28 | open class HtmlGenerator {
| `- note: class 'HtmlGenerator' does not conform to the 'Sendable' protocol
29 |
30 | public enum Parent {
:
34 |
35 | /// Default `HtmlGenerator` implementation
36 | public static let standard = HtmlGenerator()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'HtmlGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/Parser/ExtendedMarkdownParser.swift:66:22: warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'ExtendedMarkdownParser' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// gets replaced with a structured representation.
43 | ///
44 | open class ExtendedMarkdownParser: MarkdownParser {
| `- note: class 'ExtendedMarkdownParser' does not conform to the 'Sendable' protocol
45 |
46 | /// The default list of block parsers. The order of this list matters.
:
64 | }
65 |
66 | private static let singleton: ExtendedMarkdownParser = ExtendedMarkdownParser()
| |- warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'ExtendedMarkdownParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'singleton' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /// Factory method to customize document parsing in subclasses.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/Parser/MarkdownParser.swift:82:22: warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'MarkdownParser' may have shared mutable state; this is an error in the Swift 6 language mode
40 | /// replaced with a structured representation.
41 | ///
42 | open class MarkdownParser {
| `- note: class 'MarkdownParser' does not conform to the 'Sendable' protocol
43 |
44 | /// The default list of block parsers. The order of this list matters.
:
80 | }
81 |
82 | private static let singleton: MarkdownParser = MarkdownParser()
| |- warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'MarkdownParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'singleton' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 |
84 | /// A custom list of block parsers; if this is provided via the constructor, it overrides
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:230:21: warning: static property 'leftFlanking' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
228 | }
229 |
230 | public static let leftFlanking = DelimiterRunType(rawValue: 1 << 0)
| |- warning: static property 'leftFlanking' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'leftFlanking' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 | public static let rightFlanking = DelimiterRunType(rawValue: 1 << 1)
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:231:21: warning: static property 'rightFlanking' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
229 |
230 | public static let leftFlanking = DelimiterRunType(rawValue: 1 << 0)
231 | public static let rightFlanking = DelimiterRunType(rawValue: 1 << 1)
| |- warning: static property 'rightFlanking' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rightFlanking' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:232:21: warning: static property 'leftPunctuation' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
230 | public static let leftFlanking = DelimiterRunType(rawValue: 1 << 0)
231 | public static let rightFlanking = DelimiterRunType(rawValue: 1 << 1)
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
| |- warning: static property 'leftPunctuation' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'leftPunctuation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
234 | public static let escaped = DelimiterRunType(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:233:21: warning: static property 'rightPunctuation' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
231 | public static let rightFlanking = DelimiterRunType(rawValue: 1 << 1)
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
| |- warning: static property 'rightPunctuation' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rightPunctuation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 | public static let escaped = DelimiterRunType(rawValue: 1 << 4)
235 | public static let image = DelimiterRunType(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:234:21: warning: static property 'escaped' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
234 | public static let escaped = DelimiterRunType(rawValue: 1 << 4)
| |- warning: static property 'escaped' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'escaped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | public static let image = DelimiterRunType(rawValue: 1 << 5)
236 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:235:21: warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
234 | public static let escaped = DelimiterRunType(rawValue: 1 << 4)
235 | public static let image = DelimiterRunType(rawValue: 1 << 5)
| |- warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'image' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
236 |
237 | public var description: String {
[6/43] Compiling MarkdownKit InlineParser.swift
[7/43] Compiling MarkdownKit InlineTransformer.swift
[8/43] Compiling MarkdownKit LinkRefDefinitionParser.swift
[9/43] Compiling MarkdownKit DocumentParser.swift
[10/43] Compiling MarkdownKit EmphasisTransformer.swift
[11/43] Compiling MarkdownKit EscapeTransformer.swift
[12/43] Compiling MarkdownKit ExtendedDocumentParser.swift
[13/43] Compiling MarkdownKit ExtendedListItemParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/Parser/ExtendedMarkdownParser.swift:66:22: warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'ExtendedMarkdownParser' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// gets replaced with a structured representation.
43 | ///
44 | open class ExtendedMarkdownParser: MarkdownParser {
| `- note: class 'ExtendedMarkdownParser' does not conform to the 'Sendable' protocol
45 |
46 | /// The default list of block parsers. The order of this list matters.
:
64 | }
65 |
66 | private static let singleton: ExtendedMarkdownParser = ExtendedMarkdownParser()
| |- warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'ExtendedMarkdownParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'singleton' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /// Factory method to customize document parsing in subclasses.
[14/43] Compiling MarkdownKit ExtendedMarkdownParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/Parser/ExtendedMarkdownParser.swift:66:22: warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'ExtendedMarkdownParser' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// gets replaced with a structured representation.
43 | ///
44 | open class ExtendedMarkdownParser: MarkdownParser {
| `- note: class 'ExtendedMarkdownParser' does not conform to the 'Sendable' protocol
45 |
46 | /// The default list of block parsers. The order of this list matters.
:
64 | }
65 |
66 | private static let singleton: ExtendedMarkdownParser = ExtendedMarkdownParser()
| |- warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'ExtendedMarkdownParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'singleton' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /// Factory method to customize document parsing in subclasses.
[15/43] Compiling MarkdownKit HtmlBlockParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/Parser/ExtendedMarkdownParser.swift:66:22: warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'ExtendedMarkdownParser' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// gets replaced with a structured representation.
43 | ///
44 | open class ExtendedMarkdownParser: MarkdownParser {
| `- note: class 'ExtendedMarkdownParser' does not conform to the 'Sendable' protocol
45 |
46 | /// The default list of block parsers. The order of this list matters.
:
64 | }
65 |
66 | private static let singleton: ExtendedMarkdownParser = ExtendedMarkdownParser()
| |- warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'ExtendedMarkdownParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'singleton' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /// Factory method to customize document parsing in subclasses.
[16/43] Compiling MarkdownKit CodeBlockParser.swift
[17/43] Compiling MarkdownKit CodeLinkHtmlTransformer.swift
[18/43] Compiling MarkdownKit Container.swift
[19/43] Compiling MarkdownKit DelimiterTransformer.swift
[20/43] Compiling MarkdownKit String+Entities.swift
[21/43] Compiling MarkdownKit AtxHeadingParser.swift
[22/43] Compiling MarkdownKit BlockParser.swift
[23/43] Compiling MarkdownKit BlockquoteParser.swift
[24/43] Compiling MarkdownKit ParserUtil.swift
[25/43] Compiling MarkdownKit SetextHeadingParser.swift
[26/43] Compiling MarkdownKit TableParser.swift
[27/43] Compiling MarkdownKit ThematicBreakParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:230:21: warning: static property 'leftFlanking' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
228 | }
229 |
230 | public static let leftFlanking = DelimiterRunType(rawValue: 1 << 0)
| |- warning: static property 'leftFlanking' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'leftFlanking' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 | public static let rightFlanking = DelimiterRunType(rawValue: 1 << 1)
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:231:21: warning: static property 'rightFlanking' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
229 |
230 | public static let leftFlanking = DelimiterRunType(rawValue: 1 << 0)
231 | public static let rightFlanking = DelimiterRunType(rawValue: 1 << 1)
| |- warning: static property 'rightFlanking' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rightFlanking' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:232:21: warning: static property 'leftPunctuation' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
230 | public static let leftFlanking = DelimiterRunType(rawValue: 1 << 0)
231 | public static let rightFlanking = DelimiterRunType(rawValue: 1 << 1)
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
| |- warning: static property 'leftPunctuation' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'leftPunctuation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
234 | public static let escaped = DelimiterRunType(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:233:21: warning: static property 'rightPunctuation' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
231 | public static let rightFlanking = DelimiterRunType(rawValue: 1 << 1)
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
| |- warning: static property 'rightPunctuation' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rightPunctuation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 | public static let escaped = DelimiterRunType(rawValue: 1 << 4)
235 | public static let image = DelimiterRunType(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:234:21: warning: static property 'escaped' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
234 | public static let escaped = DelimiterRunType(rawValue: 1 << 4)
| |- warning: static property 'escaped' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'escaped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | public static let image = DelimiterRunType(rawValue: 1 << 5)
236 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:235:21: warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
234 | public static let escaped = DelimiterRunType(rawValue: 1 << 4)
235 | public static let image = DelimiterRunType(rawValue: 1 << 5)
| |- warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'image' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
236 |
237 | public var description: String {
[28/43] Compiling MarkdownKit Text.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:230:21: warning: static property 'leftFlanking' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
228 | }
229 |
230 | public static let leftFlanking = DelimiterRunType(rawValue: 1 << 0)
| |- warning: static property 'leftFlanking' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'leftFlanking' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 | public static let rightFlanking = DelimiterRunType(rawValue: 1 << 1)
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:231:21: warning: static property 'rightFlanking' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
229 |
230 | public static let leftFlanking = DelimiterRunType(rawValue: 1 << 0)
231 | public static let rightFlanking = DelimiterRunType(rawValue: 1 << 1)
| |- warning: static property 'rightFlanking' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rightFlanking' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:232:21: warning: static property 'leftPunctuation' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
230 | public static let leftFlanking = DelimiterRunType(rawValue: 1 << 0)
231 | public static let rightFlanking = DelimiterRunType(rawValue: 1 << 1)
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
| |- warning: static property 'leftPunctuation' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'leftPunctuation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
234 | public static let escaped = DelimiterRunType(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:233:21: warning: static property 'rightPunctuation' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
231 | public static let rightFlanking = DelimiterRunType(rawValue: 1 << 1)
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
| |- warning: static property 'rightPunctuation' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rightPunctuation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 | public static let escaped = DelimiterRunType(rawValue: 1 << 4)
235 | public static let image = DelimiterRunType(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:234:21: warning: static property 'escaped' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
234 | public static let escaped = DelimiterRunType(rawValue: 1 << 4)
| |- warning: static property 'escaped' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'escaped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | public static let image = DelimiterRunType(rawValue: 1 << 5)
236 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:235:21: warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
234 | public static let escaped = DelimiterRunType(rawValue: 1 << 4)
235 | public static let image = DelimiterRunType(rawValue: 1 << 5)
| |- warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'image' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
236 |
237 | public var description: String {
[29/43] Compiling MarkdownKit TextFragment.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:230:21: warning: static property 'leftFlanking' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
228 | }
229 |
230 | public static let leftFlanking = DelimiterRunType(rawValue: 1 << 0)
| |- warning: static property 'leftFlanking' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'leftFlanking' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 | public static let rightFlanking = DelimiterRunType(rawValue: 1 << 1)
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:231:21: warning: static property 'rightFlanking' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
229 |
230 | public static let leftFlanking = DelimiterRunType(rawValue: 1 << 0)
231 | public static let rightFlanking = DelimiterRunType(rawValue: 1 << 1)
| |- warning: static property 'rightFlanking' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rightFlanking' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:232:21: warning: static property 'leftPunctuation' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
230 | public static let leftFlanking = DelimiterRunType(rawValue: 1 << 0)
231 | public static let rightFlanking = DelimiterRunType(rawValue: 1 << 1)
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
| |- warning: static property 'leftPunctuation' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'leftPunctuation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
234 | public static let escaped = DelimiterRunType(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:233:21: warning: static property 'rightPunctuation' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
231 | public static let rightFlanking = DelimiterRunType(rawValue: 1 << 1)
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
| |- warning: static property 'rightPunctuation' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rightPunctuation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 | public static let escaped = DelimiterRunType(rawValue: 1 << 4)
235 | public static let image = DelimiterRunType(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:234:21: warning: static property 'escaped' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
232 | public static let leftPunctuation = DelimiterRunType(rawValue: 1 << 2)
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
234 | public static let escaped = DelimiterRunType(rawValue: 1 << 4)
| |- warning: static property 'escaped' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'escaped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | public static let image = DelimiterRunType(rawValue: 1 << 5)
236 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/TextFragment.swift:235:21: warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
221 | /// Each delimiter run is classified into a set of types which are represented via the
222 | /// `DelimiterRunType` struct.
223 | public struct DelimiterRunType: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'DelimiterRunType' conform to the 'Sendable' protocol
224 | public let rawValue: UInt8
225 |
:
233 | public static let rightPunctuation = DelimiterRunType(rawValue: 1 << 3)
234 | public static let escaped = DelimiterRunType(rawValue: 1 << 4)
235 | public static let image = DelimiterRunType(rawValue: 1 << 5)
| |- warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'DelimiterRunType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'image' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
236 |
237 | public var description: String {
[30/43] Compiling MarkdownKit LinkTransformer.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/Parser/MarkdownParser.swift:82:22: warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'MarkdownParser' may have shared mutable state; this is an error in the Swift 6 language mode
40 | /// replaced with a structured representation.
41 | ///
42 | open class MarkdownParser {
| `- note: class 'MarkdownParser' does not conform to the 'Sendable' protocol
43 |
44 | /// The default list of block parsers. The order of this list matters.
:
80 | }
81 |
82 | private static let singleton: MarkdownParser = MarkdownParser()
| |- warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'MarkdownParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'singleton' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 |
84 | /// A custom list of block parsers; if this is provided via the constructor, it overrides
[31/43] Compiling MarkdownKit ListItemParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/Parser/MarkdownParser.swift:82:22: warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'MarkdownParser' may have shared mutable state; this is an error in the Swift 6 language mode
40 | /// replaced with a structured representation.
41 | ///
42 | open class MarkdownParser {
| `- note: class 'MarkdownParser' does not conform to the 'Sendable' protocol
43 |
44 | /// The default list of block parsers. The order of this list matters.
:
80 | }
81 |
82 | private static let singleton: MarkdownParser = MarkdownParser()
| |- warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'MarkdownParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'singleton' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 |
84 | /// A custom list of block parsers; if this is provided via the constructor, it overrides
[32/43] Compiling MarkdownKit MarkdownParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/Parser/MarkdownParser.swift:82:22: warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'MarkdownParser' may have shared mutable state; this is an error in the Swift 6 language mode
40 | /// replaced with a structured representation.
41 | ///
42 | open class MarkdownParser {
| `- note: class 'MarkdownParser' does not conform to the 'Sendable' protocol
43 |
44 | /// The default list of block parsers. The order of this list matters.
:
80 | }
81 |
82 | private static let singleton: MarkdownParser = MarkdownParser()
| |- warning: static property 'singleton' is not concurrency-safe because non-'Sendable' type 'MarkdownParser' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'singleton' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 |
84 | /// A custom list of block parsers; if this is provided via the constructor, it overrides
[33/43] Compiling MarkdownKit AttributedStringGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/AttributedString/AttributedStringGenerator.swift:45:23: warning: static property 'tightLists' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Options for the attributed string generator
38 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
39 | public let rawValue: UInt
40 |
:
43 | }
44 |
45 | public static let tightLists = Options(rawValue: 1 << 0)
| |- warning: static property 'tightLists' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tightLists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/AttributedString/AttributedStringGenerator.swift:168:21: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
33 | /// override how individual Markdown structures are converted into attributed strings.
34 | ///
35 | open class AttributedStringGenerator {
| `- note: class 'AttributedStringGenerator' does not conform to the 'Sendable' protocol
36 |
37 | /// Options for the attributed string generator
:
166 |
167 | /// Default `AttributedStringGenerator` implementation.
168 | public static let standard: AttributedStringGenerator = AttributedStringGenerator()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |
170 | /// The generator options.
[34/43] Compiling MarkdownKit Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/AttributedString/AttributedStringGenerator.swift:45:23: warning: static property 'tightLists' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Options for the attributed string generator
38 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
39 | public let rawValue: UInt
40 |
:
43 | }
44 |
45 | public static let tightLists = Options(rawValue: 1 << 0)
| |- warning: static property 'tightLists' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tightLists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/AttributedString/AttributedStringGenerator.swift:168:21: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
33 | /// override how individual Markdown structures are converted into attributed strings.
34 | ///
35 | open class AttributedStringGenerator {
| `- note: class 'AttributedStringGenerator' does not conform to the 'Sendable' protocol
36 |
37 | /// Options for the attributed string generator
:
166 |
167 | /// Default `AttributedStringGenerator` implementation.
168 | public static let standard: AttributedStringGenerator = AttributedStringGenerator()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |
170 | /// The generator options.
[35/43] Compiling MarkdownKit Block.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/AttributedString/AttributedStringGenerator.swift:45:23: warning: static property 'tightLists' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Options for the attributed string generator
38 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
39 | public let rawValue: UInt
40 |
:
43 | }
44 |
45 | public static let tightLists = Options(rawValue: 1 << 0)
| |- warning: static property 'tightLists' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tightLists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/AttributedString/AttributedStringGenerator.swift:168:21: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
33 | /// override how individual Markdown structures are converted into attributed strings.
34 | ///
35 | open class AttributedStringGenerator {
| `- note: class 'AttributedStringGenerator' does not conform to the 'Sendable' protocol
36 |
37 | /// Options for the attributed string generator
:
166 |
167 | /// Default `AttributedStringGenerator` implementation.
168 | public static let standard: AttributedStringGenerator = AttributedStringGenerator()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |
170 | /// The generator options.
[36/43] Compiling MarkdownKit Blocks.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/AttributedString/AttributedStringGenerator.swift:45:23: warning: static property 'tightLists' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Options for the attributed string generator
38 | public struct Options: OptionSet {
| `- note: consider making struct 'Options' conform to the 'Sendable' protocol
39 | public let rawValue: UInt
40 |
:
43 | }
44 |
45 | public static let tightLists = Options(rawValue: 1 << 0)
| |- warning: static property 'tightLists' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator.Options' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tightLists' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/AttributedString/AttributedStringGenerator.swift:168:21: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
33 | /// override how individual Markdown structures are converted into attributed strings.
34 | ///
35 | open class AttributedStringGenerator {
| `- note: class 'AttributedStringGenerator' does not conform to the 'Sendable' protocol
36 |
37 | /// Options for the attributed string generator
:
166 |
167 | /// Default `AttributedStringGenerator` implementation.
168 | public static let standard: AttributedStringGenerator = AttributedStringGenerator()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'AttributedStringGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |
170 | /// The generator options.
[37/43] Compiling MarkdownKit CustomBlock.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/HTML/HtmlGenerator.swift:36:21: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'HtmlGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
26 | /// individual Markdown structures are converted into HTML.
27 | ///
28 | open class HtmlGenerator {
| `- note: class 'HtmlGenerator' does not conform to the 'Sendable' protocol
29 |
30 | public enum Parent {
:
34 |
35 | /// Default `HtmlGenerator` implementation
36 | public static let standard = HtmlGenerator()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'HtmlGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | public init() {}
[38/43] Compiling MarkdownKit CustomTextFragment.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/HTML/HtmlGenerator.swift:36:21: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'HtmlGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
26 | /// individual Markdown structures are converted into HTML.
27 | ///
28 | open class HtmlGenerator {
| `- note: class 'HtmlGenerator' does not conform to the 'Sendable' protocol
29 |
30 | public enum Parent {
:
34 |
35 | /// Default `HtmlGenerator` implementation
36 | public static let standard = HtmlGenerator()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'HtmlGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | public init() {}
[39/43] Compiling MarkdownKit HtmlGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/HTML/HtmlGenerator.swift:36:21: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'HtmlGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
26 | /// individual Markdown structures are converted into HTML.
27 | ///
28 | open class HtmlGenerator {
| `- note: class 'HtmlGenerator' does not conform to the 'Sendable' protocol
29 |
30 | public enum Parent {
:
34 |
35 | /// Default `HtmlGenerator` implementation
36 | public static let standard = HtmlGenerator()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'HtmlGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | public init() {}
[40/43] Compiling MarkdownKit NamedCharacters.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKit/HTML/HtmlGenerator.swift:36:21: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'HtmlGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
26 | /// individual Markdown structures are converted into HTML.
27 | ///
28 | open class HtmlGenerator {
| `- note: class 'HtmlGenerator' does not conform to the 'Sendable' protocol
29 |
30 | public enum Parent {
:
34 |
35 | /// Default `HtmlGenerator` implementation
36 | public static let standard = HtmlGenerator()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'HtmlGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | public init() {}
[41/45] Compiling MarkdownKitProcess main.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKitProcess/main.swift:33:22: warning: main actor-isolated let 'fileManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | // HTML. The tool also allows converting a whole folder of Markdown files into HTML.
26 |
27 | let fileManager = FileManager.default
| `- note: let declared here
28 |
29 | // Utility functions
30 |
31 | func markdownFiles(inDir baseUrl: URL) -> [URL] {
| `- note: add '@MainActor' to make global function 'markdownFiles(inDir:)' part of global actor 'MainActor'
32 | var res: [URL] = []
33 | if let urls = try? fileManager.contentsOfDirectory(
| `- warning: main actor-isolated let 'fileManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
34 | at: baseUrl,
35 | includingPropertiesForKeys: [.nameKey, .isDirectoryKey],
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownKitProcess/main.swift:49:9: warning: main actor-isolated let 'fileManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | // HTML. The tool also allows converting a whole folder of Markdown files into HTML.
26 |
27 | let fileManager = FileManager.default
| `- note: let declared here
28 |
29 | // Utility functions
:
45 | }
46 |
47 | func baseUrl(for path: String, role: String) -> (URL, Bool) {
| `- note: add '@MainActor' to make global function 'baseUrl(for:role:)' part of global actor 'MainActor'
48 | var isDir = ObjCBool(false)
49 | guard fileManager.fileExists(atPath: path, isDirectory: &isDir) else {
| `- warning: main actor-isolated let 'fileManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 | print("\(role) '\(path)' does not exist")
51 | exit(1)
[42/45] Emitting module MarkdownKitProcess
[42/45] Write Objects.LinkFileList
[43/45] Linking MarkdownKitProcess
[44/45] Applying MarkdownKitProcess
Build complete! (11.79s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "MarkdownKit",
"name" : "MarkdownKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "MarkdownKit",
"targets" : [
"MarkdownKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MarkdownKitProcess",
"targets" : [
"MarkdownKitProcess"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "MarkdownKitTests",
"module_type" : "SwiftTarget",
"name" : "MarkdownKitTests",
"path" : "Tests/MarkdownKitTests",
"sources" : [
"ExtendedMarkdownBlockTests.swift",
"ExtendedMarkdownHtmlTests.swift",
"MarkdownASTests.swift",
"MarkdownBlockTests.swift",
"MarkdownExtension.swift",
"MarkdownFactory.swift",
"MarkdownHtmlTests.swift",
"MarkdownInlineTests.swift",
"MarkdownStringTests.swift"
],
"target_dependencies" : [
"MarkdownKit"
],
"type" : "test"
},
{
"c99name" : "MarkdownKitProcess",
"module_type" : "SwiftTarget",
"name" : "MarkdownKitProcess",
"path" : "Sources/MarkdownKitProcess",
"product_memberships" : [
"MarkdownKitProcess"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"MarkdownKit"
],
"type" : "executable"
},
{
"c99name" : "MarkdownKit",
"module_type" : "SwiftTarget",
"name" : "MarkdownKit",
"path" : "Sources/MarkdownKit",
"product_memberships" : [
"MarkdownKit",
"MarkdownKitProcess"
],
"sources" : [
"AttributedString/AttributedStringGenerator.swift",
"AttributedString/Color.swift",
"Block.swift",
"Blocks.swift",
"CustomBlock.swift",
"CustomTextFragment.swift",
"HTML/HtmlGenerator.swift",
"HTML/NamedCharacters.swift",
"HTML/String+Entities.swift",
"Parser/AtxHeadingParser.swift",
"Parser/BlockParser.swift",
"Parser/BlockquoteParser.swift",
"Parser/CodeBlockParser.swift",
"Parser/CodeLinkHtmlTransformer.swift",
"Parser/Container.swift",
"Parser/DelimiterTransformer.swift",
"Parser/DocumentParser.swift",
"Parser/EmphasisTransformer.swift",
"Parser/EscapeTransformer.swift",
"Parser/ExtendedDocumentParser.swift",
"Parser/ExtendedListItemParser.swift",
"Parser/ExtendedMarkdownParser.swift",
"Parser/HtmlBlockParser.swift",
"Parser/InlineParser.swift",
"Parser/InlineTransformer.swift",
"Parser/LinkRefDefinitionParser.swift",
"Parser/LinkTransformer.swift",
"Parser/ListItemParser.swift",
"Parser/MarkdownParser.swift",
"Parser/ParserUtil.swift",
"Parser/SetextHeadingParser.swift",
"Parser/TableParser.swift",
"Parser/ThematicBreakParser.swift",
"Text.swift",
"TextFragment.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.