This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 Files with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JohnSundell/files.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/JohnSundell/files
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d273b5b Add `isEmpty` method for `Folder` (#119)
Cloned https://github.com/JohnSundell/files.git
Revision (git rev-parse @):
d273b5b7025d386feef79ef6bad7de762e106eaf
SUCCESS checkout https://github.com/JohnSundell/files.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/JohnSundell/files.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/4] Emitting module Files
/Users/admin/builder/spi-builder-workspace/Sources/Files.swift:939:16: warning: stored property 'reason' of 'Sendable'-conforming generic struct 'FilesError' has non-sendable type 'Reason'; this is an error in the Swift 6 language mode
 933 |
 934 | /// Error type thrown by all of Files' throwing APIs.
 935 | public struct FilesError<Reason>: Error {
     |                          `- note: consider making generic parameter 'Reason' conform to the 'Sendable' protocol
 936 |     /// The absolute path that the error occured at.
 937 |     public var path: String
 938 |     /// The reason that the error occured.
 939 |     public var reason: Reason
     |                `- warning: stored property 'reason' of 'Sendable'-conforming generic struct 'FilesError' has non-sendable type 'Reason'; this is an error in the Swift 6 language mode
 940 |
 941 |     /// Initialize an instance with a path and a reason.
[4/4] Compiling Files Files.swift
/Users/admin/builder/spi-builder-workspace/Sources/Files.swift:939:16: warning: stored property 'reason' of 'Sendable'-conforming generic struct 'FilesError' has non-sendable type 'Reason'; this is an error in the Swift 6 language mode
 933 |
 934 | /// Error type thrown by all of Files' throwing APIs.
 935 | public struct FilesError<Reason>: Error {
     |                          `- note: consider making generic parameter 'Reason' conform to the 'Sendable' protocol
 936 |     /// The absolute path that the error occured at.
 937 |     public var path: String
 938 |     /// The reason that the error occured.
 939 |     public var reason: Reason
     |                `- warning: stored property 'reason' of 'Sendable'-conforming generic struct 'FilesError' has non-sendable type 'Reason'; this is an error in the Swift 6 language mode
 940 |
 941 |     /// Initialize an instance with a path and a reason.
Build complete! (24.09s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Files",
  "name" : "Files",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Files",
      "targets" : [
        "Files"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FilesTests",
      "module_type" : "SwiftTarget",
      "name" : "FilesTests",
      "path" : "Tests/FilesTests",
      "sources" : [
        "FilesTests.swift"
      ],
      "target_dependencies" : [
        "Files"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Files",
      "module_type" : "SwiftTarget",
      "name" : "Files",
      "path" : "Sources",
      "product_memberships" : [
        "Files"
      ],
      "sources" : [
        "Files.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.