The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Nifty Markdown Formatter, reference main (8ff20d), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 21:46:33 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NiftyTreeStudios/Nifty-Markdown-Formatter.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NiftyTreeStudios/Nifty-Markdown-Formatter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8ff20d2 Merge pull request #21 from thearusable/main
Cloned https://github.com/NiftyTreeStudios/Nifty-Markdown-Formatter.git
Revision (git rev-parse @):
8ff20d28ab07c4923d9882321bf3de829fc86edc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NiftyTreeStudios/Nifty-Markdown-Formatter.git at main
Fetching https://github.com/apple/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.27s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.65s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.0.0
========================================
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": "nifty-markdown-formatter",
      "name": "Nifty Markdown Formatter",
      "url": "https://github.com/NiftyTreeStudios/Nifty-Markdown-Formatter.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nifty-Markdown-Formatter",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/NiftyTreeStudios/Nifty-Markdown-Formatter.git
[6/188] Fetching nifty-markdown-formatter
Fetched https://github.com/NiftyTreeStudios/Nifty-Markdown-Formatter.git from cache (0.74s)
Creating working copy for https://github.com/NiftyTreeStudios/Nifty-Markdown-Formatter.git
Working copy of https://github.com/NiftyTreeStudios/Nifty-Markdown-Formatter.git resolved at main (8ff20d2)
warning: '.resolve-product-dependencies': dependency 'nifty-markdown-formatter' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/NiftyTreeStudios/Nifty-Markdown-Formatter.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/10] Compiling NiftyMarkdownFormatter NiftyMarkdownFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/NiftyMarkdownFormatter/NiftyMarkdownFormatter.swift:58:29: warning: call to main actor-isolated initializer 'init(minLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
56 |                         VStack(alignment: .leading) {
57 |                             Circle().frame(width: 5, height: 5).padding(.top, 9)
58 |                             Spacer()
   |                             `- warning: call to main actor-isolated initializer 'init(minLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 |                         }
60 |                         Text(formatUnorderedListItem(string))
SwiftUICore.Spacer:4:50: note: calls to initializer 'init(minLength:)' from outside of its actor context are implicitly asynchronous
2 | @MainActor @frozen @preconcurrency public struct Spacer {
3 |     @MainActor @preconcurrency public var minLength: CGFloat?
4 |     @MainActor @inlinable @preconcurrency public init(minLength: CGFloat? = nil)
  |                                                  `- note: calls to initializer 'init(minLength:)' from outside of its actor context are implicitly asynchronous
5 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
6 |     public typealias Body = Never
[6/10] Compiling NiftyMarkdownFormatter Lists.swift
/Users/admin/builder/spi-builder-workspace/Sources/NiftyMarkdownFormatter/Lists.swift:36:21: warning: call to main actor-isolated initializer 'init(minLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 |                 VStack(alignment: .leading) {
35 |                     Text(orderedPrefix).bold().padding(.top, 9)
36 |                     Spacer()
   |                     `- warning: call to main actor-isolated initializer 'init(minLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 |                 }
38 |                 Text(orderedItem)
SwiftUICore.Spacer:4:50: note: calls to initializer 'init(minLength:)' from outside of its actor context are implicitly asynchronous
2 | @MainActor @frozen @preconcurrency public struct Spacer {
3 |     @MainActor @preconcurrency public var minLength: CGFloat?
4 |     @MainActor @inlinable @preconcurrency public init(minLength: CGFloat? = nil)
  |                                                  `- note: calls to initializer 'init(minLength:)' from outside of its actor context are implicitly asynchronous
5 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
6 |     public typealias Body = Never
[7/10] Compiling NiftyMarkdownFormatter Images.swift
[8/10] Compiling NiftyMarkdownFormatter Headings.swift
[9/10] Compiling NiftyMarkdownFormatter NSRegularExpression+Ext.swift
[10/10] Emitting module NiftyMarkdownFormatter
Build complete! (23.97s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Nifty Markdown Formatter",
  "name" : "Nifty Markdown Formatter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "Nifty Markdown Formatter",
      "targets" : [
        "NiftyMarkdownFormatter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NiftyMarkdownFormatterTests",
      "module_type" : "SwiftTarget",
      "name" : "NiftyMarkdownFormatterTests",
      "path" : "Tests/NiftyMarkdownFormatterTests",
      "sources" : [
        "NiftyMarkdownFormatterTests.swift"
      ],
      "target_dependencies" : [
        "NiftyMarkdownFormatter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NiftyMarkdownFormatter",
      "module_type" : "SwiftTarget",
      "name" : "NiftyMarkdownFormatter",
      "path" : "Sources/NiftyMarkdownFormatter",
      "product_memberships" : [
        "Nifty Markdown Formatter"
      ],
      "sources" : [
        "Extensions/NSRegularExpression+Ext.swift",
        "Headings.swift",
        "Images.swift",
        "Lists.swift",
        "NiftyMarkdownFormatter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.