Build Information
Successful build of Parsley, reference 1.2.0 (1384f6), with Swift 6.1 for Wasm on 23 Mar 2026 21:31:15 UTC.
Swift 6 data race errors: 9
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loopwerk/Parsley.git
Reference: 1.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/loopwerk/Parsley
* tag 1.2.0 -> FETCH_HEAD
HEAD is now at 1384f65 feat: Support for Markdown attributes (#5)
Cloned https://github.com/loopwerk/Parsley.git
Revision (git rev-parse @):
1384f65054372000ded7dbf1f4b4e27c8fac2198
SUCCESS checkout https://github.com/loopwerk/Parsley.git at 1.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/loopwerk/Parsley.git
https://github.com/loopwerk/Parsley.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-cmark",
"requirement" : {
"range" : [
{
"lower_bound" : "0.7.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-cmark.git"
}
],
"manifest_display_name" : "Parsley",
"name" : "Parsley",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Parsley",
"targets" : [
"Parsley"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ParsleyTests",
"module_type" : "SwiftTarget",
"name" : "ParsleyTests",
"path" : "Tests/ParsleyTests",
"sources" : [
"ParsleyTests.swift"
],
"target_dependencies" : [
"Parsley"
],
"type" : "test"
},
{
"c99name" : "Parsley",
"module_type" : "SwiftTarget",
"name" : "Parsley",
"path" : "Sources/Parsley",
"product_dependencies" : [
"cmark-gfm",
"cmark-gfm-extensions"
],
"product_memberships" : [
"Parsley"
],
"sources" : [
"Document.swift",
"MarkdownOptions.swift",
"Parsley.swift",
"SyntaxExtension.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18373] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.28s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.7.1 (1.92s)
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.7.1
Building for debugging...
[0/36] Compiling cmark-gfm arena.c
[1/36] Compiling cmark-gfm-extensions tasklist.c
[2/36] Compiling cmark-gfm-extensions strikethrough.c
[3/36] Compiling cmark-gfm-extensions tagfilter.c
[4/36] Compiling cmark-gfm-extensions core-extensions.c
[5/36] Compiling cmark-gfm-extensions table.c
[6/36] Compiling cmark-gfm-extensions ext_scanners.c
[7/36] Compiling cmark-gfm xml.c
[8/36] Compiling cmark-gfm blocks.c
[9/36] Compiling cmark-gfm-extensions autolink.c
[10/36] Compiling cmark-gfm syntax_extension.c
[11/36] Compiling cmark-gfm registry.c
[12/36] Compiling cmark-gfm references.c
[13/36] Compiling cmark-gfm render.c
[14/36] Compiling cmark-gfm plugin.c
[15/36] Compiling cmark-gfm plaintext.c
[16/36] Compiling cmark-gfm map.c
[17/36] Write swift-version-24593BA9C3E375BF.txt
[18/36] Compiling cmark-gfm buffer.c
[19/36] Compiling cmark-gfm man.c
[20/36] Compiling cmark-gfm linked_list.c
[21/36] Compiling cmark-gfm node.c
[22/36] Compiling cmark-gfm latex.c
[23/36] Compiling cmark-gfm iterator.c
[24/36] Compiling cmark-gfm houdini_html_e.c
[25/36] Compiling cmark-gfm houdini_href_e.c
[26/36] Compiling cmark-gfm html.c
[27/36] Compiling cmark-gfm cmark_ctype.c
[27/36] Write sources
[29/36] Compiling cmark-gfm footnotes.c
[30/36] Compiling cmark-gfm cmark.c
[31/36] Compiling cmark-gfm commonmark.c
[32/36] Compiling cmark-gfm houdini_html_u.c
[33/36] Compiling cmark-gfm inlines.c
[34/36] Compiling cmark-gfm scanners.c
[35/36] Compiling cmark-gfm utf8.c
[37/41] Emitting module Parsley
/host/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:9:21: warning: static property 'sourcePosition' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int32
3 |
:
7 |
8 | /// Include source position information in the rendered output.
9 | public static let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
| |- warning: static property 'sourcePosition' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sourcePosition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /// Render newlines as hard line breaks (`<br />`).
/host/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:12:21: warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int32
3 |
:
10 |
11 | /// Render newlines as hard line breaks (`<br />`).
12 | public static let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
| |- warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hardBreaks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// No-op: safe mode is enabled by default. Raw HTML is stripped unless `.unsafe` is set.
/host/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:15:21: warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int32
3 |
:
13 |
14 | /// No-op: safe mode is enabled by default. Raw HTML is stripped unless `.unsafe` is set.
15 | public static let safe = MarkdownOptions(rawValue: 1 << 3)
| |- warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'safe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Render softbreaks (newlines) as spaces instead of newlines.
/host/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:18:21: warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int32
3 |
:
16 |
17 | /// Render softbreaks (newlines) as spaces instead of newlines.
18 | public static let noBreaks = MarkdownOptions(rawValue: 1 << 4)
| |- warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noBreaks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Normalize the document by consolidating adjacent text nodes.
/host/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:21:21: warning: static property 'normalize' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int32
3 |
:
19 |
20 | /// Normalize the document by consolidating adjacent text nodes.
21 | public static let normalize = MarkdownOptions(rawValue: 1 << 8)
| |- warning: static property 'normalize' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'normalize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Replace invalid UTF-8 sequences with the replacement character (U+FFFD).
/host/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:24:21: warning: static property 'validateUTF8' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int32
3 |
:
22 |
23 | /// Replace invalid UTF-8 sequences with the replacement character (U+FFFD).
24 | public static let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
| |- warning: static property 'validateUTF8' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'validateUTF8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Convert straight quotes to curly quotes.
/host/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:27:21: warning: static property 'smartQuotes' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int32
3 |
:
25 |
26 | /// Convert straight quotes to curly quotes.
27 | public static let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
| |- warning: static property 'smartQuotes' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'smartQuotes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Allow raw HTML to pass through to the output instead of being stripped.
/host/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:30:21: warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int32
3 |
:
28 |
29 | /// Allow raw HTML to pass through to the output instead of being stripped.
30 | public static let unsafe = MarkdownOptions(rawValue: 1 << 17)
| |- warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unsafe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// Enables markdown attributes: `{.class #id key="value"}` on headings, paragraphs, and other block elements.
/host/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:33:21: warning: static property 'markdownAttributes' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int32
3 |
:
31 |
32 | /// Enables markdown attributes: `{.class #id key="value"}` on headings, paragraphs, and other block elements.
33 | public static let markdownAttributes = MarkdownOptions(rawValue: 1 << 30)
| |- warning: static property 'markdownAttributes' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'markdownAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
[38/41] Compiling Parsley MarkdownOptions.swift
/host/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:9:21: warning: static property 'sourcePosition' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int32
3 |
:
7 |
8 | /// Include source position information in the rendered output.
9 | public static let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
| |- warning: static property 'sourcePosition' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sourcePosition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | /// Render newlines as hard line breaks (`<br />`).
/host/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:12:21: warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int32
3 |
:
10 |
11 | /// Render newlines as hard line breaks (`<br />`).
12 | public static let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
| |- warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hardBreaks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// No-op: safe mode is enabled by default. Raw HTML is stripped unless `.unsafe` is set.
/host/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:15:21: warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int32
3 |
:
13 |
14 | /// No-op: safe mode is enabled by default. Raw HTML is stripped unless `.unsafe` is set.
15 | public static let safe = MarkdownOptions(rawValue: 1 << 3)
| |- warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'safe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Render softbreaks (newlines) as spaces instead of newlines.
/host/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:18:21: warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int32
3 |
:
16 |
17 | /// Render softbreaks (newlines) as spaces instead of newlines.
18 | public static let noBreaks = MarkdownOptions(rawValue: 1 << 4)
| |- warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noBreaks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Normalize the document by consolidating adjacent text nodes.
/host/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:21:21: warning: static property 'normalize' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int32
3 |
:
19 |
20 | /// Normalize the document by consolidating adjacent text nodes.
21 | public static let normalize = MarkdownOptions(rawValue: 1 << 8)
| |- warning: static property 'normalize' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'normalize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Replace invalid UTF-8 sequences with the replacement character (U+FFFD).
/host/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:24:21: warning: static property 'validateUTF8' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int32
3 |
:
22 |
23 | /// Replace invalid UTF-8 sequences with the replacement character (U+FFFD).
24 | public static let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
| |- warning: static property 'validateUTF8' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'validateUTF8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Convert straight quotes to curly quotes.
/host/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:27:21: warning: static property 'smartQuotes' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int32
3 |
:
25 |
26 | /// Convert straight quotes to curly quotes.
27 | public static let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
| |- warning: static property 'smartQuotes' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'smartQuotes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Allow raw HTML to pass through to the output instead of being stripped.
/host/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:30:21: warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int32
3 |
:
28 |
29 | /// Allow raw HTML to pass through to the output instead of being stripped.
30 | public static let unsafe = MarkdownOptions(rawValue: 1 << 17)
| |- warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unsafe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// Enables markdown attributes: `{.class #id key="value"}` on headings, paragraphs, and other block elements.
/host/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:33:21: warning: static property 'markdownAttributes' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
2 | public let rawValue: Int32
3 |
:
31 |
32 | /// Enables markdown attributes: `{.class #id key="value"}` on headings, paragraphs, and other block elements.
33 | public static let markdownAttributes = MarkdownOptions(rawValue: 1 << 30)
| |- warning: static property 'markdownAttributes' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'markdownAttributes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
[39/41] Compiling Parsley SyntaxExtension.swift
[40/41] Compiling Parsley Document.swift
[41/41] Compiling Parsley Parsley.swift
Build complete! (13.26s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-cmark",
"requirement" : {
"range" : [
{
"lower_bound" : "0.7.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-cmark.git"
}
],
"manifest_display_name" : "Parsley",
"name" : "Parsley",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Parsley",
"targets" : [
"Parsley"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ParsleyTests",
"module_type" : "SwiftTarget",
"name" : "ParsleyTests",
"path" : "Tests/ParsleyTests",
"sources" : [
"ParsleyTests.swift"
],
"target_dependencies" : [
"Parsley"
],
"type" : "test"
},
{
"c99name" : "Parsley",
"module_type" : "SwiftTarget",
"name" : "Parsley",
"path" : "Sources/Parsley",
"product_dependencies" : [
"cmark-gfm",
"cmark-gfm-extensions"
],
"product_memberships" : [
"Parsley"
],
"sources" : [
"Document.swift",
"MarkdownOptions.swift",
"Parsley.swift",
"SyntaxExtension.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Done.