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 SagaPythonMarkdownReader, reference main (f69e17), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 15:37:21 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.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loopwerk/SagaPythonMarkdownReader.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/loopwerk/SagaPythonMarkdownReader
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f69e178 Migrate to Saga 2.0.0
Cloned https://github.com/loopwerk/SagaPythonMarkdownReader.git
Revision (git rev-parse @):
f69e17872cb3ec7f1606a6db2c005fa44085ae3a
SUCCESS checkout https://github.com/loopwerk/SagaPythonMarkdownReader.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/loopwerk/SagaPythonMarkdownReader.git
https://github.com/loopwerk/SagaPythonMarkdownReader.git
{
  "dependencies" : [
    {
      "identity" : "saga",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/loopwerk/Saga.git"
    },
    {
      "identity" : "swiftmarkdown",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/loopwerk/SwiftMarkdown"
    }
  ],
  "manifest_display_name" : "SagaPythonMarkdownReader",
  "name" : "SagaPythonMarkdownReader",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "SagaPythonMarkdownReader",
      "targets" : [
        "SagaPythonMarkdownReader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SagaPythonMarkdownReaderTests",
      "module_type" : "SwiftTarget",
      "name" : "SagaPythonMarkdownReaderTests",
      "path" : "Tests/SagaPythonMarkdownReaderTests",
      "sources" : [
        "SagaPythonMarkdownReaderTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SagaPythonMarkdownReader"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SagaPythonMarkdownReader",
      "module_type" : "SwiftTarget",
      "name" : "SagaPythonMarkdownReader",
      "path" : "Sources/SagaPythonMarkdownReader",
      "product_dependencies" : [
        "Saga",
        "SwiftMarkdown"
      ],
      "product_memberships" : [
        "SagaPythonMarkdownReader"
      ],
      "sources" : [
        "SagaPythonMarkdownReader.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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/6] Write sources
[5/6] Write swift-version-2F0A5646E1D333AE.txt
[7/13] Emitting module PythonKit
[8/13] Compiling PythonKit NumpyConversion.swift
[9/13] Compiling PythonKit Python.swift
[10/13] Compiling PythonKit PythonLibrary.swift
[11/13] Compiling PythonKit PythonLibrary+Symbols.swift
[12/15] Compiling PathKit PathKit.swift
[13/15] Emitting module PathKit
[14/29] Emitting module SwiftMarkdown
[15/29] Compiling SwiftMarkdown SwiftMarkdown.swift
[16/29] Compiling Saga Path+Extensions.swift
[17/29] Compiling Saga ProcessingStep.swift
[18/29] Compiling Saga RenderingContexts.swift
[19/29] Compiling Saga Reader.swift
[20/30] Compiling Saga FileIO.swift
[21/30] Compiling Saga Item.swift
[22/30] Emitting module Saga
[23/30] Compiling Saga Atom.swift
[24/30] Compiling Saga FileContainer.swift
[25/30] Compiling Saga utils.swift
[26/30] Compiling Saga Writer.swift
[27/30] Compiling Saga Saga.swift
[28/30] Compiling Saga ItemWriteMode.swift
[29/30] Compiling Saga MetadataDecoder.swift
[30/30] Compiling Saga String+Slugify.swift
[31/32] Emitting module SagaPythonMarkdownReader
/Users/admin/builder/spi-builder-workspace/Sources/SagaPythonMarkdownReader/SagaPythonMarkdownReader.swift:11:5: warning: let 'parser' is not concurrency-safe because non-'Sendable' type 'SwiftMarkdown' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | ]
10 |
11 | let parser = try! SwiftMarkdown(
   |     `- warning: let 'parser' is not concurrency-safe because non-'Sendable' type 'SwiftMarkdown' may have shared mutable state; this is an error in the Swift 6 language mode
12 |   extensions: [.nl2br, .fencedCode, .codehilite, .strikethrough, .title, .meta, .saneLists, .urlize],
13 |   extensionConfig: config
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftMarkdown/Sources/SwiftMarkdown/SwiftMarkdown.swift:28:15: note: struct 'SwiftMarkdown' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public struct SwiftMarkdown {
   |               `- note: struct 'SwiftMarkdown' does not conform to the 'Sendable' protocol
29 |   public enum Extension: String {
30 |     case extra = "extra"
/Users/admin/builder/spi-builder-workspace/Sources/SagaPythonMarkdownReader/SagaPythonMarkdownReader.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftMarkdown'
 1 | import Foundation
 2 | import Saga
 3 | import SwiftMarkdown
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftMarkdown'
 4 |
 5 | let config = [
   :
 9 | ]
10 |
11 | let parser = try! SwiftMarkdown(
   |     |- note: add '@MainActor' to make let 'parser' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |   extensions: [.nl2br, .fencedCode, .codehilite, .strikethrough, .title, .meta, .saneLists, .urlize],
13 |   extensionConfig: config
[32/32] Compiling SagaPythonMarkdownReader SagaPythonMarkdownReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SagaPythonMarkdownReader/SagaPythonMarkdownReader.swift:11:5: warning: let 'parser' is not concurrency-safe because non-'Sendable' type 'SwiftMarkdown' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | ]
10 |
11 | let parser = try! SwiftMarkdown(
   |     `- warning: let 'parser' is not concurrency-safe because non-'Sendable' type 'SwiftMarkdown' may have shared mutable state; this is an error in the Swift 6 language mode
12 |   extensions: [.nl2br, .fencedCode, .codehilite, .strikethrough, .title, .meta, .saneLists, .urlize],
13 |   extensionConfig: config
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftMarkdown/Sources/SwiftMarkdown/SwiftMarkdown.swift:28:15: note: struct 'SwiftMarkdown' does not conform to the 'Sendable' protocol
26 | }
27 |
28 | public struct SwiftMarkdown {
   |               `- note: struct 'SwiftMarkdown' does not conform to the 'Sendable' protocol
29 |   public enum Extension: String {
30 |     case extra = "extra"
/Users/admin/builder/spi-builder-workspace/Sources/SagaPythonMarkdownReader/SagaPythonMarkdownReader.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftMarkdown'
 1 | import Foundation
 2 | import Saga
 3 | import SwiftMarkdown
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftMarkdown'
 4 |
 5 | let config = [
   :
 9 | ]
10 |
11 | let parser = try! SwiftMarkdown(
   |     |- note: add '@MainActor' to make let 'parser' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |   extensions: [.nl2br, .fencedCode, .codehilite, .strikethrough, .title, .meta, .saneLists, .urlize],
13 |   extensionConfig: config
Build complete! (24.26s)
Fetching https://github.com/loopwerk/Saga.git
Fetching https://github.com/loopwerk/SwiftMarkdown
[1/2901] Fetching saga
[31/2964] Fetching saga, swiftmarkdown
Fetched https://github.com/loopwerk/Saga.git from cache (1.09s)
Fetched https://github.com/loopwerk/SwiftMarkdown from cache (1.09s)
Computing version for https://github.com/loopwerk/SwiftMarkdown
Computed https://github.com/loopwerk/SwiftMarkdown at 0.4.0 (1.66s)
Fetching https://github.com/pvieito/PythonKit.git
[1/1643] Fetching pythonkit
Fetched https://github.com/pvieito/PythonKit.git from cache (0.90s)
Computing version for https://github.com/loopwerk/Saga.git
Computed https://github.com/loopwerk/Saga.git at 2.2.0 (1.44s)
Fetching https://github.com/kylef/PathKit
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit from cache (5.83s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (8.79s)
Fetching https://github.com/kylef/Spectre.git
[11/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.82s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.44s)
Computing version for https://github.com/pvieito/PythonKit.git
Computed https://github.com/pvieito/PythonKit.git at 0.5.1 (0.58s)
Creating working copy for https://github.com/loopwerk/Saga.git
Working copy of https://github.com/loopwerk/Saga.git resolved at 2.2.0
Creating working copy for https://github.com/loopwerk/SwiftMarkdown
Working copy of https://github.com/loopwerk/SwiftMarkdown resolved at 0.4.0
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/pvieito/PythonKit.git
Working copy of https://github.com/pvieito/PythonKit.git resolved at 0.5.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "saga",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/loopwerk/Saga.git"
    },
    {
      "identity" : "swiftmarkdown",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/loopwerk/SwiftMarkdown"
    }
  ],
  "manifest_display_name" : "SagaPythonMarkdownReader",
  "name" : "SagaPythonMarkdownReader",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "SagaPythonMarkdownReader",
      "targets" : [
        "SagaPythonMarkdownReader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SagaPythonMarkdownReaderTests",
      "module_type" : "SwiftTarget",
      "name" : "SagaPythonMarkdownReaderTests",
      "path" : "Tests/SagaPythonMarkdownReaderTests",
      "sources" : [
        "SagaPythonMarkdownReaderTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SagaPythonMarkdownReader"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SagaPythonMarkdownReader",
      "module_type" : "SwiftTarget",
      "name" : "SagaPythonMarkdownReader",
      "path" : "Sources/SagaPythonMarkdownReader",
      "product_dependencies" : [
        "Saga",
        "SwiftMarkdown"
      ],
      "product_memberships" : [
        "SagaPythonMarkdownReader"
      ],
      "sources" : [
        "SagaPythonMarkdownReader.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.