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 v1.26.2 (13c706), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 08:39:32 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/wabiverse/MetaverseVulkanFramework.git
Reference: v1.26.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wabiverse/MetaverseVulkanFramework
 * tag               v1.26.2    -> FETCH_HEAD
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 v1.26.2
========================================
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.88s)
Creating working copy for https://github.com/wabiverse/MetaverseVulkanFramework.git
Working copy of https://github.com/wabiverse/MetaverseVulkanFramework.git resolved at v1.26.2 (13c7061)
warning: '.resolve-product-dependencies': dependency 'metaversevulkanframework' 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/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.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
Building for debugging...
[0/4] Write sources
[1/4] Copying libMoltenVK.a
[2/4] Copying vulkan
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/7] Compiling VkBundle resource_bundle_accessor.swift
[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: annotate 'shared' 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
29 |
30 |   private init()
[7/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: annotate 'shared' 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
29 |
30 |   private init()
Build complete! (71.14s)
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.