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 ImGui, reference master (dbf41b), with Swift 6.2 (beta) for Linux on 20 Jun 2025 23:32:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/forkercat/SwiftImGui.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/SwiftImGui
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at dbf41bd Remove unused submodule
Submodule path '3rdparty/cimgui': checked out '6a98f4bbedec967d02f3395f319feceec311ecb2'
Submodule path '3rdparty/cimgui/imgui': checked out '64aab8480a5643cec1880af17931963a90a8f990'
Submodule '3rdparty/cimgui' (https://github.com/cimgui/cimgui.git) registered for path '3rdparty/cimgui'
Cloning into '/host/spi-builder-workspace/3rdparty/cimgui'...
Submodule 'imgui' (https://github.com/ocornut/imgui.git) registered for path '3rdparty/cimgui/imgui'
Cloning into '/host/spi-builder-workspace/3rdparty/cimgui/imgui'...
Cloned https://github.com/forkercat/SwiftImGui.git
Revision (git rev-parse @):
dbf41bd66b45c701635e6265340b95e71f958521
SUCCESS checkout https://github.com/forkercat/SwiftImGui.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/forkercat/SwiftImGui.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/18] Write sources
[1/18] Copying definitions.json
[1/18] Write sources
[4/18] Write swift-version-24593BA9C3E375BF.txt
[5/18] Compiling imgui_draw.cpp
[6/18] Compiling imgui_tables.cpp
[7/27] Compiling imgui_demo.cpp
[8/27] Compiling CImGui cimgui.cpp
[9/27] Compiling imgui_widgets.cpp
[10/27] Compiling imgui.cpp
[12/32] Compiling ImGui ImVec+Extensions.swift
/host/spi-builder-workspace/Sources/ImGui/ImVec+Extensions.swift:10:1: warning: extension declares a conformance of imported type 'ImVec1' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
 8 | import CImGui
 9 |
10 | extension ImVec1: Equatable {
   | |- warning: extension declares a conformance of imported type 'ImVec1' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
11 |     public static func == (lhs: ImVec1, rhs: ImVec1) -> Bool {
12 |         lhs.x == rhs.x
/host/spi-builder-workspace/Sources/ImGui/ImVec+Extensions.swift:16:1: warning: extension declares a conformance of imported type 'ImVec2' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
14 | }
15 |
16 | extension ImVec2: Equatable {
   | |- warning: extension declares a conformance of imported type 'ImVec2' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
17 |     public static func == (lhs: ImVec2, rhs: ImVec2) -> Bool {
18 |         lhs.x == rhs.x &&
/host/spi-builder-workspace/Sources/ImGui/ImVec+Extensions.swift:23:1: warning: extension declares a conformance of imported type 'ImVec4' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
21 | }
22 |
23 | extension ImVec4: Equatable {
   | |- warning: extension declares a conformance of imported type 'ImVec4' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     public static func == (lhs: ImVec4, rhs: ImVec4) -> Bool {
25 |         lhs.x == rhs.x &&
[13/32] Compiling ImGui Export.swift
[14/32] Emitting module ImGui
/host/spi-builder-workspace/Sources/ImGui/ImVec+Extensions.swift:10:1: warning: extension declares a conformance of imported type 'ImVec1' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
 8 | import CImGui
 9 |
10 | extension ImVec1: Equatable {
   | |- warning: extension declares a conformance of imported type 'ImVec1' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
11 |     public static func == (lhs: ImVec1, rhs: ImVec1) -> Bool {
12 |         lhs.x == rhs.x
/host/spi-builder-workspace/Sources/ImGui/ImVec+Extensions.swift:16:1: warning: extension declares a conformance of imported type 'ImVec2' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
14 | }
15 |
16 | extension ImVec2: Equatable {
   | |- warning: extension declares a conformance of imported type 'ImVec2' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
17 |     public static func == (lhs: ImVec2, rhs: ImVec2) -> Bool {
18 |         lhs.x == rhs.x &&
/host/spi-builder-workspace/Sources/ImGui/ImVec+Extensions.swift:23:1: warning: extension declares a conformance of imported type 'ImVec4' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
21 | }
22 |
23 | extension ImVec4: Equatable {
   | |- warning: extension declares a conformance of imported type 'ImVec4' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     public static func == (lhs: ImVec4, rhs: ImVec4) -> Bool {
25 |         lhs.x == rhs.x &&
[15/32] Compiling AutoWrapper Exceptions.swift
[16/32] Compiling ImGui Helper.swift
[17/33] Compiling AutoWrapper DataType.swift
[18/33] Compiling ImGui ImGui+Definitions.swift
[20/34] Compiling AutoWrapper FunctionBodyRenderer.swift
[21/34] Compiling AutoWrapper main.swift
[22/34] Compiling AutoWrapper SwiftKeywords.swift
[23/34] 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 = 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 |
[24/34] Emitting module AutoWrapper
[25/34] Compiling AutoWrapper ArgT.swift
[26/34] Compiling AutoWrapper Converter.swift
[27/34] Compiling AutoWrapper resource_bundle_accessor.swift
[28/35] Wrapping AST for ImGui for debugging
[29/37] Wrapping AST for AutoWrapper for debugging
[30/37] Write Objects.LinkFileList
[31/37] Linking AutoWrapper
[33/37] Emitting module DemoMinimal
[34/37] Compiling DemoMinimal main.swift
[35/38] Wrapping AST for DemoMinimal for debugging
[36/38] Write Objects.LinkFileList
error: link command failed with exit code 1 (use -v to see invocation)
Sources/CImGui/./imgui/imgui_internal.h:369: error: undefined reference to 'powf'
Sources/CImGui/./imgui/imgui_internal.h:370: error: undefined reference to 'pow'
Sources/CImGui/./imgui/imgui_internal.h:371: error: undefined reference to 'logf'
Sources/CImGui/./imgui/imgui_internal.h:372: error: undefined reference to 'log'
Sources/CImGui/./imgui/imgui_internal.h:397: error: undefined reference to 'sqrtf'
Sources/CImGui/imgui/imgui.cpp:1839: error: undefined reference to 'fmodf'
Sources/CImGui/imgui/imgui_demo.cpp:430: error: undefined reference to 'fmodf'
Sources/CImGui/imgui/imgui_demo.cpp:7342: error: undefined reference to 'fmodf'
Sources/CImGui/imgui/imgui_demo.cpp:7344: error: undefined reference to 'fmodf'
Sources/CImGui/imgui/imgui_demo.cpp:6071: error: undefined reference to 'floorf'
Sources/CImGui/imgui/imgui_demo.cpp:1203: error: undefined reference to 'cosf'
Sources/CImGui/imgui/imgui_demo.cpp:1203: error: undefined reference to 'sinf'
Sources/CImGui/imgui/imgui_demo.cpp:1576: error: undefined reference to 'cosf'
Sources/CImGui/imgui/imgui_demo.cpp:2891: error: undefined reference to 'sinf'
Sources/CImGui/imgui/imgui_demo.cpp:5781: error: undefined reference to 'sqrtf'
Sources/CImGui/imgui/imgui_demo.cpp:1600: error: undefined reference to 'sinf'
Sources/CImGui/imgui/imgui_draw.cpp:375: error: undefined reference to 'cosf'
Sources/CImGui/imgui/imgui_draw.cpp:375: error: undefined reference to 'sinf'
Sources/CImGui/imgui/imgui_draw.cpp:377: error: undefined reference to 'cosf'
Sources/CImGui/imgui/imgui_draw.cpp:390: error: undefined reference to 'acosf'
Sources/CImGui/imgui/imgui_draw.cpp:390: error: undefined reference to 'ceilf'
Sources/CImGui/imgui/imgui_draw.cpp:556: error: undefined reference to 'acosf'
Sources/CImGui/imgui/imgui_draw.cpp:556: error: undefined reference to 'ceilf'
Sources/CImGui/imgui/imgui_draw.cpp:740: error: undefined reference to 'sqrtf'
Sources/CImGui/imgui/imgui_draw.cpp:933: error: undefined reference to 'sqrtf'
Sources/CImGui/imgui/imgui_draw.cpp:1163: error: undefined reference to 'ceilf'
Sources/CImGui/imgui/imgui_draw.cpp:1184: error: undefined reference to 'ceilf'
Sources/CImGui/imgui/imgui_draw.cpp:3782: error: undefined reference to 'acosf'
Sources/CImGui/imgui/imstb_truetype.h:2640: error: undefined reference to 'floorf'
Sources/CImGui/imgui/imstb_truetype.h:2641: error: undefined reference to 'floorf'
Sources/CImGui/imgui/imstb_truetype.h:4199: error: undefined reference to 'floorf'
Sources/CImGui/imgui/imgui_widgets.cpp:5033: error: undefined reference to 'atan2f'
Sources/CImGui/imgui/imgui_internal.h:369: error: undefined reference to 'powf'
Sources/CImGui/imgui/imgui_internal.h:371: error: undefined reference to 'logf'
Sources/CImGui/imgui/imgui_internal.h:372: error: undefined reference to 'log'
Sources/CImGui/imgui/imgui_internal.h:370: error: undefined reference to 'pow'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[37/38] Linking DemoMinimal
BUILD FAILURE 6.2 linux