The Swift Package Index logo.Swift Package Index

Build Information

Successful build of PathKit, reference 1.0.2 (fec0f8), with Swift 6.2 for Linux on 22 Jun 2025 23:53:10 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MFB-Technologies-Inc/PathKit.git
Reference: 1.0.2
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/MFB-Technologies-Inc/PathKit
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at fec0f80 Merge pull request #2 from MFB-Technologies-Inc/feature/system-FilePath
Cloned https://github.com/MFB-Technologies-Inc/PathKit.git
Revision (git rev-parse @):
fec0f80a3c613551a440d708a4959ecb9d935476
SUCCESS checkout https://github.com/MFB-Technologies-Inc/PathKit.git at 1.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/MFB-Technologies-Inc/PathKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.58s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.17s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Building for debugging...
[0/4] Write sources
[2/4] Compiling CSystem shims.c
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/32] Emitting module SystemPackage
[6/35] Compiling SystemPackage Util+StringArray.swift
[7/35] Compiling SystemPackage Util.swift
[8/35] Compiling SystemPackage UtilConsumers.swift
[9/35] Compiling SystemPackage FileOperations.swift
[10/35] Compiling SystemPackage FilePath.swift
[11/35] Compiling SystemPackage FilePathComponentView.swift
[12/35] Compiling SystemPackage FilePathComponents.swift
[13/35] Compiling SystemPackage MachPort.swift
[14/35] Compiling SystemPackage PlatformString.swift
[15/35] Compiling SystemPackage SystemString.swift
[16/35] Compiling SystemPackage Errno.swift
[17/35] Compiling SystemPackage ErrnoWindows.swift
[18/35] Compiling SystemPackage FileDescriptor.swift
[19/35] Compiling SystemPackage FileHelpers.swift
[20/35] Compiling SystemPackage FilePathTempPosix.swift
[21/35] Compiling SystemPackage FilePathTempWindows.swift
[22/35] Compiling SystemPackage FilePathWindows.swift
[23/35] Compiling SystemPackage FilePermissions.swift
[24/35] Compiling SystemPackage FilePathParsing.swift
[25/35] Compiling SystemPackage FilePathString.swift
[26/35] Compiling SystemPackage FilePathSyntax.swift
[27/35] Compiling SystemPackage FilePathTemp.swift
[28/35] Compiling SystemPackage Backcompat.swift
[29/35] Compiling SystemPackage CInterop.swift
[30/35] Compiling SystemPackage Constants.swift
[31/35] Compiling SystemPackage Exports.swift
[32/35] Compiling SystemPackage Mocking.swift
[33/35] Compiling SystemPackage RawBuffer.swift
[34/35] Compiling SystemPackage Syscalls.swift
[35/35] Compiling SystemPackage WindowsSyscallAdapters.swift
[37/49] Emitting module PathKit
/host/spi-builder-workspace/Sources/PathKit/Path+Globbing.swift:17:9: warning: let 'system_glob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
15 |     import Glibc
16 |
17 |     let system_glob = Glibc.glob
   |         `- warning: let 'system_glob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
18 | #else
19 |     import Darwin
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/PathKit/Path+Globbing.swift:17:9: note: add '@MainActor' to make let 'system_glob' part of global actor 'MainActor'
15 |     import Glibc
16 |
17 |     let system_glob = Glibc.glob
   |         |- note: add '@MainActor' to make let 'system_glob' part of global actor 'MainActor'
   |         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #else
19 |     import Darwin
/host/spi-builder-workspace/Sources/PathKit/Path+Sequence.swift:23:27: warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
 21 |         }
 22 |
 23 |         public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(
    |                           |- warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: convert 'skipsSubdirectoryDescendants' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'skipsSubdirectoryDescendants' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |             rawValue: FileManager
 25 |                 .DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue
/host/spi-builder-workspace/Sources/PathKit/Path+Sequence.swift:27:27: warning: static property 'skipsPackageDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
 25 |                 .DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue
 26 |         )
 27 |         public static var skipsPackageDescendants = DirectoryEnumerationOptions(
    |                           |- warning: static property 'skipsPackageDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: convert 'skipsPackageDescendants' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'skipsPackageDescendants' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |             rawValue: FileManager
 29 |                 .DirectoryEnumerationOptions.skipsPackageDescendants.rawValue
/host/spi-builder-workspace/Sources/PathKit/Path+Sequence.swift:31:27: warning: static property 'skipsHiddenFiles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
 29 |                 .DirectoryEnumerationOptions.skipsPackageDescendants.rawValue
 30 |         )
 31 |         public static var skipsHiddenFiles = DirectoryEnumerationOptions(
    |                           |- warning: static property 'skipsHiddenFiles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: convert 'skipsHiddenFiles' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'skipsHiddenFiles' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |             rawValue: FileManager.DirectoryEnumerationOptions
 33 |                 .skipsHiddenFiles.rawValue
/host/spi-builder-workspace/Sources/PathKit/Path.swift:20:36: warning: conformance of 'FilePath' to protocol 'Sendable' was already stated in the type's module 'SystemPackage'
 18 |     import SystemPackage
 19 |
 20 |     extension FilePath: @unchecked Sendable {}
    |                                    `- warning: conformance of 'FilePath' to protocol 'Sendable' was already stated in the type's module 'SystemPackage'
 21 | #endif
 22 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declares conformance to protocol 'Sendable' here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declares conformance to protocol 'Sendable' here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[38/50] Compiling PathKit DefaultFileSystemInfo.swift
[39/50] Compiling PathKit FileSystemInfo.swift
[40/50] Compiling PathKit Path+Traversing.swift
[41/50] Compiling PathKit Path+Globbing.swift
/host/spi-builder-workspace/Sources/PathKit/Path+Globbing.swift:17:9: warning: let 'system_glob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
15 |     import Glibc
16 |
17 |     let system_glob = Glibc.glob
   |         `- warning: let 'system_glob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
18 | #else
19 |     import Darwin
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/PathKit/Path+Globbing.swift:17:9: note: add '@MainActor' to make let 'system_glob' part of global actor 'MainActor'
15 |     import Glibc
16 |
17 |     let system_glob = Glibc.glob
   |         |- note: add '@MainActor' to make let 'system_glob' part of global actor 'MainActor'
   |         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #else
19 |     import Darwin
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[42/50] Compiling PathKit Path+PathInfo.swift
/host/spi-builder-workspace/Sources/PathKit/Path+Globbing.swift:17:9: warning: let 'system_glob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
15 |     import Glibc
16 |
17 |     let system_glob = Glibc.glob
   |         `- warning: let 'system_glob' is not concurrency-safe because non-'Sendable' type '(UnsafePointer<CChar>?, Int32, (@convention(c) (UnsafePointer<CChar>?, Int32) -> Int32)?, UnsafeMutablePointer<glob_t>?) -> Int32' (aka '(Optional<UnsafePointer<Int8>>, Int32, Optional<@convention(c) (Optional<UnsafePointer<Int8>>, Int32) -> Int32>, Optional<UnsafeMutablePointer<glob_t>>) -> Int32') may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
18 | #else
19 |     import Darwin
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/PathKit/Path+Globbing.swift:17:9: note: add '@MainActor' to make let 'system_glob' part of global actor 'MainActor'
15 |     import Glibc
16 |
17 |     let system_glob = Glibc.glob
   |         |- note: add '@MainActor' to make let 'system_glob' part of global actor 'MainActor'
   |         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #else
19 |     import Darwin
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[43/50] Compiling PathKit Operators.swift
[44/50] Compiling PathKit Path+Components.swift
[45/50] Compiling PathKit Path+Sequence.swift
/host/spi-builder-workspace/Sources/PathKit/Path+Sequence.swift:23:27: warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
 21 |         }
 22 |
 23 |         public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(
    |                           |- warning: static property 'skipsSubdirectoryDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: convert 'skipsSubdirectoryDescendants' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'skipsSubdirectoryDescendants' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |             rawValue: FileManager
 25 |                 .DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue
/host/spi-builder-workspace/Sources/PathKit/Path+Sequence.swift:27:27: warning: static property 'skipsPackageDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
 25 |                 .DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue
 26 |         )
 27 |         public static var skipsPackageDescendants = DirectoryEnumerationOptions(
    |                           |- warning: static property 'skipsPackageDescendants' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: convert 'skipsPackageDescendants' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'skipsPackageDescendants' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |             rawValue: FileManager
 29 |                 .DirectoryEnumerationOptions.skipsPackageDescendants.rawValue
/host/spi-builder-workspace/Sources/PathKit/Path+Sequence.swift:31:27: warning: static property 'skipsHiddenFiles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
 29 |                 .DirectoryEnumerationOptions.skipsPackageDescendants.rawValue
 30 |         )
 31 |         public static var skipsHiddenFiles = DirectoryEnumerationOptions(
    |                           |- warning: static property 'skipsHiddenFiles' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                           |- note: convert 'skipsHiddenFiles' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'skipsHiddenFiles' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |             rawValue: FileManager.DirectoryEnumerationOptions
 33 |                 .skipsHiddenFiles.rawValue
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[46/50] Compiling PathKit Path+FileInfo.swift
[47/50] Compiling PathKit Path+FileManipulation.swift
[48/50] Compiling PathKit Path+Contents.swift
[49/50] Compiling PathKit Path+Directories.swift
[50/50] Compiling PathKit Path.swift
/host/spi-builder-workspace/Sources/PathKit/Path.swift:20:36: warning: conformance of 'FilePath' to protocol 'Sendable' was already stated in the type's module 'SystemPackage'
 18 |     import SystemPackage
 19 |
 20 |     extension FilePath: @unchecked Sendable {}
    |                                    `- warning: conformance of 'FilePath' to protocol 'Sendable' was already stated in the type's module 'SystemPackage'
 21 | #endif
 22 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:41:15: note: 'FilePath' declares conformance to protocol 'Sendable' here
39 | /// like case insensitivity, Unicode normalization, and symbolic links.
40 | @available(/*System 0.0.1: macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0*/iOS 8, *)
41 | public struct FilePath: Sendable {
   |               `- note: 'FilePath' declares conformance to protocol 'Sendable' here
42 |   // TODO(docs): Section on all the new syntactic operations, lexical normalization, decomposition,
43 |   // components, etc.
Build complete! (17.67s)
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" : "PathKit",
  "name" : "PathKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "PathKit",
      "targets" : [
        "PathKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PathKitTests",
      "module_type" : "SwiftTarget",
      "name" : "PathKitTests",
      "path" : "Tests/PathKitTests",
      "sources" : [
        "PathKitTests.swift",
        "ThrowError.swift"
      ],
      "target_dependencies" : [
        "PathKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PathKit",
      "module_type" : "SwiftTarget",
      "name" : "PathKit",
      "path" : "Sources/PathKit",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "PathKit"
      ],
      "sources" : [
        "Internal/DefaultFileSystemInfo.swift",
        "Internal/FileSystemInfo.swift",
        "Operators.swift",
        "Path+Components.swift",
        "Path+Contents.swift",
        "Path+Directories.swift",
        "Path+FileInfo.swift",
        "Path+FileManipulation.swift",
        "Path+Globbing.swift",
        "Path+PathInfo.swift",
        "Path+Sequence.swift",
        "Path+Traversing.swift",
        "Path.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.