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 main (2e72ce), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 00:56:28 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amonshiz/NavigationTitle.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/amonshiz/NavigationTitle
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2e72ce1 indicate deprecated
Cloned https://github.com/amonshiz/NavigationTitle.git
Revision (git rev-parse @):
2e72ce14d9bc9f01e9585ee382191e7d1a0f7a0c
SUCCESS checkout https://github.com/amonshiz/NavigationTitle.git at main
========================================
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
[4/162] Fetching navigationtitle
Fetched https://github.com/amonshiz/NavigationTitle.git from cache (0.92s)
Creating working copy for https://github.com/amonshiz/NavigationTitle.git
Working copy of https://github.com/amonshiz/NavigationTitle.git resolved at main (2e72ce1)
warning: '.resolve-product-dependencies': dependency 'navigationtitle' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/amonshiz/NavigationTitle.git
https://github.com/amonshiz/NavigationTitle.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/6] Compiling NavigationTitle NavigationBarFinder.swift
[4/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: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |   static func log(_ object: @autoclosure () -> Any) {
[5/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: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |   static func log(_ object: @autoclosure () -> Any) {
[6/6] Compiling NavigationTitle NavigationTitle.swift
Build complete! (7.15s)
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.