The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Markdown, reference main (2ce968), with Swift 6.1 for macOS (SPM) on 23 Apr 2026 20:50:11 UTC.

Swift 6 data race errors: 1

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: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaywcjlove/swiftui-markdown.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jaywcjlove/swiftui-markdown
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2ce968f doc: update README.md
Cloned https://github.com/jaywcjlove/swiftui-markdown.git
Revision (git rev-parse @):
2ce968ffe518627dd1eb0265f3c6d68896aec193
SUCCESS checkout https://github.com/jaywcjlove/swiftui-markdown.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jaywcjlove/swiftui-markdown.git
https://github.com/jaywcjlove/swiftui-markdown.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Markdown",
  "name" : "Markdown",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Markdown",
      "targets" : [
        "Markdown"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MarkdownTests",
      "module_type" : "SwiftTarget",
      "name" : "MarkdownTests",
      "path" : "Tests/MarkdownTests",
      "sources" : [
        "MarkdownTests.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Markdown",
      "module_type" : "SwiftTarget",
      "name" : "Markdown",
      "path" : "Sources/Markdown",
      "product_memberships" : [
        "Markdown"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Markdown/Resources/web.bundle",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Markdown.swift",
        "MarkdownStyle.swift",
        "MarkdownWebView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/3] Write sources
[1/3] Copying web.bundle
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/8] Compiling Markdown resource_bundle_accessor.swift
[5/8] Compiling Markdown MarkdownStyle.swift
[6/8] Compiling Markdown Markdown.swift
/Users/admin/builder/spi-builder-workspace/Sources/Markdown/Markdown.swift:124:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'MarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
122 |
123 | private struct MarkdownStyleKey: EnvironmentKey {
124 |   static let defaultValue = MarkdownStyle()
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'MarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | }
126 |
/Users/admin/builder/spi-builder-workspace/Sources/Markdown/MarkdownStyle.swift:10:15: note: consider making struct 'MarkdownStyle' conform to the 'Sendable' protocol
 8 | import SwiftUI
 9 |
10 | public struct MarkdownStyle: Hashable {
   |               `- note: consider making struct 'MarkdownStyle' conform to the 'Sendable' protocol
11 |     public var padding: Int?
12 |     public var paddingTop: Int?
[7/8] Compiling Markdown MarkdownWebView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Markdown/MarkdownWebView.swift:125:17: warning: instance method 'webView(_:decidePolicyFor:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:decisionHandler:)' of protocol 'WKNavigationDelegate'
123 |     }
124 |     ///  open links in browsers
125 |     public func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void) {
    |                 |- warning: instance method 'webView(_:decidePolicyFor:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:decisionHandler:)' of protocol 'WKNavigationDelegate'
    |                 |- note: candidate has non-matching type '(WKWebView, WKNavigationAction, @escaping (WKNavigationActionPolicy) -> Void) -> ()'
    |                 `- note: move 'webView(_:decidePolicyFor:decisionHandler:)' to an extension to silence this warning
126 |         if let url = navigationAction.request.url {
127 |             if url.isFileURL == false {
WebKit.WKNavigationDelegate.webView:3:28: note: requirement 'webView(_:decidePolicyFor:decisionHandler:)' declared here
1 | protocol WKNavigationDelegate {
2 | @available(macOS 10.10, *)
3 |   @MainActor optional func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping @MainActor @Sendable (WKNavigationActionPolicy) -> Void)}
  |                            `- note: requirement 'webView(_:decidePolicyFor:decisionHandler:)' declared here
4 |
[8/8] Emitting module Markdown
/Users/admin/builder/spi-builder-workspace/Sources/Markdown/Markdown.swift:124:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'MarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
122 |
123 | private struct MarkdownStyleKey: EnvironmentKey {
124 |   static let defaultValue = MarkdownStyle()
    |              |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'MarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | }
126 |
/Users/admin/builder/spi-builder-workspace/Sources/Markdown/MarkdownStyle.swift:10:15: note: consider making struct 'MarkdownStyle' conform to the 'Sendable' protocol
 8 | import SwiftUI
 9 |
10 | public struct MarkdownStyle: Hashable {
   |               `- note: consider making struct 'MarkdownStyle' conform to the 'Sendable' protocol
11 |     public var padding: Int?
12 |     public var paddingTop: Int?
/Users/admin/builder/spi-builder-workspace/Sources/Markdown/MarkdownWebView.swift:125:17: warning: instance method 'webView(_:decidePolicyFor:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:decisionHandler:)' of protocol 'WKNavigationDelegate'
123 |     }
124 |     ///  open links in browsers
125 |     public func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void) {
    |                 |- warning: instance method 'webView(_:decidePolicyFor:decisionHandler:)' nearly matches optional requirement 'webView(_:decidePolicyFor:decisionHandler:)' of protocol 'WKNavigationDelegate'
    |                 |- note: candidate has non-matching type '(WKWebView, WKNavigationAction, @escaping (WKNavigationActionPolicy) -> Void) -> ()'
    |                 `- note: move 'webView(_:decidePolicyFor:decisionHandler:)' to an extension to silence this warning
126 |         if let url = navigationAction.request.url {
127 |             if url.isFileURL == false {
WebKit.WKNavigationDelegate.webView:3:28: note: requirement 'webView(_:decidePolicyFor:decisionHandler:)' declared here
1 | protocol WKNavigationDelegate {
2 | @available(macOS 10.10, *)
3 |   @MainActor optional func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping @MainActor @Sendable (WKNavigationActionPolicy) -> Void)}
  |                            `- note: requirement 'webView(_:decidePolicyFor:decisionHandler:)' declared here
4 |
Build complete! (8.81s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Markdown",
  "name" : "Markdown",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Markdown",
      "targets" : [
        "Markdown"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MarkdownTests",
      "module_type" : "SwiftTarget",
      "name" : "MarkdownTests",
      "path" : "Tests/MarkdownTests",
      "sources" : [
        "MarkdownTests.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Markdown",
      "module_type" : "SwiftTarget",
      "name" : "Markdown",
      "path" : "Sources/Markdown",
      "product_memberships" : [
        "Markdown"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Markdown/Resources/web.bundle",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Markdown.swift",
        "MarkdownStyle.swift",
        "MarkdownWebView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.