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 PathKit, reference 1.0.2 (fec0f8), with Swift 6.0 for Linux on 27 Jan 2025 15:41:00 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.60.1
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.0
Building package at path:  $PWD
https://github.com/MFB-Technologies-Inc/PathKit.git
https://github.com/MFB-Technologies-Inc/PathKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-system.git
[1/4017] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.55s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.77s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Building for debugging...
[0/4] Write sources
[2/4] Compiling CSystem shims.c
[2/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 MachPort.swift
[10/35] Compiling SystemPackage PlatformString.swift
[11/35] Compiling SystemPackage SystemString.swift
[12/35] Compiling SystemPackage FilePathTempPosix.swift
[13/35] Compiling SystemPackage FilePathTempWindows.swift
[14/35] Compiling SystemPackage FilePathWindows.swift
[15/35] Compiling SystemPackage FilePermissions.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 FileOperations.swift
[21/35] Compiling SystemPackage FilePath.swift
[22/35] Compiling SystemPackage FilePathComponentView.swift
[23/35] Compiling SystemPackage FilePathComponents.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+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
 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
    |                           |- note: convert 'skipsSubdirectoryDescendants' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'skipsSubdirectoryDescendants' with '@MainActor' if property should only be accessed from the main actor
    |                           `- 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
 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
    |                           |- note: convert 'skipsPackageDescendants' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'skipsPackageDescendants' with '@MainActor' if property should only be accessed from the main actor
    |                           `- 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
 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
    |                           |- note: convert 'skipsHiddenFiles' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'skipsHiddenFiles' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |             rawValue: FileManager.DirectoryEnumerationOptions
 33 |                 .skipsHiddenFiles.rawValue
[38/49] Compiling PathKit DefaultFileSystemInfo.swift
[39/49] Compiling PathKit FileSystemInfo.swift
[40/50] Compiling PathKit Path.swift
[41/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
 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
    |                           |- note: convert 'skipsSubdirectoryDescendants' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'skipsSubdirectoryDescendants' with '@MainActor' if property should only be accessed from the main actor
    |                           `- 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
 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
    |                           |- note: convert 'skipsPackageDescendants' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'skipsPackageDescendants' with '@MainActor' if property should only be accessed from the main actor
    |                           `- 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
 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
    |                           |- note: convert 'skipsHiddenFiles' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'skipsHiddenFiles' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |             rawValue: FileManager.DirectoryEnumerationOptions
 33 |                 .skipsHiddenFiles.rawValue
[42/50] Compiling PathKit Path+Traversing.swift
[43/50] Compiling PathKit Path+Globbing.swift
[44/50] Compiling PathKit Path+PathInfo.swift
[45/50] Compiling PathKit Path+FileInfo.swift
[46/50] Compiling PathKit Path+FileManipulation.swift
[47/50] Compiling PathKit Path+Contents.swift
[48/50] Compiling PathKit Path+Directories.swift
[49/50] Compiling PathKit Operators.swift
[50/50] Compiling PathKit Path+Components.swift
Build complete! (18.87s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.