Build Information
Successful build of SwiftMarkdown with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 8
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/markdown.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor-community/markdown
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at f0cdf12 Merge pull request #13 from vapor-community/enable-55-ci
Cloned https://github.com/vapor-community/markdown.git
Revision (git rev-parse @):
f0cdf125947c06685ebaef633fd00ae5247a1cfc
SUCCESS checkout https://github.com/vapor-community/markdown.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/vapor-community/markdown.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/36] Write swift-version-6F35C1178C84523A.txt
[1/36] Compiling cmark cmark.c
[2/36] Compiling cmark commonmark.c
[3/36] Compiling cmark xml.c
[4/36] Compiling cmark tagfilter.c
[5/36] Compiling cmark table.c
[6/36] Compiling cmark syntax_extension.c
[7/36] Compiling cmark strikethrough.c
[8/36] Compiling cmark cmark_ctype.c
[9/36] Compiling cmark core-extensions.c
[10/36] Compiling cmark render.c
[11/36] Compiling cmark registry.c
[12/36] Compiling cmark references.c
[13/36] Compiling cmark plugin.c
[14/36] Compiling cmark plaintext.c
[15/36] Compiling cmark map.c
[16/36] Compiling cmark man.c
[17/36] Compiling cmark linked_list.c
[18/36] Compiling cmark blocks.c
[19/36] Compiling cmark node.c
[20/36] Compiling cmark tasklist.c
[21/36] Compiling cmark utf8.c
[22/36] Compiling cmark latex.c
[23/36] Compiling cmark iterator.c
[24/36] Compiling cmark houdini_html_e.c
[25/36] Compiling cmark houdini_href_e.c
[26/36] Write sources
[27/36] Compiling cmark html.c
[28/36] Compiling cmark footnotes.c
[29/36] Compiling cmark houdini_html_u.c
[30/36] Compiling cmark arena.c
[30/36] Compiling cmark ext_scanners.c
[32/36] Compiling cmark autolink.c
[33/36] Compiling cmark inlines.c
[34/36] Compiling cmark scanners.c
[35/36] Compiling cmark buffer.c
[37/38] Emitting module SwiftMarkdown
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:17:23: 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
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
15 | }
16 |
17 | static public 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: annotate 'sourcePosition' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:18:23: 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
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
16 |
17 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
18 | static public 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: annotate 'hardBreaks' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:19:23: 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
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
17 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
19 | static public 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: annotate 'safe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:20:23: 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
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
20 | static public 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: annotate 'noBreaks' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:21:23: 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
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
21 | static public 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: annotate 'normalize' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:22:23: 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
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
22 | static public 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: annotate 'validateUTF8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
24 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:23:23: 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
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
23 | static public 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: annotate 'smartQuotes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:24:23: 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
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
24 | static public 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: annotate 'unsafe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[38/38] Compiling SwiftMarkdown SwiftMarkdown.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:17:23: 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
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
15 | }
16 |
17 | static public 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: annotate 'sourcePosition' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:18:23: 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
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
16 |
17 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
18 | static public 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: annotate 'hardBreaks' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:19:23: 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
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
17 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
19 | static public 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: annotate 'safe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:20:23: 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
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
20 | static public 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: annotate 'noBreaks' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:21:23: 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
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
21 | static public 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: annotate 'normalize' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:22:23: 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
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
22 | static public 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: annotate 'validateUTF8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
24 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:23:23: 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
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
23 | static public 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: annotate 'smartQuotes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:24:23: 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
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
24 | static public 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: annotate 'unsafe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
Build complete! (8.36s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.44s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (0.67s)
Creating working copy for https://github.com/brokenhandsio/cmark-gfm.git
Working copy of https://github.com/brokenhandsio/cmark-gfm.git resolved at 2.1.0
Build complete.
{
"dependencies" : [
{
"identity" : "cmark-gfm",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/brokenhandsio/cmark-gfm.git"
}
],
"manifest_display_name" : "SwiftMarkdown",
"name" : "SwiftMarkdown",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftMarkdown",
"targets" : [
"SwiftMarkdown"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftMarkdownTests",
"module_type" : "SwiftTarget",
"name" : "SwiftMarkdownTests",
"path" : "Tests/SwiftMarkdownTests",
"sources" : [
"SwiftMarkdownTests.swift"
],
"target_dependencies" : [
"SwiftMarkdown"
],
"type" : "test"
},
{
"c99name" : "SwiftMarkdown",
"module_type" : "SwiftTarget",
"name" : "SwiftMarkdown",
"path" : "Sources/SwiftMarkdown",
"product_dependencies" : [
"cmark"
],
"product_memberships" : [
"SwiftMarkdown"
],
"sources" : [
"SwiftMarkdown.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.