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 MetaverseVulkanFramework, reference main (13c706), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 02:33:00 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/wabiverse/MetaverseVulkanFramework.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wabiverse/MetaverseVulkanFramework
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 13c7061 Fix VkBundle resources path.
Cloned https://github.com/wabiverse/MetaverseVulkanFramework.git
Revision (git rev-parse @):
13c7061599c61a4959c558d8ec1836e5b32b640b
SUCCESS checkout https://github.com/wabiverse/MetaverseVulkanFramework.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": "metaversevulkanframework",
      "name": "MetaverseVulkanFramework",
      "url": "https://github.com/wabiverse/MetaverseVulkanFramework.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MetaverseVulkanFramework",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/wabiverse/MetaverseVulkanFramework.git
[1/134] Fetching metaversevulkanframework
Fetched https://github.com/wabiverse/MetaverseVulkanFramework.git from cache (1.71s)
Creating working copy for https://github.com/wabiverse/MetaverseVulkanFramework.git
Working copy of https://github.com/wabiverse/MetaverseVulkanFramework.git resolved at main (13c7061)
warning: '.resolve-product-dependencies': dependency 'metaversevulkanframework' 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/wabiverse/MetaverseVulkanFramework.git
https://github.com/wabiverse/MetaverseVulkanFramework.git
{
  "c_language_standard" : "gnu17",
  "cxx_language_standard" : "c++17",
  "dependencies" : [
  ],
  "manifest_display_name" : "MetaverseVulkanFramework",
  "name" : "MetaverseVulkanFramework",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MoltenVK",
      "targets" : [
        "VkBundle",
        "MoltenVK"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VkBundleTests",
      "module_type" : "SwiftTarget",
      "name" : "VkBundleTests",
      "path" : "Tests/VkBundleTests",
      "sources" : [
        "VkBundleTests.swift"
      ],
      "target_dependencies" : [
        "VkBundle"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VkBundle",
      "module_type" : "SwiftTarget",
      "name" : "VkBundle",
      "path" : "Sources/VkBundle",
      "product_memberships" : [
        "MoltenVK"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/VkBundle/Resources/vulkan",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "VkBundler.swift"
      ],
      "target_dependencies" : [
        "MoltenVK"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MoltenVK",
      "module_type" : "BinaryTarget",
      "name" : "MoltenVK",
      "path" : "Frameworks/1.2.6-rc2/apple/MoltenVK.xcframework",
      "product_memberships" : [
        "MoltenVK"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.9"
}
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/4] Copying libMoltenVK.a
[0/4] Write sources
[2/4] Copying vulkan
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/7] Compiling VkBundle VkBundler.swift
/Users/admin/builder/spi-builder-workspace/Sources/VkBundle/VkBundler.swift:28:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | public class VkBundler
27 | {
28 |   public static var shared = VkBundler()
   |                     |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |   private init()
[6/7] Emitting module VkBundle
/Users/admin/builder/spi-builder-workspace/Sources/VkBundle/VkBundler.swift:28:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | public class VkBundler
27 | {
28 |   public static var shared = VkBundler()
   |                     |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 |   private init()
[7/7] Compiling VkBundle resource_bundle_accessor.swift
Build complete! (31.61s)
Build complete.
{
  "c_language_standard" : "gnu17",
  "cxx_language_standard" : "c++17",
  "dependencies" : [
  ],
  "manifest_display_name" : "MetaverseVulkanFramework",
  "name" : "MetaverseVulkanFramework",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MoltenVK",
      "targets" : [
        "VkBundle",
        "MoltenVK"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VkBundleTests",
      "module_type" : "SwiftTarget",
      "name" : "VkBundleTests",
      "path" : "Tests/VkBundleTests",
      "sources" : [
        "VkBundleTests.swift"
      ],
      "target_dependencies" : [
        "VkBundle"
      ],
      "type" : "test"
    },
    {
      "c99name" : "VkBundle",
      "module_type" : "SwiftTarget",
      "name" : "VkBundle",
      "path" : "Sources/VkBundle",
      "product_memberships" : [
        "MoltenVK"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/VkBundle/Resources/vulkan",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "VkBundler.swift"
      ],
      "target_dependencies" : [
        "MoltenVK"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MoltenVK",
      "module_type" : "BinaryTarget",
      "name" : "MoltenVK",
      "path" : "Frameworks/1.2.6-rc2/apple/MoltenVK.xcframework",
      "product_memberships" : [
        "MoltenVK"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.9"
}
Done.