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

Failed to build ImGuizmo, reference master (b94f9e), with Swift 6.0 for Linux on 30 Nov 2024 10:51:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/forkercat/SwiftImGuizmo.git
Reference: master
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/forkercat/SwiftImGuizmo
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b94f9e4 Update color
Submodule path '3rdparty/cimguizmo': checked out 'ffb2b8a9be43cfe85aeff97c96cf42d823a28b26'
Submodule path '3rdparty/cimguizmo/ImGuizmo': checked out '87b50ad21a62a72de9d8d7ccc1f4947358794cc0'
Submodule '3rdparty/cimguizmo' (https://github.com/cimgui/cimguizmo.git) registered for path '3rdparty/cimguizmo'
Cloning into '/host/spi-builder-workspace/3rdparty/cimguizmo'...
Submodule 'ImGuizmo' (https://github.com/CedricGuillemet/ImGuizmo) registered for path '3rdparty/cimguizmo/ImGuizmo'
Cloning into '/host/spi-builder-workspace/3rdparty/cimguizmo/ImGuizmo'...
Cloned https://github.com/forkercat/SwiftImGuizmo.git
Revision (git rev-parse @):
b94f9e4c84f5f0769ba721dac6842e37074f81f9
SUCCESS checkout https://github.com/forkercat/SwiftImGuizmo.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/forkercat/SwiftImGuizmo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Fetching https://github.com/forkercat/SwiftImGui.git
[1/1614] Fetching swiftimgui
Fetched https://github.com/forkercat/SwiftImGui.git from cache (0.89s)
Creating working copy for https://github.com/forkercat/SwiftImGui.git
Working copy of https://github.com/forkercat/SwiftImGui.git resolved at update-1.86-docking (ab27207)
Building for debugging...
[0/18] Write sources
[3/18] Compiling imgui_demo.cpp
[4/18] Compiling imgui_tables.cpp
[5/18] Compiling imgui_draw.cpp
[6/18] Write swift-version-24593BA9C3E375BF.txt
[6/18] Compiling CImGui cimgui.cpp
[8/25] Compiling imgui_widgets.cpp
[9/26] Compiling imgui.cpp
[11/31] Compiling AutoWrapper Exceptions.swift
/host/spi-builder-workspace/Sources/AutoWrapper/Exceptions.swift:17:23: warning: static property 'undeclardTypes' is not concurrency-safe because non-'Sendable' type '[String : Declaration]' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |     /// causes "Use of undeclared type '...'" compiler error.
17 |     public static let undeclardTypes: [String: Declaration] = [:]
   |                       |- warning: static property 'undeclardTypes' is not concurrency-safe because non-'Sendable' type '[String : Declaration]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'undeclardTypes' 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 |     public static let stripPrefix: Set<String> = [
   :
22 | }
23 |
24 | public struct Declaration {
   |               `- note: consider making struct 'Declaration' conform to the 'Sendable' protocol
25 |     public let name: String
26 |     public let typealiasType: String
[12/32] Compiling AutoWrapper FunctionBodyRenderer.swift
[13/32] Compiling AutoWrapper Definitions.swift
/host/spi-builder-workspace/Sources/AutoWrapper/Definitions.swift:38:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 36 |     public let argsT: [ArgsT]
 37 |     public let ret: DataType?
 38 |     public let templated: Bool = false
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum without a 'templated' case to silence this warning
    |                `- note: make the property mutable instead
 39 |     public let namespace: String?
 40 |
[14/32] Compiling AutoWrapper DataType.swift
/host/spi-builder-workspace/Sources/AutoWrapper/Exceptions.swift:17:23: warning: static property 'undeclardTypes' is not concurrency-safe because non-'Sendable' type '[String : Declaration]' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |     /// causes "Use of undeclared type '...'" compiler error.
17 |     public static let undeclardTypes: [String: Declaration] = [:]
   |                       |- warning: static property 'undeclardTypes' is not concurrency-safe because non-'Sendable' type '[String : Declaration]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'undeclardTypes' 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 |     public static let stripPrefix: Set<String> = [
   :
22 | }
23 |
24 | public struct Declaration {
   |               `- note: consider making struct 'Declaration' conform to the 'Sendable' protocol
25 |     public let name: String
26 |     public let typealiasType: String
[15/32] Compiling AutoWrapper SwiftKeywords.swift
[16/32] Compiling ImGui Helper.swift
[17/32] Compiling ImGui ImVec+Extensions.swift
[18/32] Compiling ImGui Export.swift
[19/32] Emitting module ImGui
[20/32] Compiling ImGui ImGui+Definitions.swift
/host/spi-builder-workspace/Sources/CImGuizmo/CImGuizmo.cpp:5:10: fatal error: 'CImGui.h' file not found
    5 | #include <CImGui.h>
      |          ^~~~~~~~~~
1 error generated.
[21/33] Compiling CImGuizmo CImGuizmo.cpp
[21/33] Compiling CImGuizmo ImSequencer.cpp
[21/33] Compiling CImGuizmo ImGradient.cpp
[21/33] Compiling CImGuizmo ImCurveEdit.cpp
[21/33] Compiling CImGuizmo ImGuizmo.cpp
BUILD FAILURE 6.0 linux