Build Information
Successful build of SwiftCommonMark, reference main (6539d5
), with Swift 6.0 for Linux on 28 Nov 2024 08:56:05 UTC.
Swift 6 data race errors: 5
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gonzalezreal/SwiftCommonMark.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/gonzalezreal/SwiftCommonMark
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6539d59 Update README.md
Cloned https://github.com/gonzalezreal/SwiftCommonMark.git
Revision (git rev-parse @):
6539d5959fc085039ee34504ac171d68b640f808
SUCCESS checkout https://github.com/gonzalezreal/SwiftCommonMark.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/gonzalezreal/SwiftCommonMark.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/21] Compiling cmark cmark_ctype.c
[1/21] Compiling cmark houdini_html_e.c
[2/21] Compiling cmark houdini_href_e.c
[3/21] Compiling cmark cmark.c
[4/21] Compiling cmark html.c
[5/21] Compiling cmark buffer.c
[6/21] Compiling cmark xml.c
[7/21] Compiling cmark blocks.c
[8/21] Compiling cmark render.c
[9/21] Compiling cmark houdini_html_u.c
[10/21] Compiling cmark references.c
[11/21] Compiling cmark man.c
[12/21] Compiling cmark iterator.c
[13/21] Write sources
[14/21] Compiling cmark latex.c
[15/21] Compiling cmark node.c
[16/21] Compiling cmark commonmark.c
[17/21] Compiling cmark utf8.c
[18/21] Compiling cmark inlines.c
[19/21] Write swift-version-24593BA9C3E375BF.txt
[20/21] Compiling cmark scanners.c
[22/47] Emitting module CommonMark
/host/spi-builder-workspace/Sources/CommonMark/Document/ParsingOptions.swift:14:23: warning: static property 'smart' is not concurrency-safe because non-'Sendable' type 'Document.ParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the parsing of a CommonMark-formatted string into a ``Document``.
6 | public struct ParsingOptions: OptionSet {
| `- note: consider making struct 'ParsingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
12 |
13 | /// Convert straight quotes to curly, --- to em dashes, -- to en dashes.
14 | public static let smart = ParsingOptions(rawValue: CMARK_OPT_SMART)
| |- warning: static property 'smart' is not concurrency-safe because non-'Sendable' type 'Document.ParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'smart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 | }
/host/spi-builder-workspace/Sources/CommonMark/Document/RenderingOptions.swift:14:23: warning: static property 'sourcePosition' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the rendering a ``Document`` as HTML.
6 | public struct RenderingOptions: OptionSet {
| `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
12 |
13 | /// Include a `data-sourcepos` attribute on all block elements.
14 | public static let sourcePosition = RenderingOptions(rawValue: CMARK_OPT_SOURCEPOS)
| |- warning: static property 'sourcePosition' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' 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
15 |
16 | /// Render `softbreak` elements as hard line breaks.
/host/spi-builder-workspace/Sources/CommonMark/Document/RenderingOptions.swift:17:23: warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the rendering a ``Document`` as HTML.
6 | public struct RenderingOptions: OptionSet {
| `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
15 |
16 | /// Render `softbreak` elements as hard line breaks.
17 | public static let hardBreaks = RenderingOptions(rawValue: CMARK_OPT_HARDBREAKS)
| |- warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' 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
18 |
19 | /// Render raw HTML and unsafe links (`javascript:`, `vbscript:`, `file:`, and `data:`, except for `image/png`, `image/gif`,
/host/spi-builder-workspace/Sources/CommonMark/Document/RenderingOptions.swift:22:23: warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the rendering a ``Document`` as HTML.
6 | public struct RenderingOptions: OptionSet {
| `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
20 | /// `image/jpeg`, or `image/webp` mime types). By default, raw HTML is replaced by a placeholder HTML comment. Unsafe links are
21 | /// replaced by empty strings.
22 | public static let unsafe = RenderingOptions(rawValue: CMARK_OPT_UNSAFE)
| |- warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' 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
23 |
24 | /// Render `softBreak` elements as spaces.
/host/spi-builder-workspace/Sources/CommonMark/Document/RenderingOptions.swift:25:23: warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the rendering a ``Document`` as HTML.
6 | public struct RenderingOptions: OptionSet {
| `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
23 |
24 | /// Render `softBreak` elements as spaces.
25 | public static let noBreaks = RenderingOptions(rawValue: CMARK_OPT_NOBREAKS)
| |- warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' 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
26 | }
27 | }
[23/50] Compiling CommonMark BulletList.swift
[24/50] Compiling CommonMark CodeBlock.swift
[25/50] Compiling CommonMark HTMLBlock.swift
[26/50] Compiling CommonMark Heading.swift
[27/50] Compiling CommonMark CommonMarkNode.swift
[28/50] Compiling CommonMark Document+cmark.swift
[29/50] Compiling CommonMark Document.swift
[30/50] Compiling CommonMark ParsingError.swift
[31/50] Compiling CommonMark Image.swift
[32/50] Compiling CommonMark Inline+cmark.swift
[33/50] Compiling CommonMark Inline.swift
[34/50] Compiling CommonMark Link.swift
[35/50] Compiling CommonMark Strong.swift
[36/50] Compiling CommonMark Deprecations.swift
[37/50] Compiling CommonMark Block+cmark.swift
[38/50] Compiling CommonMark Block.swift
[39/50] Compiling CommonMark BlockArrayBuilder.swift
[40/50] Compiling CommonMark BlockQuote.swift
[41/50] Compiling CommonMark InlineArrayBuilder.swift
[42/50] Compiling CommonMark InlineCode.swift
[43/50] Compiling CommonMark InlineHTML.swift
[44/50] Compiling CommonMark ParsingOptions.swift
/host/spi-builder-workspace/Sources/CommonMark/Document/ParsingOptions.swift:14:23: warning: static property 'smart' is not concurrency-safe because non-'Sendable' type 'Document.ParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the parsing of a CommonMark-formatted string into a ``Document``.
6 | public struct ParsingOptions: OptionSet {
| `- note: consider making struct 'ParsingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
12 |
13 | /// Convert straight quotes to curly, --- to em dashes, -- to en dashes.
14 | public static let smart = ParsingOptions(rawValue: CMARK_OPT_SMART)
| |- warning: static property 'smart' is not concurrency-safe because non-'Sendable' type 'Document.ParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'smart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 | }
/host/spi-builder-workspace/Sources/CommonMark/Document/RenderingOptions.swift:14:23: warning: static property 'sourcePosition' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the rendering a ``Document`` as HTML.
6 | public struct RenderingOptions: OptionSet {
| `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
12 |
13 | /// Include a `data-sourcepos` attribute on all block elements.
14 | public static let sourcePosition = RenderingOptions(rawValue: CMARK_OPT_SOURCEPOS)
| |- warning: static property 'sourcePosition' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' 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
15 |
16 | /// Render `softbreak` elements as hard line breaks.
/host/spi-builder-workspace/Sources/CommonMark/Document/RenderingOptions.swift:17:23: warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the rendering a ``Document`` as HTML.
6 | public struct RenderingOptions: OptionSet {
| `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
15 |
16 | /// Render `softbreak` elements as hard line breaks.
17 | public static let hardBreaks = RenderingOptions(rawValue: CMARK_OPT_HARDBREAKS)
| |- warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' 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
18 |
19 | /// Render raw HTML and unsafe links (`javascript:`, `vbscript:`, `file:`, and `data:`, except for `image/png`, `image/gif`,
/host/spi-builder-workspace/Sources/CommonMark/Document/RenderingOptions.swift:22:23: warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the rendering a ``Document`` as HTML.
6 | public struct RenderingOptions: OptionSet {
| `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
20 | /// `image/jpeg`, or `image/webp` mime types). By default, raw HTML is replaced by a placeholder HTML comment. Unsafe links are
21 | /// replaced by empty strings.
22 | public static let unsafe = RenderingOptions(rawValue: CMARK_OPT_UNSAFE)
| |- warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' 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
23 |
24 | /// Render `softBreak` elements as spaces.
/host/spi-builder-workspace/Sources/CommonMark/Document/RenderingOptions.swift:25:23: warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the rendering a ``Document`` as HTML.
6 | public struct RenderingOptions: OptionSet {
| `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
23 |
24 | /// Render `softBreak` elements as spaces.
25 | public static let noBreaks = RenderingOptions(rawValue: CMARK_OPT_NOBREAKS)
| |- warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' 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
26 | }
27 | }
[45/50] Compiling CommonMark RenderingOptions.swift
/host/spi-builder-workspace/Sources/CommonMark/Document/ParsingOptions.swift:14:23: warning: static property 'smart' is not concurrency-safe because non-'Sendable' type 'Document.ParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the parsing of a CommonMark-formatted string into a ``Document``.
6 | public struct ParsingOptions: OptionSet {
| `- note: consider making struct 'ParsingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
12 |
13 | /// Convert straight quotes to curly, --- to em dashes, -- to en dashes.
14 | public static let smart = ParsingOptions(rawValue: CMARK_OPT_SMART)
| |- warning: static property 'smart' is not concurrency-safe because non-'Sendable' type 'Document.ParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'smart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 | }
/host/spi-builder-workspace/Sources/CommonMark/Document/RenderingOptions.swift:14:23: warning: static property 'sourcePosition' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the rendering a ``Document`` as HTML.
6 | public struct RenderingOptions: OptionSet {
| `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
12 |
13 | /// Include a `data-sourcepos` attribute on all block elements.
14 | public static let sourcePosition = RenderingOptions(rawValue: CMARK_OPT_SOURCEPOS)
| |- warning: static property 'sourcePosition' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' 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
15 |
16 | /// Render `softbreak` elements as hard line breaks.
/host/spi-builder-workspace/Sources/CommonMark/Document/RenderingOptions.swift:17:23: warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the rendering a ``Document`` as HTML.
6 | public struct RenderingOptions: OptionSet {
| `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
15 |
16 | /// Render `softbreak` elements as hard line breaks.
17 | public static let hardBreaks = RenderingOptions(rawValue: CMARK_OPT_HARDBREAKS)
| |- warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' 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
18 |
19 | /// Render raw HTML and unsafe links (`javascript:`, `vbscript:`, `file:`, and `data:`, except for `image/png`, `image/gif`,
/host/spi-builder-workspace/Sources/CommonMark/Document/RenderingOptions.swift:22:23: warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the rendering a ``Document`` as HTML.
6 | public struct RenderingOptions: OptionSet {
| `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
20 | /// `image/jpeg`, or `image/webp` mime types). By default, raw HTML is replaced by a placeholder HTML comment. Unsafe links are
21 | /// replaced by empty strings.
22 | public static let unsafe = RenderingOptions(rawValue: CMARK_OPT_UNSAFE)
| |- warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' 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
23 |
24 | /// Render `softBreak` elements as spaces.
/host/spi-builder-workspace/Sources/CommonMark/Document/RenderingOptions.swift:25:23: warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the rendering a ``Document`` as HTML.
6 | public struct RenderingOptions: OptionSet {
| `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
23 |
24 | /// Render `softBreak` elements as spaces.
25 | public static let noBreaks = RenderingOptions(rawValue: CMARK_OPT_NOBREAKS)
| |- warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' 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
26 | }
27 | }
[46/50] Compiling CommonMark Emphasis.swift
/host/spi-builder-workspace/Sources/CommonMark/Document/ParsingOptions.swift:14:23: warning: static property 'smart' is not concurrency-safe because non-'Sendable' type 'Document.ParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the parsing of a CommonMark-formatted string into a ``Document``.
6 | public struct ParsingOptions: OptionSet {
| `- note: consider making struct 'ParsingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
12 |
13 | /// Convert straight quotes to curly, --- to em dashes, -- to en dashes.
14 | public static let smart = ParsingOptions(rawValue: CMARK_OPT_SMART)
| |- warning: static property 'smart' is not concurrency-safe because non-'Sendable' type 'Document.ParsingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'smart' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 | }
/host/spi-builder-workspace/Sources/CommonMark/Document/RenderingOptions.swift:14:23: warning: static property 'sourcePosition' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the rendering a ``Document`` as HTML.
6 | public struct RenderingOptions: OptionSet {
| `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
12 |
13 | /// Include a `data-sourcepos` attribute on all block elements.
14 | public static let sourcePosition = RenderingOptions(rawValue: CMARK_OPT_SOURCEPOS)
| |- warning: static property 'sourcePosition' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' 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
15 |
16 | /// Render `softbreak` elements as hard line breaks.
/host/spi-builder-workspace/Sources/CommonMark/Document/RenderingOptions.swift:17:23: warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the rendering a ``Document`` as HTML.
6 | public struct RenderingOptions: OptionSet {
| `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
15 |
16 | /// Render `softbreak` elements as hard line breaks.
17 | public static let hardBreaks = RenderingOptions(rawValue: CMARK_OPT_HARDBREAKS)
| |- warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' 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
18 |
19 | /// Render raw HTML and unsafe links (`javascript:`, `vbscript:`, `file:`, and `data:`, except for `image/png`, `image/gif`,
/host/spi-builder-workspace/Sources/CommonMark/Document/RenderingOptions.swift:22:23: warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the rendering a ``Document`` as HTML.
6 | public struct RenderingOptions: OptionSet {
| `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
20 | /// `image/jpeg`, or `image/webp` mime types). By default, raw HTML is replaced by a placeholder HTML comment. Unsafe links are
21 | /// replaced by empty strings.
22 | public static let unsafe = RenderingOptions(rawValue: CMARK_OPT_UNSAFE)
| |- warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' 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
23 |
24 | /// Render `softBreak` elements as spaces.
/host/spi-builder-workspace/Sources/CommonMark/Document/RenderingOptions.swift:25:23: warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension Document {
5 | /// Options that affect the rendering a ``Document`` as HTML.
6 | public struct RenderingOptions: OptionSet {
| `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
7 | public var rawValue: Int32
8 |
:
23 |
24 | /// Render `softBreak` elements as spaces.
25 | public static let noBreaks = RenderingOptions(rawValue: CMARK_OPT_NOBREAKS)
| |- warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'Document.RenderingOptions' 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
26 | }
27 | }
[47/50] Compiling CommonMark ListItem.swift
[48/50] Compiling CommonMark ListItemArrayBuilder.swift
[49/50] Compiling CommonMark OrderedList.swift
[50/50] Compiling CommonMark Paragraph.swift
Build complete! (12.18s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftCommonMark",
"name" : "SwiftCommonMark",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "cmark",
"targets" : [
"cmark"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CommonMark",
"targets" : [
"CommonMark"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "cmark",
"module_type" : "ClangTarget",
"name" : "cmark",
"path" : "Sources/cmark",
"product_memberships" : [
"cmark",
"CommonMark"
],
"sources" : [
"blocks.c",
"buffer.c",
"cmark.c",
"cmark_ctype.c",
"commonmark.c",
"houdini_href_e.c",
"houdini_html_e.c",
"houdini_html_u.c",
"html.c",
"inlines.c",
"iterator.c",
"latex.c",
"man.c",
"node.c",
"references.c",
"render.c",
"scanners.c",
"utf8.c",
"xml.c"
],
"type" : "library"
},
{
"c99name" : "CommonMarkTests",
"module_type" : "SwiftTarget",
"name" : "CommonMarkTests",
"path" : "Tests/CommonMarkTests",
"sources" : [
"BlockArrayBuilderTests.swift",
"DocumentTests.swift",
"InlineArrayBuilderTests.swift",
"ListItemArrayBuilderTests.swift"
],
"target_dependencies" : [
"CommonMark"
],
"type" : "test"
},
{
"c99name" : "CommonMark",
"module_type" : "SwiftTarget",
"name" : "CommonMark",
"path" : "Sources/CommonMark",
"product_memberships" : [
"CommonMark"
],
"sources" : [
"Blocks/Block+cmark.swift",
"Blocks/Block.swift",
"Blocks/BlockArrayBuilder.swift",
"Blocks/BlockQuote.swift",
"Blocks/BulletList.swift",
"Blocks/CodeBlock.swift",
"Blocks/HTMLBlock.swift",
"Blocks/Heading.swift",
"Blocks/ListItem.swift",
"Blocks/ListItemArrayBuilder.swift",
"Blocks/OrderedList.swift",
"Blocks/Paragraph.swift",
"Document/CommonMarkNode.swift",
"Document/Document+cmark.swift",
"Document/Document.swift",
"Document/ParsingError.swift",
"Document/ParsingOptions.swift",
"Document/RenderingOptions.swift",
"Inlines/Emphasis.swift",
"Inlines/Image.swift",
"Inlines/Inline+cmark.swift",
"Inlines/Inline.swift",
"Inlines/InlineArrayBuilder.swift",
"Inlines/InlineCode.swift",
"Inlines/InlineHTML.swift",
"Inlines/Link.swift",
"Inlines/Strong.swift",
"Internal/Deprecations.swift"
],
"target_dependencies" : [
"cmark"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.