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 Scotty, reference main (41480d), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 11:32:38 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/BottleRocketStudios/iOS-Scotty.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BottleRocketStudios/iOS-Scotty
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 41480d2 Merge pull request #43 from BottleRocketStudios/feature/issue_42
Cloned https://github.com/BottleRocketStudios/iOS-Scotty.git
Revision (git rev-parse @):
41480d22f73011c29ab89b8fb51089a1851aa215
SUCCESS checkout https://github.com/BottleRocketStudios/iOS-Scotty.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": "ios-scotty",
      "name": "Scotty",
      "url": "https://github.com/BottleRocketStudios/iOS-Scotty.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/iOS-Scotty",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/BottleRocketStudios/iOS-Scotty.git
[1/917] Fetching ios-scotty
Fetched https://github.com/BottleRocketStudios/iOS-Scotty.git from cache (0.93s)
Creating working copy for https://github.com/BottleRocketStudios/iOS-Scotty.git
Working copy of https://github.com/BottleRocketStudios/iOS-Scotty.git resolved at main (41480d2)
warning: '.resolve-product-dependencies': dependency 'ios-scotty' 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/BottleRocketStudios/iOS-Scotty.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/7] Compiling Scotty RouteIdentifier.swift
[4/7] Compiling Scotty Route.swift
[5/7] Compiling Scotty RouteRespondable.swift
[6/7] Compiling Scotty RouteController.swift
/Users/admin/builder/spi-builder-workspace/Sources/RouteController.swift:15:31: warning: generic parameter 'Root' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 10 | /// The RouteController object handles the execution of routes as entry points into your application.
 11 | /// The route controller is generic over its root, meaning that it will only accept routes that begin in the same root type as it was created with.
 12 | open class RouteController<Root>: NSObject {
    |                            `- note: 'Root' previously declared here
 13 |
 14 |     // MARK: - RouteController.StoredRoute
 15 |     public struct StoredRoute<Root> {
    |                               `- warning: generic parameter 'Root' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 16 |         public let route: Route<Root>
 17 |         public let options: [AnyHashable: Any]?
[7/7] Emitting module Scotty
/Users/admin/builder/spi-builder-workspace/Sources/RouteController.swift:15:31: warning: generic parameter 'Root' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 10 | /// The RouteController object handles the execution of routes as entry points into your application.
 11 | /// The route controller is generic over its root, meaning that it will only accept routes that begin in the same root type as it was created with.
 12 | open class RouteController<Root>: NSObject {
    |                            `- note: 'Root' previously declared here
 13 |
 14 |     // MARK: - RouteController.StoredRoute
 15 |     public struct StoredRoute<Root> {
    |                               `- warning: generic parameter 'Root' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 16 |         public let route: Route<Root>
 17 |         public let options: [AnyHashable: Any]?
Build complete! (7.35s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Scotty",
  "name" : "Scotty",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "Scotty",
      "targets" : [
        "Scotty"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ScottyTests",
      "module_type" : "SwiftTarget",
      "name" : "ScottyTests",
      "path" : "Tests",
      "sources" : [
        "Tests.swift"
      ],
      "target_dependencies" : [
        "Scotty"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Scotty",
      "module_type" : "SwiftTarget",
      "name" : "Scotty",
      "path" : "Sources",
      "product_memberships" : [
        "Scotty"
      ],
      "sources" : [
        "Route.swift",
        "RouteController.swift",
        "RouteIdentifier.swift",
        "RouteRespondable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.