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 DiffedAssertEqual, reference master (b4a33c), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 05:07:55 UTC.

Swift 6 data race errors: 0

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/turbolent/DiffedAssertEqual.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/turbolent/DiffedAssertEqual
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b4a33ce upgrade to Swift 5.1
Cloned https://github.com/turbolent/DiffedAssertEqual.git
Revision (git rev-parse @):
b4a33ce59879ebd0731ab6b03ec81e4b6c6c06a1
SUCCESS checkout https://github.com/turbolent/DiffedAssertEqual.git at master
========================================
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": "diffedassertequal",
      "name": "DiffedAssertEqual",
      "url": "https://github.com/turbolent/DiffedAssertEqual.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DiffedAssertEqual",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/turbolent/DiffedAssertEqual.git
[1/63] Fetching diffedassertequal
Fetched https://github.com/turbolent/DiffedAssertEqual.git from cache (0.58s)
Creating working copy for https://github.com/turbolent/DiffedAssertEqual.git
Working copy of https://github.com/turbolent/DiffedAssertEqual.git resolved at master (b4a33ce)
warning: '.resolve-product-dependencies': dependency 'diffedassertequal' 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/turbolent/DiffedAssertEqual.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/4] Compiling DiffedAssertEqual DiffedAssertEqual.swift
/Users/admin/builder/spi-builder-workspace/Sources/DiffedAssertEqual/DiffedAssertEqual.swift:152:18: warning: capture of 'fileManager' with non-sendable type 'FileManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
150 |     internal func delete() {
151 |         DispatchQueue.global(qos: .utility).async { [fileManager, url] in
152 |             try? fileManager.removeItem(at: url)
    |                  `- warning: capture of 'fileManager' with non-sendable type 'FileManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
153 |         }
154 |     }
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
  1 | open class FileManager : NSObject {
    |            `- note: class 'FileManager' does not conform to the 'Sendable' protocol
  2 |     open class var `default`: FileManager { get }
  3 |     @available(swift, obsoleted: 3, renamed: "default")
[4/4] Emitting module DiffedAssertEqual
Build complete! (9.64s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DiffedAssertEqual",
  "name" : "DiffedAssertEqual",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DiffedAssertEqual",
      "targets" : [
        "DiffedAssertEqual"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DiffedAssertEqualTests",
      "module_type" : "SwiftTarget",
      "name" : "DiffedAssertEqualTests",
      "path" : "Tests/DiffedAssertEqualTests",
      "sources" : [
        "DiffedAssertEqualTests.swift"
      ],
      "target_dependencies" : [
        "DiffedAssertEqual"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DiffedAssertEqual",
      "module_type" : "SwiftTarget",
      "name" : "DiffedAssertEqual",
      "path" : "Sources/DiffedAssertEqual",
      "product_memberships" : [
        "DiffedAssertEqual"
      ],
      "sources" : [
        "DiffedAssertEqual.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.