Build Information
Failed to build SwiftMarkdown, reference main (aee5f0
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 00:13:43 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vapor-community/markdown.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vapor-community/markdown
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at aee5f05 Use the modern CI (#16)
Cloned https://github.com/vapor-community/markdown.git
Revision (git rev-parse @):
aee5f0590bb3114298e579192b678d18ab8f4b76
SUCCESS checkout https://github.com/vapor-community/markdown.git at main
Fetching https://github.com/brokenhandsio/cmark-gfm.git
[1/12300] Fetching cmark-gfm
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (1.37s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (0.64s)
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.82s)
Fetching https://github.com/brokenhandsio/cmark-gfm.git from cache
Fetched https://github.com/brokenhandsio/cmark-gfm.git from cache (0.47s)
Computing version for https://github.com/brokenhandsio/cmark-gfm.git
Computed https://github.com/brokenhandsio/cmark-gfm.git at 2.1.0 (0.02s)
Creating working copy for https://github.com/vapor-community/markdown.git
Working copy of https://github.com/vapor-community/markdown.git resolved at main (aee5f05)
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
warning: '.resolve-product-dependencies': dependency 'markdown' is not used by any target
Found 1 product dependencies
- cmark
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/vapor-community/markdown.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/36] Write swift-version--7754E27361AE5C74.txt
[1/36] Compiling cmark plaintext.c
[1/36] Compiling cmark map.c
[2/36] Compiling cmark man.c
[4/36] Compiling cmark ext_scanners.c
[5/36] Compiling cmark node.c
[6/36] Compiling cmark syntax_extension.c
[7/36] Compiling cmark tasklist.c
[8/36] Compiling cmark table.c
[9/36] Compiling cmark tagfilter.c
[10/36] Compiling cmark plugin.c
[11/36] Compiling cmark linked_list.c
[12/36] Compiling cmark strikethrough.c
[13/36] Compiling cmark utf8.c
[14/36] Compiling cmark registry.c
[15/36] Compiling cmark references.c
[16/36] Compiling cmark render.c
[17/36] Compiling cmark cmark.c
[18/36] Compiling cmark iterator.c
[19/36] Compiling cmark html.c
[20/36] Compiling cmark houdini_html_e.c
[21/36] Compiling cmark houdini_href_e.c
[22/36] Compiling cmark core-extensions.c
[23/36] Compiling cmark inlines.c
[24/36] Compiling cmark footnotes.c
[25/36] Compiling cmark houdini_html_u.c
[26/36] Write sources
[27/36] Compiling cmark cmark_ctype.c
[28/36] Compiling cmark xml.c
[29/36] Compiling cmark buffer.c
[30/36] Compiling cmark commonmark.c
[31/36] Compiling cmark arena.c
[32/36] Compiling cmark scanners.c
[33/36] Compiling cmark blocks.c
[34/36] Compiling cmark latex.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: annotate 'sourcePosition' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:18:23: warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
16 |
17 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
| |- warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hardBreaks' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:19:23: warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
17 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
| |- warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'safe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:20:23: warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
| |- warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noBreaks' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:21:23: warning: static property 'normalize' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
| |- warning: static property 'normalize' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'normalize' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:22:23: warning: static property 'validateUTF8' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
| |- warning: static property 'validateUTF8' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'validateUTF8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
24 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:23:23: warning: static property 'smartQuotes' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
| |- warning: static property 'smartQuotes' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'smartQuotes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:24:23: warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
24 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
| |- warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unsafe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[38/38] Compiling SwiftMarkdown SwiftMarkdown.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:17:23: warning: static property 'sourcePosition' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
15 | }
16 |
17 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
| |- warning: static property 'sourcePosition' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sourcePosition' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:18:23: warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
16 |
17 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
| |- warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hardBreaks' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:19:23: warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
17 | static public let sourcePosition = MarkdownOptions(rawValue: 1 << 1)
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
| |- warning: static property 'safe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'safe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:20:23: warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
18 | static public let hardBreaks = MarkdownOptions(rawValue: 1 << 2)
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
| |- warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noBreaks' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:21:23: warning: static property 'normalize' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
19 | static public let safe = MarkdownOptions(rawValue: 1 << 3)
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
| |- warning: static property 'normalize' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'normalize' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:22:23: warning: static property 'validateUTF8' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
20 | static public let noBreaks = MarkdownOptions(rawValue: 1 << 4)
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
| |- warning: static property 'validateUTF8' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'validateUTF8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
24 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:23:23: warning: static property 'smartQuotes' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
21 | static public let normalize = MarkdownOptions(rawValue: 1 << 8)
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
| |- warning: static property 'smartQuotes' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'smartQuotes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMarkdown/SwiftMarkdown.swift:24:23: warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
10 | public struct MarkdownOptions: OptionSet {
| `- note: consider making struct 'MarkdownOptions' conform to the 'Sendable' protocol
11 | public let rawValue: Int32
12 |
:
22 | static public let validateUTF8 = MarkdownOptions(rawValue: 1 << 9)
23 | static public let smartQuotes = MarkdownOptions(rawValue: 1 << 10)
24 | static public let unsafe = MarkdownOptions(rawValue: 1 << 17)
| |- warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'MarkdownOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unsafe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/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.0 macosSpm