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.1 (13ef14), with Swift 6.0 for Linux on 5 Nov 2024 04:12:18 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.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DoccZz/DocCArchive.git
Reference: 0.4.1
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.1      -> FETCH_HEAD
HEAD is now at 13ef149 Merge branch 'develop'
Cloned https://github.com/DoccZz/DocCArchive.git
Revision (git rev-parse @):
13ef149ce185e90a0a6c310135c1c7c479824b39
SUCCESS checkout https://github.com/DoccZz/DocCArchive.git at 0.4.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/DoccZz/DocCArchive.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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: 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 InlineContent.swift
[5/30] Compiling DocCArchive InterfaceLanguage.swift
[6/30] Compiling DocCArchive MetaData.swift
[7/30] Compiling DocCArchive Platform.swift
[8/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: 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 {
[9/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: 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 {
[10/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: 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 {
[11/30] Compiling DocCArchive Parameter.swift
[12/30] Compiling DocCArchive Section.swift
[13/30] Compiling DocCArchive Task.swift
[14/30] Compiling DocCArchive FileReference.swift
[15/30] Compiling DocCArchive ImageReference.swift
[16/30] Compiling DocCArchive LinkReference.swift
[17/30] Compiling DocCArchive Reference.swift
[18/30] Compiling DocCArchive SectionReference.swift
[19/30] Compiling DocCArchive TopicReference.swift
[20/30] Compiling DocCArchive DocCArchive.swift
[21/30] Compiling DocCArchive Chapter.swift
[22/30] Compiling DocCArchive CodeListing.swift
[23/30] Compiling DocCArchive Content.swift
[24/30] Compiling DocCArchive VolumeSection.swift
[25/30] Compiling DocCArchive TypeIdentifier.swift
[26/30] Compiling DocCArchive Utilities.swift
[27/30] Compiling DocCArchive Step.swift
[28/30] Compiling DocCArchive Document.swift
[29/30] Compiling DocCArchive Fragment.swift
[30/30] Compiling DocCArchive Identifier.swift
Build complete! (15.17s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.