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-xdg, reference main (d61833), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 05:48:43 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/Frizlab/swift-xdg.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Frizlab/swift-xdg
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d618335 Get home directory for iOS, tvOS and watchOS
Cloned https://github.com/Frizlab/swift-xdg.git
Revision (git rev-parse @):
d6183353dacd2747fb0ed71e2d49c09676987b98
SUCCESS checkout https://github.com/Frizlab/swift-xdg.git at main
========================================
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": "swift-xdg",
      "name": "swift-xdg",
      "url": "https://github.com/Frizlab/swift-xdg.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-xdg",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Frizlab/swift-xdg.git
[1/138] Fetching swift-xdg
Fetched https://github.com/Frizlab/swift-xdg.git from cache (0.70s)
Creating working copy for https://github.com/Frizlab/swift-xdg.git
Working copy of https://github.com/Frizlab/swift-xdg.git resolved at main (d618335)
warning: '.resolve-product-dependencies': dependency 'swift-xdg' 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/Frizlab/swift-xdg.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/11] Compiling XDG BaseDirectories+GetPath.swift
[4/11] Compiling XDG BaseDirectories+EnsureDir.swift
[5/11] Compiling XDG  Errors.swift
[6/11] Compiling XDG BaseDirectories+FindFiles.swift
[7/11] Compiling XDG BaseDirectories+FindFile.swift
[8/11] Compiling XDG FilePath+Utils.swift
[9/11] Compiling XDG BaseDirectories+EnsureFileParents.swift
[10/11] Compiling XDG BaseDirectories.swift
/Users/admin/builder/spi-builder-workspace/Sources/XDG/BaseDirectories.swift:22:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
 20 |  *  1. It’s open;
 21 |  *  2. There might be a possibility of issue with the delegate? */
 22 | extension FileManager : @unchecked Sendable {}
    | |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 23 |
 24 | /* Based on <https://specifications.freedesktop.org/basedir-spec/basedir-spec-0.8.html>. */
[11/11] Emitting module XDG
/Users/admin/builder/spi-builder-workspace/Sources/XDG/BaseDirectories.swift:22:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
 20 |  *  1. It’s open;
 21 |  *  2. There might be a possibility of issue with the delegate? */
 22 | extension FileManager : @unchecked Sendable {}
    | |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 23 |
 24 | /* Based on <https://specifications.freedesktop.org/basedir-spec/basedir-spec-0.8.html>. */
Build complete! (12.05s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-xdg",
  "name" : "swift-xdg",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "XDG",
      "targets" : [
        "XDG"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XDGTests",
      "module_type" : "SwiftTarget",
      "name" : "XDGTests",
      "path" : "Tests/XDGTests",
      "sources" : [
        "XDGTests.swift"
      ],
      "target_dependencies" : [
        "XDG"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XDG",
      "module_type" : "SwiftTarget",
      "name" : "XDG",
      "path" : "Sources/XDG",
      "product_memberships" : [
        "XDG"
      ],
      "sources" : [
        " Errors.swift",
        "BaseDirectories+EnsureDir.swift",
        "BaseDirectories+EnsureFileParents.swift",
        "BaseDirectories+FindFile.swift",
        "BaseDirectories+FindFiles.swift",
        "BaseDirectories+GetPath.swift",
        "BaseDirectories.swift",
        "PrivateUtils/FilePath+Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.