Build Information
Failed to build PerfectMarkdown, reference 3.2.0 (ec159e
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 07:02:55 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-markdown.git
Reference: 3.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
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": "perfect-markdown",
"name": "PerfectMarkdown",
"url": "https://github.com/perfectlysoft/perfect-markdown.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/perfect-markdown",
"dependencies": [
]
}
]
}
Fetching https://github.com/perfectlysoft/perfect-markdown.git
[1/232] Fetching perfect-markdown
Fetched https://github.com/perfectlysoft/perfect-markdown.git from cache (0.78s)
Creating working copy for https://github.com/perfectlysoft/perfect-markdown.git
Working copy of https://github.com/perfectlysoft/perfect-markdown.git resolved at 3.2.0 (ec159e7)
warning: '.resolve-product-dependencies': dependency 'perfect-markdown' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-markdown.git
https://github.com/perfectlysoft/perfect-markdown.git
{
"dependencies" : [
],
"manifest_display_name" : "PerfectMarkdown",
"name" : "PerfectMarkdown",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "PerfectMarkdown",
"targets" : [
"PerfectMarkdown"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "upskirt",
"module_type" : "ClangTarget",
"name" : "upskirt",
"path" : "Sources/upskirt",
"product_memberships" : [
"PerfectMarkdown"
],
"sources" : [
"autolink.c",
"buffer.c",
"houdini_href_e.c",
"houdini_html_e.c",
"html.c",
"html_smartypants.c",
"markdown.c",
"stack.c"
],
"type" : "library"
},
{
"c99name" : "PerfectMarkdownTests",
"module_type" : "SwiftTarget",
"name" : "PerfectMarkdownTests",
"path" : "Tests/PerfectMarkdownTests",
"sources" : [
"BugFixTests.swift",
"HTMLRenderOptionsTests.swift",
"MarkdownExtensionTests.swift",
"PerfectMarkdownTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"PerfectMarkdown"
],
"type" : "test"
},
{
"c99name" : "PerfectMarkdown",
"module_type" : "SwiftTarget",
"name" : "PerfectMarkdown",
"path" : "Sources/PerfectMarkdown",
"product_memberships" : [
"PerfectMarkdown"
],
"sources" : [
"Enumerations.swift",
"MarkdownRenderer.swift",
"PerfectMarkdown.swift"
],
"target_dependencies" : [
"upskirt"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/10] Write sources
[1/10] Write swift-version-2F0A5646E1D333AE.txt
[2/10] Compiling upskirt houdini_html_e.c
[3/10] Compiling upskirt houdini_href_e.c
[4/10] Compiling upskirt stack.c
[5/10] Compiling upskirt buffer.c
[6/10] Compiling upskirt html_smartypants.c
[7/10] Compiling upskirt html.c
[8/10] Compiling upskirt markdown.c
[9/10] Compiling upskirt autolink.c
[11/14] Compiling PerfectMarkdown PerfectMarkdown.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'defaultHTMLRenderOptions' part of global actor 'MainActor'
| `- 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`
/Users/admin/builder/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: add '@MainActor' to make static property 'defaultExtensionOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | }
[12/14] Compiling PerfectMarkdown MarkdownRenderer.swift
/Users/admin/builder/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 | }
[13/14] Emitting module PerfectMarkdown
/Users/admin/builder/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: add '@MainActor' to make static property 'noIntraEmphasis' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'tables' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'fencedCode' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'autolink' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'strikethrough' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'insertion' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'strictHeaderSpacing' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'superscript' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'laxSpacing' part of global actor 'MainActor'
| `- 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
/Users/admin/builder/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: add '@MainActor' to make static property 'emailFriendly' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | static let `default` = MarkdownExtensionOptions([.tables, .fencedCode, .emailFriendly])
30 | }
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | }
31 |
/Users/admin/builder/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: add '@MainActor' to make static property 'skipHTML' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'skipStyle' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'skipImages' part of global actor 'MainActor'
| `- 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
/Users/admin/builder/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: add '@MainActor' to make static property 'skipLinks' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'safeLinks' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'tableOfContents' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'hardWrap' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'useXHTML' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'escapeHTML' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let createOutline = HTMLRenderOptions(HTML_OUTLINE)
55 |
/Users/admin/builder/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: add '@MainActor' to make static property 'createOutline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | static let none = HTMLRenderOptions([])
/Users/admin/builder/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static let `default` = Self.none
58 | }
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | }
59 | #endif
/Users/admin/builder/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: add '@MainActor' to make static property 'defaultHTMLRenderOptions' part of global actor 'MainActor'
| `- 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`
/Users/admin/builder/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: add '@MainActor' to make static property 'defaultExtensionOptions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | }
[14/14] Compiling PerfectMarkdown Enumerations.swift
/Users/admin/builder/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: add '@MainActor' to make static property 'noIntraEmphasis' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'tables' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'fencedCode' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'autolink' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'strikethrough' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'insertion' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'strictHeaderSpacing' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'superscript' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'laxSpacing' part of global actor 'MainActor'
| `- 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
/Users/admin/builder/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: add '@MainActor' to make static property 'emailFriendly' part of global actor 'MainActor'
| `- 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 |
/Users/admin/builder/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | static let `default` = MarkdownExtensionOptions([.tables, .fencedCode, .emailFriendly])
30 | }
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | }
31 |
/Users/admin/builder/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: add '@MainActor' to make static property 'skipHTML' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'skipStyle' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'skipImages' part of global actor 'MainActor'
| `- 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
/Users/admin/builder/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: add '@MainActor' to make static property 'skipLinks' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'safeLinks' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'tableOfContents' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'hardWrap' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'useXHTML' part of global actor 'MainActor'
| `- 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)
/Users/admin/builder/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: add '@MainActor' to make static property 'escapeHTML' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let createOutline = HTMLRenderOptions(HTML_OUTLINE)
55 |
/Users/admin/builder/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: add '@MainActor' to make static property 'createOutline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | static let none = HTMLRenderOptions([])
/Users/admin/builder/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | static let `default` = Self.none
58 | }
/Users/admin/builder/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | }
59 | #endif
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/5] Compiling PerfectMarkdown PerfectMarkdown.swift
[3/5] Emitting module PerfectMarkdown
[4/5] Compiling PerfectMarkdown Enumerations.swift
[5/5] Compiling PerfectMarkdown MarkdownRenderer.swift
/Users/admin/builder/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.1 macosSpm