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 develop (95a4a6), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 04:18:39 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DoccZz/DocCArchive.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DoccZz/DocCArchive
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 95a4a65 GHA: Don't build on Swift 5.3.0
Cloned https://github.com/DoccZz/DocCArchive.git
Revision (git rev-parse @):
95a4a6533eae1544bae315714867b0ce5d6b5645
SUCCESS checkout https://github.com/DoccZz/DocCArchive.git at develop
========================================
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/462] Fetching doccarchive
Fetched https://github.com/DoccZz/DocCArchive.git from cache (0.86s)
Creating working copy for https://github.com/DoccZz/DocCArchive.git
Working copy of https://github.com/DoccZz/DocCArchive.git resolved at develop (95a4a65)
warning: '.resolve-product-dependencies': dependency 'doccarchive' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/DoccZz/DocCArchive.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.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: annotate 'current' 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
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: annotate 'current' 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
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: annotate 'current' 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
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: annotate 'current' 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
18 |
19 |     public var description: String {
[7/30] Compiling DocCArchive Task.swift
[8/30] Compiling DocCArchive VolumeSection.swift
[9/30] Compiling DocCArchive FileReference.swift
[10/30] Compiling DocCArchive ImageReference.swift
[11/30] Compiling DocCArchive LinkReference.swift
[12/30] Compiling DocCArchive TypeIdentifier.swift
[13/30] Compiling DocCArchive Utilities.swift
[14/30] Compiling DocCArchive InterfaceLanguage.swift
[15/30] Compiling DocCArchive MetaData.swift
[16/30] Compiling DocCArchive Platform.swift
[17/30] Compiling DocCArchive Parameter.swift
[18/30] Compiling DocCArchive Section.swift
[19/30] Compiling DocCArchive DocCArchive.swift
[20/30] Compiling DocCArchive Chapter.swift
[21/30] Compiling DocCArchive CodeListing.swift
[22/30] Compiling DocCArchive Reference.swift
[23/30] Compiling DocCArchive SectionReference.swift
[24/30] Compiling DocCArchive TopicReference.swift
[25/30] Compiling DocCArchive Fragment.swift
[26/30] Compiling DocCArchive Identifier.swift
[27/30] Compiling DocCArchive InlineContent.swift
[28/30] Compiling DocCArchive Content.swift
[29/30] Compiling DocCArchive Step.swift
[30/30] Compiling DocCArchive Document.swift
Build complete! (12.13s)
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.