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 Markdown, reference main (f5a554), with Swift 6.1 for macOS (SPM) on 13 Jun 2025 12:02:24 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.63.1
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 f5a5547 doc: Update README.md
Cloned https://github.com/jaywcjlove/swiftui-markdown.git
Revision (git rev-parse @):
f5a55478650bd12a93a73763633fe3bb73f26940
SUCCESS checkout https://github.com/jaywcjlove/swiftui-markdown.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftui-markdown",
      "name": "Markdown",
      "url": "https://github.com/jaywcjlove/swiftui-markdown.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftui-markdown",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jaywcjlove/swiftui-markdown.git
[1/599] Fetching swiftui-markdown
Fetched https://github.com/jaywcjlove/swiftui-markdown.git from cache (1.00s)
Creating working copy for https://github.com/jaywcjlove/swiftui-markdown.git
Working copy of https://github.com/jaywcjlove/swiftui-markdown.git resolved at main (f5a5547)
warning: '.resolve-product-dependencies': dependency 'swiftui-markdown' is not used by any target
Found 0 product dependencies
========================================
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 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 |
[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] 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 |
[8/8] Compiling Markdown MarkdownStyle.swift
Build complete! (8.86s)
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.