The Swift Package Index logo.Swift Package Index

Build Information

Successful build of PathKit, reference main (fec0f8), with Swift 6.3 for Linux on 15 Apr 2026 16:38:39 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MFB-Technologies-Inc/PathKit.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/MFB-Technologies-Inc/PathKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.97s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (3.05s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Building for debugging...
[0/4] Write sources
[2/4] Compiling CSystem shims.c
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/35] Emitting module SystemPackage
[6/39] Compiling SystemPackage Errno.swift
[7/39] Compiling SystemPackage ErrnoWindows.swift
[8/39] Compiling SystemPackage FileDescriptor.swift
[9/39] Compiling SystemPackage FileHelpers.swift
[10/39] Compiling SystemPackage FileOperations.swift
[11/39] Compiling SystemPackage SystemString.swift
[12/39] Compiling SystemPackage Util+StringArray.swift
[13/39] Compiling SystemPackage Util.swift
[14/39] Compiling SystemPackage UtilConsumers.swift
[15/39] Compiling SystemPackage FilePathWindows.swift
[16/39] Compiling SystemPackage FilePermissions.swift
[17/39] Compiling SystemPackage IOCompletion.swift
[18/39] Compiling SystemPackage IORequest.swift
[19/39] Compiling SystemPackage Constants.swift
[20/39] Compiling SystemPackage Exports.swift
[21/39] Compiling SystemPackage Mocking.swift
[22/39] Compiling SystemPackage RawBuffer.swift
[23/39] Compiling SystemPackage Syscalls.swift
[24/39] Compiling SystemPackage WindowsSyscallAdapters.swift
[25/39] Compiling SystemPackage MachPort.swift
[26/39] Compiling SystemPackage PlatformString.swift
[27/39] Compiling SystemPackage FilePath.swift
[28/39] Compiling SystemPackage FilePathComponentView.swift
[29/39] Compiling SystemPackage FilePathComponents.swift
[30/39] Compiling SystemPackage FilePathParsing.swift
[31/39] Compiling SystemPackage FilePathString.swift
[32/39] Compiling SystemPackage FilePathSyntax.swift
[33/39] Compiling SystemPackage FilePathTemp.swift
[34/39] Compiling SystemPackage FilePathTempPosix.swift
[35/39] Compiling SystemPackage FilePathTempWindows.swift
[36/39] Compiling SystemPackage IORing.swift
[37/39] Compiling SystemPackage RawIORequest.swift
[38/39] Compiling SystemPackage Backcompat.swift
[39/39] Compiling SystemPackage CInterop.swift
[41/53] Compiling PathKit Path+FileInfo.swift
[42/53] Compiling PathKit Path+FileManipulation.swift
[43/54] Compiling PathKit Operators.swift
[44/54] Compiling PathKit Path+Components.swift
[45/54] 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, *)
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>
[46/54] Compiling PathKit Path+Contents.swift
[47/54] Compiling PathKit Path+Directories.swift
[48/54] Compiling PathKit DefaultFileSystemInfo.swift
[49/54] Compiling PathKit FileSystemInfo.swift
[50/54] 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>
[51/54] 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>
[52/54] 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>
[53/54] Compiling PathKit Path+Traversing.swift
[54/54] 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, *)
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! (23.24s)
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.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.