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

Swift 6 data race errors: 0

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/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/Frizlab/swift-xdg.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/11] Compiling XDG FilePath+Utils.swift
[4/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>. */
/Users/admin/builder/spi-builder-workspace/Sources/XDG/BaseDirectories.swift:10:17: warning: '@preconcurrency' attribute on module 'System' has no effect
  8 | import Foundation
  9 | #if canImport(System)
 10 | @preconcurrency import System
    |                 `- warning: '@preconcurrency' attribute on module 'System' has no effect
 11 | #else
 12 | @preconcurrency import SystemPackage
[5/11] Compiling XDG BaseDirectories+FindFiles.swift
[6/11] Compiling XDG  Errors.swift
[7/11] Compiling XDG BaseDirectories+EnsureFileParents.swift
[8/11] Compiling XDG BaseDirectories+GetPath.swift
[9/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>. */
[10/11] Compiling XDG BaseDirectories+FindFile.swift
[11/11] Compiling XDG BaseDirectories+EnsureDir.swift
Build complete! (21.26s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.