This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 AppInfo with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kevinhermawan/AppInfo.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kevinhermawan/AppInfo
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4b60b10 release: 1.0.2
Cloned https://github.com/kevinhermawan/AppInfo.git
Revision (git rev-parse @):
4b60b10c94c327083cb5fe5e73cdff21d1082b4c
SUCCESS checkout https://github.com/kevinhermawan/AppInfo.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/kevinhermawan/AppInfo.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/6] Emitting module AppInfo
/Users/admin/builder/spi-builder-workspace/Sources/AppInfo/AppInfo.swift:17:25: warning: static property 'bundle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 |     ///
16 |     /// This internal static property is set to the main bundle of the application. It is used within the `AppInfo` struct to access various properties from the bundle's info dictionary.
17 |     internal static var bundle: Bundle = .main
   |                         |- warning: static property 'bundle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: convert 'bundle' to a 'let' constant to make 'Sendable' shared state immutable
   |                         |- note: annotate 'bundle' 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
18 |
19 |     /// The name of the application.
[6/6] Compiling AppInfo AppInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/AppInfo/AppInfo.swift:17:25: warning: static property 'bundle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 |     ///
16 |     /// This internal static property is set to the main bundle of the application. It is used within the `AppInfo` struct to access various properties from the bundle's info dictionary.
17 |     internal static var bundle: Bundle = .main
   |                         |- warning: static property 'bundle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: convert 'bundle' to a 'let' constant to make 'Sendable' shared state immutable
   |                         |- note: annotate 'bundle' 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
18 |
19 |     /// The name of the application.
Build complete! (33.30s)
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin.git
[1/1458] Fetching swift-docc-plugin
[556/4317] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.37s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.37s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.3.0 (0.69s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.76s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.3.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin.git"
    }
  ],
  "manifest_display_name" : "AppInfo",
  "name" : "AppInfo",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AppInfo",
      "targets" : [
        "AppInfo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AppInfoTests",
      "module_type" : "SwiftTarget",
      "name" : "AppInfoTests",
      "path" : "Tests/AppInfoTests",
      "sources" : [
        "AppInfoTests.swift"
      ],
      "target_dependencies" : [
        "AppInfo"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppInfo",
      "module_type" : "SwiftTarget",
      "name" : "AppInfo",
      "path" : "Sources/AppInfo",
      "product_memberships" : [
        "AppInfo"
      ],
      "sources" : [
        "AppInfo.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.