Build Information
Successful build of Parsley, reference main (946d49
), with Swift 6.0 for macOS (SPM) on 19 Feb 2025 01:09:13 UTC.
Swift 6 data race errors: 8
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loopwerk/Parsley.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/loopwerk/Parsley
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 946d490 chore: Xcode 14.3.1 is also not available on github
Cloned https://github.com/loopwerk/Parsley.git
Revision (git rev-parse @):
946d490f25ca30668a3c611579f17d9411bfe4e2
SUCCESS checkout https://github.com/loopwerk/Parsley.git at main
Fetching https://github.com/stackotter/swift-cmark-gfm
[1/180] Fetching swift-cmark-gfm
Fetched https://github.com/stackotter/swift-cmark-gfm from cache (0.85s)
Computing version for https://github.com/stackotter/swift-cmark-gfm
Computed https://github.com/stackotter/swift-cmark-gfm at 1.0.2 (0.53s)
Creating working copy for https://github.com/stackotter/swift-cmark-gfm
Working copy of https://github.com/stackotter/swift-cmark-gfm resolved at 1.0.2
========================================
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": "parsley",
"name": "Parsley",
"url": "https://github.com/loopwerk/Parsley.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Parsley",
"dependencies": [
{
"identity": "swift-cmark-gfm",
"name": "swift-cmark-gfm",
"url": "https://github.com/stackotter/swift-cmark-gfm",
"version": "1.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-cmark-gfm",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/loopwerk/Parsley.git
[1/279] Fetching parsley
Fetched https://github.com/loopwerk/Parsley.git from cache (0.84s)
Fetching https://github.com/stackotter/swift-cmark-gfm from cache
Fetched https://github.com/stackotter/swift-cmark-gfm from cache (0.44s)
Computing version for https://github.com/stackotter/swift-cmark-gfm
Computed https://github.com/stackotter/swift-cmark-gfm at 1.0.2 (0.02s)
Creating working copy for https://github.com/stackotter/swift-cmark-gfm
Working copy of https://github.com/stackotter/swift-cmark-gfm resolved at 1.0.2
Creating working copy for https://github.com/loopwerk/Parsley.git
Working copy of https://github.com/loopwerk/Parsley.git resolved at main (946d490)
warning: '.resolve-product-dependencies': dependency 'parsley' is not used by any target
Found 1 product dependencies
- swift-cmark-gfm
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/loopwerk/Parsley.git
https://github.com/loopwerk/Parsley.git
{
"dependencies" : [
{
"identity" : "swift-cmark-gfm",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/stackotter/swift-cmark-gfm"
}
],
"manifest_display_name" : "Parsley",
"name" : "Parsley",
"path" : "/Users/admin/builder/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",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Parsley"
],
"type" : "test"
},
{
"c99name" : "Parsley",
"module_type" : "SwiftTarget",
"name" : "Parsley",
"path" : "Sources/Parsley",
"product_dependencies" : [
"CMarkGFM"
],
"product_memberships" : [
"Parsley"
],
"sources" : [
"Document.swift",
"MarkdownOptions.swift",
"Parsley.swift",
"SyntaxExtension.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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/36] Write sources
[1/36] Write swift-version-5BDAB9E9C0126B9D.txt
[2/36] Compiling CMarkGFM strikethrough.c
[3/36] Compiling CMarkGFM tagfilter.c
[3/36] Compiling CMarkGFM syntax_extension.c
[5/36] Compiling CMarkGFM table.c
[6/36] Compiling CMarkGFM render.c
[7/36] Compiling CMarkGFM registry.c
[8/36] Compiling CMarkGFM tasklist.c
[9/36] Compiling CMarkGFM utf8.c
[10/36] Compiling CMarkGFM plugin.c
[11/36] Compiling CMarkGFM references.c
[12/36] Compiling CMarkGFM plaintext.c
[13/36] Compiling CMarkGFM map.c
[14/36] Compiling CMarkGFM man.c
[15/36] Compiling CMarkGFM node.c
[16/36] Compiling CMarkGFM linked_list.c
[17/36] Compiling CMarkGFM latex.c
[18/36] Compiling CMarkGFM iterator.c
[19/36] Compiling CMarkGFM houdini_href_e.c
[19/36] Compiling CMarkGFM html.c
[21/36] Compiling CMarkGFM houdini_html_e.c
[22/36] Compiling CMarkGFM footnotes.c
[23/36] Compiling CMarkGFM houdini_html_u.c
[24/36] Compiling CMarkGFM inlines.c
[25/36] Compiling CMarkGFM core-extensions.c
[26/36] Compiling CMarkGFM ext_scanners.c
[27/36] Compiling CMarkGFM scanners.c
[28/36] Compiling CMarkGFM cmark_ctype.c
[29/36] Compiling CMarkGFM cmark.c
[30/36] Compiling CMarkGFM xml.c
[31/36] Compiling CMarkGFM arena.c
[32/36] Compiling CMarkGFM commonmark.c
[32/36] Compiling CMarkGFM buffer.c
[34/36] Compiling CMarkGFM blocks.c
[35/36] Compiling CMarkGFM autolink.c
[37/41] Compiling Parsley SyntaxExtension.swift
[38/41] Compiling Parsley Document.swift
[39/41] Compiling Parsley MarkdownOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:8: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 |
:
6 | }
7 |
8 | 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
9 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
10 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:9: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 |
:
7 |
8 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
9 | 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
10 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
11 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:10: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 |
:
8 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
9 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
10 | 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
11 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
12 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:11: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 |
:
9 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
10 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
11 | 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
12 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
13 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:12: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 |
:
10 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
11 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
12 | 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
13 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
14 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:13: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 |
:
11 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
12 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
13 | 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
14 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
15 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
/Users/admin/builder/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:14: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 |
:
12 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
13 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
14 | 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
15 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:15: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 |
:
13 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
14 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
15 | 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
16 | }
17 |
[40/41] Emitting module Parsley
/Users/admin/builder/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:8: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 |
:
6 | }
7 |
8 | 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
9 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
10 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:9: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 |
:
7 |
8 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
9 | 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
10 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
11 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:10: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 |
:
8 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
9 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
10 | 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
11 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
12 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:11: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 |
:
9 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
10 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
11 | 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
12 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
13 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:12: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 |
:
10 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
11 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
12 | 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
13 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
14 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:13: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 |
:
11 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
12 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
13 | 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
14 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
15 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
/Users/admin/builder/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:14: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 |
:
12 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
13 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
14 | 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
15 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:15: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 |
:
13 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
14 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
15 | 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
16 | }
17 |
[41/41] Compiling Parsley Parsley.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parsley/MarkdownOptions.swift:10: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 |
:
8 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
9 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
10 | 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
11 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
12 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
Build complete! (7.45s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-cmark-gfm",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/stackotter/swift-cmark-gfm"
}
],
"manifest_display_name" : "Parsley",
"name" : "Parsley",
"path" : "/Users/admin/builder/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",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Parsley"
],
"type" : "test"
},
{
"c99name" : "Parsley",
"module_type" : "SwiftTarget",
"name" : "Parsley",
"path" : "Sources/Parsley",
"product_dependencies" : [
"CMarkGFM"
],
"product_memberships" : [
"Parsley"
],
"sources" : [
"Document.swift",
"MarkdownOptions.swift",
"Parsley.swift",
"SyntaxExtension.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.