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 Explorer, reference master (b538e6), with Swift 6.1 for Linux on 26 Apr 2025 03:55:23 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wendyliga/Explorer.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/wendyliga/Explorer
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b538e66 fix bug no extension
Cloned https://github.com/wendyliga/Explorer.git
Revision (git rev-parse @):
b538e662b69792fc85d3ae477c3a597f34fc9507
SUCCESS checkout https://github.com/wendyliga/Explorer.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/wendyliga/Explorer.git
https://github.com/wendyliga/Explorer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/wendyliga/SwiftKit.git"
    }
  ],
  "manifest_display_name" : "Explorer",
  "name" : "Explorer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Explorer",
      "targets" : [
        "Explorer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ExplorerTests",
      "module_type" : "SwiftTarget",
      "name" : "ExplorerTests",
      "path" : "Tests/ExplorerTests",
      "sources" : [
        "ExplorerTests.swift",
        "FileProvider+Mock.swift",
        "StringTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Explorer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Explorer",
      "module_type" : "SwiftTarget",
      "name" : "Explorer",
      "path" : "Sources/Explorer",
      "product_dependencies" : [
        "SwiftKit"
      ],
      "product_memberships" : [
        "Explorer"
      ],
      "sources" : [
        "Explorer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/wendyliga/SwiftKit.git
[1/717] Fetching swiftkit
Fetched https://github.com/wendyliga/SwiftKit.git from cache (0.21s)
Computing version for https://github.com/wendyliga/SwiftKit.git
Computed https://github.com/wendyliga/SwiftKit.git at 2.4.2 (0.76s)
Creating working copy for https://github.com/wendyliga/SwiftKit.git
Working copy of https://github.com/wendyliga/SwiftKit.git resolved at 2.4.2
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling SwiftKit DefaultValue.swift
[5/14] Emitting module SwiftKit
[6/14] Compiling SwiftKit NonEmpty.swift
[7/14] Compiling SwiftKit Traceable.swift
[8/14] Compiling SwiftKit Log.swift
[9/14] Compiling SwiftKit Array+Extension.swift
[10/14] Compiling SwiftKit Result+Extension.swift
[11/14] Compiling SwiftKit Deprecated.swift
[12/14] Compiling SwiftKit Error.swift
[13/14] Compiling SwiftKit String+Extension.swift
[14/14] Compiling SwiftKit Shell.swift
[16/17] Emitting module Explorer
/host/spi-builder-workspace/Sources/Explorer/Explorer.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Explorer' may have shared mutable state; this is an error in the Swift 6 language mode
  2 | import SwiftKit
  3 |
  4 | public class Explorer {
    |              `- note: class 'Explorer' does not conform to the 'Sendable' protocol
  5 |     /**
  6 |      File manager instance that will used for `Explorer` Operation
    :
 11 |      Singleton of `Explorer` Class
 12 |      */
 13 |     public static let `default` = Explorer()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Explorer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |
 15 |     public init(with fileManager: FileProvider = DefaultFileProvider()) {
[17/17] Compiling Explorer Explorer.swift
/host/spi-builder-workspace/Sources/Explorer/Explorer.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Explorer' may have shared mutable state; this is an error in the Swift 6 language mode
  2 | import SwiftKit
  3 |
  4 | public class Explorer {
    |              `- note: class 'Explorer' does not conform to the 'Sendable' protocol
  5 |     /**
  6 |      File manager instance that will used for `Explorer` Operation
    :
 11 |      Singleton of `Explorer` Class
 12 |      */
 13 |     public static let `default` = Explorer()
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Explorer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |
 15 |     public init(with fileManager: FileProvider = DefaultFileProvider()) {
Build complete! (9.26s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/wendyliga/SwiftKit.git"
    }
  ],
  "manifest_display_name" : "Explorer",
  "name" : "Explorer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Explorer",
      "targets" : [
        "Explorer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ExplorerTests",
      "module_type" : "SwiftTarget",
      "name" : "ExplorerTests",
      "path" : "Tests/ExplorerTests",
      "sources" : [
        "ExplorerTests.swift",
        "FileProvider+Mock.swift",
        "StringTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Explorer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Explorer",
      "module_type" : "SwiftTarget",
      "name" : "Explorer",
      "path" : "Sources/Explorer",
      "product_dependencies" : [
        "SwiftKit"
      ],
      "product_memberships" : [
        "Explorer"
      ],
      "sources" : [
        "Explorer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.