The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MuJoCo, reference main (a37f3b), with Swift 6.3 for Linux on 13 Apr 2026 11:27:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/liuliu/swift-mujoco.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/liuliu/swift-mujoco
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a37f3ba Update to 3.x rules_swift.
Cloned https://github.com/liuliu/swift-mujoco.git
Revision (git rev-parse @):
a37f3ba8e7a245a229c2372cf8eee492800d328a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/liuliu/swift-mujoco.git at main
========================================
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-4609320-2":/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 (1.67s)
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-docc-plugin
[1/2271] Fetching swift-docc-plugin
[2272/8687] Fetching swift-docc-plugin, swift-numerics
Fetched https://github.com/apple/swift-docc-plugin from cache (0.50s)
Fetched https://github.com/apple/swift-numerics from cache (0.50s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.92s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (0.47s)
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.43s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.99s)
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
Creating working copy for https://github.com/liuliu/mujoco.git
Working copy of https://github.com/liuliu/mujoco.git resolved at 7723882b073b2fa009a20a899883d785318d465e
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
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 engine_inverse.c
[3/103] Compiling engine_sensor.c
[4/103] Compiling engine_setconst.c
[5/103] Write sources
[6/103] Compiling engine_forward.c
[7/103] Compiling engine_util_sparse.c
[8/103] Compiling qhull userprintf_rbox_r.c
[9/103] Compiling engine_solver.c
[10/103] Compiling qhull userprintf_r.c
[11/103] Compiling qhull usermem_r.c
[12/103] Compiling qhull random_r.c
[13/103] Compiling qhull user_r.c
[14/103] Write swift-version-24593BA9C3E375BF.txt
[15/103] Compiling qhull rboxlib_r.c
[16/103] Compiling qhull qset_r.c
[17/103] Compiling qhull stat_r.c
[18/103] Compiling qhull libqhull_r.c
[19/103] Compiling tinyxml2 tinyxml2.cpp
[20/103] Compiling qhull poly_r.c
[21/103] Compiling qhull mem_r.c
[22/103] Compiling qhull merge_r.c
[23/103] Compiling qhull poly2_r.c
[24/103] Write sources
[25/103] Compiling qhull accessors_r.c
[26/103] Compiling engine_io.c
[27/103] Compiling qhull geom_r.c
[28/103] Compiling qhull global_r.c
[29/103] Compiling ccd support.c
[30/103] Compiling ccd vec3.c
[30/103] Compiling qhull geom2_r.c
[32/103] Compiling ccd mpr.c
[33/103] Compiling ccd polytope.c
[34/103] Compiling _NumericsShims _NumericsShims.c
[35/103] Compiling qhull io_r.c
[36/103] Compiling ccd ccd.c
[37/103] Write sources
[43/103] Compiling xml_numeric_format.cc
[44/116] Compiling lodepng lodepng.cpp
[45/116] Compiling xml_base.cc
[46/116] Compiling xml_util.cc
[47/116] Compiling xml_urdf.cc
[48/116] Compiling xml_native_writer.cc
[49/116] Compiling xml_api.cc
[50/116] Compiling user_util.cc
[51/116] Compiling xml.cc
[52/116] Compiling xml_native_reader.cc
[53/116] Compiling render_util.c
[54/116] Compiling ui_main.c
[55/116] Compiling render_gl3.c
[56/116] Compiling render_gl2.c
[57/116] Compiling loader.cc
[58/116] Compiling glad.c
[59/116] Compiling engine_vis_visualize.c
[60/116] Compiling user_objects.cc
[61/116] Compiling engine_vis_interact.c
[62/116] Compiling engine_vis_init.c
[62/116] Compiling render_context.c
[64/116] Compiling engine_vfs.c
[65/116] Compiling engine_util_spatial.c
[66/116] Compiling engine_util_solve.c
[67/116] Compiling engine_util_misc.c
[68/116] Compiling engine_util_errmem.c
[69/116] Compiling engine_util_blas.c
[70/116] Compiling engine_ray.c
[71/116] Compiling user_composite.cc
[72/116] Compiling engine_support.c
[73/116] Compiling engine_file.c
[75/116] Emitting module RealModule
[76/117] Compiling RealModule AlgebraicField.swift
[77/117] Compiling RealModule ApproximateEquality.swift
[78/117] Compiling RealModule RealFunctions.swift
[79/117] Compiling RealModule Real.swift
[80/117] Compiling RealModule AugmentedArithmetic.swift
[81/117] Compiling RealModule Double+Real.swift
[81/117] Compiling user_model.cc
[83/117] Compiling RealModule ElementaryFunctions.swift
[84/117] Compiling RealModule Float+Real.swift
[85/117] Compiling RealModule RelaxedArithmetic.swift
[86/117] Compiling RealModule Float80+Real.swift
[87/117] Compiling RealModule Float16+Real.swift
[87/118] Compiling engine_core_smooth.c
[88/118] Compiling engine_derivative.c
[90/118] Compiling engine_collision_driver.c
[91/118] Compiling engine_core_constraint.c
[92/118] Compiling engine_collision_primitive.c
[93/127] Wrapping AST for RealModule for debugging
[94/129] Compiling engine_collision_box.c
[95/129] Compiling engine_callback.c
[96/129] Compiling CShim_mujoco CShim.c
[98/129] Compiling ComplexModule Complex+StringConvertible.swift
[98/129] Compiling engine_collision_convex.c
[100/130] Compiling ComplexModule Complex+Numeric.swift
[101/130] Compiling ComplexModule Complex+Hashable.swift
[102/130] Compiling ComplexModule Complex+IntegerLiteral.swift
[102/130] Compiling engine_plugin.cc
[104/130] Compiling ComplexModule Scale.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.
[104/130] Compiling user_mesh.cc
[105/130] Emitting module ComplexModule
[106/130] Compiling ComplexModule Polar.swift
[107/130] Compiling ComplexModule Complex.swift
[108/130] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[109/130] Compiling ComplexModule Complex+AlgebraicField.swift
[109/130] Compiling engine_print.c
[110/130] Emitting module ChangeCases
BUILD FAILURE 6.3 linux