The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ImGuizmo, reference master (b94f9e), with Swift 6.1 for Wasm on 29 May 2025 02:17:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.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:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/forkercat/SwiftImGuizmo.git
https://github.com/forkercat/SwiftImGuizmo.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++11",
  "dependencies" : [
    {
      "identity" : "swiftimgui",
      "requirement" : {
        "branch" : [
          "update-1.86-docking"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/forkercat/SwiftImGui.git"
    }
  ],
  "manifest_display_name" : "ImGuizmo",
  "name" : "ImGuizmo",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ImGuizmo",
      "targets" : [
        "ImGuizmo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AutoWrapper",
      "targets" : [
        "AutoWrapper"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ImGuizmo",
      "module_type" : "SwiftTarget",
      "name" : "ImGuizmo",
      "path" : "Sources/ImGuizmo",
      "product_memberships" : [
        "ImGuizmo"
      ],
      "sources" : [
        "Export.swift",
        "Helper.swift",
        "ImGui+Definitions.swift"
      ],
      "target_dependencies" : [
        "CImGuizmo"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CImGuizmo",
      "module_type" : "ClangTarget",
      "name" : "CImGuizmo",
      "path" : "Sources/CImGuizmo",
      "product_dependencies" : [
        "ImGui"
      ],
      "product_memberships" : [
        "ImGuizmo"
      ],
      "sources" : [
        "CImGuizmo.cpp",
        "ImCurveEdit.cpp",
        "ImGradient.cpp",
        "ImGuizmo.cpp",
        "ImSequencer.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AutoWrapper",
      "module_type" : "SwiftTarget",
      "name" : "AutoWrapper",
      "path" : "Sources/AutoWrapper",
      "product_memberships" : [
        "AutoWrapper"
      ],
      "sources" : [
        "ArgT.swift",
        "Converter.swift",
        "DataType.swift",
        "Definitions.swift",
        "Exceptions.swift",
        "FunctionBodyRenderer.swift",
        "SwiftKeywords.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/forkercat/SwiftImGui.git
[1/1614] Fetching swiftimgui
Fetched https://github.com/forkercat/SwiftImGui.git from cache (1.40s)
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_tables.cpp
[4/18] Compiling imgui_draw.cpp
[5/18] Compiling imgui_demo.cpp
[6/18] Compiling CImGui cimgui.cpp
[7/18] Write swift-version-24593BA9C3E375BF.txt
[8/18] Compiling imgui_widgets.cpp
[9/25] Compiling imgui.cpp
[11/31] Compiling AutoWrapper SwiftKeywords.swift
[12/32] 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: add '@MainActor' to make static property 'undeclardTypes' part of global actor 'MainActor'
   |                       `- 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
[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 FunctionBodyRenderer.swift
[15/32] Compiling AutoWrapper DataType.swift
[16/32] Compiling ImGui ImVec+Extensions.swift
[17/32] Emitting module ImGui
[18/32] Compiling ImGui Export.swift
[19/32] Compiling ImGui Helper.swift
[20/32] Compiling ImGui ImGui+Definitions.swift
[22/33] Compiling AutoWrapper ArgT.swift
[23/33] Compiling AutoWrapper Converter.swift
[24/33] Emitting module AutoWrapper
/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: add '@MainActor' to make static property 'undeclardTypes' part of global actor 'MainActor'
   |                       `- 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
/host/spi-builder-workspace/Sources/CImGuizmo/CImGuizmo.cpp:5:10: fatal error: 'CImGui.h' file not found
    5 | #include <CImGui.h>
      |          ^~~~~~~~~~
1 error generated.
[24/33] Compiling CImGuizmo CImGuizmo.cpp
[24/33] Compiling CImGuizmo ImGuizmo.cpp
[24/33] Compiling CImGuizmo ImCurveEdit.cpp
[24/33] Compiling CImGuizmo ImSequencer.cpp
[24/33] Compiling CImGuizmo ImGradient.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/22] Compiling ImGui ImVec+Extensions.swift
[3/22] Compiling AutoWrapper ArgT.swift
[4/23] Compiling AutoWrapper SwiftKeywords.swift
[5/23] Emitting module AutoWrapper
[6/23] Compiling AutoWrapper main.swift
[7/23] Compiling AutoWrapper Exceptions.swift
[8/23] Compiling AutoWrapper FunctionBodyRenderer.swift
[9/23] Compiling AutoWrapper Converter.swift
[10/23] Compiling AutoWrapper DataType.swift
[11/23] 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 |
[12/24] Wrapping AST for AutoWrapper for debugging
[13/24] Write Objects.LinkFileList
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/lib_FoundationCollections.a: archive member '_FoundationCollections.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundation.a: archive member 'Foundation.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationEssentials.a: archive member 'FoundationEssentials.autolink' is neither Wasm object file nor LLVM bitcode
wasm-ld: warning: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/libFoundationInternationalization.a: archive member 'FoundationInternationalization.autolink' is neither Wasm object file nor LLVM bitcode
[14/24] Linking AutoWrapper.wasm
[16/24] Compiling ImGui Helper.swift
[17/24] Compiling ImGui Export.swift
[18/24] Compiling ImGui ImGui+Definitions.swift
[19/24] Emitting module ImGui
/host/spi-builder-workspace/Sources/CImGuizmo/CImGuizmo.cpp:5:10: fatal error: 'CImGui.h' file not found
    5 | #include <CImGui.h>
      |          ^~~~~~~~~~
1 error generated.
[20/25] Compiling CImGuizmo CImGuizmo.cpp
[20/25] Compiling CImGuizmo ImSequencer.cpp
[20/25] Compiling CImGuizmo ImCurveEdit.cpp
[20/25] Compiling CImGuizmo ImGradient.cpp
[20/25] Compiling CImGuizmo ImGuizmo.cpp
BUILD FAILURE 6.1 wasm