The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Path.swift, reference 1.4.1 (8e355c), with Swift 6.1 for Linux on 27 Apr 2025 23:20:46 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mxcl/path.swift.git
Reference: 1.4.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/mxcl/path.swift
 * tag               1.4.1      -> FETCH_HEAD
HEAD is now at 8e355c2 Rename Path->Bool.swift to PathToBool.swift
Cloned https://github.com/mxcl/path.swift.git
Revision (git rev-parse @):
8e355c28e9393c42e58b18c54cace2c42c98a616
SUCCESS checkout https://github.com/mxcl/path.swift.git at 1.4.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mxcl/path.swift.git
https://github.com/mxcl/path.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Path.swift",
  "name" : "Path.swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Path",
      "targets" : [
        "Path"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "PathTests",
      "module_type" : "SwiftTarget",
      "name" : "PathTests",
      "path" : "Tests/PathTests",
      "sources" : [
        "PathTests+ls().swift",
        "PathTests.swift",
        "TemporaryDirectory.swift",
        "XCTestManifests.swift",
        "etc.swift"
      ],
      "target_dependencies" : [
        "Path"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Path",
      "module_type" : "SwiftTarget",
      "name" : "Path",
      "path" : "Sources",
      "product_memberships" : [
        "Path"
      ],
      "sources" : [
        "Extensions.swift",
        "Path+Attributes.swift",
        "Path+Codable.swift",
        "Path+CommonDirectories.swift",
        "Path+FileManager.swift",
        "Path+StringConvertibles.swift",
        "Path+ls.swift",
        "Path.swift",
        "PathToBool.swift",
        "Pathish.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/12] Compiling Path Path+StringConvertibles.swift
[4/13] Compiling Path Pathish.swift
[5/13] Compiling Path Path.swift
[6/13] Compiling Path PathToBool.swift
[7/13] Compiling Path Path+ls.swift
/host/spi-builder-workspace/Sources/Path+ls.swift:175:57: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
173 |     func ls(_ options: ListDirectoryOptions? = nil) -> [Path] {
174 |         guard let urls = try? FileManager.default.contentsOfDirectory(at: url, includingPropertiesForKeys: nil) else {
175 |             fputs("warning: could not list: \(self)\n", stderr)
    |                                                         `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
176 |             return []
177 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[8/13] Compiling Path Path+Codable.swift
[9/13] Compiling Path Path+CommonDirectories.swift
[10/13] Compiling Path Extensions.swift
[11/13] Compiling Path Path+Attributes.swift
[12/13] Emitting module Path
[13/13] Compiling Path Path+FileManager.swift
Build complete! (7.59s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Path.swift",
  "name" : "Path.swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Path",
      "targets" : [
        "Path"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "PathTests",
      "module_type" : "SwiftTarget",
      "name" : "PathTests",
      "path" : "Tests/PathTests",
      "sources" : [
        "PathTests+ls().swift",
        "PathTests.swift",
        "TemporaryDirectory.swift",
        "XCTestManifests.swift",
        "etc.swift"
      ],
      "target_dependencies" : [
        "Path"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Path",
      "module_type" : "SwiftTarget",
      "name" : "Path",
      "path" : "Sources",
      "product_memberships" : [
        "Path"
      ],
      "sources" : [
        "Extensions.swift",
        "Path+Attributes.swift",
        "Path+Codable.swift",
        "Path+CommonDirectories.swift",
        "Path+FileManager.swift",
        "Path+StringConvertibles.swift",
        "Path+ls.swift",
        "Path.swift",
        "PathToBool.swift",
        "Pathish.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.