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 1.0.0 (f69e17), with Swift 6.0 for macOS (SPM) on 18 Feb 2025 16:35:55 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loopwerk/SagaPythonMarkdownReader.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/loopwerk/SagaPythonMarkdownReader
 * tag               1.0.0      -> FETCH_HEAD
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 1.0.0
Fetching https://github.com/loopwerk/SwiftMarkdown
Fetching https://github.com/loopwerk/Saga.git
[1/2753] Fetching saga
[112/2816] Fetching saga, swiftmarkdown
Fetched https://github.com/loopwerk/SwiftMarkdown from cache (1.08s)
Fetched https://github.com/loopwerk/Saga.git from cache (1.08s)
Computing version for https://github.com/loopwerk/SwiftMarkdown
Computed https://github.com/loopwerk/SwiftMarkdown at 0.4.0 (0.54s)
Fetching https://github.com/pvieito/PythonKit.git
[1/1633] Fetching pythonkit
Fetched https://github.com/pvieito/PythonKit.git from cache (0.93s)
Computing version for https://github.com/loopwerk/Saga.git
Computed https://github.com/loopwerk/Saga.git at 2.0.0 (0.55s)
Fetching https://github.com/kylef/PathKit
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit from cache (0.86s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (2.39s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.91s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.56s)
Computing version for https://github.com/pvieito/PythonKit.git
Computed https://github.com/pvieito/PythonKit.git at 0.5.0 (0.55s)
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/loopwerk/Saga.git
Working copy of https://github.com/loopwerk/Saga.git resolved at 2.0.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/pvieito/PythonKit.git
Working copy of https://github.com/pvieito/PythonKit.git resolved at 0.5.0
Creating working copy for https://github.com/loopwerk/SwiftMarkdown
Working copy of https://github.com/loopwerk/SwiftMarkdown resolved at 0.4.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": "sagapythonmarkdownreader",
      "name": "SagaPythonMarkdownReader",
      "url": "https://github.com/loopwerk/SagaPythonMarkdownReader.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SagaPythonMarkdownReader",
      "dependencies": [
        {
          "identity": "saga",
          "name": "Saga",
          "url": "https://github.com/loopwerk/Saga.git",
          "version": "2.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Saga",
          "dependencies": [
            {
              "identity": "pathkit",
              "name": "PathKit",
              "url": "https://github.com/kylef/PathKit",
              "version": "1.0.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
              "dependencies": [
                {
                  "identity": "spectre",
                  "name": "Spectre",
                  "url": "https://github.com/kylef/Spectre.git",
                  "version": "0.10.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "swiftmarkdown",
          "name": "SwiftMarkdown",
          "url": "https://github.com/loopwerk/SwiftMarkdown",
          "version": "0.4.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftMarkdown",
          "dependencies": [
            {
              "identity": "pythonkit",
              "name": "PythonKit",
              "url": "https://github.com/pvieito/PythonKit.git",
              "version": "0.5.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PythonKit",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/loopwerk/SagaPythonMarkdownReader.git
[1/79] Fetching sagapythonmarkdownreader
Fetched https://github.com/loopwerk/SagaPythonMarkdownReader.git from cache (0.68s)
Fetching https://github.com/loopwerk/SwiftMarkdown from cache
Fetching https://github.com/loopwerk/Saga.git from cache
Fetched https://github.com/loopwerk/Saga.git from cache (0.44s)
Fetched https://github.com/loopwerk/SwiftMarkdown from cache (0.44s)
Computing version for https://github.com/loopwerk/SwiftMarkdown
Computed https://github.com/loopwerk/SwiftMarkdown at 0.4.0 (0.02s)
Fetching https://github.com/pvieito/PythonKit.git from cache
Fetched https://github.com/pvieito/PythonKit.git from cache (0.46s)
Computing version for https://github.com/loopwerk/Saga.git
Computed https://github.com/loopwerk/Saga.git at 2.0.0 (0.02s)
Fetching https://github.com/kylef/PathKit from cache
Fetched https://github.com/kylef/PathKit from cache (0.44s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (0.02s)
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/Spectre.git from cache (0.42s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.03s)
Computing version for https://github.com/pvieito/PythonKit.git
Computed https://github.com/pvieito/PythonKit.git at 0.5.0 (0.02s)
Creating working copy for https://github.com/loopwerk/SagaPythonMarkdownReader.git
Working copy of https://github.com/loopwerk/SagaPythonMarkdownReader.git resolved at 1.0.0 (f69e178)
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.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/loopwerk/Saga.git
Working copy of https://github.com/loopwerk/Saga.git resolved at 2.0.0
Creating working copy for https://github.com/loopwerk/SwiftMarkdown
Working copy of https://github.com/loopwerk/SwiftMarkdown resolved at 0.4.0
warning: '.resolve-product-dependencies': dependency 'sagapythonmarkdownreader' is not used by any target
Found 2 product dependencies
  - Saga
  - SwiftMarkdown
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
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.2.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-5BDAB9E9C0126B9D.txt
[7/13] Compiling PythonKit NumpyConversion.swift
[8/13] Compiling PythonKit PythonLibrary+Symbols.swift
[9/13] Compiling PythonKit PythonLibrary.swift
[10/13] Emitting module PythonKit
[11/13] Compiling PythonKit Python.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 String+Slugify.swift
[17/29] Compiling Saga Writer.swift
[18/29] Compiling Saga RenderingContexts.swift
[19/30] Compiling Saga FileIO.swift
[20/30] Compiling Saga Item.swift
[21/30] Compiling Saga Reader.swift
[22/30] Compiling Saga Saga.swift
[23/30] Emitting module Saga
[24/30] Compiling Saga Atom.swift
[25/30] Compiling Saga FileContainer.swift
[26/30] Compiling Saga utils.swift
[27/30] Compiling Saga Path+Extensions.swift
[28/30] Compiling Saga ProcessingStep.swift
[29/30] Compiling Saga ItemWriteMode.swift
[30/30] Compiling Saga MetadataDecoder.swift
[31/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: annotate 'parser' with '@MainActor' if property should only be accessed from the main actor
   |     `- 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] 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: annotate 'parser' with '@MainActor' if property should only be accessed from the main actor
   |     `- 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! (11.36s)
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.