It seems to have started failing not due to an emsdk change but something external.
test bazel
+ set -e
++ scripts/get_release_info.py emscripten-releases-tags.json latest
+ VER=6.0.2
++ scripts/get_release_info.py emscripten-releases-tags.json hash 6.0.2
+ HASH=004876f1984e18a9eb0736c5ca417ac86d386fb8
+ FAILMSG='!!! scripts/update_bazel_workspace.py needs to be run !!!'
+ grep 6.0.2 bazel/revisions.bzl
"6.0.2": struct(
sha_linux = "6b95750efacf09cc868ea2c8a3889529704c75acd04c5dcde03293b7aa56b002",
sha_mac = "ee29be60e98ea37446b839dc46049c04a7efce7b60b7737423d36051dbb630b2",
sha_linux_arm64 = "d6e3ab0cdec2e6983235322f600f248d313bfce4a6a69ef16cdfdc330ff748b8",
sha_linux_arm64 = "48e670501d215ac5b6b2680c900c517d9028dbc4de43be5dd6f25211a3640f2b",
sha_linux = "52338cca556002251e5e7d738adb1870d14331ddf463e613af02028b64e05a82",
sha_linux = "2a1cccc2f6db801219eb966d00af78a026af7822055064092387e7eba18e75ad",
sha_win = "e026ea2570e747d0640829c62abddcdc14a4acffe31180110971750b80042d7a",
sha_mac_arm64 = "dbcb76036a09248c2a839872c27b87b6d4ccc81e57add4e2a6f5e560a2c530fc",
sha_mac = "6a03267574534948e3b041e5d3e31bd757751ef17912eb6e90b96a47da03afb6",
+ grep 004876f1984e18a9eb0736c5ca417ac86d386fb8 bazel/revisions.bzl
hash = "004876f1984e18a9eb0736c5ca417ac86d386fb8",
+ grep 6.0.2 bazel/MODULE.bazel
version = "6.0.2",
+ cd bazel
+ bazel build //hello-world:hello-world-wasm
2026/07/13 21:06:27 Downloading https://releases.bazel.build/7.7.1/release/bazel-7.7.1-linux-x86_64...
Downloading: 54 MB out of 54 MB (100%)
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
INFO: Analyzed target //hello-world:hello-world-wasm (131 packages loaded, 11977 targets configured).
INFO: Found 1 target...
Target //hello-world:hello-world-wasm up-to-date:
bazel-bin/hello-world/hello-world-wasm/hello-world.js
bazel-bin/hello-world/hello-world-wasm/hello-world.wasm
bazel-bin/hello-world/hello-world-wasm/hello-world.wasm.map
bazel-bin/hello-world/hello-world-wasm/hello-world.data
bazel-bin/hello-world/hello-world-wasm/hello-world.js.symbols
bazel-bin/hello-world/hello-world-wasm/hello-world.wasm.debug.wasm
bazel-bin/hello-world/hello-world-wasm/hello-world.html
INFO: Elapsed time: 59.738s, Critical Path: 3.53s
INFO: 12 processes: 9 internal, 3 processwrapper-sandbox.
INFO: Build completed successfully, 12 total actions
+ bazel build //hello-world:hello-world-wasm-simd
INFO: Analyzed target //hello-world:hello-world-wasm-simd (2 packages loaded, 6630 targets configured).
INFO: Found 1 target...
Target //hello-world:hello-world-wasm-simd up-to-date:
bazel-bin/hello-world/hello-world-wasm-simd/hello-world-simd.js
bazel-bin/hello-world/hello-world-wasm-simd/hello-world-simd.wasm
bazel-bin/hello-world/hello-world-wasm-simd/hello-world-simd.wasm.map
bazel-bin/hello-world/hello-world-wasm-simd/hello-world-simd.data
bazel-bin/hello-world/hello-world-wasm-simd/hello-world-simd.js.symbols
bazel-bin/hello-world/hello-world-wasm-simd/hello-world-simd.wasm.debug.wasm
bazel-bin/hello-world/hello-world-wasm-simd/hello-world-simd.html
INFO: Elapsed time: 4.805s, Critical Path: 1.28s
INFO: 5 processes: 2 internal, 3 processwrapper-sandbox.
INFO: Build completed successfully, 5 total actions
+ bazel build //hello-world:hello-world-wasm-relaxed-simd
INFO: Analyzed target //hello-world:hello-world-wasm-relaxed-simd (0 packages loaded, 921 targets configured).
INFO: Found 1 target...
Target //hello-world:hello-world-wasm-relaxed-simd up-to-date:
bazel-bin/hello-world/hello-world-wasm-relaxed-simd/hello-world-simd.js
bazel-bin/hello-world/hello-world-wasm-relaxed-simd/hello-world-simd.wasm
bazel-bin/hello-world/hello-world-wasm-relaxed-simd/hello-world-simd.wasm.map
bazel-bin/hello-world/hello-world-wasm-relaxed-simd/hello-world-simd.data
bazel-bin/hello-world/hello-world-wasm-relaxed-simd/hello-world-simd.js.symbols
bazel-bin/hello-world/hello-world-wasm-relaxed-simd/hello-world-simd.wasm.debug.wasm
bazel-bin/hello-world/hello-world-wasm-relaxed-simd/hello-world-simd.html
INFO: Elapsed time: 1.910s, Critical Path: 1.18s
INFO: 5 processes: 2 internal, 3 processwrapper-sandbox.
INFO: Build completed successfully, 5 total actions
+ pushd test_external
~/project/bazel/test_external ~/project/bazel
+ bazel build //:hello-world-wasm
Starting local Bazel server and connecting to it...
INFO: Analyzed target //:hello-world-wasm (131 packages loaded, 12418 targets configured).
INFO: Found 1 target...
Target //:hello-world-wasm up-to-date:
bazel-bin/hello-world.js
bazel-bin/hello-world.wasm
INFO: Elapsed time: 53.287s, Critical Path: 2.50s
INFO: 12 processes: 9 internal, 3 processwrapper-sandbox.
INFO: Build completed successfully, 12 total actions
+ bazel build //long_command_line:long_command_line_wasm
INFO: Analyzed target //long_command_line:long_command_line_wasm (3 packages loaded, 6350 targets configured).
INFO: Found 1 target...
Target //long_command_line:long_command_line_wasm up-to-date:
bazel-bin/long_command_line/long_command_line.js
bazel-bin/long_command_line/long_command_line.wasm
INFO: Elapsed time: 64.320s, Critical Path: 14.46s
INFO: 805 processes: 402 internal, 403 processwrapper-sandbox.
INFO: Build completed successfully, 805 total actions
+ bazel build //:hello-embind-wasm --compilation_mode dbg
WARNING: Build option --compilation_mode has changed, discarding analysis cache (this can be expensive, see https://bazel.build/advanced/performance/iteration-speed).
INFO: Analyzed target //:hello-embind-wasm (1 packages loaded, 12422 targets configured).
INFO: From Linking hello-embind:
tools.filelock:DEBUG: Attempting to acquire lock 131296904636944 on /tmp/emscripten_temp/emscripten.lock
tools.filelock:DEBUG: Lock 131296904636944 acquired on /tmp/emscripten_temp/emscripten.lock
profiler:DEBUG: block "read_ports" took 0.003 seconds
emcc:WARNING: invocation: '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/408/execroot/_main/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/emcc.py' @bazel-out/wasm-dbg-ST-4add39ca84f4/bin/hello-embind-2.params (in /root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/408/execroot/_main)
root:WARNING: read response file bazel-out/wasm-dbg-ST-4add39ca84f4/bin/hello-embind-2.params: ['--sysroot=external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/cache/sysroot', '-fdiagnostics-color', '-fno-strict-aliasing', '-funsigned-char', '-no-canonical-prefixes', '-sPRINTF_LONG_DOUBLE', '--oformat=js', '-g', '-O0', 'bazel-out/wasm-dbg-ST-4add39ca84f4/bin/_objs/hello-embind/hello-embind.o', '--bind', '-sMODULARIZE', '--pre-js', 'hello-embind-interface.js', '--closure=0', '-o', 'bazel-out/wasm-dbg-ST-4add39ca84f4/bin/hello-embind']
profiler:DEBUG: block "parse_arguments" took 0.000 seconds
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/408/execroot/_main/external/rules_nodejs~~node~nodejs_linux_amd64/bin/nodejs/bin/node' --version
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/408/execroot/_main/external/emsdk~~emscripten_deps~emscripten_bin_linux/bin/clang' --version
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/408/execroot/_main/external/emsdk~~emscripten_deps~emscripten_bin_linux/bin/clang' -print-targets
shared:INFO: (Emscripten: Running sanity checks)
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/408/execroot/_main/external/rules_nodejs~~node~nodejs_linux_amd64/bin/nodejs/bin/node' -e 'console.log("hello")'
profiler:DEBUG: block "check_node" took 0.027 seconds
profiler:DEBUG: block "sanity LLVM" took 0.000 seconds
profiler:DEBUG: block "check_sanity" took 0.045 seconds
profiler:DEBUG: block "setup" took 0.000 seconds
profiler:DEBUG: block "ensure_sysroot" took 0.000 seconds
profiler:DEBUG: block "compile inputs" took 0.000 seconds
feature_matrix:DEBUG: cannot use GROWABLE_ARRAYBUFFERS because MIN_CHROME_VERSION is too old: 85
profiler:DEBUG: block "linker_setup" took 0.001 seconds
link:DEBUG: looking for library "embind"
link:DEBUG: Mapping library `embind` to JS libraries: ['libembind.js', 'libemval.js']
profiler:DEBUG: block "calculate linker inputs" took 0.000 seconds
system_libs:DEBUG: including libGL (libGL-getprocaddr.a)
system_libs:DEBUG: including libal (libal.a)
system_libs:DEBUG: including libhtml5 (libhtml5.a)
system_libs:DEBUG: including libprintf_long_double (libprintf_long_double-debug.a)
system_libs:DEBUG: including libstubs (libstubs-debug.a)
system_libs:DEBUG: including libnoexit (libnoexit.a)
system_libs:DEBUG: including libc (libc-debug.a)
system_libs:DEBUG: including libmalloc (libdlmalloc-debug.a)
system_libs:DEBUG: including libclang_rt.builtins (libclang_rt.builtins.a)
system_libs:DEBUG: including libc++ (libc++-debug-noexcept.a)
system_libs:DEBUG: including libc++abi (libc++abi-debug-noexcept.a)
system_libs:DEBUG: including libsockets (libsockets.a)
profiler:DEBUG: block "calculate system libraries" took 0.001 seconds
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-00-settings.json
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/408/execroot/_main/external/rules_nodejs~~node~nodejs_linux_amd64/bin/nodejs/bin/node' '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/tools/compiler.mjs' - --symbols-only
profiler:DEBUG: block "compile_javascript" took 0.218 seconds
profiler:DEBUG: block "JS symbol generation" took 0.218 seconds
link:DEBUG: linking: ['bazel-out/wasm-dbg-ST-4add39ca84f4/bin/_objs/hello-embind/hello-embind.o', '-lembind-rtti', '-L/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/cache/sysroot/lib/wasm32-emscripten', '-L/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/src/lib', '-lGL-getprocaddr', '-lal', '-lhtml5', '-lprintf_long_double-debug', '-lstubs-debug', '-lnoexit', '-lc-debug', '-ldlmalloc-debug', '-lclang_rt.builtins', '-lc++-debug-noexcept', '-lc++abi-debug-noexcept', '-lsockets']
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/408/execroot/_main/external/emsdk~~emscripten_deps~emscripten_bin_linux/bin/wasm-ld' -o bazel-out/wasm-dbg-ST-4add39ca84f4/bin/hello-embind.wasm /tmp/emscripten_temp/tmp8fxcqotqlibemscripten_js_symbols.so -Bstatic --export=emscripten_stack_get_end --export=emscripten_stack_get_free --export=emscripten_stack_get_base --export=emscripten_stack_get_current --export=emscripten_stack_init --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-if-defined=fflush --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --stack-first --table-base=1 bazel-out/wasm-dbg-ST-4add39ca84f4/bin/_objs/hello-embind/hello-embind.o -lembind-rtti '-L/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/cache/sysroot/lib/wasm32-emscripten' '-L/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/src/lib' -lGL-getprocaddr -lal -lhtml5 -lprintf_long_double-debug -lstubs-debug -lnoexit -lc-debug -ldlmalloc-debug -lclang_rt.builtins -lc++-debug-noexcept -lc++abi-debug-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr
profiler:DEBUG: block "link" took 0.054 seconds
link:DEBUG: emscript
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-01-base.wasm
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-02-strip.wasm
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/408/execroot/_main/external/emsdk~~emscripten_deps~emscripten_bin_linux/bin/llvm-objcopy' bazel-out/wasm-dbg-ST-4add39ca84f4/bin/hello-embind.wasm bazel-out/wasm-dbg-ST-4add39ca84f4/bin/hello-embind.wasm '--remove-section=llvm.func_attr.annotate.*' --remove-section=producers
profiler:DEBUG: block "strip_sections" took 0.003 seconds
extract_metadata:DEBUG: no start/stop symbols found for section: em_asm
extract_metadata:DEBUG: no start/stop symbols found for section: em_lib_deps
emscripten:DEBUG: Metadata: {'all_exports': ['memory',
'__wasm_call_ctors',
'__indirect_function_table',
'malloc',
'__getTypeName',
'fflush',
'strerror',
'emscripten_stack_get_end',
'emscripten_stack_get_base',
'free',
'emscripten_stack_init',
'emscripten_stack_get_free',
'_emscripten_stack_restore',
'_emscripten_stack_alloc',
'emscripten_stack_get_current'],
'em_asm_consts': {},
'em_js_func_types': {},
'em_js_funcs': {},
'features': ['--enable-bulk-memory',
'--enable-bulk-memory-opt',
'--enable-call-indirect-overlong',
'--enable-multivalue',
'--enable-mutable-globals',
'--enable-nontrapping-float-to-int',
'--enable-reference-types',
'--enable-sign-ext'],
'function_exports': {'__getTypeName': FuncType(params=[<Type.I32: 127>], returns=[<Type.I32: 127>]),
'__wasm_call_ctors': FuncType(params=[], returns=[]),
'_emscripten_stack_alloc': FuncType(params=[<Type.I32: 127>], returns=[<Type.I32: 127>]),
'_emscripten_stack_restore': FuncType(params=[<Type.I32: 127>], returns=[]),
'emscripten_stack_get_base': FuncType(params=[], returns=[<Type.I32: 127>]),
'emscripten_stack_get_current': FuncType(params=[], returns=[<Type.I32: 127>]),
'emscripten_stack_get_end': FuncType(params=[], returns=[<Type.I32: 127>]),
'emscripten_stack_get_free': FuncType(params=[], returns=[<Type.I32: 127>]),
'emscripten_stack_init': FuncType(params=[], returns=[]),
'fflush': FuncType(params=[<Type.I32: 127>], returns=[<Type.I32: 127>]),
'free': FuncType(params=[<Type.I32: 127>], returns=[]),
'malloc': FuncType(params=[<Type.I32: 127>], returns=[<Type.I32: 127>]),
'strerror': FuncType(params=[<Type.I32: 127>], returns=[<Type.I32: 127>])},
'imports': ['_embind_register_class',
'_embind_register_class_class_function',
'_embind_register_class_constructor',
'_embind_register_void',
'_embind_register_bool',
'_embind_register_integer',
'_embind_register_bigint',
'_embind_register_float',
'_embind_register_std_string',
'_embind_register_std_wstring',
'_embind_register_emval',
'_embind_register_memory_view',
'_abort_js',
'fd_close',
'fd_write',
'fd_seek',
'emscripten_resize_heap'],
'invoke_funcs': [],
'js_deps': [],
'main_reads_params': False,
'other_exports': [(Export(name='memory', kind=<ExternType.MEMORY: 2>, index=0),
None),
(Export(name='__indirect_function_table', kind=<ExternType.TABLE: 1>, index=0),
None)]}
profiler:DEBUG: block "get_metadata" took 0.001 seconds
emscripten:DEBUG: very limited syscalls (fd_close, fd_seek, fd_write) so disabling full filesystem support
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-03-settings.json
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/408/execroot/_main/external/rules_nodejs~~node~nodejs_linux_amd64/bin/nodejs/bin/node' '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/tools/compiler.mjs' -
profiler:DEBUG: block "compile_javascript" took 0.223 seconds
profiler:DEBUG: block "compile_javascript_cached" took 0.223 seconds
emscripten:DEBUG: {"wasmMemory": "memory", "wasmTable": "__indirect_function_table"}
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-04-original.js
profiler:DEBUG: block "emscript" took 0.232 seconds
link:DEBUG: using binaryen
profiler:DEBUG: block "binaryen" took 0.000 seconds
link:DEBUG: Modularizing, creating factory function called `Module`
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-05-settings.json
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/408/execroot/_main/external/rules_nodejs~~node~nodejs_linux_amd64/bin/nodejs/bin/node' '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/tools/preprocessor.mjs' - modularize.js --expand-macros
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-06-modularized.js
root:DEBUG: move: /tmp/emscripten_temp/hello-embind.js.modular.js -> bazel-out/wasm-dbg-ST-4add39ca84f4/bin/hello-embind
link:DEBUG: adding `#!` to JavaScript file: /usr/bin/env node
profiler:DEBUG: block "final emitting" took 0.049 seconds
profiler:DEBUG: block "post link" took 0.281 seconds
profiler:DEBUG: block "main" took 0.609 seconds
not cleaning up temp files since in debug-save mode, see them in /tmp/emscripten_temp
tools.filelock:DEBUG: Attempting to release lock 131296904636944 on /tmp/emscripten_temp/emscripten.lock
tools.filelock:DEBUG: Lock 131296904636944 released on /tmp/emscripten_temp/emscripten.lock
INFO: Found 1 target...
Target //:hello-embind-wasm up-to-date:
bazel-bin/hello-embind-wasm/hello-embind.js
bazel-bin/hello-embind-wasm/hello-embind.wasm
bazel-bin/hello-embind-wasm/hello-embind.wasm.map
bazel-bin/hello-embind-wasm/hello-embind.data
bazel-bin/hello-embind-wasm/hello-embind.js.symbols
bazel-bin/hello-embind-wasm/hello-embind.wasm.debug.wasm
bazel-bin/hello-embind-wasm/hello-embind.html
INFO: Elapsed time: 3.349s, Critical Path: 2.03s
INFO: 5 processes: 2 internal, 3 processwrapper-sandbox.
INFO: Build completed successfully, 5 total actions
+ bazel build //:hello-embind-wasm --compilation_mode opt
WARNING: Build option --compilation_mode has changed, discarding analysis cache (this can be expensive, see https://bazel.build/advanced/performance/iteration-speed).
INFO: Analyzed target //:hello-embind-wasm (0 packages loaded, 12422 targets configured).
INFO: From Linking hello-embind:
tools.filelock:DEBUG: Attempting to acquire lock 125714871610256 on /tmp/emscripten_temp/emscripten.lock
tools.filelock:DEBUG: Lock 125714871610256 acquired on /tmp/emscripten_temp/emscripten.lock
profiler:DEBUG: block "read_ports" took 0.003 seconds
emcc:WARNING: invocation: '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/emcc.py' @bazel-out/wasm-opt-ST-4add39ca84f4/bin/hello-embind-2.params (in /root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main)
root:WARNING: read response file bazel-out/wasm-opt-ST-4add39ca84f4/bin/hello-embind-2.params: ['--sysroot=external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/cache/sysroot', '-fdiagnostics-color', '-fno-strict-aliasing', '-funsigned-char', '-no-canonical-prefixes', '-sPRINTF_LONG_DOUBLE', '--oformat=js', '-O2', 'bazel-out/wasm-opt-ST-4add39ca84f4/bin/_objs/hello-embind/hello-embind.o', '--bind', '-sMODULARIZE', '--pre-js', 'hello-embind-interface.js', '--closure=1', '--closure-args=--externs=./hello-embind-externs.js', '-o', 'bazel-out/wasm-opt-ST-4add39ca84f4/bin/hello-embind']
profiler:DEBUG: block "parse_arguments" took 0.000 seconds
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main/external/rules_nodejs~~node~nodejs_linux_amd64/bin/nodejs/bin/node' --version
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main/external/emsdk~~emscripten_deps~emscripten_bin_linux/bin/clang' --version
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main/external/emsdk~~emscripten_deps~emscripten_bin_linux/bin/clang' -print-targets
shared:INFO: (Emscripten: Running sanity checks)
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main/external/rules_nodejs~~node~nodejs_linux_amd64/bin/nodejs/bin/node' -e 'console.log("hello")'
profiler:DEBUG: block "check_node" took 0.028 seconds
profiler:DEBUG: block "sanity LLVM" took 0.000 seconds
profiler:DEBUG: block "check_sanity" took 0.046 seconds
profiler:DEBUG: block "setup" took 0.000 seconds
profiler:DEBUG: block "ensure_sysroot" took 0.000 seconds
profiler:DEBUG: block "compile inputs" took 0.000 seconds
feature_matrix:DEBUG: cannot use GROWABLE_ARRAYBUFFERS because MIN_CHROME_VERSION is too old: 85
profiler:DEBUG: block "linker_setup" took 0.001 seconds
link:DEBUG: looking for library "embind"
link:DEBUG: Mapping library `embind` to JS libraries: ['libembind.js', 'libemval.js']
profiler:DEBUG: block "calculate linker inputs" took 0.000 seconds
system_libs:DEBUG: including libGL (libGL-getprocaddr.a)
system_libs:DEBUG: including libal (libal.a)
system_libs:DEBUG: including libhtml5 (libhtml5.a)
system_libs:DEBUG: including libprintf_long_double (libprintf_long_double.a)
system_libs:DEBUG: including libstubs (libstubs.a)
system_libs:DEBUG: including libnoexit (libnoexit.a)
system_libs:DEBUG: including libc (libc.a)
system_libs:DEBUG: including libmalloc (libdlmalloc.a)
system_libs:DEBUG: including libclang_rt.builtins (libclang_rt.builtins.a)
system_libs:DEBUG: including libc++ (libc++-noexcept.a)
system_libs:DEBUG: including libc++abi (libc++abi-noexcept.a)
system_libs:DEBUG: including libsockets (libsockets.a)
profiler:DEBUG: block "calculate system libraries" took 0.001 seconds
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-00-settings.json
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main/external/rules_nodejs~~node~nodejs_linux_amd64/bin/nodejs/bin/node' '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/tools/compiler.mjs' - --symbols-only
profiler:DEBUG: block "compile_javascript" took 0.218 seconds
profiler:DEBUG: block "JS symbol generation" took 0.218 seconds
link:DEBUG: linking: ['bazel-out/wasm-opt-ST-4add39ca84f4/bin/_objs/hello-embind/hello-embind.o', '-lembind-rtti', '-L/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/cache/sysroot/lib/wasm32-emscripten', '-L/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/src/lib', '-lGL-getprocaddr', '-lal', '-lhtml5', '-lprintf_long_double', '-lstubs', '-lnoexit', '-lc', '-ldlmalloc', '-lclang_rt.builtins', '-lc++-noexcept', '-lc++abi-noexcept', '-lsockets']
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main/external/emsdk~~emscripten_deps~emscripten_bin_linux/bin/wasm-ld' -o bazel-out/wasm-opt-ST-4add39ca84f4/bin/hello-embind.wasm /tmp/emscripten_temp/tmpqa1tw_32libemscripten_js_symbols.so -Bstatic --strip-debug --export=_emscripten_stack_alloc --export=__getTypeName --export=__wasm_call_ctors --export=emscripten_stack_get_current --export=_emscripten_stack_restore --export-if-defined=__start_em_asm --export-if-defined=__stop_em_asm --export-if-defined=__start_em_lib_deps --export-if-defined=__stop_em_lib_deps --export-if-defined=__start_em_js --export-if-defined=__stop_em_js --export-if-defined=main --export-if-defined=__main_argc_argv --export-table -z stack-size=65536 --no-growable-memory --initial-heap=16777216 --no-entry --no-stack-first --table-base=1 --global-base=1024 bazel-out/wasm-opt-ST-4add39ca84f4/bin/_objs/hello-embind/hello-embind.o -lembind-rtti '-L/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/cache/sysroot/lib/wasm32-emscripten' '-L/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/src/lib' -lGL-getprocaddr -lal -lhtml5 -lprintf_long_double -lstubs -lnoexit -lc -ldlmalloc -lclang_rt.builtins -lc++-noexcept -lc++abi-noexcept -lsockets -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr
profiler:DEBUG: block "link" took 0.064 seconds
link:DEBUG: emscript
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-01-base.wasm
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-02-strip.wasm
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main/external/emsdk~~emscripten_deps~emscripten_bin_linux/bin/llvm-objcopy' bazel-out/wasm-opt-ST-4add39ca84f4/bin/hello-embind.wasm bazel-out/wasm-opt-ST-4add39ca84f4/bin/hello-embind.wasm '--remove-section=llvm.func_attr.annotate.*' --remove-section=producers --remove-section=name '--remove-section=.debug*'
profiler:DEBUG: block "strip_sections" took 0.002 seconds
extract_metadata:DEBUG: no start/stop symbols found for section: em_asm
extract_metadata:DEBUG: no start/stop symbols found for section: em_lib_deps
emscripten:DEBUG: Metadata: {'all_exports': ['memory',
'__wasm_call_ctors',
'__indirect_function_table',
'malloc',
'__getTypeName',
'free',
'_emscripten_stack_restore',
'_emscripten_stack_alloc',
'emscripten_stack_get_current'],
'em_asm_consts': {},
'em_js_func_types': {},
'em_js_funcs': {},
'features': ['--enable-bulk-memory',
'--enable-bulk-memory-opt',
'--enable-call-indirect-overlong',
'--enable-multivalue',
'--enable-mutable-globals',
'--enable-nontrapping-float-to-int',
'--enable-reference-types',
'--enable-sign-ext'],
'function_exports': {'__getTypeName': FuncType(params=[<Type.I32: 127>], returns=[<Type.I32: 127>]),
'__wasm_call_ctors': FuncType(params=[], returns=[]),
'_emscripten_stack_alloc': FuncType(params=[<Type.I32: 127>], returns=[<Type.I32: 127>]),
'_emscripten_stack_restore': FuncType(params=[<Type.I32: 127>], returns=[]),
'emscripten_stack_get_current': FuncType(params=[], returns=[<Type.I32: 127>]),
'free': FuncType(params=[<Type.I32: 127>], returns=[]),
'malloc': FuncType(params=[<Type.I32: 127>], returns=[<Type.I32: 127>])},
'imports': ['_embind_register_class',
'_embind_register_class_constructor',
'_embind_register_class_class_function',
'_embind_register_void',
'_embind_register_bool',
'_embind_register_integer',
'_embind_register_bigint',
'_embind_register_float',
'_embind_register_std_string',
'_embind_register_std_wstring',
'_embind_register_emval',
'_embind_register_memory_view',
'_abort_js',
'emscripten_resize_heap'],
'invoke_funcs': [],
'js_deps': [],
'main_reads_params': False,
'other_exports': [(Export(name='memory', kind=<ExternType.MEMORY: 2>, index=0),
None),
(Export(name='__indirect_function_table', kind=<ExternType.TABLE: 1>, index=0),
None)]}
profiler:DEBUG: block "get_metadata" took 0.001 seconds
emscripten:DEBUG: very limited syscalls () so disabling full filesystem support
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-03-settings.json
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main/external/rules_nodejs~~node~nodejs_linux_amd64/bin/nodejs/bin/node' '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/tools/compiler.mjs' -
profiler:DEBUG: block "compile_javascript" took 0.221 seconds
profiler:DEBUG: block "compile_javascript_cached" took 0.221 seconds
emscripten:DEBUG: {"wasmMemory": "memory", "wasmTable": "__indirect_function_table"}
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-04-original.js
profiler:DEBUG: block "emscript" took 0.228 seconds
link:DEBUG: using binaryen
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main/external/emsdk~~emscripten_deps~emscripten_bin_linux/bin/wasm-opt' --version
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main/external/emsdk~~emscripten_deps~emscripten_bin_linux/bin/wasm-opt' --strip-target-features --post-emscripten -O2 --low-memory-unused --zero-filled-memory --pass-arg=directize-initial-contents-immutable bazel-out/wasm-opt-ST-4add39ca84f4/bin/hello-embind.wasm -o bazel-out/wasm-opt-ST-4add39ca84f4/bin/hello-embind.wasm --mvp-features --enable-bulk-memory --enable-bulk-memory-opt --enable-call-indirect-overlong --enable-multivalue --enable-mutable-globals --enable-nontrapping-float-to-int --enable-reference-types --enable-sign-ext
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-05-wasm-opt.wasm
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-06-byn.wasm
profiler:DEBUG: block "wasm_opt" took 0.041 seconds
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-07-preclean.js
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-08-preclean.wasm
building:DEBUG: running cleanup on shell code: JSDCE
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main/external/rules_nodejs~~node~nodejs_linux_amd64/bin/nodejs/bin/node' '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/tools/acorn-optimizer.mjs' /tmp/emscripten_temp/hello-embind.js JSDCE --closure-friendly -o /tmp/emscripten_temp/hello-embind.jso1.js
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-09-JSDCE.js
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-10-postclean.js
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-11-postclean.wasm
profiler:DEBUG: block "minify_wasm" took 0.203 seconds
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main/external/rules_nodejs~~node~nodejs_linux_amd64/bin/nodejs/bin/node' '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/node_modules/google-closure-compiler/cli.js' --externs=./hello-embind-externs.js --version
utils:DEBUG: executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main/external/rules_nodejs~~node~nodejs_linux_amd64/bin/nodejs/bin/node' '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/node_modules/google-closure-compiler/cli.js' --compilation_level ADVANCED_OPTIMIZATIONS --language_in UNSTABLE --language_out NO_TRANSPILE --emit_use_strict=false --assume_static_inheritance_is_not_used=false --charset=UTF8 --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/src/closure-externs/closure-externs.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/src/closure-externs/modularize-externs.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/src/closure-externs/node-externs.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/fs.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/events.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/child_process.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/zlib.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/querystring.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/vm.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/http.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/readline.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/util.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/tls.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/repl.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/tty.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/domain.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/string_decoder.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/url.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/https.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/core.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/punycode.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/buffer.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/cluster.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/process.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/net.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/dns.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/os.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/dgram.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/path.js' --externs '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/third_party/closure-compiler/node-externs/stream.js' --externs=/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main/hello-embind-externs.js --js /tmp/emscripten_temp/hello-embind.jso1.js --js_output_file tmpo7mjwsaq.cc.js
profiler:DEBUG: block "closure_compiler" took 2.183 seconds
profiler:DEBUG: block "closure_compile" took 2.183 seconds
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-12-closure.js
profiler:DEBUG: block "binaryen" took 2.427 seconds
link:DEBUG: Modularizing, creating factory function called `Module`
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-13-settings.json
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main/external/rules_nodejs~~node~nodejs_linux_amd64/bin/nodejs/bin/node' '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/tools/preprocessor.mjs' - modularize.js --expand-macros
utils:DEBUG: successfully executed '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/sandbox/processwrapper-sandbox/411/execroot/_main/external/rules_nodejs~~node~nodejs_linux_amd64/bin/nodejs/bin/node' '/root/.cache/bazel/_bazel_root/6877377f5308d2e42d693ebf21cac1a9/external/emsdk~~emscripten_deps~emscripten_bin_linux/emscripten/tools/acorn-optimizer.mjs' /tmp/emscripten_temp/tmpwhnbh_gn.js --minify-whitespace -o /tmp/emscripten_temp/tmpwhnbh_gn.jso2.js
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-14---minify-whitespace.js
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-15-modularized.js
building:DEBUG: saving intermediate file /tmp/emscripten_temp/emcc-16-js-mangling.js
root:DEBUG: move: /tmp/emscripten_temp/tmpo7mjwsaq.cc.js.modular.js -> bazel-out/wasm-opt-ST-4add39ca84f4/bin/hello-embind
link:DEBUG: adding `#!` to JavaScript file: /usr/bin/env node
profiler:DEBUG: block "final emitting" took 0.128 seconds
profiler:DEBUG: block "post link" took 2.784 seconds
profiler:DEBUG: block "main" took 3.123 seconds
not cleaning up temp files since in debug-save mode, see them in /tmp/emscripten_temp
tools.filelock:DEBUG: Attempting to release lock 125714871610256 on /tmp/emscripten_temp/emscripten.lock
tools.filelock:DEBUG: Lock 125714871610256 released on /tmp/emscripten_temp/emscripten.lock
INFO: Found 1 target...
Target //:hello-embind-wasm up-to-date:
bazel-bin/hello-embind-wasm/hello-embind.js
bazel-bin/hello-embind-wasm/hello-embind.wasm
bazel-bin/hello-embind-wasm/hello-embind.wasm.map
bazel-bin/hello-embind-wasm/hello-embind.data
bazel-bin/hello-embind-wasm/hello-embind.js.symbols
bazel-bin/hello-embind-wasm/hello-embind.wasm.debug.wasm
bazel-bin/hello-embind-wasm/hello-embind.html
INFO: Elapsed time: 5.471s, Critical Path: 4.44s
INFO: 5 processes: 2 internal, 3 processwrapper-sandbox.
INFO: Build completed successfully, 5 total actions
+ grep customJSFunctionToTestClosure bazel-bin/hello-embind-wasm/hello-embind.js
var Module=(()=>{var _scriptName=globalThis.document?.currentScript?.src;return async function(moduleArg={}){var Module=moduleArg;var aa=!!globalThis.window,n=!!globalThis.WorkerGlobalScope,ba=globalThis.process?.versions?.node&&globalThis.process?.type!="renderer";Module.customJSFunctionToTestClosure=function(b,a){console.log("This function adds two numbers to get",b+a)};typeof __filename!="undefined"?_scriptName=__filename:n&&(_scriptName=self.location.href);var r="",t,v;
+ popd
~/project/bazel
+ pushd test_secondary_lto_cache
~/project/bazel/test_secondary_lto_cache ~/project/bazel
+ bazel build //:hello-world-wasm
Starting local Bazel server and connecting to it...
embuilder: warning: cannot check node version: [Errno 2] No such file or directory: 'empty' [-Wversion-check]
shared:INFO: EM_IGNORE_SANITY set, ignoring sanity checks
embuilder:INFO: building libprintf_long_double-debug
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/lto/libprintf_long_double-debug.a... (this will be cached in "/root/.cache/bazel/_bazel_root/10613d94c77922f71c9c3c6d15eed8cf/external/emsdk~~emscripten_cache~emscripten_cache/cache/sysroot/lib/wasm32-emscripten/lto/libprintf_long_double-debug.a" for subsequent builds)
cache:INFO: generating system headers: sysroot_install.stamp... (this will be cached in "/root/.cache/bazel/_bazel_root/10613d94c77922f71c9c3c6d15eed8cf/external/emsdk~~emscripten_cache~emscripten_cache/cache/sysroot_install.stamp" for subsequent builds)
cache:INFO: - ok
system_libs:INFO: compiled 1 inputs in 0.52s
cache:INFO: - ok
embuilder:INFO: ...success. Took (1.08s)
embuilder:INFO: building libstubs-debug
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/lto/libstubs-debug.a... (this will be cached in "/root/.cache/bazel/_bazel_root/10613d94c77922f71c9c3c6d15eed8cf/external/emsdk~~emscripten_cache~emscripten_cache/cache/sysroot/lib/wasm32-emscripten/lto/libstubs-debug.a" for subsequent builds)
system_libs:INFO: compiled 2 inputs in 0.17s
cache:INFO: - ok
embuilder:INFO: ...success. Took (0.21s)
embuilder:INFO: building libnoexit
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/lto/libnoexit.a... (this will be cached in "/root/.cache/bazel/_bazel_root/10613d94c77922f71c9c3c6d15eed8cf/external/emsdk~~emscripten_cache~emscripten_cache/cache/sysroot/lib/wasm32-emscripten/lto/libnoexit.a" for subsequent builds)
system_libs:INFO: compiled 1 inputs in 0.11s
cache:INFO: - ok
embuilder:INFO: ...success. Took (0.16s)
embuilder:INFO: building libc-debug
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/lto/libc-debug.a... (this will be cached in "/root/.cache/bazel/_bazel_root/10613d94c77922f71c9c3c6d15eed8cf/external/emsdk~~emscripten_cache~emscripten_cache/cache/sysroot/lib/wasm32-emscripten/lto/libc-debug.a" for subsequent builds)
system_libs:INFO: compiled 1075 inputs in 10.86s
cache:INFO: - ok
embuilder:INFO: ...success. Took (11.10s)
embuilder:INFO: building libdlmalloc
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/lto/libdlmalloc.a... (this will be cached in "/root/.cache/bazel/_bazel_root/10613d94c77922f71c9c3c6d15eed8cf/external/emsdk~~emscripten_cache~emscripten_cache/cache/sysroot/lib/wasm32-emscripten/lto/libdlmalloc.a" for subsequent builds)
system_libs:INFO: compiled 2 inputs in 0.40s
cache:INFO: - ok
embuilder:INFO: ...success. Took (0.45s)
embuilder:INFO: building libclang_rt.builtins
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/lto/libclang_rt.builtins.a... (this will be cached in "/root/.cache/bazel/_bazel_root/10613d94c77922f71c9c3c6d15eed8cf/external/emsdk~~emscripten_cache~emscripten_cache/cache/sysroot/lib/wasm32-emscripten/lto/libclang_rt.builtins.a" for subsequent builds)
system_libs:INFO: compiled 184 inputs in 5.08s
cache:INFO: - ok
embuilder:INFO: ...success. Took (5.15s)
embuilder:INFO: building libc++-noexcept
cache:INFO: generating system library: sysroot/lib/wasm32-emscripten/lto/libc++-noexcept.a... (this will be cached in "/root/.cache/bazel/_bazel_root/10613d94c77922f71c9c3c6d15eed8cf/external/emsdk~~emscripten_cache~emscripten_cache/cache/sysroot/lib/wasm32-emscripten/lto/libc++-noexcept.a" for subsequent builds)
INFO: Repository emsdk~~emscripten_cache~emscripten_cache instantiated at:
<builtin>: in <toplevel>
Repository rule _emscripten_cache_repository defined at:
/root/.cache/bazel/_bazel_root/10613d94c77922f71c9c3c6d15eed8cf/external/emsdk~/emscripten_cache.bzl:145:47: in <toplevel>
ERROR: /root/.cache/bazel/_bazel_root/10613d94c77922f71c9c3c6d15eed8cf/external/emsdk~/emscripten_cache.bzl:129:17: An error occurred during the fetch of repository 'emsdk~~emscripten_cache~emscripten_cache':
Traceback (most recent call last):
File "/root/.cache/bazel/_bazel_root/10613d94c77922f71c9c3c6d15eed8cf/external/emsdk~/emscripten_cache.bzl", line 129, column 17, in _emscripten_cache_repository_impl
fail("Embuilder exited with a non-zero return code")
Error in fail: Embuilder exited with a non-zero return code
ERROR: no such package '@@emsdk~~emscripten_cache~emscripten_cache//': Embuilder exited with a non-zero return code
ERROR: /root/.cache/bazel/_bazel_root/10613d94c77922f71c9c3c6d15eed8cf/external/emsdk~/emscripten_toolchain/BUILD.bazel:21:18: @@emsdk~//emscripten_toolchain:common_files_emscripten_linux depends on @@emsdk~~emscripten_cache~emscripten_cache//:emscripten_config in repository @@emsdk~~emscripten_cache~emscripten_cache which failed to fetch. no such package '@@emsdk~~emscripten_cache~emscripten_cache//': Embuilder exited with a non-zero return code
ERROR: Analysis of target '//:hello-world-wasm' failed; build aborted: Analysis failed
INFO: Elapsed time: 645.743s, Critical Path: 0.07s
INFO: 1 process: 1 internal.
ERROR: Build did NOT complete successfully
Exited with code exit status 1
It seems to have started failing not due to an emsdk change but something external.
https://app.circleci.com/pipelines/gh/emscripten-core/emsdk/3058/workflows/e67d2d6c-602f-44cd-aa3b-b58fc47741fd/jobs/22826?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-checks-link&utm_content=summary
https://github.com/emscripten-core/emsdk/runs/86935421263