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 main (63092e), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 11:42:53 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/hainayanda/Vellum.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hainayanda/Vellum
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
[29/1712] Fetching cwlcatchexception, cwlpreconditiontesting
[1713/16435] Fetching cwlcatchexception, cwlpreconditiontesting, quick
[16436/35653] Fetching cwlcatchexception, cwlpreconditiontesting, quick, nimble
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (1.56s)
[15755/34396] Fetching cwlcatchexception, quick, nimble
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (2.65s)
Fetched https://github.com/Quick/Nimble.git from cache (2.65s)
Fetched https://github.com/Quick/Quick.git from cache (2.65s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.0.0 (0.68s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 3.1.2 (0.67s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.0.0 (0.64s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.0.0 (0.64s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.0.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.0.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 3.1.2
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.0.0
========================================
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": "vellum",
      "name": "Vellum",
      "url": "https://github.com/hainayanda/Vellum.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Vellum",
      "dependencies": [
        {
          "identity": "quick",
          "name": "Quick",
          "url": "https://github.com/Quick/Quick.git",
          "version": "3.1.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Quick",
          "dependencies": [
          ]
        },
        {
          "identity": "nimble",
          "name": "Nimble",
          "url": "https://github.com/Quick/Nimble.git",
          "version": "9.2.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
          "dependencies": [
            {
              "identity": "cwlpreconditiontesting",
              "name": "CwlPreconditionTesting",
              "url": "https://github.com/mattgallagher/CwlPreconditionTesting.git",
              "version": "2.2.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CwlPreconditionTesting",
              "dependencies": [
                {
                  "identity": "cwlcatchexception",
                  "name": "CwlCatchException",
                  "url": "https://github.com/mattgallagher/CwlCatchException.git",
                  "version": "2.2.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CwlCatchException",
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/hainayanda/Vellum.git
[1/503] Fetching vellum
Fetched https://github.com/hainayanda/Vellum.git from cache (1.02s)
Fetching https://github.com/Quick/Nimble.git from cache
Fetching https://github.com/Quick/Quick.git from cache
Fetched https://github.com/Quick/Quick.git from cache (0.57s)
Fetched https://github.com/Quick/Nimble.git from cache (0.57s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.67s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git from cache
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.50s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 3.1.2 (0.03s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.63s)
Fetching https://github.com/mattgallagher/CwlCatchException.git from cache
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.46s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.70s)
Creating working copy for https://github.com/hainayanda/Vellum.git
Working copy of https://github.com/hainayanda/Vellum.git resolved at main (63092e2)
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/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/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 3.1.2
warning: '.resolve-product-dependencies': dependency 'vellum' is not used by any target
Found 2 product dependencies
  - Quick
  - Nimble
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/hainayanda/Vellum.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/16] Compiling Vellum QueryBuilder.swift
[4/17] Compiling Vellum QueryFinder.swift
[5/17] Compiling Vellum DataSize.swift
[6/17] Compiling Vellum Extensions.swift
[7/17] Compiling Vellum VellumError.swift
[8/17] Compiling Vellum QueryLimiter.swift
[9/17] Compiling Vellum Archivable.swift
/Users/admin/builder/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: annotate 'shared' 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
12 |     public var defaultMaxMemorySize: DataSize = 1.megaBytes
13 |     public var defaultMaxDiskSize: DataSize = 2.megaBytes
[10/17] Compiling Vellum ArchivesFactory.swift
/Users/admin/builder/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: annotate 'shared' 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
12 |     public var defaultMaxMemorySize: DataSize = 1.megaBytes
13 |     public var defaultMaxDiskSize: DataSize = 2.megaBytes
[11/17] Compiling Vellum PropertyWrapper.swift
/Users/admin/builder/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: annotate 'shared' 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
12 |     public var defaultMaxMemorySize: DataSize = 1.megaBytes
13 |     public var defaultMaxDiskSize: DataSize = 2.megaBytes
[12/17] Emitting module Vellum
/Users/admin/builder/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: annotate 'shared' 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
12 |     public var defaultMaxMemorySize: DataSize = 1.megaBytes
13 |     public var defaultMaxDiskSize: DataSize = 2.megaBytes
/Users/admin/builder/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
[13/17] Compiling Vellum ArchiveManager.swift
[14/17] Compiling Vellum Archivist.swift
[15/17] Compiling Vellum DiskArchives.swift
[16/17] Compiling Vellum MemoryArchives.swift
[17/17] Compiling Vellum QuerySorter.swift
/Users/admin/builder/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
Build complete! (18.86s)
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" : "/Users/admin/builder/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"
}
Done.