Build Information
Failed to build MuJoCo, reference v2.3.1 (ebfd2d), with Swift 6.3 for Linux on 13 Apr 2026 11:28:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/liuliu/swift-mujoco.git
Reference: v2.3.1
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/liuliu/swift-mujoco
* tag v2.3.1 -> FETCH_HEAD
HEAD is now at ebfd2d1 Update to 2.3.1
Cloned https://github.com/liuliu/swift-mujoco.git
Revision (git rev-parse @):
ebfd2d198baca173239e43af3336cab6b1498042
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/liuliu/swift-mujoco.git at v2.3.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/liuliu/swift-mujoco.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/liuliu/mujoco.git
[1/5625] Fetching mujoco
Fetched https://github.com/liuliu/mujoco.git from cache (2.09s)
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-docc-plugin
[1/2271] Fetching swift-docc-plugin
[433/8687] Fetching swift-docc-plugin, swift-numerics
Fetched https://github.com/apple/swift-docc-plugin from cache (0.60s)
Fetched https://github.com/apple/swift-numerics from cache (0.60s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (2.04s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (0.55s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.98s)
Creating working copy for https://github.com/liuliu/mujoco.git
Working copy of https://github.com/liuliu/mujoco.git resolved at efd310e00b1766b45e234952b60f6a2291cc90b0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
warning: you may be able to install glfw3 using your system-packager:
apt-get install libglfw3-dev
warning: you may be able to install glfw3 using your system-packager:
apt-get install libglfw3-dev
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/103] Compiling CShim_mujoco CShim.c
[3/103] Compiling engine_callback.c
[4/103] Write swift-version-24593BA9C3E375BF.txt
[5/103] Write sources
[6/103] Compiling engine_collision_primitive.c
[7/103] Compiling engine_core_smooth.c
[8/103] Compiling qhull userprintf_rbox_r.c
[9/103] Compiling engine_collision_box.c
[10/103] Compiling engine_collision_convex.c
[11/103] Compiling engine_collision_driver.c
[12/103] Compiling qhull usermem_r.c
[13/103] Compiling qhull userprintf_r.c
[14/103] Compiling qhull random_r.c
[15/103] Compiling qhull user_r.c
[16/103] Compiling qhull qset_r.c
[17/103] Compiling qhull rboxlib_r.c
[18/103] Compiling engine_core_constraint.c
[19/103] Compiling qhull stat_r.c
[20/103] Compiling qhull mem_r.c
[21/103] Compiling qhull geom_r.c
[22/103] Compiling qhull libqhull_r.c
[22/103] Compiling qhull poly_r.c
[24/103] Compiling qhull global_r.c
[25/103] Compiling qhull poly2_r.c
[26/103] Compiling tinyxml2 tinyxml2.cpp
[27/103] Compiling qhull merge_r.c
[28/103] Compiling qhull accessors_r.c
[29/103] Compiling qhull io_r.c
[30/103] Compiling ccd support.c
[31/103] Compiling _NumericsShims _NumericsShims.c
[32/103] Write sources
[35/103] Compiling ccd vec3.c
[36/103] Write sources
[38/103] Compiling ccd polytope.c
[39/103] Write sources
[41/103] Compiling ccd mpr.c
[42/103] Compiling qhull geom2_r.c
[43/111] Compiling xml_numeric_format.cc
[44/114] Compiling ccd ccd.c
[45/116] Compiling lodepng lodepng.cpp
[46/116] Compiling xml_base.cc
[47/116] Compiling xml_urdf.cc
[48/116] Compiling xml_util.cc
[49/116] Compiling user_util.cc
[50/116] Compiling xml_native_writer.cc
[51/116] Compiling xml_api.cc
[52/116] Compiling xml_native_reader.cc
[53/116] Compiling xml.cc
[54/116] Compiling ui_main.c
[55/116] Compiling render_util.c
[56/116] Compiling render_gl3.c
[57/116] Compiling render_gl2.c
[58/116] Compiling loader.cc
[59/116] Compiling glad.c
[60/116] Compiling engine_vis_visualize.c
[61/116] Compiling render_context.c
[62/116] Compiling engine_vis_interact.c
[63/116] Compiling engine_vfs.c
[64/116] Compiling engine_vis_init.c
[65/116] Compiling engine_util_spatial.c
[66/116] Compiling engine_util_solve.c
[67/116] Compiling engine_util_sparse.c
[68/116] Compiling user_objects.cc
[69/116] Compiling engine_util_errmem.c
[70/116] Compiling engine_util_misc.c
[71/116] Compiling engine_util_blas.c
[72/116] Compiling engine_support.c
[73/116] Compiling engine_setconst.c
[74/116] Compiling engine_solver.c
[76/116] Compiling RealModule Float16+Real.swift
[77/116] Compiling RealModule Real.swift
[77/117] Compiling engine_ray.c
[79/117] Compiling RealModule RelaxedArithmetic.swift
[79/117] Compiling engine_sensor.c
[80/117] Compiling user_model.cc
[81/117] Compiling user_composite.cc
[83/117] Compiling RealModule RealFunctions.swift
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:46:1: error: import of C++ module 'qhull' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
46 | #include "qhull_ra.h"
| ^
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:45:1: note: extern "C" language linkage specification begins here
45 | extern "C" {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:46:
/host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/qhull_ra.h:28:1: error: import of C++ module 'qhull' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
28 | #include "libqhull_r.h" /* Includes user_r.h and data types */
| ^
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:45:1: note: extern "C" language linkage specification begins here
45 | extern "C" {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:46:
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/qhull_ra.h:28:
/host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/libqhull_r.h:29:1: error: import of C++ module 'qhull' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
29 | #include "user_r.h" /* user definable constants (e.g., realT). */
| ^
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:45:1: note: extern "C" language linkage specification begins here
45 | extern "C" {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:46:
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/qhull_ra.h:28:
/host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/libqhull_r.h:31:1: error: import of C++ module 'qhull' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
31 | #include "mem_r.h" /* Needed for qhT in libqhull_r.h */
| ^
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:45:1: note: extern "C" language linkage specification begins here
45 | extern "C" {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:46:
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/qhull_ra.h:28:
/host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/libqhull_r.h:32:1: error: import of C++ module 'qhull' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
32 | #include "qset_r.h" /* Needed for QHULL_LIB_CHECK */
| ^
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:45:1: note: extern "C" language linkage specification begins here
45 | extern "C" {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:46:
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/qhull_ra.h:28:
/host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/libqhull_r.h:122:1: error: import of C++ module 'qhull' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
122 | #include "stat_r.h" /* needs boolT */
| ^
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:45:1: note: extern "C" language linkage specification begins here
45 | extern "C" {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:46:
/host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/qhull_ra.h:30:1: error: import of C++ module 'qhull' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
30 | #include "stat_r.h"
| ^
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:45:1: note: extern "C" language linkage specification begins here
45 | extern "C" {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:46:
/host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/qhull_ra.h:31:1: error: import of C++ module 'qhull' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
31 | #include "random_r.h"
| ^
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:45:1: note: extern "C" language linkage specification begins here
45 | extern "C" {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:46:
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/qhull_ra.h:31:
/host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/random_r.h:17:1: error: import of C++ module 'qhull' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
17 | #include "libqhull_r.h"
| ^
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:45:1: note: extern "C" language linkage specification begins here
45 | extern "C" {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:46:
/host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/qhull_ra.h:32:1: error: import of C++ module 'qhull' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
32 | #include "mem_r.h"
| ^
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:45:1: note: extern "C" language linkage specification begins here
45 | extern "C" {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:46:
/host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/qhull_ra.h:33:1: error: import of C++ module 'qhull' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
33 | #include "qset_r.h"
| ^
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:45:1: note: extern "C" language linkage specification begins here
45 | extern "C" {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:46:
/host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/qhull_ra.h:34:1: error: import of C++ module 'qhull' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
34 | #include "geom_r.h"
| ^
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:45:1: note: extern "C" language linkage specification begins here
45 | extern "C" {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:46:
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/qhull_ra.h:34:
/host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/geom_r.h:17:1: error: import of C++ module 'qhull' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
17 | #include "libqhull_r.h"
| ^
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:45:1: note: extern "C" language linkage specification begins here
45 | extern "C" {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:46:
/host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/qhull_ra.h:35:1: error: import of C++ module 'qhull' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
35 | #include "merge_r.h"
| ^
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:45:1: note: extern "C" language linkage specification begins here
45 | extern "C" {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:46:
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/qhull_ra.h:35:
/host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/merge_r.h:17:1: error: import of C++ module 'qhull' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
17 | #include "libqhull_r.h"
| ^
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:45:1: note: extern "C" language linkage specification begins here
45 | extern "C" {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:46:
/host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/qhull_ra.h:36:1: error: import of C++ module 'qhull' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
36 | #include "poly_r.h"
| ^
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:45:1: note: extern "C" language linkage specification begins here
45 | extern "C" {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:46:
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/qhull_ra.h:36:
/host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/poly_r.h:17:1: error: import of C++ module 'qhull' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
17 | #include "libqhull_r.h"
| ^
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:45:1: note: extern "C" language linkage specification begins here
45 | extern "C" {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:46:
/host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/qhull_ra.h:37:1: error: import of C++ module 'qhull' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
37 | #include "io_r.h"
| ^
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:45:1: note: extern "C" language linkage specification begins here
45 | extern "C" {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:46:
In file included from /host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/qhull_ra.h:37:
/host/spi-builder-workspace/.build/checkouts/mujoco/external/qhull/src/libqhull_r/io_r.h:17:1: error: import of C++ module 'qhull' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
17 | #include "libqhull_r.h"
| ^
/host/spi-builder-workspace/.build/checkouts/mujoco/src/user/user_mesh.cc:45:1: note: extern "C" language linkage specification begins here
45 | extern "C" {
| ^
19 errors generated.
[83/117] Compiling user_mesh.cc
[83/117] Compiling engine_plugin.cc
[83/117] Compiling engine_print.c
[83/117] Compiling engine_inverse.c
[83/117] Compiling engine_io.c
[83/117] Compiling engine_forward.c
BUILD FAILURE 6.3 linux