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 NavigationTitle, reference 0.3.0 (f35c67), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 06:06: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/amonshiz/NavigationTitle.git
Reference: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/amonshiz/NavigationTitle
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at f35c670 Update README.md
Cloned https://github.com/amonshiz/NavigationTitle.git
Revision (git rev-parse @):
f35c6701171d1ceb466b4137716d1a35b91b37cf
SUCCESS checkout https://github.com/amonshiz/NavigationTitle.git at 0.3.0
========================================
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": "navigationtitle",
      "name": "NavigationTitle",
      "url": "https://github.com/amonshiz/NavigationTitle.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NavigationTitle",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/amonshiz/NavigationTitle.git
[1/162] Fetching navigationtitle
Fetched https://github.com/amonshiz/NavigationTitle.git from cache (1.12s)
Creating working copy for https://github.com/amonshiz/NavigationTitle.git
Working copy of https://github.com/amonshiz/NavigationTitle.git resolved at 0.3.0 (f35c670)
warning: '.resolve-product-dependencies': dependency 'navigationtitle' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/amonshiz/NavigationTitle.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/6] Compiling NavigationTitle Logging.swift
/Users/admin/builder/spi-builder-workspace/Sources/NavigationTitle/Logging.swift:14:14: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | @available(watchOS, unavailable)
13 | struct NavigationTitleLogging {
14 |   static var isEnabled = false
   |              |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'isEnabled' 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
15 |
16 |   static func log(_ object: @autoclosure () -> Any) {
[4/6] Compiling NavigationTitle NavigationBarFinder.swift
[5/6] Compiling NavigationTitle NavigationTitle.swift
[6/6] Emitting module NavigationTitle
/Users/admin/builder/spi-builder-workspace/Sources/NavigationTitle/Logging.swift:14:14: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | @available(watchOS, unavailable)
13 | struct NavigationTitleLogging {
14 |   static var isEnabled = false
   |              |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
   |              |- note: annotate 'isEnabled' 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
15 |
16 |   static func log(_ object: @autoclosure () -> Any) {
Build complete! (11.16s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NavigationTitle",
  "name" : "NavigationTitle",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "NavigationTitle",
      "targets" : [
        "NavigationTitle"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NavigationTitleTests",
      "module_type" : "SwiftTarget",
      "name" : "NavigationTitleTests",
      "path" : "Tests/NavigationTitleTests",
      "sources" : [
        "NavigationTitleTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "NavigationTitle"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NavigationTitle",
      "module_type" : "SwiftTarget",
      "name" : "NavigationTitle",
      "path" : "Sources/NavigationTitle",
      "product_memberships" : [
        "NavigationTitle"
      ],
      "sources" : [
        "Logging.swift",
        "NavigationBarFinder.swift",
        "NavigationTitle.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.