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 Linux on 30 Apr 2025 15:29:32 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/loopwerk/SagaPythonMarkdownReader.git
https://github.com/loopwerk/SagaPythonMarkdownReader.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/loopwerk/Saga.git
Fetching https://github.com/loopwerk/SwiftMarkdown
[1/2901] Fetching saga
[2902/2964] Fetching saga, swiftmarkdown
Fetched https://github.com/loopwerk/SwiftMarkdown from cache (0.57s)
Fetched https://github.com/loopwerk/Saga.git from cache (0.57s)
Computing version for https://github.com/loopwerk/SwiftMarkdown
Computed https://github.com/loopwerk/SwiftMarkdown at 0.4.0 (1.35s)
Fetching https://github.com/pvieito/PythonKit.git
[1/1643] Fetching pythonkit
Fetched https://github.com/pvieito/PythonKit.git from cache (0.28s)
Computing version for https://github.com/loopwerk/Saga.git
Computed https://github.com/loopwerk/Saga.git at 2.2.0 (0.87s)
Fetching https://github.com/kylef/PathKit
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit from cache (0.26s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (2.52s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (5.24s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (5.81s)
Computing version for https://github.com/pvieito/PythonKit.git
Computed https://github.com/pvieito/PythonKit.git at 0.5.1 (0.57s)
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.2.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/loopwerk/SwiftMarkdown
Working copy of https://github.com/loopwerk/SwiftMarkdown resolved at 0.4.0
Creating working copy for https://github.com/pvieito/PythonKit.git
Working copy of https://github.com/pvieito/PythonKit.git resolved at 0.5.1
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/13] Compiling PythonKit Python.swift
[8/13] Emitting module PythonKit
[9/13] Compiling PythonKit NumpyConversion.swift
[10/13] Compiling PythonKit PythonLibrary+Symbols.swift
[11/13] Compiling PythonKit PythonLibrary.swift
[13/16] Emitting module PathKit
[14/16] Compiling PathKit PathKit.swift
[16/31] Compiling Saga Reader.swift
[17/31] Compiling Saga RenderingContexts.swift
[18/32] Emitting module SwiftMarkdown
[19/32] Compiling SwiftMarkdown SwiftMarkdown.swift
[21/33] Compiling Saga Path+Extensions.swift
[22/33] Compiling Saga ProcessingStep.swift
[23/33] Compiling Saga utils.swift
[24/33] Compiling Saga Saga.swift
[25/33] Compiling Saga String+Slugify.swift
[26/33] Compiling Saga Writer.swift
[27/33] Compiling Saga Atom.swift
[28/33] Compiling Saga FileContainer.swift
[29/33] Emitting module Saga
[30/33] Compiling Saga FileIO.swift
[31/33] Compiling Saga Item.swift
[32/33] Compiling Saga ItemWriteMode.swift
[33/33] Compiling Saga MetadataDecoder.swift
[35/36] Emitting module SagaPythonMarkdownReader
/host/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
/host/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"
/host/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
[36/36] Compiling SagaPythonMarkdownReader SagaPythonMarkdownReader.swift
/host/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
/host/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"
/host/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! (22.84s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.