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 DocCArchive, reference 0.4.2 (4f3f7d), with Swift 6.1 for Linux on 29 Apr 2025 01:44:01 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DoccZz/DocCArchive.git
Reference: 0.4.2
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/DoccZz/DocCArchive
 * tag               0.4.2      -> FETCH_HEAD
HEAD is now at 4f3f7d3 Merge branch 'develop'
Cloned https://github.com/DoccZz/DocCArchive.git
Revision (git rev-parse @):
4f3f7d37bbd87b6d9237be978923c2e1f3db6c37
SUCCESS checkout https://github.com/DoccZz/DocCArchive.git at 0.4.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/DoccZz/DocCArchive.git
https://github.com/DoccZz/DocCArchive.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DocCArchive",
  "name" : "DocCArchive",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DocCArchive",
      "targets" : [
        "DocCArchive"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DocCArchiveTests",
      "module_type" : "SwiftTarget",
      "name" : "DocCArchiveTests",
      "path" : "Tests/DocCArchiveTests",
      "sources" : [
        "DocumentDecodingTests.swift",
        "Fixtures.swift",
        "OpenArchiveTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DocCArchive"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DocCArchive",
      "module_type" : "SwiftTarget",
      "name" : "DocCArchive",
      "path" : "Sources/DocCArchive",
      "product_memberships" : [
        "DocCArchive"
      ],
      "sources" : [
        "DocCArchive.swift",
        "Schema_0_1/Chapter.swift",
        "Schema_0_1/Content/CodeListing.swift",
        "Schema_0_1/Content/Content.swift",
        "Schema_0_1/Content/Step.swift",
        "Schema_0_1/Document.swift",
        "Schema_0_1/Fragment.swift",
        "Schema_0_1/Identifier.swift",
        "Schema_0_1/InlineContent.swift",
        "Schema_0_1/InterfaceLanguage.swift",
        "Schema_0_1/MetaData.swift",
        "Schema_0_1/Platform.swift",
        "Schema_0_1/References/FileReference.swift",
        "Schema_0_1/References/ImageReference.swift",
        "Schema_0_1/References/LinkReference.swift",
        "Schema_0_1/References/Reference.swift",
        "Schema_0_1/References/SectionReference.swift",
        "Schema_0_1/References/TopicReference.swift",
        "Schema_0_1/SchemaVersion.swift",
        "Schema_0_1/Sections/Declaration.swift",
        "Schema_0_1/Sections/HeroSection.swift",
        "Schema_0_1/Sections/Parameter.swift",
        "Schema_0_1/Sections/Section.swift",
        "Schema_0_1/Sections/Task.swift",
        "Schema_0_1/Sections/VolumeSection.swift",
        "Schema_0_1/TypeIdentifier.swift",
        "Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/27] Emitting module DocCArchive
/host/spi-builder-workspace/Sources/DocCArchive/Schema_0_1/SchemaVersion.swift:17:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'DocCArchive.DocCSchema_0_1.SchemaVersion' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | extension DocCArchive.DocCSchema_0_1 {
10 |
11 |   public struct SchemaVersion: Equatable, Codable, CustomStringConvertible {
   |                 `- note: consider making struct 'SchemaVersion' conform to the 'Sendable' protocol
12 |
13 |     var major : Int // 0
   :
15 |     var patch : Int // 0
16 |
17 |     public static let current = SchemaVersion(major: 0, minor: 1, patch: 0)
   |                       |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'DocCArchive.DocCSchema_0_1.SchemaVersion' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     public var description: String {
[4/30] Compiling DocCArchive Parameter.swift
[5/30] Compiling DocCArchive Section.swift
[6/30] Compiling DocCArchive Task.swift
[7/30] Compiling DocCArchive SchemaVersion.swift
/host/spi-builder-workspace/Sources/DocCArchive/Schema_0_1/SchemaVersion.swift:17:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'DocCArchive.DocCSchema_0_1.SchemaVersion' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | extension DocCArchive.DocCSchema_0_1 {
10 |
11 |   public struct SchemaVersion: Equatable, Codable, CustomStringConvertible {
   |                 `- note: consider making struct 'SchemaVersion' conform to the 'Sendable' protocol
12 |
13 |     var major : Int // 0
   :
15 |     var patch : Int // 0
16 |
17 |     public static let current = SchemaVersion(major: 0, minor: 1, patch: 0)
   |                       |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'DocCArchive.DocCSchema_0_1.SchemaVersion' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     public var description: String {
[8/30] Compiling DocCArchive Declaration.swift
/host/spi-builder-workspace/Sources/DocCArchive/Schema_0_1/SchemaVersion.swift:17:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'DocCArchive.DocCSchema_0_1.SchemaVersion' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | extension DocCArchive.DocCSchema_0_1 {
10 |
11 |   public struct SchemaVersion: Equatable, Codable, CustomStringConvertible {
   |                 `- note: consider making struct 'SchemaVersion' conform to the 'Sendable' protocol
12 |
13 |     var major : Int // 0
   :
15 |     var patch : Int // 0
16 |
17 |     public static let current = SchemaVersion(major: 0, minor: 1, patch: 0)
   |                       |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'DocCArchive.DocCSchema_0_1.SchemaVersion' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     public var description: String {
[9/30] Compiling DocCArchive HeroSection.swift
/host/spi-builder-workspace/Sources/DocCArchive/Schema_0_1/SchemaVersion.swift:17:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'DocCArchive.DocCSchema_0_1.SchemaVersion' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | extension DocCArchive.DocCSchema_0_1 {
10 |
11 |   public struct SchemaVersion: Equatable, Codable, CustomStringConvertible {
   |                 `- note: consider making struct 'SchemaVersion' conform to the 'Sendable' protocol
12 |
13 |     var major : Int // 0
   :
15 |     var patch : Int // 0
16 |
17 |     public static let current = SchemaVersion(major: 0, minor: 1, patch: 0)
   |                       |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'DocCArchive.DocCSchema_0_1.SchemaVersion' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     public var description: String {
[10/30] Compiling DocCArchive Reference.swift
[11/30] Compiling DocCArchive SectionReference.swift
[12/30] Compiling DocCArchive TopicReference.swift
[13/30] Compiling DocCArchive Step.swift
[14/30] Compiling DocCArchive Document.swift
[15/30] Compiling DocCArchive Fragment.swift
[16/30] Compiling DocCArchive Identifier.swift
[17/30] Compiling DocCArchive InlineContent.swift
[18/30] Compiling DocCArchive InterfaceLanguage.swift
[19/30] Compiling DocCArchive MetaData.swift
[20/30] Compiling DocCArchive Platform.swift
[21/30] Compiling DocCArchive FileReference.swift
[22/30] Compiling DocCArchive ImageReference.swift
[23/30] Compiling DocCArchive LinkReference.swift
[24/30] Compiling DocCArchive VolumeSection.swift
[25/30] Compiling DocCArchive TypeIdentifier.swift
[26/30] Compiling DocCArchive Utilities.swift
[27/30] Compiling DocCArchive DocCArchive.swift
[28/30] Compiling DocCArchive Chapter.swift
[29/30] Compiling DocCArchive CodeListing.swift
[30/30] Compiling DocCArchive Content.swift
Build complete! (8.55s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DocCArchive",
  "name" : "DocCArchive",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DocCArchive",
      "targets" : [
        "DocCArchive"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DocCArchiveTests",
      "module_type" : "SwiftTarget",
      "name" : "DocCArchiveTests",
      "path" : "Tests/DocCArchiveTests",
      "sources" : [
        "DocumentDecodingTests.swift",
        "Fixtures.swift",
        "OpenArchiveTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DocCArchive"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DocCArchive",
      "module_type" : "SwiftTarget",
      "name" : "DocCArchive",
      "path" : "Sources/DocCArchive",
      "product_memberships" : [
        "DocCArchive"
      ],
      "sources" : [
        "DocCArchive.swift",
        "Schema_0_1/Chapter.swift",
        "Schema_0_1/Content/CodeListing.swift",
        "Schema_0_1/Content/Content.swift",
        "Schema_0_1/Content/Step.swift",
        "Schema_0_1/Document.swift",
        "Schema_0_1/Fragment.swift",
        "Schema_0_1/Identifier.swift",
        "Schema_0_1/InlineContent.swift",
        "Schema_0_1/InterfaceLanguage.swift",
        "Schema_0_1/MetaData.swift",
        "Schema_0_1/Platform.swift",
        "Schema_0_1/References/FileReference.swift",
        "Schema_0_1/References/ImageReference.swift",
        "Schema_0_1/References/LinkReference.swift",
        "Schema_0_1/References/Reference.swift",
        "Schema_0_1/References/SectionReference.swift",
        "Schema_0_1/References/TopicReference.swift",
        "Schema_0_1/SchemaVersion.swift",
        "Schema_0_1/Sections/Declaration.swift",
        "Schema_0_1/Sections/HeroSection.swift",
        "Schema_0_1/Sections/Parameter.swift",
        "Schema_0_1/Sections/Section.swift",
        "Schema_0_1/Sections/Task.swift",
        "Schema_0_1/Sections/VolumeSection.swift",
        "Schema_0_1/TypeIdentifier.swift",
        "Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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.