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 MarkdownChildrenKit, reference develop (4b8c36), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 05:45:21 UTC.

Swift 6 data race errors: 7

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 -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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ptrkstr/MarkdownChildrenKit.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ptrkstr/MarkdownChildrenKit
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 4b8c36a Create FUNDING.yml
Cloned https://github.com/ptrkstr/MarkdownChildrenKit.git
Revision (git rev-parse @):
4b8c36a4410c8fcc97bda95f5c5b0f1746af9592
SUCCESS checkout https://github.com/ptrkstr/MarkdownChildrenKit.git at develop
========================================
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": "markdownchildrenkit",
      "name": "MarkdownChildrenKit",
      "url": "https://github.com/ptrkstr/MarkdownChildrenKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MarkdownChildrenKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ptrkstr/MarkdownChildrenKit.git
[1/113] Fetching markdownchildrenkit
Fetched https://github.com/ptrkstr/MarkdownChildrenKit.git from cache (0.80s)
Creating working copy for https://github.com/ptrkstr/MarkdownChildrenKit.git
Working copy of https://github.com/ptrkstr/MarkdownChildrenKit.git resolved at develop (4b8c36a)
warning: '.resolve-product-dependencies': dependency 'markdownchildrenkit' 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/ptrkstr/MarkdownChildrenKit.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 -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--7754E27361AE5C74.txt
[3/16] Compiling MarkdownChildrenKit StringSaver.swift
[4/17] Compiling MarkdownChildrenKit MarkdownChildrenError.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:20:10: warning: associated value 'unableToSearchInDirectory' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
 5 | /// We want to make use of enum associated value equality checking
 6 | /// so will use our own URL type.
 7 | public struct EquatableURL: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
 8 |     public let url: URL
 9 |
   :
18 |
19 | enum MarkdownChildrenError: Error, CustomStringConvertible, Equatable {
20 |     case unableToSearchInDirectory(EquatableURL)
   |          `- warning: associated value 'unableToSearchInDirectory' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
21 |     case unableToReadMarkdownFile(EquatableURL)
22 |     case directoryIsEmpty(EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:21:10: warning: associated value 'unableToReadMarkdownFile' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
 5 | /// We want to make use of enum associated value equality checking
 6 | /// so will use our own URL type.
 7 | public struct EquatableURL: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
 8 |     public let url: URL
 9 |
   :
19 | enum MarkdownChildrenError: Error, CustomStringConvertible, Equatable {
20 |     case unableToSearchInDirectory(EquatableURL)
21 |     case unableToReadMarkdownFile(EquatableURL)
   |          `- warning: associated value 'unableToReadMarkdownFile' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
22 |     case directoryIsEmpty(EquatableURL)
23 |     case missingH1WhenExpected(EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:22:10: warning: associated value 'directoryIsEmpty' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
 5 | /// We want to make use of enum associated value equality checking
 6 | /// so will use our own URL type.
 7 | public struct EquatableURL: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
 8 |     public let url: URL
 9 |
   :
20 |     case unableToSearchInDirectory(EquatableURL)
21 |     case unableToReadMarkdownFile(EquatableURL)
22 |     case directoryIsEmpty(EquatableURL)
   |          `- warning: associated value 'directoryIsEmpty' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
23 |     case missingH1WhenExpected(EquatableURL)
24 |     case missingTagInMarkdown(tag: String, EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:23:10: warning: associated value 'missingH1WhenExpected' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
 5 | /// We want to make use of enum associated value equality checking
 6 | /// so will use our own URL type.
 7 | public struct EquatableURL: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
 8 |     public let url: URL
 9 |
   :
21 |     case unableToReadMarkdownFile(EquatableURL)
22 |     case directoryIsEmpty(EquatableURL)
23 |     case missingH1WhenExpected(EquatableURL)
   |          `- warning: associated value 'missingH1WhenExpected' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
24 |     case missingTagInMarkdown(tag: String, EquatableURL)
25 |     case noFileExists(EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:24:10: warning: associated value 'missingTagInMarkdown(tag:_:)' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
 5 | /// We want to make use of enum associated value equality checking
 6 | /// so will use our own URL type.
 7 | public struct EquatableURL: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
 8 |     public let url: URL
 9 |
   :
22 |     case directoryIsEmpty(EquatableURL)
23 |     case missingH1WhenExpected(EquatableURL)
24 |     case missingTagInMarkdown(tag: String, EquatableURL)
   |          `- warning: associated value 'missingTagInMarkdown(tag:_:)' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
25 |     case noFileExists(EquatableURL)
26 |     case directorySpecifiedInsteadOfFile(EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:25:10: warning: associated value 'noFileExists' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
 5 | /// We want to make use of enum associated value equality checking
 6 | /// so will use our own URL type.
 7 | public struct EquatableURL: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
 8 |     public let url: URL
 9 |
   :
23 |     case missingH1WhenExpected(EquatableURL)
24 |     case missingTagInMarkdown(tag: String, EquatableURL)
25 |     case noFileExists(EquatableURL)
   |          `- warning: associated value 'noFileExists' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
26 |     case directorySpecifiedInsteadOfFile(EquatableURL)
27 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:26:10: warning: associated value 'directorySpecifiedInsteadOfFile' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
 5 | /// We want to make use of enum associated value equality checking
 6 | /// so will use our own URL type.
 7 | public struct EquatableURL: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
 8 |     public let url: URL
 9 |
   :
24 |     case missingTagInMarkdown(tag: String, EquatableURL)
25 |     case noFileExists(EquatableURL)
26 |     case directorySpecifiedInsteadOfFile(EquatableURL)
   |          `- warning: associated value 'directorySpecifiedInsteadOfFile' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
27 |
28 |     var description: String {
[5/17] Compiling MarkdownChildrenKit ListItemMarkdownNameType.swift
[6/17] Compiling MarkdownChildrenKit Markdown.swift
[7/17] Compiling MarkdownChildrenKit URL+Extensions.swift
[8/17] Compiling MarkdownChildrenKit Array+Extensions.swift
[9/17] Compiling MarkdownChildrenKit ListItem.swift
[10/17] Compiling MarkdownChildrenKit ListItemDirectory.swift
[11/17] Compiling MarkdownChildrenKit StringProtocol+Extensions.swift
[12/17] Compiling MarkdownChildrenKit MarkdownChildren.swift
[13/17] Compiling MarkdownChildrenKit ListItemMarkdown.swift
[14/17] Emitting module MarkdownChildrenKit
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:20:10: warning: associated value 'unableToSearchInDirectory' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
 5 | /// We want to make use of enum associated value equality checking
 6 | /// so will use our own URL type.
 7 | public struct EquatableURL: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
 8 |     public let url: URL
 9 |
   :
18 |
19 | enum MarkdownChildrenError: Error, CustomStringConvertible, Equatable {
20 |     case unableToSearchInDirectory(EquatableURL)
   |          `- warning: associated value 'unableToSearchInDirectory' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
21 |     case unableToReadMarkdownFile(EquatableURL)
22 |     case directoryIsEmpty(EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:21:10: warning: associated value 'unableToReadMarkdownFile' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
 5 | /// We want to make use of enum associated value equality checking
 6 | /// so will use our own URL type.
 7 | public struct EquatableURL: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
 8 |     public let url: URL
 9 |
   :
19 | enum MarkdownChildrenError: Error, CustomStringConvertible, Equatable {
20 |     case unableToSearchInDirectory(EquatableURL)
21 |     case unableToReadMarkdownFile(EquatableURL)
   |          `- warning: associated value 'unableToReadMarkdownFile' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
22 |     case directoryIsEmpty(EquatableURL)
23 |     case missingH1WhenExpected(EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:22:10: warning: associated value 'directoryIsEmpty' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
 5 | /// We want to make use of enum associated value equality checking
 6 | /// so will use our own URL type.
 7 | public struct EquatableURL: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
 8 |     public let url: URL
 9 |
   :
20 |     case unableToSearchInDirectory(EquatableURL)
21 |     case unableToReadMarkdownFile(EquatableURL)
22 |     case directoryIsEmpty(EquatableURL)
   |          `- warning: associated value 'directoryIsEmpty' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
23 |     case missingH1WhenExpected(EquatableURL)
24 |     case missingTagInMarkdown(tag: String, EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:23:10: warning: associated value 'missingH1WhenExpected' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
 5 | /// We want to make use of enum associated value equality checking
 6 | /// so will use our own URL type.
 7 | public struct EquatableURL: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
 8 |     public let url: URL
 9 |
   :
21 |     case unableToReadMarkdownFile(EquatableURL)
22 |     case directoryIsEmpty(EquatableURL)
23 |     case missingH1WhenExpected(EquatableURL)
   |          `- warning: associated value 'missingH1WhenExpected' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
24 |     case missingTagInMarkdown(tag: String, EquatableURL)
25 |     case noFileExists(EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:24:10: warning: associated value 'missingTagInMarkdown(tag:_:)' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
 5 | /// We want to make use of enum associated value equality checking
 6 | /// so will use our own URL type.
 7 | public struct EquatableURL: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
 8 |     public let url: URL
 9 |
   :
22 |     case directoryIsEmpty(EquatableURL)
23 |     case missingH1WhenExpected(EquatableURL)
24 |     case missingTagInMarkdown(tag: String, EquatableURL)
   |          `- warning: associated value 'missingTagInMarkdown(tag:_:)' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
25 |     case noFileExists(EquatableURL)
26 |     case directorySpecifiedInsteadOfFile(EquatableURL)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:25:10: warning: associated value 'noFileExists' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
 5 | /// We want to make use of enum associated value equality checking
 6 | /// so will use our own URL type.
 7 | public struct EquatableURL: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
 8 |     public let url: URL
 9 |
   :
23 |     case missingH1WhenExpected(EquatableURL)
24 |     case missingTagInMarkdown(tag: String, EquatableURL)
25 |     case noFileExists(EquatableURL)
   |          `- warning: associated value 'noFileExists' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
26 |     case directorySpecifiedInsteadOfFile(EquatableURL)
27 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownChildrenKit/Models/MarkdownChildrenError.swift:26:10: warning: associated value 'directorySpecifiedInsteadOfFile' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
 5 | /// We want to make use of enum associated value equality checking
 6 | /// so will use our own URL type.
 7 | public struct EquatableURL: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'EquatableURL' conform to the 'Sendable' protocol
 8 |     public let url: URL
 9 |
   :
24 |     case missingTagInMarkdown(tag: String, EquatableURL)
25 |     case noFileExists(EquatableURL)
26 |     case directorySpecifiedInsteadOfFile(EquatableURL)
   |          `- warning: associated value 'directorySpecifiedInsteadOfFile' of 'Sendable'-conforming enum 'MarkdownChildrenError' has non-sendable type 'EquatableURL'; this is an error in the Swift 6 language mode
27 |
28 |     var description: String {
[15/17] Compiling MarkdownChildrenKit Configuration.swift
[16/17] Compiling MarkdownChildrenKit List.swift
[17/17] Compiling MarkdownChildrenKit Renderer.swift
Build complete! (15.15s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MarkdownChildrenKit",
  "name" : "MarkdownChildrenKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "MarkdownChildrenKit",
      "targets" : [
        "MarkdownChildrenKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MarkdownChildrenKitTests",
      "module_type" : "SwiftTarget",
      "name" : "MarkdownChildrenKitTests",
      "path" : "Tests/MarkdownChildrenKitTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MarkdownChildrenKitTests/TestData",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "MarkdownChildren_Tests.swift",
        "Mocks/StringSaver_Mock.swift",
        "Models/Markdown_Tests.swift",
        "TestData.swift"
      ],
      "target_dependencies" : [
        "MarkdownChildrenKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MarkdownChildrenKit",
      "module_type" : "SwiftTarget",
      "name" : "MarkdownChildrenKit",
      "path" : "Sources/MarkdownChildrenKit",
      "product_memberships" : [
        "MarkdownChildrenKit"
      ],
      "sources" : [
        "Extensions/Foundation/URL+Extensions.swift",
        "Extensions/Swift/Array+Extensions.swift",
        "Extensions/Swift/StringProtocol+Extensions.swift",
        "MarkdownChildren.swift",
        "Models/Configuration.swift",
        "Models/List/List.swift",
        "Models/List/ListItem.swift",
        "Models/List/ListItemDirectory.swift",
        "Models/List/ListItemMarkdown.swift",
        "Models/List/ListItemMarkdownNameType.swift",
        "Models/Markdown.swift",
        "Models/MarkdownChildrenError.swift",
        "Models/StringSaver.swift",
        "UI/Renderer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.