The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MarkdownDocumentKit, reference main (b92324), with Swift 6.1 for macOS (SPM) on 29 Sep 2026 21:24:34 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/giordano137/MarkdownDocumentKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/giordano137/MarkdownDocumentKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b923248 Lead the README with what nothing else does
Cloned https://github.com/giordano137/MarkdownDocumentKit.git
Revision (git rev-parse @):
b9232485da0be99024dfb137f15574ed50309c73
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/giordano137/MarkdownDocumentKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/giordano137/MarkdownDocumentKit.git
https://github.com/giordano137/MarkdownDocumentKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MarkdownDocumentKit",
  "name" : "MarkdownDocumentKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "MarkdownDocumentKit",
      "targets" : [
        "MarkdownDocumentKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MarkdownDocumentKitTests",
      "module_type" : "SwiftTarget",
      "name" : "MarkdownDocumentKitTests",
      "path" : "Tests/MarkdownDocumentKitTests",
      "sources" : [
        "DocumentParserTests.swift",
        "DocumentRendererTests.swift",
        "DocumentThemeTests.swift",
        "MarkdownDocumentKitTests.swift",
        "MinimalZipArchiveTests.swift",
        "PDFRendererTests.swift"
      ],
      "target_dependencies" : [
        "MarkdownDocumentKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MarkdownDocumentKit",
      "module_type" : "SwiftTarget",
      "name" : "MarkdownDocumentKit",
      "path" : "Sources/MarkdownDocumentKit",
      "product_memberships" : [
        "MarkdownDocumentKit"
      ],
      "sources" : [
        "CRC32.swift",
        "DiagramRenderer.swift",
        "DocumentBlock.swift",
        "DocumentRenderer.swift",
        "DocumentTheme.swift",
        "FormulaRenderer.swift",
        "ImageRenderer.swift",
        "MarkdownDocumentKit.swift",
        "MinimalZipArchive.swift",
        "OOXMLTableWriter.swift",
        "PDFRenderer.swift",
        "PlatformTypes.swift",
        "TableAttachment.swift",
        "TableRenderer.swift",
        "WordDocumentExporter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/17] Compiling MarkdownDocumentKit TableAttachment.swift
[4/18] Compiling MarkdownDocumentKit DocumentTheme.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownDocumentKit/DocumentTheme.swift:145:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DocumentTheme' may have shared mutable state; this is an error in the Swift 6 language mode
 17 | import Foundation
 18 |
 19 | public struct DocumentTheme {
    |               `- note: consider making struct 'DocumentTheme' conform to the 'Sendable' protocol
 20 |     /// One callout kind's tinted body background + accent label color — see
 21 |     /// `DocumentRenderer.calloutParagraph` for why the label itself carries no background of its
    :
143 |     /// `TableRenderer` call site defaults to this, so an existing consumer that never asks for a
144 |     /// theme sees zero change.
145 |     public static let `default` = DocumentTheme(
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DocumentTheme' 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
146 |         codeBlockBackground: PlatformColor(white: 0.95, alpha: 1),
147 |         codeText: .black,
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownDocumentKit/DocumentTheme.swift:212:24: warning: static property 'neutralFallbackTint' is not concurrency-safe because non-'Sendable' type 'DocumentTheme.CalloutTint' may have shared mutable state; this is an error in the Swift 6 language mode
 21 |     /// `DocumentRenderer.calloutParagraph` for why the label itself carries no background of its
 22 |     /// own.
 23 |     public struct CalloutTint {
    |                   `- note: consider making struct 'CalloutTint' conform to the 'Sendable' protocol
 24 |         public var background: PlatformColor
 25 |         public var accent: PlatformColor
    :
210 |     }
211 |
212 |     private static let neutralFallbackTint = CalloutTint(
    |                        |- warning: static property 'neutralFallbackTint' is not concurrency-safe because non-'Sendable' type 'DocumentTheme.CalloutTint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'neutralFallbackTint' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 |         background: PlatformColor(white: 0.93, alpha: 1),
214 |         accent: PlatformColor(white: 0.35, alpha: 1)
[5/18] Compiling MarkdownDocumentKit FormulaRenderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownDocumentKit/DocumentTheme.swift:145:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DocumentTheme' may have shared mutable state; this is an error in the Swift 6 language mode
 17 | import Foundation
 18 |
 19 | public struct DocumentTheme {
    |               `- note: consider making struct 'DocumentTheme' conform to the 'Sendable' protocol
 20 |     /// One callout kind's tinted body background + accent label color — see
 21 |     /// `DocumentRenderer.calloutParagraph` for why the label itself carries no background of its
    :
143 |     /// `TableRenderer` call site defaults to this, so an existing consumer that never asks for a
144 |     /// theme sees zero change.
145 |     public static let `default` = DocumentTheme(
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DocumentTheme' 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
146 |         codeBlockBackground: PlatformColor(white: 0.95, alpha: 1),
147 |         codeText: .black,
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownDocumentKit/DocumentTheme.swift:212:24: warning: static property 'neutralFallbackTint' is not concurrency-safe because non-'Sendable' type 'DocumentTheme.CalloutTint' may have shared mutable state; this is an error in the Swift 6 language mode
 21 |     /// `DocumentRenderer.calloutParagraph` for why the label itself carries no background of its
 22 |     /// own.
 23 |     public struct CalloutTint {
    |                   `- note: consider making struct 'CalloutTint' conform to the 'Sendable' protocol
 24 |         public var background: PlatformColor
 25 |         public var accent: PlatformColor
    :
210 |     }
211 |
212 |     private static let neutralFallbackTint = CalloutTint(
    |                        |- warning: static property 'neutralFallbackTint' is not concurrency-safe because non-'Sendable' type 'DocumentTheme.CalloutTint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'neutralFallbackTint' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 |         background: PlatformColor(white: 0.93, alpha: 1),
214 |         accent: PlatformColor(white: 0.35, alpha: 1)
[6/18] Compiling MarkdownDocumentKit PlatformTypes.swift
[7/18] Compiling MarkdownDocumentKit ImageRenderer.swift
[8/18] Compiling MarkdownDocumentKit MarkdownDocumentKit.swift
[9/18] Compiling MarkdownDocumentKit PDFRenderer.swift
[10/18] Compiling MarkdownDocumentKit MinimalZipArchive.swift
[11/18] Compiling MarkdownDocumentKit OOXMLTableWriter.swift
[12/18] Compiling MarkdownDocumentKit TableRenderer.swift
[13/18] Emitting module MarkdownDocumentKit
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownDocumentKit/DocumentTheme.swift:145:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DocumentTheme' may have shared mutable state; this is an error in the Swift 6 language mode
 17 | import Foundation
 18 |
 19 | public struct DocumentTheme {
    |               `- note: consider making struct 'DocumentTheme' conform to the 'Sendable' protocol
 20 |     /// One callout kind's tinted body background + accent label color — see
 21 |     /// `DocumentRenderer.calloutParagraph` for why the label itself carries no background of its
    :
143 |     /// `TableRenderer` call site defaults to this, so an existing consumer that never asks for a
144 |     /// theme sees zero change.
145 |     public static let `default` = DocumentTheme(
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DocumentTheme' 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
146 |         codeBlockBackground: PlatformColor(white: 0.95, alpha: 1),
147 |         codeText: .black,
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownDocumentKit/DocumentTheme.swift:212:24: warning: static property 'neutralFallbackTint' is not concurrency-safe because non-'Sendable' type 'DocumentTheme.CalloutTint' may have shared mutable state; this is an error in the Swift 6 language mode
 21 |     /// `DocumentRenderer.calloutParagraph` for why the label itself carries no background of its
 22 |     /// own.
 23 |     public struct CalloutTint {
    |                   `- note: consider making struct 'CalloutTint' conform to the 'Sendable' protocol
 24 |         public var background: PlatformColor
 25 |         public var accent: PlatformColor
    :
210 |     }
211 |
212 |     private static let neutralFallbackTint = CalloutTint(
    |                        |- warning: static property 'neutralFallbackTint' is not concurrency-safe because non-'Sendable' type 'DocumentTheme.CalloutTint' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'neutralFallbackTint' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 |         background: PlatformColor(white: 0.93, alpha: 1),
214 |         accent: PlatformColor(white: 0.35, alpha: 1)
[14/18] Compiling MarkdownDocumentKit CRC32.swift
[15/18] Compiling MarkdownDocumentKit DiagramRenderer.swift
[16/18] Compiling MarkdownDocumentKit DocumentBlock.swift
[17/18] Compiling MarkdownDocumentKit DocumentRenderer.swift
[18/18] Compiling MarkdownDocumentKit WordDocumentExporter.swift
Build complete! (8.30s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MarkdownDocumentKit",
  "name" : "MarkdownDocumentKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "MarkdownDocumentKit",
      "targets" : [
        "MarkdownDocumentKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MarkdownDocumentKitTests",
      "module_type" : "SwiftTarget",
      "name" : "MarkdownDocumentKitTests",
      "path" : "Tests/MarkdownDocumentKitTests",
      "sources" : [
        "DocumentParserTests.swift",
        "DocumentRendererTests.swift",
        "DocumentThemeTests.swift",
        "MarkdownDocumentKitTests.swift",
        "MinimalZipArchiveTests.swift",
        "PDFRendererTests.swift"
      ],
      "target_dependencies" : [
        "MarkdownDocumentKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MarkdownDocumentKit",
      "module_type" : "SwiftTarget",
      "name" : "MarkdownDocumentKit",
      "path" : "Sources/MarkdownDocumentKit",
      "product_memberships" : [
        "MarkdownDocumentKit"
      ],
      "sources" : [
        "CRC32.swift",
        "DiagramRenderer.swift",
        "DocumentBlock.swift",
        "DocumentRenderer.swift",
        "DocumentTheme.swift",
        "FormulaRenderer.swift",
        "ImageRenderer.swift",
        "MarkdownDocumentKit.swift",
        "MinimalZipArchive.swift",
        "OOXMLTableWriter.swift",
        "PDFRenderer.swift",
        "PlatformTypes.swift",
        "TableAttachment.swift",
        "TableRenderer.swift",
        "WordDocumentExporter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.