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, reference 1.0.2 (4b60b1), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 15:16: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 -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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kevinhermawan/AppInfo.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kevinhermawan/AppInfo
 * tag               1.0.2      -> FETCH_HEAD
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 1.0.2
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin.git
[1/2038] Fetching swift-docc-plugin
[246/5226] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.34s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.34s)
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.55s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.59s)
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
========================================
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": "appinfo",
      "name": "AppInfo",
      "url": "https://github.com/kevinhermawan/AppInfo.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AppInfo",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/kevinhermawan/AppInfo.git
[1/48] Fetching appinfo
Fetched https://github.com/kevinhermawan/AppInfo.git from cache (0.71s)
Creating working copy for https://github.com/kevinhermawan/AppInfo.git
Working copy of https://github.com/kevinhermawan/AppInfo.git resolved at 1.0.2 (4b60b10)
warning: '.resolve-product-dependencies': dependency 'appinfo' 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/kevinhermawan/AppInfo.git
{
  "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"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[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--7754E27361AE5C74.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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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! (16.21s)
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.