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 Vellum, reference 1.2.3 (63092e), with Swift 6.1 for Linux on 27 Apr 2025 00:33:16 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/hainayanda/Vellum.git
Reference: 1.2.3
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/hainayanda/Vellum
 * tag               1.2.3      -> FETCH_HEAD
HEAD is now at 63092e2 Merge pull request #5 from hainayanda/fixes/update-username
Cloned https://github.com/hainayanda/Vellum.git
Revision (git rev-parse @):
63092e244dc7834bd4ab67505effa6637e7af89e
SUCCESS checkout https://github.com/hainayanda/Vellum.git at 1.2.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/hainayanda/Vellum.git
https://github.com/hainayanda/Vellum.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.0.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    }
  ],
  "manifest_display_name" : "Vellum",
  "name" : "Vellum",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Vellum",
      "targets" : [
        "Vellum"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VellumTests",
      "module_type" : "SwiftTarget",
      "name" : "VellumTests",
      "path" : "Example/Tests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "DataSizeSpec.swift",
        "Extensions.swift",
        "IntegratedSpec.swift",
        "QueryValidatorSpec.swift"
      ],
      "target_dependencies" : [
        "Vellum"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Vellum",
      "module_type" : "SwiftTarget",
      "name" : "Vellum",
      "path" : "Vellum/Classes",
      "product_memberships" : [
        "Vellum"
      ],
      "sources" : [
        "Archiver/ArchiveManager.swift",
        "Archiver/Archivist.swift",
        "Archiver/DiskArchives.swift",
        "Archiver/MemoryArchives.swift",
        "Common/Archivable.swift",
        "Common/ArchivesFactory.swift",
        "Common/DataSize.swift",
        "Common/Extensions.swift",
        "Common/PropertyWrapper.swift",
        "Common/VellumError.swift",
        "Query/QueryBuilder.swift",
        "Query/QueryFinder.swift",
        "Query/QueryLimiter.swift",
        "Query/QuerySorter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/14755] Fetching quick
[11363/34322] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.21s)
Fetched https://github.com/Quick/Nimble.git from cache (1.23s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (1.70s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.20s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 3.1.2 (0.68s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.51s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.19s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.67s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 3.1.2
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling Vellum QueryLimiter.swift
[4/17] Compiling Vellum QuerySorter.swift
/host/spi-builder-workspace/Vellum/Classes/Query/QuerySorter.swift:55:27: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
53 | }
54 |
55 | protocol QueryComparator: class {
   |                           `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
56 |     var nextSequence: QueryComparator? { get set }
57 |     func isAscending(first: Any, with second: Any) -> Bool
[5/17] Compiling Vellum PropertyWrapper.swift
[6/17] Compiling Vellum VellumError.swift
[7/17] Compiling Vellum QueryBuilder.swift
[8/17] Compiling Vellum QueryFinder.swift
[9/17] Compiling Vellum DataSize.swift
[10/17] Compiling Vellum Extensions.swift
[11/17] Compiling Vellum DiskArchives.swift
/host/spi-builder-workspace/Vellum/Classes/Archiver/DiskArchives.swift:205:21: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
203 |
204 |     private func createFile(named fileName: String, contents: Data) {
205 |         fileManager.createFile(
    |                     `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
206 |             atPath: filePath(ofFileName: fileName),
207 |             contents: contents,
[12/17] Compiling Vellum MemoryArchives.swift
/host/spi-builder-workspace/Vellum/Classes/Archiver/DiskArchives.swift:205:21: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
203 |
204 |     private func createFile(named fileName: String, contents: Data) {
205 |         fileManager.createFile(
    |                     `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
206 |             atPath: filePath(ofFileName: fileName),
207 |             contents: contents,
[13/17] Compiling Vellum ArchiveManager.swift
[14/17] Compiling Vellum Archivist.swift
[15/17] Emitting module Vellum
/host/spi-builder-workspace/Vellum/Classes/Common/ArchivesFactory.swift:11:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public class ArchivesFactory {
11 |     public static var shared: ArchivesFactory = .init()
   |                       |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public var defaultMaxMemorySize: DataSize = 1.megaBytes
13 |     public var defaultMaxDiskSize: DataSize = 2.megaBytes
/host/spi-builder-workspace/Vellum/Classes/Query/QuerySorter.swift:55:27: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
53 | }
54 |
55 | protocol QueryComparator: class {
   |                           `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
56 |     var nextSequence: QueryComparator? { get set }
57 |     func isAscending(first: Any, with second: Any) -> Bool
[16/17] Compiling Vellum Archivable.swift
/host/spi-builder-workspace/Vellum/Classes/Common/ArchivesFactory.swift:11:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public class ArchivesFactory {
11 |     public static var shared: ArchivesFactory = .init()
   |                       |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public var defaultMaxMemorySize: DataSize = 1.megaBytes
13 |     public var defaultMaxDiskSize: DataSize = 2.megaBytes
[17/17] Compiling Vellum ArchivesFactory.swift
/host/spi-builder-workspace/Vellum/Classes/Common/ArchivesFactory.swift:11:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | public class ArchivesFactory {
11 |     public static var shared: ArchivesFactory = .init()
   |                       |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public var defaultMaxMemorySize: DataSize = 1.megaBytes
13 |     public var defaultMaxDiskSize: DataSize = 2.megaBytes
Build complete! (15.57s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.0.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    }
  ],
  "manifest_display_name" : "Vellum",
  "name" : "Vellum",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Vellum",
      "targets" : [
        "Vellum"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VellumTests",
      "module_type" : "SwiftTarget",
      "name" : "VellumTests",
      "path" : "Example/Tests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "DataSizeSpec.swift",
        "Extensions.swift",
        "IntegratedSpec.swift",
        "QueryValidatorSpec.swift"
      ],
      "target_dependencies" : [
        "Vellum"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Vellum",
      "module_type" : "SwiftTarget",
      "name" : "Vellum",
      "path" : "Vellum/Classes",
      "product_memberships" : [
        "Vellum"
      ],
      "sources" : [
        "Archiver/ArchiveManager.swift",
        "Archiver/Archivist.swift",
        "Archiver/DiskArchives.swift",
        "Archiver/MemoryArchives.swift",
        "Common/Archivable.swift",
        "Common/ArchivesFactory.swift",
        "Common/DataSize.swift",
        "Common/Extensions.swift",
        "Common/PropertyWrapper.swift",
        "Common/VellumError.swift",
        "Query/QueryBuilder.swift",
        "Query/QueryFinder.swift",
        "Query/QueryLimiter.swift",
        "Query/QuerySorter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.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
Done.