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 macOS (SPM) on 29 Apr 2025 01:51:30 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DoccZz/DocCArchive.git
Reference: 0.4.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
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": "doccarchive",
      "name": "DocCArchive",
      "url": "https://github.com/DoccZz/DocCArchive.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DocCArchive",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/DoccZz/DocCArchive.git
[1/463] Fetching doccarchive
Fetched https://github.com/DoccZz/DocCArchive.git from cache (0.75s)
Creating working copy for https://github.com/DoccZz/DocCArchive.git
Working copy of https://github.com/DoccZz/DocCArchive.git resolved at 0.4.2 (4f3f7d3)
warning: '.resolve-product-dependencies': dependency 'doccarchive' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/DoccZz/DocCArchive.git
https://github.com/DoccZz/DocCArchive.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DocCArchive",
  "name" : "DocCArchive",
  "path" : "/Users/admin/builder/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 ...
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/28] Emitting module DocCArchive
/Users/admin/builder/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 SchemaVersion.swift
/Users/admin/builder/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 {
[5/30] Compiling DocCArchive Declaration.swift
/Users/admin/builder/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 {
[6/30] Compiling DocCArchive HeroSection.swift
/Users/admin/builder/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 {
[7/30] Compiling DocCArchive Parameter.swift
[8/30] Compiling DocCArchive Section.swift
[9/30] Compiling DocCArchive TypeIdentifier.swift
[10/30] Compiling DocCArchive Utilities.swift
[11/30] Compiling DocCArchive InterfaceLanguage.swift
[12/30] Compiling DocCArchive MetaData.swift
[13/30] Compiling DocCArchive Platform.swift
[14/30] Compiling DocCArchive FileReference.swift
[15/30] Compiling DocCArchive ImageReference.swift
[16/30] Compiling DocCArchive LinkReference.swift
[17/30] Compiling DocCArchive Content.swift
[18/30] Compiling DocCArchive Step.swift
[19/30] Compiling DocCArchive Document.swift
[20/30] Compiling DocCArchive Task.swift
[21/30] Compiling DocCArchive VolumeSection.swift
[22/30] Compiling DocCArchive Fragment.swift
[23/30] Compiling DocCArchive Identifier.swift
[24/30] Compiling DocCArchive InlineContent.swift
[25/30] Compiling DocCArchive DocCArchive.swift
[26/30] Compiling DocCArchive Chapter.swift
[27/30] Compiling DocCArchive CodeListing.swift
[28/30] Compiling DocCArchive Reference.swift
[29/30] Compiling DocCArchive SectionReference.swift
[30/30] Compiling DocCArchive TopicReference.swift
Build complete! (4.91s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DocCArchive",
  "name" : "DocCArchive",
  "path" : "/Users/admin/builder/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"
}
Done.