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 0.0.6 (b538e6), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 08:51:35 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wendyliga/Explorer.git
Reference: 0.0.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wendyliga/Explorer
 * tag               0.0.6      -> FETCH_HEAD
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 0.0.6
Fetching https://github.com/wendyliga/SwiftKit.git
[1/717] Fetching swiftkit
Fetched https://github.com/wendyliga/SwiftKit.git from cache (0.84s)
Computing version for https://github.com/wendyliga/SwiftKit.git
Computed https://github.com/wendyliga/SwiftKit.git at 2.0.1 (0.65s)
Creating working copy for https://github.com/wendyliga/SwiftKit.git
Working copy of https://github.com/wendyliga/SwiftKit.git resolved at 2.0.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "explorer",
      "name": "Explorer",
      "url": "https://github.com/wendyliga/Explorer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Explorer",
      "dependencies": [
        {
          "identity": "swiftkit",
          "name": "SwiftKit",
          "url": "https://github.com/wendyliga/SwiftKit.git",
          "version": "2.4.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftKit",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/wendyliga/Explorer.git
[1/562] Fetching explorer
Fetched https://github.com/wendyliga/Explorer.git from cache (1.05s)
Fetching https://github.com/wendyliga/SwiftKit.git from cache
Fetched https://github.com/wendyliga/SwiftKit.git from cache (0.47s)
Computing version for https://github.com/wendyliga/SwiftKit.git
Computed https://github.com/wendyliga/SwiftKit.git at 2.4.2 (0.65s)
Creating working copy for https://github.com/wendyliga/SwiftKit.git
Working copy of https://github.com/wendyliga/SwiftKit.git resolved at 2.4.2
Creating working copy for https://github.com/wendyliga/Explorer.git
Working copy of https://github.com/wendyliga/Explorer.git resolved at 0.0.6 (b538e66)
warning: '.resolve-product-dependencies': dependency 'explorer' is not used by any target
Found 1 product dependencies
  - SwiftKit
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/wendyliga/Explorer.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/8] Emitting module SwiftKit
[5/8] Compiling SwiftKit Result+Extension.swift
[6/8] Compiling SwiftKit Error.swift
[7/8] Compiling SwiftKit String+Extension.swift
[8/8] Compiling SwiftKit Array+Extension.swift
[9/10] Compiling Explorer Explorer.swift
/Users/admin/builder/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: annotate 'default' 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
 14 |
 15 |     public init(with fileManager: FileProvider = DefaultFileProvider()) {
[10/10] Emitting module Explorer
/Users/admin/builder/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: annotate 'default' 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
 14 |
 15 |     public init(with fileManager: FileProvider = DefaultFileProvider()) {
Build complete! (8.98s)
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" : "/Users/admin/builder/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"
}
Done.