The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MuJoCo with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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: $workDir/.spi.yml
SUCCESS checkout https://github.com/liuliu/swift-mujoco.git at v2.3.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/liuliu/swift-mujoco.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/liuliu/mujoco.git
[1/5625] Fetching mujoco
Fetched https://github.com/liuliu/mujoco.git from cache (1.58s)
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-docc-plugin
[1/1457] Fetching swift-docc-plugin
[1342/6734] Fetching swift-docc-plugin, swift-numerics
Fetched https://github.com/apple/swift-docc-plugin from cache (0.37s)
Fetched https://github.com/apple/swift-numerics from cache (0.39s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.40s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.42s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin 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.0.2
Creating working copy for https://github.com/liuliu/mujoco.git
Working copy of https://github.com/liuliu/mujoco.git resolved at efd310e00b1766b45e234952b60f6a2291cc90b0
warning: you may be able to install glfw3 using your system-packager:
    apt-get install libglfw3-dev
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[2/103] Compiling engine_file.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[3/103] Compiling engine_collision_primitive.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[4/103] Compiling engine_forward.c
[5/103] Write sources
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[6/103] Compiling engine_collision_box.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[7/103] Compiling engine_collision_convex.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[8/103] Compiling engine_derivative.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[9/103] Compiling engine_core_constraint.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[10/103] Compiling engine_core_smooth.c
[11/103] Compiling qhull userprintf_rbox_r.c
[12/103] Compiling qhull usermem_r.c
[13/103] Compiling qhull userprintf_r.c
[14/103] Compiling qhull random_r.c
[15/103] Write swift-version-24593BA9C3E375BF.txt
[16/103] Compiling qhull user_r.c
[17/103] Compiling qhull rboxlib_r.c
[18/103] Compiling qhull qset_r.c
[19/103] Compiling qhull stat_r.c
[20/103] Compiling qhull poly_r.c
[21/103] Compiling qhull mem_r.c
[22/103] Compiling tinyxml2 tinyxml2.cpp
[23/103] Compiling qhull libqhull_r.c
[24/103] Compiling qhull accessors_r.c
[25/103] Write sources
[26/103] Compiling qhull geom_r.c
[27/103] Compiling qhull global_r.c
[28/103] Compiling qhull poly2_r.c
[29/103] Compiling qhull geom2_r.c
[30/103] Compiling ccd support.c
[31/103] Compiling ccd vec3.c
[32/103] Write sources
[38/103] Compiling qhull merge_r.c
[39/103] Compiling _NumericsShims _NumericsShims.c
[39/103] Compiling qhull io_r.c
[41/103] Compiling ccd polytope.c
[42/103] Compiling ccd mpr.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[43/103] Compiling xml_numeric_format.cc
[44/105] Compiling ccd ccd.c
[45/115] Compiling lodepng lodepng.cpp
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[46/115] Compiling xml_base.cc
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[47/115] Compiling xml_urdf.cc
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[48/115] Compiling xml_util.cc
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[49/115] Compiling user_util.cc
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[50/115] Compiling xml.cc
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[51/115] Compiling xml_native_writer.cc
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[52/115] Compiling xml_api.cc
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[53/115] Compiling ui_main.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[54/115] Compiling xml_native_reader.cc
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[55/115] Compiling render_util.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[56/115] Compiling render_gl3.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[57/115] Compiling render_gl2.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[58/115] Compiling loader.cc
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[59/115] Compiling glad.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[60/115] Compiling engine_vis_visualize.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[61/115] Compiling engine_vis_interact.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[62/115] Compiling engine_vis_init.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[63/115] Compiling engine_vfs.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[64/115] Compiling render_context.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[65/115] Compiling engine_util_spatial.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[66/115] Compiling engine_util_sparse.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[67/115] Compiling engine_util_solve.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[68/115] Compiling engine_util_misc.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[69/115] Compiling engine_util_errmem.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[70/115] Compiling user_objects.cc
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[71/115] Compiling user_composite.cc
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[72/115] Compiling engine_util_blas.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[73/115] Compiling engine_support.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[74/115] Compiling engine_sensor.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[75/115] Compiling engine_setconst.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[76/115] Compiling engine_solver.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[77/115] Compiling engine_ray.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[78/115] Compiling user_model.cc
[80/115] Emitting module RealModule
[81/115] Compiling RealModule AugmentedArithmetic.swift
[82/115] Compiling RealModule Double+Real.swift
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[82/116] Compiling engine_inverse.c
[84/116] Compiling RealModule ElementaryFunctions.swift
[85/116] Compiling RealModule Float+Real.swift
[86/116] Compiling RealModule AlgebraicField.swift
[87/116] Compiling RealModule ApproximateEquality.swift
[88/116] Compiling RealModule Float80+Real.swift
[89/116] Compiling RealModule Real.swift
[90/116] Compiling RealModule Float16+Real.swift
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[90/116] Compiling engine_collision_driver.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[91/116] Compiling engine_callback.c
[93/116] Compiling RealModule RealFunctions.swift
[94/117] Compiling CShim_mujoco CShim.c
[95/117] Wrapping AST for RealModule for debugging
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[96/117] Compiling engine_io.c
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[97/117] Compiling engine_plugin.cc
[99/122] Compiling ComplexModule Arithmetic.swift
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[99/122] Compiling user_mesh.cc
[101/122] Compiling ComplexModule Complex.swift
[102/122] Emitting module ComplexModule
[103/122] Compiling ComplexModule ElementaryFunctions.swift
[104/122] Emitting module ChangeCases
[105/122] Compiling ChangeCases changeCases.swift
[106/123] Wrapping AST for ChangeCases for debugging
[108/128] Compiling MuJoCoCSyntax parseHeaders.swift
[109/128] Compiling MuJoCoCSyntax structExtension.swift
[110/128] Compiling MuJoCoCSyntax enumDecl.swift
[111/128] Emitting module MuJoCoCSyntax
[112/128] Compiling MuJoCoCSyntax functionExtension.swift
clang: warning: argument unused during compilation: '-fmodules-cache-path=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache' [-Wunused-command-line-argument]
[113/129] Compiling engine_print.c
[114/129] Write Objects.LinkFileList
[115/129] Archiving libC_mujoco.a
[116/129] Wrapping AST for MuJoCoCSyntax for debugging
[118/202] Compiling codegen main.swift
[119/202] Emitting module codegen
[121/203] Compiling ComplexModule Differentiable.swift
[121/204] Wrapping AST for codegen for debugging
[122/204] Write Objects.LinkFileList
[124/204] Wrapping AST for ComplexModule for debugging
[126/206] Compiling Numerics Numerics.swift
[127/206] Emitting module Numerics
[128/207] Linking codegen
[129/207] Wrapping AST for Numerics for debugging
[131/207] Compiling MuJoCo MjuiState+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[132/207] Compiling MuJoCo MjuiState+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[133/207] Compiling MuJoCo MjuiState.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[134/207] Compiling MuJoCo MjuiThemeColor+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[135/207] Compiling MuJoCo MjuiThemeColor.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[136/207] Compiling MuJoCo MjuiThemeSpacing+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[137/207] Compiling MuJoCo MjuiThemeSpacing.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[138/207] Compiling MuJoCo MjvCamera+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[139/207] Compiling MuJoCo MjvCamera+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[140/207] Compiling MuJoCo MjvCamera.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[141/207] Compiling MuJoCo MjLROpt.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[142/207] Compiling MuJoCo MjModel+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[143/207] Compiling MuJoCo MjModel+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[144/207] Compiling MuJoCo MjModel.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[145/207] Compiling MuJoCo MjObject+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[146/207] Compiling MuJoCo MjObject.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[147/207] Compiling MuJoCo MjOption+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[148/207] Compiling MuJoCo MjOption.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[149/207] Compiling MuJoCo MjSolverStat.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[150/207] Compiling MuJoCo MjStatistic.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[151/207] Compiling MuJoCo MjvFigure+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[152/207] Compiling MuJoCo MjvFigure.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[153/207] Compiling MuJoCo MjvGLCamera+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[154/207] Compiling MuJoCo MjvGLCamera+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[155/207] Compiling MuJoCo MjvGLCamera.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[156/207] Compiling MuJoCo MjvGeom+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[157/207] Compiling MuJoCo MjvGeom+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[158/207] Compiling MuJoCo MjvGeom.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[159/207] Compiling MuJoCo MjvLight.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[160/207] Compiling MuJoCo MjvOption+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[161/216] Compiling MuJoCo GLContext.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[162/216] Compiling MuJoCo Mj+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[163/216] Compiling MuJoCo Mj.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[164/216] Compiling MuJoCo MjArray.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[165/216] Compiling MuJoCo MjContact+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[166/216] Compiling MuJoCo MjContact.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[167/216] Compiling MuJoCo MjData+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[168/216] Compiling MuJoCo MjData+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[169/216] Compiling MuJoCo MjData.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[170/216] Compiling MuJoCo MjLROpt+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[171/216] Compiling MuJoCo MjrContext+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[172/216] Compiling MuJoCo MjrContext.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[173/216] Compiling MuJoCo MjrRect.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[174/216] Compiling MuJoCo Mjt.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[175/216] Compiling MuJoCo MjuiDef+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[176/216] Compiling MuJoCo MjuiDef.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[177/216] Compiling MuJoCo MjuiDefObjectMapper.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[178/216] Compiling MuJoCo MjuiDefState.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[179/216] Compiling MuJoCo MjuiItem+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[180/216] Compiling MuJoCo MjuiItem.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[181/216] Compiling MuJoCo MjuiItemEdit+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[182/216] Compiling MuJoCo MjuiItemEdit.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[183/216] Compiling MuJoCo MjuiItemMulti+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[184/216] Compiling MuJoCo MjuiItemMulti.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[185/216] Compiling MuJoCo MjuiItemSingle+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[186/216] Compiling MuJoCo MjuiItemSingle.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[187/216] Compiling MuJoCo MjuiItemSlider+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[188/216] Compiling MuJoCo MjuiItemSlider.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[189/216] Compiling MuJoCo MjuiSection+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[190/216] Compiling MuJoCo MjuiSection.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[191/216] Compiling MuJoCo MjvOption.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[192/216] Compiling MuJoCo MjvPerturb+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[193/216] Compiling MuJoCo MjvPerturb+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[194/216] Compiling MuJoCo MjvPerturb.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[195/216] Compiling MuJoCo MjvScene+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[196/216] Compiling MuJoCo MjvScene+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[197/216] Compiling MuJoCo MjvScene.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[198/216] Compiling MuJoCo OSShim.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[199/216] Compiling MuJoCo Simulate.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[200/216] Compiling MuJoCo MjTimerStat.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[201/216] Compiling MuJoCo MjUI+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[202/216] Compiling MuJoCo MjUI+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[203/216] Compiling MuJoCo MjUI.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[204/216] Compiling MuJoCo MjVFS.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[205/216] Compiling MuJoCo MjVisual+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[206/216] Compiling MuJoCo MjVisual.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[207/216] Compiling MuJoCo MjWarningStat.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[208/216] Compiling MuJoCo Mjcb.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[209/216] Compiling MuJoCo MjrContext+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[210/216] Emitting module MuJoCo
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
error: fatalError
warning: you may be able to install glfw3 using your system-packager:
    apt-get install libglfw3-dev
[0/1] Planning build
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/14] Write swift-version-24593BA9C3E375BF.txt
[4/80] Compiling MuJoCo MjuiItemEdit+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[5/80] Compiling MuJoCo MjuiItemEdit.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[6/80] Compiling MuJoCo MjuiItemMulti+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[7/80] Compiling MuJoCo MjuiItemMulti.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[8/80] Compiling MuJoCo MjuiItemSingle+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[9/80] Compiling MuJoCo MjuiItemSingle.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[10/80] Compiling MuJoCo MjuiItemSlider+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[11/80] Compiling MuJoCo MjuiItemSlider.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[12/80] Compiling MuJoCo MjuiSection+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[13/80] Compiling MuJoCo MjuiSection.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[14/89] Compiling MuJoCo MjvOption.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[15/89] Compiling MuJoCo MjvPerturb+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[16/89] Compiling MuJoCo MjvPerturb+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[17/89] Compiling MuJoCo MjvPerturb.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[18/89] Compiling MuJoCo MjvScene+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[19/89] Compiling MuJoCo MjvScene+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[20/89] Compiling MuJoCo MjvScene.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[21/89] Compiling MuJoCo OSShim.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[22/89] Compiling MuJoCo Simulate.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[23/89] Compiling MuJoCo MjvFigure+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[24/89] Compiling MuJoCo MjvFigure.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[25/89] Compiling MuJoCo MjvGLCamera+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[26/89] Compiling MuJoCo MjvGLCamera+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[27/89] Compiling MuJoCo MjvGLCamera.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[28/89] Compiling MuJoCo MjvGeom+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[29/89] Compiling MuJoCo MjvGeom+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[30/89] Compiling MuJoCo MjvGeom.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[31/89] Compiling MuJoCo MjvLight.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[32/89] Compiling MuJoCo MjvOption+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[33/89] Compiling MuJoCo MjuiState+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[34/89] Compiling MuJoCo MjuiState+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[35/89] Compiling MuJoCo MjuiState.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[36/89] Compiling MuJoCo MjuiThemeColor+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[37/89] Compiling MuJoCo MjuiThemeColor.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[38/89] Compiling MuJoCo MjuiThemeSpacing+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[39/89] Compiling MuJoCo MjuiThemeSpacing.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[40/89] Compiling MuJoCo MjvCamera+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[41/89] Compiling MuJoCo MjvCamera+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[42/89] Compiling MuJoCo MjvCamera.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[43/89] Compiling MuJoCo MjrContext+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[44/89] Compiling MuJoCo MjrContext.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[45/89] Compiling MuJoCo MjrRect.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[46/89] Compiling MuJoCo Mjt.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[47/89] Compiling MuJoCo MjuiDef+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[48/89] Compiling MuJoCo MjuiDef.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[49/89] Compiling MuJoCo MjuiDefObjectMapper.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[50/89] Compiling MuJoCo MjuiDefState.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[51/89] Compiling MuJoCo MjuiItem+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[52/89] Compiling MuJoCo MjuiItem.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[53/89] Compiling MuJoCo MjLROpt.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[54/89] Compiling MuJoCo MjModel+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[55/89] Compiling MuJoCo MjModel+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[56/89] Compiling MuJoCo MjModel.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[57/89] Compiling MuJoCo MjObject+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[58/89] Compiling MuJoCo MjObject.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[59/89] Compiling MuJoCo MjOption+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[60/89] Compiling MuJoCo MjOption.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[61/89] Compiling MuJoCo MjSolverStat.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[62/89] Compiling MuJoCo MjStatistic.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[63/89] Compiling MuJoCo GLContext.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[64/89] Compiling MuJoCo Mj+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[65/89] Compiling MuJoCo Mj.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[66/89] Compiling MuJoCo MjArray.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[67/89] Compiling MuJoCo MjContact+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[68/89] Compiling MuJoCo MjContact.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[69/89] Compiling MuJoCo MjData+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[70/89] Compiling MuJoCo MjData+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[71/89] Compiling MuJoCo MjData.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[72/89] Compiling MuJoCo MjLROpt+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[73/89] Compiling MuJoCo MjTimerStat.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[74/89] Compiling MuJoCo MjUI+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[75/89] Compiling MuJoCo MjUI+Functions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[76/89] Compiling MuJoCo MjUI.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[77/89] Compiling MuJoCo MjVFS.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[78/89] Compiling MuJoCo MjVisual+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[79/89] Compiling MuJoCo MjVisual.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[80/89] Compiling MuJoCo MjWarningStat.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[81/89] Compiling MuJoCo Mjcb.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
[82/89] Compiling MuJoCo MjrContext+Extensions.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[83/89] Emitting module MuJoCo
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glfw.h"
         ^
/host/spi-builder-workspace/Sources/C_glfw/glfw.h:2:10: error: 'GLFW/glfw3.h' file not found
#include <GLFW/glfw3.h>
         ^
/host/spi-builder-workspace/Sources/GLContext.swift:4:10: error: could not build C module 'C_glfw'
  import C_glfw
         ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1