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, reference v1.2.2 (ccb417), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 15:06:15 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/Files.git
Reference: v1.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/elegantchaos/Files
 * tag               v1.2.2     -> FETCH_HEAD
HEAD is now at ccb417b stop testing on Linux for now
Cloned https://github.com/elegantchaos/Files.git
Revision (git rev-parse @):
ccb417b5b4f2d473964594a7c906a50a62c8530c
SUCCESS checkout https://github.com/elegantchaos/Files.git at v1.2.2
Fetching https://github.com/elegantchaos/XCTestExtensions.git
Fetching https://github.com/elegantchaos/Matchable.git
[1/113] Fetching matchable
[105/684] Fetching matchable, xctestextensions
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.75s)
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.75s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.4.2 (1.36s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.6 (0.62s)
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.4.2
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.6
========================================
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": "files",
      "name": "Files",
      "url": "https://github.com/elegantchaos/Files.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Files",
      "dependencies": [
        {
          "identity": "xctestextensions",
          "name": "XCTestExtensions",
          "url": "https://github.com/elegantchaos/XCTestExtensions.git",
          "version": "1.5.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XCTestExtensions",
          "dependencies": [
            {
              "identity": "matchable",
              "name": "Matchable",
              "url": "https://github.com/elegantchaos/Matchable.git",
              "version": "1.0.7",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Matchable",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/elegantchaos/Files.git
[1/687] Fetching files
Fetched https://github.com/elegantchaos/Files.git from cache (0.82s)
Fetching https://github.com/elegantchaos/XCTestExtensions.git from cache
Fetched https://github.com/elegantchaos/XCTestExtensions.git from cache (0.47s)
Computing version for https://github.com/elegantchaos/XCTestExtensions.git
Computed https://github.com/elegantchaos/XCTestExtensions.git at 1.5.1 (1.08s)
Fetching https://github.com/elegantchaos/Matchable.git from cache
Fetched https://github.com/elegantchaos/Matchable.git from cache (0.44s)
Computing version for https://github.com/elegantchaos/Matchable.git
Computed https://github.com/elegantchaos/Matchable.git at 1.0.7 (0.49s)
Creating working copy for https://github.com/elegantchaos/Matchable.git
Working copy of https://github.com/elegantchaos/Matchable.git resolved at 1.0.7
Creating working copy for https://github.com/elegantchaos/XCTestExtensions.git
Working copy of https://github.com/elegantchaos/XCTestExtensions.git resolved at 1.5.1
Creating working copy for https://github.com/elegantchaos/Files.git
Working copy of https://github.com/elegantchaos/Files.git resolved at v1.2.2 (ccb417b)
warning: '.resolve-product-dependencies': dependency 'files' is not used by any target
Found 1 product dependencies
  - XCTestExtensions
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/elegantchaos/Files.git
https://github.com/elegantchaos/Files.git
{
  "dependencies" : [
    {
      "identity" : "xctestextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/XCTestExtensions.git"
    }
  ],
  "manifest_display_name" : "Files",
  "name" : "Files",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Files",
      "targets" : [
        "Files"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FilesKit",
      "targets" : [
        "FilesKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FilesTests",
      "module_type" : "SwiftTarget",
      "name" : "FilesTests",
      "path" : "Tests/FilesTests",
      "product_dependencies" : [
        "XCTestExtensions"
      ],
      "sources" : [
        "FileManagerTests.swift",
        "FolderManagerTests.swift",
        "NoThrowFolderManagerTests.swift",
        "URLTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Files"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FilesKit",
      "module_type" : "SwiftTarget",
      "name" : "FilesKit",
      "path" : "Sources/FilesKit",
      "product_memberships" : [
        "FilesKit"
      ],
      "sources" : [
        "FolderItem+Desktop.swift"
      ],
      "target_dependencies" : [
        "Files"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Files",
      "module_type" : "SwiftTarget",
      "name" : "Files",
      "path" : "Sources/Files",
      "product_memberships" : [
        "Files",
        "FilesKit"
      ],
      "sources" : [
        "FileManager+Directories.swift",
        "FileManager+General.swift",
        "FolderManager.swift",
        "Item.swift",
        "ItemContainer.swift",
        "ItemLocation.swift",
        "ItemName.swift",
        "NonThrowing/NonThrowingFile.swift",
        "NonThrowing/NonThrowingFolder.swift",
        "NonThrowing/NonThrowingItem.swift",
        "NonThrowing/NonThrowingManager.swift",
        "Throwing/ThrowingFile.swift",
        "Throwing/ThrowingFolder.swift",
        "Throwing/ThrowingItem.swift",
        "Throwing/ThrowingManager.swift",
        "Throwing/ThrowingReference.swift",
        "URL+General.swift",
        "URL+Security.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/21] Compiling Files ThrowingManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Files/Throwing/ThrowingManager.swift:15:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     public typealias ItemType = ThrowingCommon
14 |
15 |     public static var `default` = FileManager.default.locations
   |                       |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     public static func folder(for url: URL) -> ThrowingFolder {
[5/21] Compiling Files ThrowingReference.swift
/Users/admin/builder/spi-builder-workspace/Sources/Files/Throwing/ThrowingManager.swift:15:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     public typealias ItemType = ThrowingCommon
14 |
15 |     public static var `default` = FileManager.default.locations
   |                       |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     public static func folder(for url: URL) -> ThrowingFolder {
[6/21] Compiling Files URL+General.swift
[7/22] Compiling Files ThrowingFolder.swift
[8/22] Compiling Files ThrowingItem.swift
[9/22] Compiling Files ItemContainer.swift
[10/22] Compiling Files ItemLocation.swift
[11/22] Compiling Files FileManager+Directories.swift
[12/22] Compiling Files FileManager+General.swift
[13/22] Compiling Files NonThrowingFolder.swift
[14/22] Compiling Files NonThrowingItem.swift
[15/22] Compiling Files NonThrowingManager.swift
[16/22] Compiling Files ThrowingFile.swift
[17/22] Emitting module Files
/Users/admin/builder/spi-builder-workspace/Sources/Files/Throwing/ThrowingManager.swift:15:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     public typealias ItemType = ThrowingCommon
14 |
15 |     public static var `default` = FileManager.default.locations
   |                       |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     public static func folder(for url: URL) -> ThrowingFolder {
[18/22] Compiling Files FolderManager.swift
[19/22] Compiling Files Item.swift
[20/22] Compiling Files ItemName.swift
[21/22] Compiling Files NonThrowingFile.swift
[22/22] Compiling Files URL+Security.swift
[23/24] Compiling FilesKit FolderItem+Desktop.swift
[24/24] Emitting module FilesKit
Build complete! (9.82s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "xctestextensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elegantchaos/XCTestExtensions.git"
    }
  ],
  "manifest_display_name" : "Files",
  "name" : "Files",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Files",
      "targets" : [
        "Files"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FilesKit",
      "targets" : [
        "FilesKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FilesTests",
      "module_type" : "SwiftTarget",
      "name" : "FilesTests",
      "path" : "Tests/FilesTests",
      "product_dependencies" : [
        "XCTestExtensions"
      ],
      "sources" : [
        "FileManagerTests.swift",
        "FolderManagerTests.swift",
        "NoThrowFolderManagerTests.swift",
        "URLTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Files"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FilesKit",
      "module_type" : "SwiftTarget",
      "name" : "FilesKit",
      "path" : "Sources/FilesKit",
      "product_memberships" : [
        "FilesKit"
      ],
      "sources" : [
        "FolderItem+Desktop.swift"
      ],
      "target_dependencies" : [
        "Files"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Files",
      "module_type" : "SwiftTarget",
      "name" : "Files",
      "path" : "Sources/Files",
      "product_memberships" : [
        "Files",
        "FilesKit"
      ],
      "sources" : [
        "FileManager+Directories.swift",
        "FileManager+General.swift",
        "FolderManager.swift",
        "Item.swift",
        "ItemContainer.swift",
        "ItemLocation.swift",
        "ItemName.swift",
        "NonThrowing/NonThrowingFile.swift",
        "NonThrowing/NonThrowingFolder.swift",
        "NonThrowing/NonThrowingItem.swift",
        "NonThrowing/NonThrowingManager.swift",
        "Throwing/ThrowingFile.swift",
        "Throwing/ThrowingFolder.swift",
        "Throwing/ThrowingItem.swift",
        "Throwing/ThrowingManager.swift",
        "Throwing/ThrowingReference.swift",
        "URL+General.swift",
        "URL+Security.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.