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 master (2fcd46), with Swift 6.0 for Linux on 28 Nov 2024 06:00:33 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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kylef/PathKit.git
Reference: master
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/kylef/PathKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2fcd461 build: test latest macOS on GitHub Actions
Cloned https://github.com/kylef/PathKit.git
Revision (git rev-parse @):
2fcd4618d52869b342e208324d455131a48f9e9b
SUCCESS checkout https://github.com/kylef/PathKit.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kylef/PathKit.git
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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.19s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (2.14s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/4] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/Sources/PathKit.swift:646:23: 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
644 |     }
645 |
646 |     public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
    |                       |- 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
647 |     public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
648 |     public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
/host/spi-builder-workspace/Sources/PathKit.swift:647:23: 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
645 |
646 |     public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
647 |     public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
    |                       |- 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
648 |     public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
649 |   }
/host/spi-builder-workspace/Sources/PathKit.swift:648:23: 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
646 |     public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
647 |     public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
648 |     public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
    |                       |- 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
649 |   }
650 |
[4/4] Emitting module PathKit
/host/spi-builder-workspace/Sources/PathKit.swift:646:23: 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
644 |     }
645 |
646 |     public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
    |                       |- 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
647 |     public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
648 |     public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
/host/spi-builder-workspace/Sources/PathKit.swift:647:23: 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
645 |
646 |     public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
647 |     public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
    |                       |- 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
648 |     public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
649 |   }
/host/spi-builder-workspace/Sources/PathKit.swift:648:23: 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
646 |     public static var skipsSubdirectoryDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsSubdirectoryDescendants.rawValue)
647 |     public static var skipsPackageDescendants = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsPackageDescendants.rawValue)
648 |     public static var skipsHiddenFiles = DirectoryEnumerationOptions(rawValue: FileManager.DirectoryEnumerationOptions.skipsHiddenFiles.rawValue)
    |                       |- 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
649 |   }
650 |
Build complete! (13.34s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "spectre",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.10.0",
            "upper_bound" : "0.11.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Spectre.git"
    }
  ],
  "manifest_display_name" : "PathKit",
  "name" : "PathKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PathKit",
      "targets" : [
        "PathKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PathKitTests",
      "module_type" : "SwiftTarget",
      "name" : "PathKitTests",
      "path" : "Tests/PathKitTests",
      "product_dependencies" : [
        "Spectre"
      ],
      "sources" : [
        "PathKitSpec.swift",
        "XCTest.swift"
      ],
      "target_dependencies" : [
        "PathKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PathKit",
      "module_type" : "SwiftTarget",
      "name" : "PathKit",
      "path" : "Sources",
      "product_memberships" : [
        "PathKit"
      ],
      "sources" : [
        "PathKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.