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

Swift 6 data race errors: 4

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/tayloraswift/swift-system-extras.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tayloraswift/swift-system-extras
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 42f297a add license and readme
Cloned https://github.com/tayloraswift/swift-system-extras.git
Revision (git rev-parse @):
42f297a3191e668ed072878d5db3890db8eada50
SUCCESS checkout https://github.com/tayloraswift/swift-system-extras.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/tayloraswift/swift-system-extras.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/4] Write sources
[2/4] Compiling CSystem shims.c
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/25] Emitting module SystemPackage
[6/27] Compiling SystemPackage Util.swift
[7/27] Compiling SystemPackage UtilConsumers.swift
[8/27] Compiling SystemPackage Errno.swift
[9/27] Compiling SystemPackage FileDescriptor.swift
[10/27] Compiling SystemPackage FileHelpers.swift
[11/27] Compiling SystemPackage FileOperations.swift
[12/27] Compiling SystemPackage FilePath.swift
[13/27] Compiling SystemPackage FilePathComponentView.swift
[14/27] Compiling SystemPackage PlatformString.swift
[15/27] Compiling SystemPackage SystemString.swift
[16/27] Compiling SystemPackage Syscalls.swift
[17/27] Compiling SystemPackage WindowsSyscallAdapters.swift
[18/27] Compiling SystemPackage FilePathComponents.swift
[19/27] Compiling SystemPackage FilePathParsing.swift
[20/27] Compiling SystemPackage CInterop.swift
[21/27] Compiling SystemPackage Constants.swift
[22/27] Compiling SystemPackage Exports.swift
[23/27] Compiling SystemPackage Mocking.swift
[24/27] Compiling SystemPackage FilePathString.swift
[25/27] Compiling SystemPackage FilePathSyntax.swift
[26/27] Compiling SystemPackage FilePathWindows.swift
[27/27] Compiling SystemPackage FilePermissions.swift
[28/30] Compiling SystemExtras FilePath.swift
/Users/admin/builder/spi-builder-workspace/Sources/SystemExtras/FilePath.swift:6:10: warning: associated value 'isDirectory(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
  4 | enum FileError:Error, CustomStringConvertible
  5 | {
  6 |     case isDirectory                       (path:FilePath)
    |          `- warning: associated value 'isDirectory(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
  7 |     case system               (error:Error, path:FilePath)
  8 |     case incompleteRead (bytes:Int, of:Int, path:FilePath)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:44:15: note: struct 'FilePath' does not conform to the 'Sendable' protocol
42 | // components, etc.
43 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
44 | public struct FilePath {
   |               `- note: struct 'FilePath' does not conform to the 'Sendable' protocol
45 |   internal var _storage: SystemString
46 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemExtras/FilePath.swift:1:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SystemPackage'
  1 | @_exported import SystemPackage
    |            `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SystemPackage'
  2 |
  3 | public
/Users/admin/builder/spi-builder-workspace/Sources/SystemExtras/FilePath.swift:7:10: warning: associated value 'system(error:path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
  5 | {
  6 |     case isDirectory                       (path:FilePath)
  7 |     case system               (error:Error, path:FilePath)
    |          `- warning: associated value 'system(error:path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
  8 |     case incompleteRead (bytes:Int, of:Int, path:FilePath)
  9 |     case incompleteWrite(bytes:Int, of:Int, path:FilePath)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:44:15: note: struct 'FilePath' does not conform to the 'Sendable' protocol
42 | // components, etc.
43 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
44 | public struct FilePath {
   |               `- note: struct 'FilePath' does not conform to the 'Sendable' protocol
45 |   internal var _storage: SystemString
46 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemExtras/FilePath.swift:8:10: warning: associated value 'incompleteRead(bytes:of:path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
  6 |     case isDirectory                       (path:FilePath)
  7 |     case system               (error:Error, path:FilePath)
  8 |     case incompleteRead (bytes:Int, of:Int, path:FilePath)
    |          `- warning: associated value 'incompleteRead(bytes:of:path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
  9 |     case incompleteWrite(bytes:Int, of:Int, path:FilePath)
 10 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:44:15: note: struct 'FilePath' does not conform to the 'Sendable' protocol
42 | // components, etc.
43 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
44 | public struct FilePath {
   |               `- note: struct 'FilePath' does not conform to the 'Sendable' protocol
45 |   internal var _storage: SystemString
46 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemExtras/FilePath.swift:9:10: warning: associated value 'incompleteWrite(bytes:of:path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
  7 |     case system               (error:Error, path:FilePath)
  8 |     case incompleteRead (bytes:Int, of:Int, path:FilePath)
  9 |     case incompleteWrite(bytes:Int, of:Int, path:FilePath)
    |          `- warning: associated value 'incompleteWrite(bytes:of:path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
 10 |
 11 |     var path:FilePath
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:44:15: note: struct 'FilePath' does not conform to the 'Sendable' protocol
42 | // components, etc.
43 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
44 | public struct FilePath {
   |               `- note: struct 'FilePath' does not conform to the 'Sendable' protocol
45 |   internal var _storage: SystemString
46 |
[29/30] Compiling SystemExtras FilePath.DirectoryView.swift
[30/30] Emitting module SystemExtras
/Users/admin/builder/spi-builder-workspace/Sources/SystemExtras/FilePath.swift:6:10: warning: associated value 'isDirectory(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
  4 | enum FileError:Error, CustomStringConvertible
  5 | {
  6 |     case isDirectory                       (path:FilePath)
    |          `- warning: associated value 'isDirectory(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
  7 |     case system               (error:Error, path:FilePath)
  8 |     case incompleteRead (bytes:Int, of:Int, path:FilePath)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:44:15: note: struct 'FilePath' does not conform to the 'Sendable' protocol
42 | // components, etc.
43 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
44 | public struct FilePath {
   |               `- note: struct 'FilePath' does not conform to the 'Sendable' protocol
45 |   internal var _storage: SystemString
46 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemExtras/FilePath.swift:1:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SystemPackage'
  1 | @_exported import SystemPackage
    |            `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SystemPackage'
  2 |
  3 | public
/Users/admin/builder/spi-builder-workspace/Sources/SystemExtras/FilePath.swift:7:10: warning: associated value 'system(error:path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
  5 | {
  6 |     case isDirectory                       (path:FilePath)
  7 |     case system               (error:Error, path:FilePath)
    |          `- warning: associated value 'system(error:path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
  8 |     case incompleteRead (bytes:Int, of:Int, path:FilePath)
  9 |     case incompleteWrite(bytes:Int, of:Int, path:FilePath)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:44:15: note: struct 'FilePath' does not conform to the 'Sendable' protocol
42 | // components, etc.
43 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
44 | public struct FilePath {
   |               `- note: struct 'FilePath' does not conform to the 'Sendable' protocol
45 |   internal var _storage: SystemString
46 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemExtras/FilePath.swift:8:10: warning: associated value 'incompleteRead(bytes:of:path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
  6 |     case isDirectory                       (path:FilePath)
  7 |     case system               (error:Error, path:FilePath)
  8 |     case incompleteRead (bytes:Int, of:Int, path:FilePath)
    |          `- warning: associated value 'incompleteRead(bytes:of:path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
  9 |     case incompleteWrite(bytes:Int, of:Int, path:FilePath)
 10 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:44:15: note: struct 'FilePath' does not conform to the 'Sendable' protocol
42 | // components, etc.
43 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
44 | public struct FilePath {
   |               `- note: struct 'FilePath' does not conform to the 'Sendable' protocol
45 |   internal var _storage: SystemString
46 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemExtras/FilePath.swift:9:10: warning: associated value 'incompleteWrite(bytes:of:path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
  7 |     case system               (error:Error, path:FilePath)
  8 |     case incompleteRead (bytes:Int, of:Int, path:FilePath)
  9 |     case incompleteWrite(bytes:Int, of:Int, path:FilePath)
    |          `- warning: associated value 'incompleteWrite(bytes:of:path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
 10 |
 11 |     var path:FilePath
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:44:15: note: struct 'FilePath' does not conform to the 'Sendable' protocol
42 | // components, etc.
43 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
44 | public struct FilePath {
   |               `- note: struct 'FilePath' does not conform to the 'Sendable' protocol
45 |   internal var _storage: SystemString
46 |
Build complete! (11.93s)
Fetching https://github.com/apple/swift-system.git
[1/3518] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.10s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.0 (0.49s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.3.0
warning: 'swift-system': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/CMakeLists.txt
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system.git"
    }
  ],
  "manifest_display_name" : "swift-system-extras",
  "name" : "swift-system-extras",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "SystemExtras",
      "targets" : [
        "SystemExtras"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SystemExtras",
      "module_type" : "SwiftTarget",
      "name" : "SystemExtras",
      "path" : "Sources/SystemExtras",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "SystemExtras"
      ],
      "sources" : [
        "FilePath.DirectoryView.swift",
        "FilePath.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.