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

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Beta.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.41.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nsagora/bundle-info-versioning.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
warning: templates not found in /usr/share/git-core/templates
From https://github.com/nsagora/bundle-info-versioning
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 89e4190 Create pull-request.yml
Cloned https://github.com/nsagora/bundle-info-versioning.git
Revision (git rev-parse @):
89e41909d40f2609e8afba2b006051eccf01cbfe
SUCCESS checkout https://github.com/nsagora/bundle-info-versioning.git at 0.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/nsagora/bundle-info-versioning.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Beta.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6A63A117629E05AE.txt
[3/8] Compiling BundleInfoVersioning Storage.swift
[4/8] Compiling BundleInfoVersioning Dictionary+Extensions.swift
[5/8] Emitting module BundleInfoVersioning
/Users/admin/builder/spi-builder-workspace/Sources/BundleInfoVersioning/Storage/UserDefaultsStorage.swift:5:25: warning: static property 'prefix' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 3 | internal class UserDefaultsStorage: Storage {
 4 |
 5 |     internal static var prefix = "com.nsagora.storage."
   |                         |- warning: static property 'prefix' 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 'prefix' to a 'let' constant to make 'Sendable' shared state immutable
   |                         |- note: annotate 'prefix' 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
 6 |
 7 |     private var userDefautlts = UserDefaults.standard
[6/8] Compiling BundleInfoVersioning UserDefaultsStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/BundleInfoVersioning/Storage/UserDefaultsStorage.swift:5:25: warning: static property 'prefix' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 3 | internal class UserDefaultsStorage: Storage {
 4 |
 5 |     internal static var prefix = "com.nsagora.storage."
   |                         |- warning: static property 'prefix' 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 'prefix' to a 'let' constant to make 'Sendable' shared state immutable
   |                         |- note: annotate 'prefix' 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
 6 |
 7 |     private var userDefautlts = UserDefaults.standard
[7/8] Compiling BundleInfoVersioning BundleInfoVersioning.swift
[8/8] Compiling BundleInfoVersioning UserDefaults+Extension.swift
Build complete! (7.28s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "BundleInfoVersioning",
  "name" : "BundleInfoVersioning",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "8.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "BundleInfoVersioning",
      "targets" : [
        "BundleInfoVersioning"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BundleInfoVersioningTests",
      "module_type" : "SwiftTarget",
      "name" : "BundleInfoVersioningTests",
      "path" : "Tests/BundleInfoVersioningTests",
      "sources" : [
        "BundleInfoObserverTests.swift",
        "Fakes/FakeBundle.swift",
        "Fakes/FakeStorage.swift",
        "Fakes/FakeUserDefaults.swift",
        "UserDefaultsStorageTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "BundleInfoVersioning"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BundleInfoVersioning",
      "module_type" : "SwiftTarget",
      "name" : "BundleInfoVersioning",
      "path" : "Sources/BundleInfoVersioning",
      "product_memberships" : [
        "BundleInfoVersioning"
      ],
      "sources" : [
        "BundleInfoVersioning.swift",
        "Extensions/Dictionary+Extensions.swift",
        "Extensions/UserDefaults+Extension.swift",
        "Storage/Storage.swift",
        "Storage/UserDefaultsStorage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.