Build Information
Successful build of MetaverseVulkanFramework, reference main (13c706
), with Swift 6.0 for Linux on 1 Dec 2024 08:31:28 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wabiverse/MetaverseVulkanFramework.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/wabiverse/MetaverseVulkanFramework.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[1/3] Copying vulkan
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/6] Compiling VkBundle resource_bundle_accessor.swift
[5/6] Emitting module VkBundle
/host/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()
[6/6] Compiling VkBundle VkBundler.swift
/host/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()
/host/spi-builder-workspace/Sources/VkBundle/VkBundler.swift:51:5: warning: code after 'return' will never be executed
49 | #endif
50 |
51 | guard
| `- warning: code after 'return' will never be executed
52 | let vkSdkPath = Bundle.module.path(forResource: "vulkan/1.2.6-rc2/\(osDir)", ofType: nil)
53 | else { return }
Build complete! (13.39s)
Build complete.
{
"c_language_standard" : "gnu17",
"cxx_language_standard" : "c++17",
"dependencies" : [
],
"manifest_display_name" : "MetaverseVulkanFramework",
"name" : "MetaverseVulkanFramework",
"path" : "/host/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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.