The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of LightTableFilePaths, reference main (6b8e9f), with Swift 6.0 for Linux on 17 Sep 2024 02:14:28 UTC.

Swift 6 data race errors: 2

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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Formkunft/LightTableFilePaths.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/Formkunft/LightTableFilePaths
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6b8e9f3 Fix minimum OS versions
Cloned https://github.com/Formkunft/LightTableFilePaths.git
Revision (git rev-parse @):
6b8e9f382d6be0036c2bb70adb015a10dd2bcdc7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Formkunft/LightTableFilePaths.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Formkunft/LightTableFilePaths.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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-system
[1/3638] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.52s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.3.2 (0.62s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.3.2
Building for debugging...
[0/4] Write sources
[2/4] Compiling CSystem shims.c
[2/4] Write swift-version-24593BA9C3E375BF.txt
[5/25] Compiling SystemPackage FilePathSyntax.swift
[6/25] Compiling SystemPackage FilePathWindows.swift
[7/25] Compiling SystemPackage FilePermissions.swift
[8/27] Compiling SystemPackage FilePathComponents.swift
[9/27] Compiling SystemPackage FilePathParsing.swift
[10/27] Compiling SystemPackage FilePathString.swift
[11/27] Compiling SystemPackage PlatformString.swift
[12/27] Compiling SystemPackage SystemString.swift
[13/27] Emitting module SystemPackage
[14/27] Compiling SystemPackage Errno.swift
[15/27] Compiling SystemPackage FileDescriptor.swift
[16/27] Compiling SystemPackage FileHelpers.swift
[17/27] Compiling SystemPackage Mocking.swift
[18/27] Compiling SystemPackage Syscalls.swift
[19/27] Compiling SystemPackage WindowsSyscallAdapters.swift
[20/27] Compiling SystemPackage FileOperations.swift
[21/27] Compiling SystemPackage FilePath.swift
[22/27] Compiling SystemPackage FilePathComponentView.swift
[23/27] Compiling SystemPackage CInterop.swift
[24/27] Compiling SystemPackage Constants.swift
[25/27] Compiling SystemPackage Exports.swift
[26/27] Compiling SystemPackage Util.swift
[27/27] Compiling SystemPackage UtilConsumers.swift
[29/35] Compiling LightTableFilePaths FilePathCompareOptions.swift
[30/35] Compiling LightTableFilePaths FilePath.Component.swift
[31/35] Emitting module LightTableFilePaths
/host/spi-builder-workspace/Sources/AbsoluteFilePath.swift:28:13: warning: stored property 'storage' of 'Sendable'-conforming struct 'AbsoluteFilePath' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
26 |
27 | public struct AbsoluteFilePath: ExtendedFilePath, Sendable {
28 | 	public let storage: FilePath
   |             `- warning: stored property 'storage' of 'Sendable'-conforming struct 'AbsoluteFilePath' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
29 |
30 | 	public init?(_ path: FilePath) {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:44:15: note: struct 'FilePath' does not conform to the 'Sendable' protocol
42 | // components, etc.
43 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
44 | public struct FilePath {
   |               `- note: struct 'FilePath' does not conform to the 'Sendable' protocol
45 |   internal var _storage: SystemString
46 |
/host/spi-builder-workspace/Sources/AbsoluteFilePath.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SystemPackage'
22 | import System
23 | #else
24 | import SystemPackage
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SystemPackage'
25 | #endif
26 |
/host/spi-builder-workspace/Sources/RelativeFilePath.swift:28:13: warning: stored property 'storage' of 'Sendable'-conforming struct 'RelativeFilePath' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
26 |
27 | public struct RelativeFilePath: ExtendedFilePath, ExpressibleByStringLiteral, Sendable {
28 | 	public let storage: FilePath
   |             `- warning: stored property 'storage' of 'Sendable'-conforming struct 'RelativeFilePath' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
29 |
30 | 	public init?(_ path: FilePath) {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:44:15: note: struct 'FilePath' does not conform to the 'Sendable' protocol
42 | // components, etc.
43 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
44 | public struct FilePath {
   |               `- note: struct 'FilePath' does not conform to the 'Sendable' protocol
45 |   internal var _storage: SystemString
46 |
/host/spi-builder-workspace/Sources/RelativeFilePath.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SystemPackage'
22 | import System
23 | #else
24 | import SystemPackage
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SystemPackage'
25 | #endif
26 |
[32/35] Compiling LightTableFilePaths AbsoluteFilePath.swift
/host/spi-builder-workspace/Sources/AbsoluteFilePath.swift:28:13: warning: stored property 'storage' of 'Sendable'-conforming struct 'AbsoluteFilePath' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
26 |
27 | public struct AbsoluteFilePath: ExtendedFilePath, Sendable {
28 | 	public let storage: FilePath
   |             `- warning: stored property 'storage' of 'Sendable'-conforming struct 'AbsoluteFilePath' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
29 |
30 | 	public init?(_ path: FilePath) {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:44:15: note: struct 'FilePath' does not conform to the 'Sendable' protocol
42 | // components, etc.
43 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
44 | public struct FilePath {
   |               `- note: struct 'FilePath' does not conform to the 'Sendable' protocol
45 |   internal var _storage: SystemString
46 |
/host/spi-builder-workspace/Sources/AbsoluteFilePath.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SystemPackage'
22 | import System
23 | #else
24 | import SystemPackage
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SystemPackage'
25 | #endif
26 |
[33/35] Compiling LightTableFilePaths ExtendedFilePath.swift
[34/35] Compiling LightTableFilePaths URL.swift
[35/35] Compiling LightTableFilePaths RelativeFilePath.swift
/host/spi-builder-workspace/Sources/RelativeFilePath.swift:28:13: warning: stored property 'storage' of 'Sendable'-conforming struct 'RelativeFilePath' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
26 |
27 | public struct RelativeFilePath: ExtendedFilePath, ExpressibleByStringLiteral, Sendable {
28 | 	public let storage: FilePath
   |             `- warning: stored property 'storage' of 'Sendable'-conforming struct 'RelativeFilePath' has non-sendable type 'FilePath'; this is an error in the Swift 6 language mode
29 |
30 | 	public init?(_ path: FilePath) {
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/FilePath/FilePath.swift:44:15: note: struct 'FilePath' does not conform to the 'Sendable' protocol
42 | // components, etc.
43 | /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/
44 | public struct FilePath {
   |               `- note: struct 'FilePath' does not conform to the 'Sendable' protocol
45 |   internal var _storage: SystemString
46 |
/host/spi-builder-workspace/Sources/RelativeFilePath.swift:24:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SystemPackage'
22 | import System
23 | #else
24 | import SystemPackage
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SystemPackage'
25 | #endif
26 |
Build complete! (17.86s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    }
  ],
  "manifest_display_name" : "LightTableFilePaths",
  "name" : "LightTableFilePaths",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "LightTableFilePaths",
      "targets" : [
        "LightTableFilePaths"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LightTableFilePathsTests",
      "module_type" : "SwiftTarget",
      "name" : "LightTableFilePathsTests",
      "path" : "Tests/LightTableFilePathsTests",
      "sources" : [
        "LightTableFilePathsTests.swift"
      ],
      "target_dependencies" : [
        "LightTableFilePaths"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LightTableFilePaths",
      "module_type" : "SwiftTarget",
      "name" : "LightTableFilePaths",
      "path" : "Sources",
      "product_dependencies" : [
        "SystemPackage"
      ],
      "product_memberships" : [
        "LightTableFilePaths"
      ],
      "sources" : [
        "AbsoluteFilePath.swift",
        "ExtendedFilePath.swift",
        "FilePath.Component.swift",
        "FilePathCompareOptions.swift",
        "RelativeFilePath.swift",
        "URL.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.