Build Information
Failed to build SwiftMarkdown, reference 0.7.1 (f0cdf1
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 16:32:56 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/vapor-community/markdown.git
Reference: 0.7.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor-community/markdown
* tag 0.7.1 -> FETCH_HEAD
HEAD is now at f0cdf12 Merge pull request #13 from vapor-community/enable-55-ci
Cloned https://github.com/vapor-community/markdown.git
Revision (git rev-parse @):
f0cdf125947c06685ebaef633fd00ae5247a1cfc
SUCCESS checkout https://github.com/vapor-community/markdown.git at 0.7.1
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.34s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (1.95s)
Creating working copy for https://github.com/brokenhandsio/cmark-gfm.git
Working copy of https://github.com/brokenhandsio/cmark-gfm.git resolved at 2.1.0
========================================
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": "markdown",
"name": "SwiftMarkdown",
"url": "https://github.com/vapor-community/markdown.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/markdown",
"dependencies": [
{
"identity": "cmark-gfm",
"name": "cmark",
"url": "https://github.com/brokenhandsio/cmark-gfm.git",
"version": "2.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/cmark-gfm",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/vapor-community/markdown.git
[1/246] Fetching markdown
Fetched https://github.com/vapor-community/markdown.git from cache (0.64s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git from cache
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (0.40s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (0.45s)
Creating working copy for https://github.com/brokenhandsio/cmark-gfm.git
Working copy of https://github.com/brokenhandsio/cmark-gfm.git resolved at 2.1.0
Creating working copy for https://github.com/vapor-community/markdown.git
Working copy of https://github.com/vapor-community/markdown.git resolved at 0.7.1 (f0cdf12)
warning: '.resolve-product-dependencies': dependency 'markdown' is not used by any target
Found 1 product dependencies
- cmark
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/vapor-community/markdown.git
https://github.com/vapor-community/markdown.git
{
"dependencies" : [
{
"identity" : "cmark-gfm",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/brokenhandsio/cmark-gfm.git"
}
],
"manifest_display_name" : "SwiftMarkdown",
"name" : "SwiftMarkdown",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftMarkdown",
"targets" : [
"SwiftMarkdown"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftMarkdownTests",
"module_type" : "SwiftTarget",
"name" : "SwiftMarkdownTests",
"path" : "Tests/SwiftMarkdownTests",
"sources" : [
"SwiftMarkdownTests.swift"
],
"target_dependencies" : [
"SwiftMarkdown"
],
"type" : "test"
},
{
"c99name" : "SwiftMarkdown",
"module_type" : "SwiftTarget",
"name" : "SwiftMarkdown",
"path" : "Sources/SwiftMarkdown",
"product_dependencies" : [
"cmark"
],
"product_memberships" : [
"SwiftMarkdown"
],
"sources" : [
"SwiftMarkdown.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
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/36] Write swift-version-2F0A5646E1D333AE.txt
[1/36] Compiling cmark map.c
[1/36] Compiling cmark strikethrough.c
[2/36] Compiling cmark xml.c
[4/36] Compiling cmark iterator.c
[5/36] Compiling cmark render.c
[6/36] Compiling cmark registry.c
[7/36] Compiling cmark tasklist.c
[8/36] Compiling cmark syntax_extension.c
[9/36] Compiling cmark utf8.c
[10/36] Compiling cmark table.c
[11/36] Compiling cmark tagfilter.c
[12/36] Compiling cmark scanners.c
[13/36] Compiling cmark references.c
[14/36] Compiling cmark inlines.c
[15/36] Compiling cmark plugin.c
[16/36] Compiling cmark latex.c
[17/36] Compiling cmark plaintext.c
[18/36] Compiling cmark linked_list.c
[19/36] Compiling cmark man.c
[20/36] Compiling cmark node.c
[21/36] Compiling cmark html.c
[22/36] Compiling cmark houdini_html_u.c
[23/36] Compiling cmark houdini_html_e.c
[24/36] Compiling cmark houdini_href_e.c
[25/36] Compiling cmark footnotes.c
[25/36] Write sources
[27/36] Compiling cmark ext_scanners.c
[28/36] Compiling cmark core-extensions.c
[29/36] Compiling cmark cmark_ctype.c
[30/36] Compiling cmark cmark.c
[31/36] Compiling cmark commonmark.c
[32/36] Compiling cmark buffer.c
[33/36] Compiling cmark arena.c
[34/36] Compiling cmark blocks.c
[35/36] Compiling cmark autolink.c
[37/38] Emitting module SwiftMarkdown
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:17:23: warning: static property 'sourcePosition' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
15 | }
16 |
17 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
| |- warning: static property 'sourcePosition' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sourcePosition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:18:23: warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
16 |
17 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
| |- warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hardBreaks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:19:23: warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
17 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
| |- warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'safe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:20:23: warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
| |- warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noBreaks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:21:23: warning: static property 'normalize' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
| |- warning: static property 'normalize' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'normalize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:22:23: warning: static property 'validateUTF8' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
| |- warning: static property 'validateUTF8' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'validateUTF8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
24 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:23:23: warning: static property 'smartQuotes' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
| |- warning: static property 'smartQuotes' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'smartQuotes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:24:23: warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
24 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
| |- warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unsafe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[38/38] Compiling SwiftMarkdown SwiftMarkdown.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:17:23: warning: static property 'sourcePosition' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
15 | }
16 |
17 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
| |- warning: static property 'sourcePosition' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sourcePosition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:18:23: warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
16 |
17 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
| |- warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hardBreaks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:19:23: warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
17 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
| |- warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'safe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:20:23: warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
| |- warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noBreaks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:21:23: warning: static property 'normalize' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
| |- warning: static property 'normalize' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'normalize' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:22:23: warning: static property 'validateUTF8' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
| |- warning: static property 'validateUTF8' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'validateUTF8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
24 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:23:23: warning: static property 'smartQuotes' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
| |- warning: static property 'smartQuotes' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'smartQuotes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:24:23: warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
24 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
| |- warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unsafe' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:31:60: error: cannot find 'strlen' in scope
29 | try str.withCString {
30 |
31 | guard let buf = cmark_gfm_markdown_to_html($0, Int(strlen($0)), options.rawValue) else {
| `- error: cannot find 'strlen' in scope
32 | throw MarkdownError.conversionFailed
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:36:9: error: cannot find 'free' in scope
34 |
35 | buffer = String(cString: buf)
36 | free(buf)
| `- error: cannot find 'free' in scope
37 | }
38 | guard let output = buffer else {
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/3] Emitting module SwiftMarkdown
[3/3] Compiling SwiftMarkdown SwiftMarkdown.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:31:60: error: cannot find 'strlen' in scope
29 | try str.withCString {
30 |
31 | guard let buf = cmark_gfm_markdown_to_html($0, Int(strlen($0)), options.rawValue) else {
| `- error: cannot find 'strlen' in scope
32 | throw MarkdownError.conversionFailed
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:36:9: error: cannot find 'free' in scope
34 |
35 | buffer = String(cString: buf)
36 | free(buf)
| `- error: cannot find 'free' in scope
37 | }
38 | guard let output = buffer else {
BUILD FAILURE 6.1 macosSpm