The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CommonMark, reference 0.5.1 (92fa2f), with Swift 6.1 for Android on 27 May 2025 23:37:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftDocOrg/CommonMark.git
Reference: 0.5.1
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/SwiftDocOrg/CommonMark
 * tag               0.5.1      -> FETCH_HEAD
HEAD is now at 92fa2fa Bump version to 0.5.1
Cloned https://github.com/SwiftDocOrg/CommonMark.git
Revision (git rev-parse @):
92fa2fa2bf3c598f23da652e78c2d4b5bc4e35e9
SUCCESS checkout https://github.com/SwiftDocOrg/CommonMark.git at 0.5.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SwiftDocOrg/CommonMark.git
https://github.com/SwiftDocOrg/CommonMark.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-cmark",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.29.0+20210102.9c8096a",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftDocOrg/swift-cmark.git"
    }
  ],
  "manifest_display_name" : "CommonMark",
  "name" : "CommonMark",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CommonMark",
      "targets" : [
        "CommonMark"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CommonMarkBuilder",
      "targets" : [
        "CommonMarkBuilder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CommonMarkTests",
      "module_type" : "SwiftTarget",
      "name" : "CommonMarkTests",
      "path" : "Tests/CommonMarkTests",
      "sources" : [
        "CommonMarkTests.swift",
        "ContainerManipulationTests.swift",
        "DocumentTests.swift",
        "Fixtures.swift",
        "NodeTests.swift",
        "ProtocolTests.swift",
        "StatisticsVisitor.swift",
        "VisitorTests.swift"
      ],
      "target_dependencies" : [
        "CommonMark"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CommonMarkSpecTests",
      "module_type" : "SwiftTarget",
      "name" : "CommonMarkSpecTests",
      "path" : "Tests/CommonMarkSpecTests",
      "sources" : [
        "AtxHeadingsTests.swift",
        "AutolinksTests.swift",
        "BackslashEscapesTests.swift",
        "BlankLinesTests.swift",
        "BlockQuotesTests.swift",
        "CodeSpansTests.swift",
        "EmphasisAndStrongEmphasisTests.swift",
        "EntityAndNumericCharacterReferencesTests.swift",
        "FencedCodeBlocksTests.swift",
        "HardLineBreaksTests.swift",
        "HtmlBlocksTests.swift",
        "ImagesTests.swift",
        "IndentedCodeBlocksTests.swift",
        "InlinesTests.swift",
        "LinkReferenceDefinitionsTests.swift",
        "LinksTests.swift",
        "ListItemsTests.swift",
        "ListsTests.swift",
        "ParagraphsTests.swift",
        "PrecedenceTests.swift",
        "RawHtmlTests.swift",
        "SetextHeadingsTests.swift",
        "SoftLineBreaksTests.swift",
        "TabsTests.swift",
        "TextualContentTests.swift",
        "ThematicBreaksTests.swift"
      ],
      "target_dependencies" : [
        "CommonMark"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CommonMarkBuilderTests",
      "module_type" : "SwiftTarget",
      "name" : "CommonMarkBuilderTests",
      "path" : "Tests/CommonMarkBuilderTests",
      "sources" : [
        "CommonMarkBuilderTests.swift",
        "Fixtures.swift"
      ],
      "target_dependencies" : [
        "CommonMarkBuilder",
        "CommonMark"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CommonMarkBuilder",
      "module_type" : "SwiftTarget",
      "name" : "CommonMarkBuilder",
      "path" : "Sources/CommonMarkBuilder",
      "product_memberships" : [
        "CommonMarkBuilder"
      ],
      "sources" : [
        "CommonMarkBuilder.swift",
        "Convertible Protocols/BlockConvertible.swift",
        "Convertible Protocols/InlineConvertible.swift",
        "Convertible Protocols/ListItemConvertible.swift",
        "ForEach.swift",
        "Fragment.swift",
        "Nodes/Block/BlockQuote+Builder.swift",
        "Nodes/Block/CodeBlock+Builder.swift",
        "Nodes/Block/HTMLBlock+Builder.swift",
        "Nodes/Block/Heading+Builder.swift",
        "Nodes/Block/List+Builder.swift",
        "Nodes/Block/Paragraph+Builder.swift",
        "Nodes/Document+Builder.swift",
        "Nodes/Inline/Code+Builder.swift",
        "Nodes/Inline/Emphasis+Builder.swift",
        "Nodes/Inline/HTML+Builder.swift",
        "Nodes/Inline/Link+Builder.swift",
        "Nodes/Inline/Strong+Builder.swift",
        "Nodes/Inline/Text+Builder.swift",
        "Section.swift",
        "StringBuilder.swift"
      ],
      "target_dependencies" : [
        "CommonMark"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CommonMark",
      "module_type" : "SwiftTarget",
      "name" : "CommonMark",
      "path" : "Sources/CommonMark",
      "product_dependencies" : [
        "cmark"
      ],
      "product_memberships" : [
        "CommonMark",
        "CommonMarkBuilder"
      ],
      "sources" : [
        "Nodes/Block/BlockQuote.swift",
        "Nodes/Block/CodeBlock.swift",
        "Nodes/Block/HTMLBlock.swift",
        "Nodes/Block/Heading.swift",
        "Nodes/Block/List.swift",
        "Nodes/Block/Paragraph.swift",
        "Nodes/Block/ThematicBreak.swift",
        "Nodes/Document.swift",
        "Nodes/Inline/Code.swift",
        "Nodes/Inline/Emphasis.swift",
        "Nodes/Inline/HardLineBreak.swift",
        "Nodes/Inline/Image.swift",
        "Nodes/Inline/Link.swift",
        "Nodes/Inline/RawHTML.swift",
        "Nodes/Inline/SoftLineBreak.swift",
        "Nodes/Inline/Strong.swift",
        "Nodes/Inline/Text.swift",
        "Nodes/Node.swift",
        "Supporting Types/Block.swift",
        "Supporting Types/Children.swift",
        "Supporting Types/Inline.swift",
        "Supporting Types/LineBreak.swift",
        "Supporting Types/Linked.swift",
        "Supporting Types/Literal.swift",
        "Supporting Types/Visitable.swift",
        "Supporting Types/Visitor.swift",
        "Version.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/SwiftDocOrg/swift-cmark.git
[1/12555] Fetching swift-cmark
Fetched https://github.com/SwiftDocOrg/swift-cmark.git from cache (0.90s)
Computing version for https://github.com/SwiftDocOrg/swift-cmark.git
Computed https://github.com/SwiftDocOrg/swift-cmark.git at 0.29.0+20210102.9c8096a (3.01s)
Creating working copy for https://github.com/SwiftDocOrg/swift-cmark.git
Working copy of https://github.com/SwiftDocOrg/swift-cmark.git resolved at 0.29.0+20210102.9c8096a
Building for debugging...
[0/22] Compiling cmark cmark.c
[1/22] Compiling cmark render.c
[1/22] Compiling cmark xml.c
[3/22] Compiling cmark references.c
[4/22] Compiling cmark man.c
[5/22] Compiling cmark node.c
[6/22] Compiling cmark iterator.c
[7/22] Compiling cmark latex.c
[8/22] Compiling cmark houdini_html_e.c
[9/22] Compiling cmark html.c
[10/22] Compiling cmark inlines.c
[11/22] Compiling cmark utf8.c
[12/22] Write swift-version-24593BA9C3E375BF.txt
[13/22] Compiling cmark cmark_ctype.c
[14/22] Write sources
[16/22] Compiling cmark houdini_href_e.c
[17/22] Compiling cmark commonmark.c
[18/22] Compiling cmark buffer.c
[19/22] Compiling cmark houdini_html_u.c
[20/22] Compiling cmark blocks.c
[21/22] Compiling cmark scanners.c
[23/47] Emitting module CommonMark
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Document.swift:23:27: 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 | public final class Document: Node {
 5 |     /// Options for parsing CommonMark text.
 6 |     public struct ParsingOptions: OptionSet {
   |                   `- note: consider making struct 'ParsingOptions' conform to the 'Sendable' protocol
 7 |         public var rawValue: Int32
 8 |
   :
21 |          - Three consecutive full stops (...) become an ellipsis (…)
22 |          */
23 |         public static let smart = Self(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
24 |     }
25 |
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:162:27: warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
134 |
135 |     /// Options for rendering a CommonMark document.
136 |     public struct RenderingOptions: OptionSet {
    |                   `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
137 |         public var rawValue: Int32
138 |
    :
160 |          - Important: This option has an effect only when rendering HTML.
161 |          */
162 |         public static let unsafe = Self(rawValue: CMARK_OPT_UNSAFE)
    |                           |- warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'Node.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
163 |
164 |         /**
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:169:27: warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
134 |
135 |     /// Options for rendering a CommonMark document.
136 |     public struct RenderingOptions: OptionSet {
    |                   `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
137 |         public var rawValue: Int32
138 |
    :
167 |          - Important: This option has no effect when rendering XML.
168 |          */
169 |         public static let noBreaks = Self(rawValue: CMARK_OPT_NOBREAKS)
    |                           |- warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'Node.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
170 |
171 |         /**
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:176:27: warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
134 |
135 |     /// Options for rendering a CommonMark document.
136 |     public struct RenderingOptions: OptionSet {
    |                   `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
137 |         public var rawValue: Int32
138 |
    :
174 |          - Important: This option has no effect when rendering XML.
175 |          */
176 |         public static let hardBreaks = Self(rawValue: CMARK_OPT_HARDBREAKS)
    |                           |- warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'Node.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
177 |
178 |         /**
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:184:27: warning: static property 'includeSourcePosition' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
134 |
135 |     /// Options for rendering a CommonMark document.
136 |     public struct RenderingOptions: OptionSet {
    |                   `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
137 |         public var rawValue: Int32
138 |
    :
182 |          - Important: This option has an effect only when rendering HTML or XML.
183 |          */
184 |         public static let includeSourcePosition = Self(rawValue: CMARK_OPT_SOURCEPOS)
    |                           |- warning: static property 'includeSourcePosition' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'includeSourcePosition' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |     }
186 |
/host/spi-builder-workspace/Sources/CommonMark/Supporting Types/Visitor.swift:12:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'VisitorContinueKind' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | public enum VisitorContinueKind {
    |             `- note: consider making enum 'VisitorContinueKind' conform to the 'Sendable' protocol
  2 |     /// The visitor should visit the descendents of the current node.
  3 |     case visitChildren
    :
 10 |
 11 |     /// The default is `.visitChildren`
 12 |     static let `default`: Self = .visitChildren
    |                |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'VisitorContinueKind' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     mutating func override(with other: Self) {
[24/50] Compiling CommonMark LineBreak.swift
[25/50] Compiling CommonMark Linked.swift
[26/50] Compiling CommonMark Literal.swift
[27/50] Compiling CommonMark Visitable.swift
/host/spi-builder-workspace/Sources/CommonMark/Supporting Types/Visitor.swift:12:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'VisitorContinueKind' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | public enum VisitorContinueKind {
    |             `- note: consider making enum 'VisitorContinueKind' conform to the 'Sendable' protocol
  2 |     /// The visitor should visit the descendents of the current node.
  3 |     case visitChildren
    :
 10 |
 11 |     /// The default is `.visitChildren`
 12 |     static let `default`: Self = .visitChildren
    |                |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'VisitorContinueKind' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     mutating func override(with other: Self) {
[28/50] Compiling CommonMark Visitor.swift
/host/spi-builder-workspace/Sources/CommonMark/Supporting Types/Visitor.swift:12:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'VisitorContinueKind' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | public enum VisitorContinueKind {
    |             `- note: consider making enum 'VisitorContinueKind' conform to the 'Sendable' protocol
  2 |     /// The visitor should visit the descendents of the current node.
  3 |     case visitChildren
    :
 10 |
 11 |     /// The default is `.visitChildren`
 12 |     static let `default`: Self = .visitChildren
    |                |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'VisitorContinueKind' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     mutating func override(with other: Self) {
[29/50] Compiling CommonMark Version.swift
/host/spi-builder-workspace/Sources/CommonMark/Supporting Types/Visitor.swift:12:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'VisitorContinueKind' may have shared mutable state; this is an error in the Swift 6 language mode
  1 | public enum VisitorContinueKind {
    |             `- note: consider making enum 'VisitorContinueKind' conform to the 'Sendable' protocol
  2 |     /// The visitor should visit the descendents of the current node.
  3 |     case visitChildren
    :
 10 |
 11 |     /// The default is `.visitChildren`
 12 |     static let `default`: Self = .visitChildren
    |                |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'VisitorContinueKind' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     mutating func override(with other: Self) {
[30/50] Compiling CommonMark Link.swift
[31/50] Compiling CommonMark RawHTML.swift
[32/50] Compiling CommonMark SoftLineBreak.swift
[33/50] Compiling CommonMark Block.swift
[34/50] Compiling CommonMark Children.swift
[35/50] Compiling CommonMark Inline.swift
[36/50] Compiling CommonMark Strong.swift
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:162:27: warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
134 |
135 |     /// Options for rendering a CommonMark document.
136 |     public struct RenderingOptions: OptionSet {
    |                   `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
137 |         public var rawValue: Int32
138 |
    :
160 |          - Important: This option has an effect only when rendering HTML.
161 |          */
162 |         public static let unsafe = Self(rawValue: CMARK_OPT_UNSAFE)
    |                           |- warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'Node.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
163 |
164 |         /**
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:169:27: warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
134 |
135 |     /// Options for rendering a CommonMark document.
136 |     public struct RenderingOptions: OptionSet {
    |                   `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
137 |         public var rawValue: Int32
138 |
    :
167 |          - Important: This option has no effect when rendering XML.
168 |          */
169 |         public static let noBreaks = Self(rawValue: CMARK_OPT_NOBREAKS)
    |                           |- warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'Node.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
170 |
171 |         /**
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:176:27: warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
134 |
135 |     /// Options for rendering a CommonMark document.
136 |     public struct RenderingOptions: OptionSet {
    |                   `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
137 |         public var rawValue: Int32
138 |
    :
174 |          - Important: This option has no effect when rendering XML.
175 |          */
176 |         public static let hardBreaks = Self(rawValue: CMARK_OPT_HARDBREAKS)
    |                           |- warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'Node.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
177 |
178 |         /**
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:184:27: warning: static property 'includeSourcePosition' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
134 |
135 |     /// Options for rendering a CommonMark document.
136 |     public struct RenderingOptions: OptionSet {
    |                   `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
137 |         public var rawValue: Int32
138 |
    :
182 |          - Important: This option has an effect only when rendering HTML or XML.
183 |          */
184 |         public static let includeSourcePosition = Self(rawValue: CMARK_OPT_SOURCEPOS)
    |                           |- warning: static property 'includeSourcePosition' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'includeSourcePosition' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |     }
186 |
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:218:13: error: cannot find 'free' in scope
216 |
217 |         defer {
218 |             free(cString)
    |             `- error: cannot find 'free' in scope
219 |         }
220 |
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:285:50: warning: cast from '(any Node & Block)?' to unrelated type 'Self' always fails
283 |         // Unlink the children from the document node to prevent dangling pointers to the parent.
284 |         let documentChildren = document.removeChildren()
285 |         guard let block = documentChildren.first as? Self,
    |                                                  `- warning: cast from '(any Node & Block)?' to unrelated type 'Self' always fails
286 |             documentChildren.count == 1
287 |         else {
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:306:52: warning: cast from '(any Node & Inline)?' to unrelated type 'Self' always fails
304 |         // Unlink the children from the root node to prevent dangling pointers to the parent.
305 |         let paragraphChildren = paragraph.removeChildren()
306 |         guard let inline = paragraphChildren.first as? Self,
    |                                                    `- warning: cast from '(any Node & Inline)?' to unrelated type 'Self' always fails
307 |             paragraphChildren.count == 1
308 |         else {
[37/50] Compiling CommonMark Text.swift
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:162:27: warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
134 |
135 |     /// Options for rendering a CommonMark document.
136 |     public struct RenderingOptions: OptionSet {
    |                   `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
137 |         public var rawValue: Int32
138 |
    :
160 |          - Important: This option has an effect only when rendering HTML.
161 |          */
162 |         public static let unsafe = Self(rawValue: CMARK_OPT_UNSAFE)
    |                           |- warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'Node.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
163 |
164 |         /**
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:169:27: warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
134 |
135 |     /// Options for rendering a CommonMark document.
136 |     public struct RenderingOptions: OptionSet {
    |                   `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
137 |         public var rawValue: Int32
138 |
    :
167 |          - Important: This option has no effect when rendering XML.
168 |          */
169 |         public static let noBreaks = Self(rawValue: CMARK_OPT_NOBREAKS)
    |                           |- warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'Node.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
170 |
171 |         /**
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:176:27: warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
134 |
135 |     /// Options for rendering a CommonMark document.
136 |     public struct RenderingOptions: OptionSet {
    |                   `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
137 |         public var rawValue: Int32
138 |
    :
174 |          - Important: This option has no effect when rendering XML.
175 |          */
176 |         public static let hardBreaks = Self(rawValue: CMARK_OPT_HARDBREAKS)
    |                           |- warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'Node.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
177 |
178 |         /**
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:184:27: warning: static property 'includeSourcePosition' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
134 |
135 |     /// Options for rendering a CommonMark document.
136 |     public struct RenderingOptions: OptionSet {
    |                   `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
137 |         public var rawValue: Int32
138 |
    :
182 |          - Important: This option has an effect only when rendering HTML or XML.
183 |          */
184 |         public static let includeSourcePosition = Self(rawValue: CMARK_OPT_SOURCEPOS)
    |                           |- warning: static property 'includeSourcePosition' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'includeSourcePosition' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |     }
186 |
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:218:13: error: cannot find 'free' in scope
216 |
217 |         defer {
218 |             free(cString)
    |             `- error: cannot find 'free' in scope
219 |         }
220 |
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:285:50: warning: cast from '(any Node & Block)?' to unrelated type 'Self' always fails
283 |         // Unlink the children from the document node to prevent dangling pointers to the parent.
284 |         let documentChildren = document.removeChildren()
285 |         guard let block = documentChildren.first as? Self,
    |                                                  `- warning: cast from '(any Node & Block)?' to unrelated type 'Self' always fails
286 |             documentChildren.count == 1
287 |         else {
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:306:52: warning: cast from '(any Node & Inline)?' to unrelated type 'Self' always fails
304 |         // Unlink the children from the root node to prevent dangling pointers to the parent.
305 |         let paragraphChildren = paragraph.removeChildren()
306 |         guard let inline = paragraphChildren.first as? Self,
    |                                                    `- warning: cast from '(any Node & Inline)?' to unrelated type 'Self' always fails
307 |             paragraphChildren.count == 1
308 |         else {
[38/50] Compiling CommonMark Node.swift
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:162:27: warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
134 |
135 |     /// Options for rendering a CommonMark document.
136 |     public struct RenderingOptions: OptionSet {
    |                   `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
137 |         public var rawValue: Int32
138 |
    :
160 |          - Important: This option has an effect only when rendering HTML.
161 |          */
162 |         public static let unsafe = Self(rawValue: CMARK_OPT_UNSAFE)
    |                           |- warning: static property 'unsafe' is not concurrency-safe because non-'Sendable' type 'Node.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
163 |
164 |         /**
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:169:27: warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
134 |
135 |     /// Options for rendering a CommonMark document.
136 |     public struct RenderingOptions: OptionSet {
    |                   `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
137 |         public var rawValue: Int32
138 |
    :
167 |          - Important: This option has no effect when rendering XML.
168 |          */
169 |         public static let noBreaks = Self(rawValue: CMARK_OPT_NOBREAKS)
    |                           |- warning: static property 'noBreaks' is not concurrency-safe because non-'Sendable' type 'Node.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
170 |
171 |         /**
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:176:27: warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
134 |
135 |     /// Options for rendering a CommonMark document.
136 |     public struct RenderingOptions: OptionSet {
    |                   `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
137 |         public var rawValue: Int32
138 |
    :
174 |          - Important: This option has no effect when rendering XML.
175 |          */
176 |         public static let hardBreaks = Self(rawValue: CMARK_OPT_HARDBREAKS)
    |                           |- warning: static property 'hardBreaks' is not concurrency-safe because non-'Sendable' type 'Node.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
177 |
178 |         /**
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:184:27: warning: static property 'includeSourcePosition' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
134 |
135 |     /// Options for rendering a CommonMark document.
136 |     public struct RenderingOptions: OptionSet {
    |                   `- note: consider making struct 'RenderingOptions' conform to the 'Sendable' protocol
137 |         public var rawValue: Int32
138 |
    :
182 |          - Important: This option has an effect only when rendering HTML or XML.
183 |          */
184 |         public static let includeSourcePosition = Self(rawValue: CMARK_OPT_SOURCEPOS)
    |                           |- warning: static property 'includeSourcePosition' is not concurrency-safe because non-'Sendable' type 'Node.RenderingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'includeSourcePosition' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |     }
186 |
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:218:13: error: cannot find 'free' in scope
216 |
217 |         defer {
218 |             free(cString)
    |             `- error: cannot find 'free' in scope
219 |         }
220 |
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:285:50: warning: cast from '(any Node & Block)?' to unrelated type 'Self' always fails
283 |         // Unlink the children from the document node to prevent dangling pointers to the parent.
284 |         let documentChildren = document.removeChildren()
285 |         guard let block = documentChildren.first as? Self,
    |                                                  `- warning: cast from '(any Node & Block)?' to unrelated type 'Self' always fails
286 |             documentChildren.count == 1
287 |         else {
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:306:52: warning: cast from '(any Node & Inline)?' to unrelated type 'Self' always fails
304 |         // Unlink the children from the root node to prevent dangling pointers to the parent.
305 |         let paragraphChildren = paragraph.removeChildren()
306 |         guard let inline = paragraphChildren.first as? Self,
    |                                                    `- warning: cast from '(any Node & Inline)?' to unrelated type 'Self' always fails
307 |             paragraphChildren.count == 1
308 |         else {
[39/50] Compiling CommonMark BlockQuote.swift
[40/50] Compiling CommonMark CodeBlock.swift
[41/50] Compiling CommonMark HTMLBlock.swift
[42/50] Compiling CommonMark Heading.swift
[43/50] Compiling CommonMark List.swift
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Document.swift:23:27: 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 | public final class Document: Node {
 5 |     /// Options for parsing CommonMark text.
 6 |     public struct ParsingOptions: OptionSet {
   |                   `- note: consider making struct 'ParsingOptions' conform to the 'Sendable' protocol
 7 |         public var rawValue: Int32
 8 |
   :
21 |          - Three consecutive full stops (...) become an ellipsis (…)
22 |          */
23 |         public static let smart = Self(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
24 |     }
25 |
[44/50] Compiling CommonMark Paragraph.swift
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Document.swift:23:27: 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 | public final class Document: Node {
 5 |     /// Options for parsing CommonMark text.
 6 |     public struct ParsingOptions: OptionSet {
   |                   `- note: consider making struct 'ParsingOptions' conform to the 'Sendable' protocol
 7 |         public var rawValue: Int32
 8 |
   :
21 |          - Three consecutive full stops (...) become an ellipsis (…)
22 |          */
23 |         public static let smart = Self(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
24 |     }
25 |
[45/50] Compiling CommonMark ThematicBreak.swift
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Document.swift:23:27: 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 | public final class Document: Node {
 5 |     /// Options for parsing CommonMark text.
 6 |     public struct ParsingOptions: OptionSet {
   |                   `- note: consider making struct 'ParsingOptions' conform to the 'Sendable' protocol
 7 |         public var rawValue: Int32
 8 |
   :
21 |          - Three consecutive full stops (...) become an ellipsis (…)
22 |          */
23 |         public static let smart = Self(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
24 |     }
25 |
[46/50] Compiling CommonMark Document.swift
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Document.swift:23:27: 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 | public final class Document: Node {
 5 |     /// Options for parsing CommonMark text.
 6 |     public struct ParsingOptions: OptionSet {
   |                   `- note: consider making struct 'ParsingOptions' conform to the 'Sendable' protocol
 7 |         public var rawValue: Int32
 8 |
   :
21 |          - Three consecutive full stops (...) become an ellipsis (…)
22 |          */
23 |         public static let smart = Self(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
24 |     }
25 |
[47/50] Compiling CommonMark Code.swift
[48/50] Compiling CommonMark Emphasis.swift
[49/50] Compiling CommonMark HardLineBreak.swift
[50/50] Compiling CommonMark Image.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/26] Compiling CommonMark Code.swift
[3/26] Compiling CommonMark Emphasis.swift
[4/26] Compiling CommonMark HardLineBreak.swift
[5/26] Compiling CommonMark Image.swift
[6/29] Compiling CommonMark LineBreak.swift
[7/29] Compiling CommonMark Linked.swift
[8/29] Compiling CommonMark Literal.swift
[9/29] Compiling CommonMark Link.swift
[10/29] Compiling CommonMark RawHTML.swift
[11/29] Compiling CommonMark SoftLineBreak.swift
[12/29] Compiling CommonMark BlockQuote.swift
[13/29] Compiling CommonMark CodeBlock.swift
[14/29] Compiling CommonMark HTMLBlock.swift
[15/29] Compiling CommonMark Heading.swift
[16/29] Compiling CommonMark List.swift
[17/29] Compiling CommonMark Paragraph.swift
[18/29] Compiling CommonMark ThematicBreak.swift
[19/29] Compiling CommonMark Document.swift
[20/29] Emitting module CommonMark
[21/29] Compiling CommonMark Block.swift
[22/29] Compiling CommonMark Children.swift
[23/29] Compiling CommonMark Inline.swift
[24/29] Compiling CommonMark Strong.swift
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:218:13: error: cannot find 'free' in scope
216 |
217 |         defer {
218 |             free(cString)
    |             `- error: cannot find 'free' in scope
219 |         }
220 |
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:285:50: warning: cast from '(any Node & Block)?' to unrelated type 'Self' always fails
283 |         // Unlink the children from the document node to prevent dangling pointers to the parent.
284 |         let documentChildren = document.removeChildren()
285 |         guard let block = documentChildren.first as? Self,
    |                                                  `- warning: cast from '(any Node & Block)?' to unrelated type 'Self' always fails
286 |             documentChildren.count == 1
287 |         else {
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:306:52: warning: cast from '(any Node & Inline)?' to unrelated type 'Self' always fails
304 |         // Unlink the children from the root node to prevent dangling pointers to the parent.
305 |         let paragraphChildren = paragraph.removeChildren()
306 |         guard let inline = paragraphChildren.first as? Self,
    |                                                    `- warning: cast from '(any Node & Inline)?' to unrelated type 'Self' always fails
307 |             paragraphChildren.count == 1
308 |         else {
[25/29] Compiling CommonMark Text.swift
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:218:13: error: cannot find 'free' in scope
216 |
217 |         defer {
218 |             free(cString)
    |             `- error: cannot find 'free' in scope
219 |         }
220 |
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:285:50: warning: cast from '(any Node & Block)?' to unrelated type 'Self' always fails
283 |         // Unlink the children from the document node to prevent dangling pointers to the parent.
284 |         let documentChildren = document.removeChildren()
285 |         guard let block = documentChildren.first as? Self,
    |                                                  `- warning: cast from '(any Node & Block)?' to unrelated type 'Self' always fails
286 |             documentChildren.count == 1
287 |         else {
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:306:52: warning: cast from '(any Node & Inline)?' to unrelated type 'Self' always fails
304 |         // Unlink the children from the root node to prevent dangling pointers to the parent.
305 |         let paragraphChildren = paragraph.removeChildren()
306 |         guard let inline = paragraphChildren.first as? Self,
    |                                                    `- warning: cast from '(any Node & Inline)?' to unrelated type 'Self' always fails
307 |             paragraphChildren.count == 1
308 |         else {
[26/29] Compiling CommonMark Node.swift
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:218:13: error: cannot find 'free' in scope
216 |
217 |         defer {
218 |             free(cString)
    |             `- error: cannot find 'free' in scope
219 |         }
220 |
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:285:50: warning: cast from '(any Node & Block)?' to unrelated type 'Self' always fails
283 |         // Unlink the children from the document node to prevent dangling pointers to the parent.
284 |         let documentChildren = document.removeChildren()
285 |         guard let block = documentChildren.first as? Self,
    |                                                  `- warning: cast from '(any Node & Block)?' to unrelated type 'Self' always fails
286 |             documentChildren.count == 1
287 |         else {
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:306:52: warning: cast from '(any Node & Inline)?' to unrelated type 'Self' always fails
304 |         // Unlink the children from the root node to prevent dangling pointers to the parent.
305 |         let paragraphChildren = paragraph.removeChildren()
306 |         guard let inline = paragraphChildren.first as? Self,
    |                                                    `- warning: cast from '(any Node & Inline)?' to unrelated type 'Self' always fails
307 |             paragraphChildren.count == 1
308 |         else {
[27/29] Compiling CommonMark Visitable.swift
[28/29] Compiling CommonMark Visitor.swift
[29/29] Compiling CommonMark Version.swift
BUILD FAILURE 6.1 android