Build Information
Failed to build PerfectMarkdown, reference 3.2.0 (ec159e
), with Swift 6.0 for Linux on 1 Nov 2024 11:37:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-markdown.git
Reference: 3.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/perfectlysoft/perfect-markdown
* tag 3.2.0 -> FETCH_HEAD
HEAD is now at ec159e7 Merge pull request #5 from wito/encapsulating-default-settings
Cloned https://github.com/perfectlysoft/perfect-markdown.git
Revision (git rev-parse @):
ec159e763d95cd81125f80e4d616049fa9ee389c
SUCCESS checkout https://github.com/perfectlysoft/perfect-markdown.git at 3.2.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-markdown.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/10] Compiling upskirt houdini_html_e.c
[1/10] Compiling upskirt houdini_href_e.c
[2/10] Write sources
[3/10] Compiling upskirt html_smartypants.c
[4/10] Compiling upskirt stack.c
[5/10] Compiling upskirt html.c
[6/10] Compiling upskirt autolink.c
[7/10] Compiling upskirt buffer.c
[8/10] Compiling upskirt markdown.c
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/14] Compiling PerfectMarkdown PerfectMarkdown.swift
/host/spi-builder-workspace/Sources/PerfectMarkdown/PerfectMarkdown.swift:54:14: warning: static property 'defaultHTMLRenderOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | /// an OptionSet setting the markdown extensions to use when rendering using `.markdownToHTML` or `.markdownToXHTML`
54 | static var defaultHTMLRenderOptions = HTMLRenderOptions.default
| |- warning: static property 'defaultHTMLRenderOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultHTMLRenderOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultHTMLRenderOptions' 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
55 |
56 | /// an OptionSet setting the HTML rendering options to use when rendering using `.markdownToHTML` or `.markdownToXHTML`
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:57:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
55 |
56 | static let none = HTMLRenderOptions([])
57 | static let `default` = Self.none
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
58 | }
59 | #endif
/host/spi-builder-workspace/Sources/PerfectMarkdown/PerfectMarkdown.swift:57:14: warning: static property 'defaultExtensionOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
55 |
56 | /// an OptionSet setting the HTML rendering options to use when rendering using `.markdownToHTML` or `.markdownToXHTML`
57 | static var defaultExtensionOptions = MarkdownExtensionOptions.default
| |- warning: static property 'defaultExtensionOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultExtensionOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultExtensionOptions' 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
58 |
59 | }
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:29:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
27 |
28 | static let none = MarkdownExtensionOptions([])
29 | static let `default` = MarkdownExtensionOptions([.tables, .fencedCode, .emailFriendly])
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
30 | }
31 |
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:52:14: warning: static property 'useXHTML' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
50 | static let tableOfContents = HTMLRenderOptions(HTML_TOC)
51 | static let hardWrap = HTMLRenderOptions(HTML_HARD_WRAP)
52 | static let useXHTML = HTMLRenderOptions(HTML_USE_XHTML)
| |- warning: static property 'useXHTML' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useXHTML' 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
53 | static let escapeHTML = HTMLRenderOptions(HTML_ESCAPE)
54 | static let createOutline = HTMLRenderOptions(HTML_OUTLINE)
[12/14] Compiling PerfectMarkdown Enumerations.swift
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:16:14: warning: static property 'noIntraEmphasis' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
14 |
15 | public extension MarkdownExtensionOptions {
16 | static let noIntraEmphasis = MarkdownExtensionOptions(MKDEXT_NO_INTRA_EMPHASIS)
| |- warning: static property 'noIntraEmphasis' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noIntraEmphasis' 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
17 | static let tables = MarkdownExtensionOptions(MKDEXT_TABLES)
18 | static let fencedCode = MarkdownExtensionOptions(MKDEXT_FENCED_CODE)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:17:14: warning: static property 'tables' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
15 | public extension MarkdownExtensionOptions {
16 | static let noIntraEmphasis = MarkdownExtensionOptions(MKDEXT_NO_INTRA_EMPHASIS)
17 | static let tables = MarkdownExtensionOptions(MKDEXT_TABLES)
| |- warning: static property 'tables' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tables' 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 let fencedCode = MarkdownExtensionOptions(MKDEXT_FENCED_CODE)
19 | static let autolink = MarkdownExtensionOptions(MKDEXT_AUTOLINK)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:18:14: warning: static property 'fencedCode' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
16 | static let noIntraEmphasis = MarkdownExtensionOptions(MKDEXT_NO_INTRA_EMPHASIS)
17 | static let tables = MarkdownExtensionOptions(MKDEXT_TABLES)
18 | static let fencedCode = MarkdownExtensionOptions(MKDEXT_FENCED_CODE)
| |- warning: static property 'fencedCode' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fencedCode' 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 let autolink = MarkdownExtensionOptions(MKDEXT_AUTOLINK)
20 | static let strikethrough = MarkdownExtensionOptions(MKDEXT_STRIKETHROUGH)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:19:14: warning: static property 'autolink' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
17 | static let tables = MarkdownExtensionOptions(MKDEXT_TABLES)
18 | static let fencedCode = MarkdownExtensionOptions(MKDEXT_FENCED_CODE)
19 | static let autolink = MarkdownExtensionOptions(MKDEXT_AUTOLINK)
| |- warning: static property 'autolink' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'autolink' 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 let strikethrough = MarkdownExtensionOptions(MKDEXT_STRIKETHROUGH)
21 | static let insertion = MarkdownExtensionOptions(MKDEXT_INS)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:20:14: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
18 | static let fencedCode = MarkdownExtensionOptions(MKDEXT_FENCED_CODE)
19 | static let autolink = MarkdownExtensionOptions(MKDEXT_AUTOLINK)
20 | static let strikethrough = MarkdownExtensionOptions(MKDEXT_STRIKETHROUGH)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strikethrough' 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 let insertion = MarkdownExtensionOptions(MKDEXT_INS)
22 | static let strictHeaderSpacing = MarkdownExtensionOptions(MKDEXT_SPACE_HEADERS)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:21:14: warning: static property 'insertion' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
19 | static let autolink = MarkdownExtensionOptions(MKDEXT_AUTOLINK)
20 | static let strikethrough = MarkdownExtensionOptions(MKDEXT_STRIKETHROUGH)
21 | static let insertion = MarkdownExtensionOptions(MKDEXT_INS)
| |- warning: static property 'insertion' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'insertion' 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 let strictHeaderSpacing = MarkdownExtensionOptions(MKDEXT_SPACE_HEADERS)
23 | static let superscript = MarkdownExtensionOptions(MKDEXT_SUPERSCRIPT)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:22:14: warning: static property 'strictHeaderSpacing' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
20 | static let strikethrough = MarkdownExtensionOptions(MKDEXT_STRIKETHROUGH)
21 | static let insertion = MarkdownExtensionOptions(MKDEXT_INS)
22 | static let strictHeaderSpacing = MarkdownExtensionOptions(MKDEXT_SPACE_HEADERS)
| |- warning: static property 'strictHeaderSpacing' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strictHeaderSpacing' 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 let superscript = MarkdownExtensionOptions(MKDEXT_SUPERSCRIPT)
24 | static let laxSpacing = MarkdownExtensionOptions(MKDEXT_LAX_SPACING)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:23:14: warning: static property 'superscript' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
21 | static let insertion = MarkdownExtensionOptions(MKDEXT_INS)
22 | static let strictHeaderSpacing = MarkdownExtensionOptions(MKDEXT_SPACE_HEADERS)
23 | static let superscript = MarkdownExtensionOptions(MKDEXT_SUPERSCRIPT)
| |- warning: static property 'superscript' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'superscript' 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 let laxSpacing = MarkdownExtensionOptions(MKDEXT_LAX_SPACING)
25 | static let emailFriendly = MarkdownExtensionOptions(MKDEXT_EMAIL_FRIENDLY)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:24:14: warning: static property 'laxSpacing' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
22 | static let strictHeaderSpacing = MarkdownExtensionOptions(MKDEXT_SPACE_HEADERS)
23 | static let superscript = MarkdownExtensionOptions(MKDEXT_SUPERSCRIPT)
24 | static let laxSpacing = MarkdownExtensionOptions(MKDEXT_LAX_SPACING)
| |- warning: static property 'laxSpacing' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'laxSpacing' 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 | static let emailFriendly = MarkdownExtensionOptions(MKDEXT_EMAIL_FRIENDLY)
26 | //static let listAlphaRoman = MarkdownExtensionOptions(MKDEXT_LIST_ALPHA_ROMAN) // broken in upskirt
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:25:14: warning: static property 'emailFriendly' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
23 | static let superscript = MarkdownExtensionOptions(MKDEXT_SUPERSCRIPT)
24 | static let laxSpacing = MarkdownExtensionOptions(MKDEXT_LAX_SPACING)
25 | static let emailFriendly = MarkdownExtensionOptions(MKDEXT_EMAIL_FRIENDLY)
| |- warning: static property 'emailFriendly' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emailFriendly' 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
26 | //static let listAlphaRoman = MarkdownExtensionOptions(MKDEXT_LIST_ALPHA_ROMAN) // broken in upskirt
27 |
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:28:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
26 | //static let listAlphaRoman = MarkdownExtensionOptions(MKDEXT_LIST_ALPHA_ROMAN) // broken in upskirt
27 |
28 | static let none = MarkdownExtensionOptions([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 | static let `default` = MarkdownExtensionOptions([.tables, .fencedCode, .emailFriendly])
30 | }
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:29:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
27 |
28 | static let none = MarkdownExtensionOptions([])
29 | static let `default` = MarkdownExtensionOptions([.tables, .fencedCode, .emailFriendly])
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
30 | }
31 |
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:44:14: warning: static property 'skipHTML' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
42 |
43 | public extension HTMLRenderOptions {
44 | static let skipHTML = HTMLRenderOptions(HTML_SKIP_HTML)
| |- warning: static property 'skipHTML' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'skipHTML' 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
45 | static let skipStyle = HTMLRenderOptions(HTML_SKIP_STYLE)
46 | static let skipImages = HTMLRenderOptions(HTML_SKIP_IMAGES)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:45:14: warning: static property 'skipStyle' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
43 | public extension HTMLRenderOptions {
44 | static let skipHTML = HTMLRenderOptions(HTML_SKIP_HTML)
45 | static let skipStyle = HTMLRenderOptions(HTML_SKIP_STYLE)
| |- warning: static property 'skipStyle' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'skipStyle' 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
46 | static let skipImages = HTMLRenderOptions(HTML_SKIP_IMAGES)
47 | static let skipLinks = HTMLRenderOptions(HTML_SKIP_LINKS)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:46:14: warning: static property 'skipImages' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
44 | static let skipHTML = HTMLRenderOptions(HTML_SKIP_HTML)
45 | static let skipStyle = HTMLRenderOptions(HTML_SKIP_STYLE)
46 | static let skipImages = HTMLRenderOptions(HTML_SKIP_IMAGES)
| |- warning: static property 'skipImages' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'skipImages' 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
47 | static let skipLinks = HTMLRenderOptions(HTML_SKIP_LINKS)
48 | //static let expandTabs = HTMLRenderOptions(HTML_EXPAND_TABS) // broken in upskirt
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:47:14: warning: static property 'skipLinks' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
45 | static let skipStyle = HTMLRenderOptions(HTML_SKIP_STYLE)
46 | static let skipImages = HTMLRenderOptions(HTML_SKIP_IMAGES)
47 | static let skipLinks = HTMLRenderOptions(HTML_SKIP_LINKS)
| |- warning: static property 'skipLinks' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'skipLinks' 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
48 | //static let expandTabs = HTMLRenderOptions(HTML_EXPAND_TABS) // broken in upskirt
49 | static let safeLinks = HTMLRenderOptions(HTML_SAFELINK)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:49:14: warning: static property 'safeLinks' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
47 | static let skipLinks = HTMLRenderOptions(HTML_SKIP_LINKS)
48 | //static let expandTabs = HTMLRenderOptions(HTML_EXPAND_TABS) // broken in upskirt
49 | static let safeLinks = HTMLRenderOptions(HTML_SAFELINK)
| |- warning: static property 'safeLinks' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'safeLinks' 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
50 | static let tableOfContents = HTMLRenderOptions(HTML_TOC)
51 | static let hardWrap = HTMLRenderOptions(HTML_HARD_WRAP)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:50:14: warning: static property 'tableOfContents' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
48 | //static let expandTabs = HTMLRenderOptions(HTML_EXPAND_TABS) // broken in upskirt
49 | static let safeLinks = HTMLRenderOptions(HTML_SAFELINK)
50 | static let tableOfContents = HTMLRenderOptions(HTML_TOC)
| |- warning: static property 'tableOfContents' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tableOfContents' 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
51 | static let hardWrap = HTMLRenderOptions(HTML_HARD_WRAP)
52 | static let useXHTML = HTMLRenderOptions(HTML_USE_XHTML)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:51:14: warning: static property 'hardWrap' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
49 | static let safeLinks = HTMLRenderOptions(HTML_SAFELINK)
50 | static let tableOfContents = HTMLRenderOptions(HTML_TOC)
51 | static let hardWrap = HTMLRenderOptions(HTML_HARD_WRAP)
| |- warning: static property 'hardWrap' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hardWrap' 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
52 | static let useXHTML = HTMLRenderOptions(HTML_USE_XHTML)
53 | static let escapeHTML = HTMLRenderOptions(HTML_ESCAPE)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:52:14: warning: static property 'useXHTML' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
50 | static let tableOfContents = HTMLRenderOptions(HTML_TOC)
51 | static let hardWrap = HTMLRenderOptions(HTML_HARD_WRAP)
52 | static let useXHTML = HTMLRenderOptions(HTML_USE_XHTML)
| |- warning: static property 'useXHTML' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useXHTML' 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
53 | static let escapeHTML = HTMLRenderOptions(HTML_ESCAPE)
54 | static let createOutline = HTMLRenderOptions(HTML_OUTLINE)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:53:14: warning: static property 'escapeHTML' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
51 | static let hardWrap = HTMLRenderOptions(HTML_HARD_WRAP)
52 | static let useXHTML = HTMLRenderOptions(HTML_USE_XHTML)
53 | static let escapeHTML = HTMLRenderOptions(HTML_ESCAPE)
| |- warning: static property 'escapeHTML' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'escapeHTML' 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
54 | static let createOutline = HTMLRenderOptions(HTML_OUTLINE)
55 |
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:54:14: warning: static property 'createOutline' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
52 | static let useXHTML = HTMLRenderOptions(HTML_USE_XHTML)
53 | static let escapeHTML = HTMLRenderOptions(HTML_ESCAPE)
54 | static let createOutline = HTMLRenderOptions(HTML_OUTLINE)
| |- warning: static property 'createOutline' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'createOutline' 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
55 |
56 | static let none = HTMLRenderOptions([])
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:56:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
54 | static let createOutline = HTMLRenderOptions(HTML_OUTLINE)
55 |
56 | static let none = HTMLRenderOptions([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
57 | static let `default` = Self.none
58 | }
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:57:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
55 |
56 | static let none = HTMLRenderOptions([])
57 | static let `default` = Self.none
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
58 | }
59 | #endif
[13/14] Emitting module PerfectMarkdown
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:16:14: warning: static property 'noIntraEmphasis' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
14 |
15 | public extension MarkdownExtensionOptions {
16 | static let noIntraEmphasis = MarkdownExtensionOptions(MKDEXT_NO_INTRA_EMPHASIS)
| |- warning: static property 'noIntraEmphasis' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noIntraEmphasis' 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
17 | static let tables = MarkdownExtensionOptions(MKDEXT_TABLES)
18 | static let fencedCode = MarkdownExtensionOptions(MKDEXT_FENCED_CODE)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:17:14: warning: static property 'tables' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
15 | public extension MarkdownExtensionOptions {
16 | static let noIntraEmphasis = MarkdownExtensionOptions(MKDEXT_NO_INTRA_EMPHASIS)
17 | static let tables = MarkdownExtensionOptions(MKDEXT_TABLES)
| |- warning: static property 'tables' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tables' 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 let fencedCode = MarkdownExtensionOptions(MKDEXT_FENCED_CODE)
19 | static let autolink = MarkdownExtensionOptions(MKDEXT_AUTOLINK)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:18:14: warning: static property 'fencedCode' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
16 | static let noIntraEmphasis = MarkdownExtensionOptions(MKDEXT_NO_INTRA_EMPHASIS)
17 | static let tables = MarkdownExtensionOptions(MKDEXT_TABLES)
18 | static let fencedCode = MarkdownExtensionOptions(MKDEXT_FENCED_CODE)
| |- warning: static property 'fencedCode' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fencedCode' 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 let autolink = MarkdownExtensionOptions(MKDEXT_AUTOLINK)
20 | static let strikethrough = MarkdownExtensionOptions(MKDEXT_STRIKETHROUGH)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:19:14: warning: static property 'autolink' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
17 | static let tables = MarkdownExtensionOptions(MKDEXT_TABLES)
18 | static let fencedCode = MarkdownExtensionOptions(MKDEXT_FENCED_CODE)
19 | static let autolink = MarkdownExtensionOptions(MKDEXT_AUTOLINK)
| |- warning: static property 'autolink' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'autolink' 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 let strikethrough = MarkdownExtensionOptions(MKDEXT_STRIKETHROUGH)
21 | static let insertion = MarkdownExtensionOptions(MKDEXT_INS)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:20:14: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
18 | static let fencedCode = MarkdownExtensionOptions(MKDEXT_FENCED_CODE)
19 | static let autolink = MarkdownExtensionOptions(MKDEXT_AUTOLINK)
20 | static let strikethrough = MarkdownExtensionOptions(MKDEXT_STRIKETHROUGH)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strikethrough' 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 let insertion = MarkdownExtensionOptions(MKDEXT_INS)
22 | static let strictHeaderSpacing = MarkdownExtensionOptions(MKDEXT_SPACE_HEADERS)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:21:14: warning: static property 'insertion' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
19 | static let autolink = MarkdownExtensionOptions(MKDEXT_AUTOLINK)
20 | static let strikethrough = MarkdownExtensionOptions(MKDEXT_STRIKETHROUGH)
21 | static let insertion = MarkdownExtensionOptions(MKDEXT_INS)
| |- warning: static property 'insertion' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'insertion' 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 let strictHeaderSpacing = MarkdownExtensionOptions(MKDEXT_SPACE_HEADERS)
23 | static let superscript = MarkdownExtensionOptions(MKDEXT_SUPERSCRIPT)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:22:14: warning: static property 'strictHeaderSpacing' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
20 | static let strikethrough = MarkdownExtensionOptions(MKDEXT_STRIKETHROUGH)
21 | static let insertion = MarkdownExtensionOptions(MKDEXT_INS)
22 | static let strictHeaderSpacing = MarkdownExtensionOptions(MKDEXT_SPACE_HEADERS)
| |- warning: static property 'strictHeaderSpacing' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strictHeaderSpacing' 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 let superscript = MarkdownExtensionOptions(MKDEXT_SUPERSCRIPT)
24 | static let laxSpacing = MarkdownExtensionOptions(MKDEXT_LAX_SPACING)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:23:14: warning: static property 'superscript' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
21 | static let insertion = MarkdownExtensionOptions(MKDEXT_INS)
22 | static let strictHeaderSpacing = MarkdownExtensionOptions(MKDEXT_SPACE_HEADERS)
23 | static let superscript = MarkdownExtensionOptions(MKDEXT_SUPERSCRIPT)
| |- warning: static property 'superscript' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'superscript' 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 let laxSpacing = MarkdownExtensionOptions(MKDEXT_LAX_SPACING)
25 | static let emailFriendly = MarkdownExtensionOptions(MKDEXT_EMAIL_FRIENDLY)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:24:14: warning: static property 'laxSpacing' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
22 | static let strictHeaderSpacing = MarkdownExtensionOptions(MKDEXT_SPACE_HEADERS)
23 | static let superscript = MarkdownExtensionOptions(MKDEXT_SUPERSCRIPT)
24 | static let laxSpacing = MarkdownExtensionOptions(MKDEXT_LAX_SPACING)
| |- warning: static property 'laxSpacing' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'laxSpacing' 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 | static let emailFriendly = MarkdownExtensionOptions(MKDEXT_EMAIL_FRIENDLY)
26 | //static let listAlphaRoman = MarkdownExtensionOptions(MKDEXT_LIST_ALPHA_ROMAN) // broken in upskirt
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:25:14: warning: static property 'emailFriendly' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
23 | static let superscript = MarkdownExtensionOptions(MKDEXT_SUPERSCRIPT)
24 | static let laxSpacing = MarkdownExtensionOptions(MKDEXT_LAX_SPACING)
25 | static let emailFriendly = MarkdownExtensionOptions(MKDEXT_EMAIL_FRIENDLY)
| |- warning: static property 'emailFriendly' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'emailFriendly' 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
26 | //static let listAlphaRoman = MarkdownExtensionOptions(MKDEXT_LIST_ALPHA_ROMAN) // broken in upskirt
27 |
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:28:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
26 | //static let listAlphaRoman = MarkdownExtensionOptions(MKDEXT_LIST_ALPHA_ROMAN) // broken in upskirt
27 |
28 | static let none = MarkdownExtensionOptions([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 | static let `default` = MarkdownExtensionOptions([.tables, .fencedCode, .emailFriendly])
30 | }
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:29:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
27 |
28 | static let none = MarkdownExtensionOptions([])
29 | static let `default` = MarkdownExtensionOptions([.tables, .fencedCode, .emailFriendly])
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
30 | }
31 |
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:44:14: warning: static property 'skipHTML' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
42 |
43 | public extension HTMLRenderOptions {
44 | static let skipHTML = HTMLRenderOptions(HTML_SKIP_HTML)
| |- warning: static property 'skipHTML' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'skipHTML' 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
45 | static let skipStyle = HTMLRenderOptions(HTML_SKIP_STYLE)
46 | static let skipImages = HTMLRenderOptions(HTML_SKIP_IMAGES)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:45:14: warning: static property 'skipStyle' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
43 | public extension HTMLRenderOptions {
44 | static let skipHTML = HTMLRenderOptions(HTML_SKIP_HTML)
45 | static let skipStyle = HTMLRenderOptions(HTML_SKIP_STYLE)
| |- warning: static property 'skipStyle' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'skipStyle' 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
46 | static let skipImages = HTMLRenderOptions(HTML_SKIP_IMAGES)
47 | static let skipLinks = HTMLRenderOptions(HTML_SKIP_LINKS)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:46:14: warning: static property 'skipImages' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
44 | static let skipHTML = HTMLRenderOptions(HTML_SKIP_HTML)
45 | static let skipStyle = HTMLRenderOptions(HTML_SKIP_STYLE)
46 | static let skipImages = HTMLRenderOptions(HTML_SKIP_IMAGES)
| |- warning: static property 'skipImages' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'skipImages' 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
47 | static let skipLinks = HTMLRenderOptions(HTML_SKIP_LINKS)
48 | //static let expandTabs = HTMLRenderOptions(HTML_EXPAND_TABS) // broken in upskirt
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:47:14: warning: static property 'skipLinks' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
45 | static let skipStyle = HTMLRenderOptions(HTML_SKIP_STYLE)
46 | static let skipImages = HTMLRenderOptions(HTML_SKIP_IMAGES)
47 | static let skipLinks = HTMLRenderOptions(HTML_SKIP_LINKS)
| |- warning: static property 'skipLinks' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'skipLinks' 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
48 | //static let expandTabs = HTMLRenderOptions(HTML_EXPAND_TABS) // broken in upskirt
49 | static let safeLinks = HTMLRenderOptions(HTML_SAFELINK)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:49:14: warning: static property 'safeLinks' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
47 | static let skipLinks = HTMLRenderOptions(HTML_SKIP_LINKS)
48 | //static let expandTabs = HTMLRenderOptions(HTML_EXPAND_TABS) // broken in upskirt
49 | static let safeLinks = HTMLRenderOptions(HTML_SAFELINK)
| |- warning: static property 'safeLinks' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'safeLinks' 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
50 | static let tableOfContents = HTMLRenderOptions(HTML_TOC)
51 | static let hardWrap = HTMLRenderOptions(HTML_HARD_WRAP)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:50:14: warning: static property 'tableOfContents' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
48 | //static let expandTabs = HTMLRenderOptions(HTML_EXPAND_TABS) // broken in upskirt
49 | static let safeLinks = HTMLRenderOptions(HTML_SAFELINK)
50 | static let tableOfContents = HTMLRenderOptions(HTML_TOC)
| |- warning: static property 'tableOfContents' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tableOfContents' 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
51 | static let hardWrap = HTMLRenderOptions(HTML_HARD_WRAP)
52 | static let useXHTML = HTMLRenderOptions(HTML_USE_XHTML)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:51:14: warning: static property 'hardWrap' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
49 | static let safeLinks = HTMLRenderOptions(HTML_SAFELINK)
50 | static let tableOfContents = HTMLRenderOptions(HTML_TOC)
51 | static let hardWrap = HTMLRenderOptions(HTML_HARD_WRAP)
| |- warning: static property 'hardWrap' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hardWrap' 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
52 | static let useXHTML = HTMLRenderOptions(HTML_USE_XHTML)
53 | static let escapeHTML = HTMLRenderOptions(HTML_ESCAPE)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:52:14: warning: static property 'useXHTML' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
50 | static let tableOfContents = HTMLRenderOptions(HTML_TOC)
51 | static let hardWrap = HTMLRenderOptions(HTML_HARD_WRAP)
52 | static let useXHTML = HTMLRenderOptions(HTML_USE_XHTML)
| |- warning: static property 'useXHTML' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'useXHTML' 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
53 | static let escapeHTML = HTMLRenderOptions(HTML_ESCAPE)
54 | static let createOutline = HTMLRenderOptions(HTML_OUTLINE)
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:53:14: warning: static property 'escapeHTML' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
51 | static let hardWrap = HTMLRenderOptions(HTML_HARD_WRAP)
52 | static let useXHTML = HTMLRenderOptions(HTML_USE_XHTML)
53 | static let escapeHTML = HTMLRenderOptions(HTML_ESCAPE)
| |- warning: static property 'escapeHTML' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'escapeHTML' 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
54 | static let createOutline = HTMLRenderOptions(HTML_OUTLINE)
55 |
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:54:14: warning: static property 'createOutline' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
52 | static let useXHTML = HTMLRenderOptions(HTML_USE_XHTML)
53 | static let escapeHTML = HTMLRenderOptions(HTML_ESCAPE)
54 | static let createOutline = HTMLRenderOptions(HTML_OUTLINE)
| |- warning: static property 'createOutline' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'createOutline' 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
55 |
56 | static let none = HTMLRenderOptions([])
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:56:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
54 | static let createOutline = HTMLRenderOptions(HTML_OUTLINE)
55 |
56 | static let none = HTMLRenderOptions([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
57 | static let `default` = Self.none
58 | }
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:57:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
55 |
56 | static let none = HTMLRenderOptions([])
57 | static let `default` = Self.none
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
58 | }
59 | #endif
/host/spi-builder-workspace/Sources/PerfectMarkdown/PerfectMarkdown.swift:54:14: warning: static property 'defaultHTMLRenderOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | /// an OptionSet setting the markdown extensions to use when rendering using `.markdownToHTML` or `.markdownToXHTML`
54 | static var defaultHTMLRenderOptions = HTMLRenderOptions.default
| |- warning: static property 'defaultHTMLRenderOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultHTMLRenderOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultHTMLRenderOptions' 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
55 |
56 | /// an OptionSet setting the HTML rendering options to use when rendering using `.markdownToHTML` or `.markdownToXHTML`
/host/spi-builder-workspace/Sources/PerfectMarkdown/PerfectMarkdown.swift:57:14: warning: static property 'defaultExtensionOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
55 |
56 | /// an OptionSet setting the HTML rendering options to use when rendering using `.markdownToHTML` or `.markdownToXHTML`
57 | static var defaultExtensionOptions = MarkdownExtensionOptions.default
| |- warning: static property 'defaultExtensionOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultExtensionOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultExtensionOptions' 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
58 |
59 | }
[14/14] Compiling PerfectMarkdown MarkdownRenderer.swift
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:29:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | #if swift(>=5.0)
4 | public struct MarkdownExtensionOptions: OptionSet {
| `- note: consider making struct 'MarkdownExtensionOptions' conform to the 'Sendable' protocol
5 | public let rawValue: UInt32
6 | public init(rawValue: UInt32) {
:
27 |
28 | static let none = MarkdownExtensionOptions([])
29 | static let `default` = MarkdownExtensionOptions([.tables, .fencedCode, .emailFriendly])
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MarkdownExtensionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
30 | }
31 |
/host/spi-builder-workspace/Sources/PerfectMarkdown/Enumerations.swift:57:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | public struct HTMLRenderOptions: OptionSet {
| `- note: consider making struct 'HTMLRenderOptions' conform to the 'Sendable' protocol
33 | public let rawValue: UInt32
34 | public init(rawValue: UInt32) {
:
55 |
56 | static let none = HTMLRenderOptions([])
57 | static let `default` = Self.none
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTMLRenderOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
58 | }
59 | #endif
/host/spi-builder-workspace/Sources/PerfectMarkdown/MarkdownRenderer.swift:35:9: error: cannot find 'memcpy' in scope
33 |
34 | buffer.pointee.size = input.withCString { ptr->Int in
35 | memcpy(buffer.pointee.data, ptr, bufferSize)
| `- error: cannot find 'memcpy' in scope
36 | return bufferSize
37 | }
BUILD FAILURE 6.0 linux