The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftCommonMark, reference 1.0.0 (ed252b), with Swift 6.1 for Wasm on 28 May 2025 03:30:17 UTC.

Swift 6 data race errors: 5

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gonzalezreal/SwiftCommonMark.git
Reference: 1.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/gonzalezreal/SwiftCommonMark
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at ed252be Add deprecation warnings
Cloned https://github.com/gonzalezreal/SwiftCommonMark.git
Revision (git rev-parse @):
ed252beaddecce28ea6363f800c773d6169011b8
SUCCESS checkout https://github.com/gonzalezreal/SwiftCommonMark.git at 1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/gonzalezreal/SwiftCommonMark.git
https://github.com/gonzalezreal/SwiftCommonMark.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/21] Compiling cmark references.c
[0/21] Compiling cmark buffer.c
[2/21] Compiling cmark cmark.c
[3/21] Compiling cmark render.c
[4/21] Compiling cmark xml.c
[5/21] Compiling cmark man.c
[6/21] Compiling cmark blocks.c
[7/21] Compiling cmark node.c
[8/21] Compiling cmark latex.c
[9/21] Compiling cmark iterator.c
[10/21] Compiling cmark houdini_html_e.c
[11/21] Compiling cmark html.c
[12/21] Write swift-version-24593BA9C3E375BF.txt
[12/21] Write sources
[14/21] Compiling cmark houdini_href_e.c
[15/21] Compiling cmark inlines.c
[16/21] Compiling cmark cmark_ctype.c
[17/21] Compiling cmark houdini_html_u.c
[18/21] Compiling cmark commonmark.c
[19/21] Compiling cmark scanners.c
[20/21] Compiling cmark utf8.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: add '@MainActor' to make static property 'smart' part of global actor 'MainActor'
   |                       `- 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: 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
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: 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
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: 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
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: 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
26 |   }
27 | }
[23/50] Compiling CommonMark Link.swift
[24/50] Compiling CommonMark Strong.swift
[25/50] Compiling CommonMark Deprecations.swift
[26/50] Compiling CommonMark InlineArrayBuilder.swift
[27/50] Compiling CommonMark InlineCode.swift
[28/50] Compiling CommonMark InlineHTML.swift
[29/50] Compiling CommonMark CommonMarkNode.swift
[30/50] Compiling CommonMark Document+cmark.swift
[31/50] Compiling CommonMark Document.swift
[32/50] Compiling CommonMark ParsingError.swift
[33/50] Compiling CommonMark Image.swift
[34/50] Compiling CommonMark Inline+cmark.swift
[35/50] Compiling CommonMark Inline.swift
[36/50] Compiling CommonMark ListItem.swift
[37/50] Compiling CommonMark ListItemArrayBuilder.swift
[38/50] Compiling CommonMark OrderedList.swift
[39/50] Compiling CommonMark Paragraph.swift
[40/50] Compiling CommonMark Block+cmark.swift
[41/50] Compiling CommonMark Block.swift
[42/50] Compiling CommonMark BlockArrayBuilder.swift
[43/50] Compiling CommonMark BlockQuote.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: add '@MainActor' to make static property 'smart' part of global actor 'MainActor'
   |                       `- 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: 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
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: 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
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: 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
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: 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
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: add '@MainActor' to make static property 'smart' part of global actor 'MainActor'
   |                       `- 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: 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
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: 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
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: 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
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: 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
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: add '@MainActor' to make static property 'smart' part of global actor 'MainActor'
   |                       `- 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: 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
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: 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
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: 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
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: 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
26 |   }
27 | }
[47/50] Compiling CommonMark BulletList.swift
[48/50] Compiling CommonMark CodeBlock.swift
[49/50] Compiling CommonMark HTMLBlock.swift
[50/50] Compiling CommonMark Heading.swift
Build complete! (8.92s)
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"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.