[INFO] cloning repository https://github.com/BigRangaTech/engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BigRangaTech/engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBigRangaTech%2Fengine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBigRangaTech%2Fengine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d062239eddd86a0de9065eaeb94b1f48483ebef [INFO] building BigRangaTech/engine against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBigRangaTech%2Fengine" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 85% (5112/5957) Updating files: 86% (5124/5957) Updating files: 86% (5131/5957) Updating files: 87% (5183/5957) Updating files: 88% (5243/5957) Updating files: 88% (5248/5957) Updating files: 88% (5267/5957) Updating files: 89% (5302/5957) Updating files: 89% (5345/5957) Updating files: 90% (5362/5957) Updating files: 91% (5421/5957) Updating files: 91% (5436/5957) Updating files: 91% (5440/5957) Updating files: 92% (5481/5957) Updating files: 93% (5541/5957) Updating files: 94% (5600/5957) Updating files: 95% (5660/5957) Updating files: 96% (5719/5957) Updating files: 97% (5779/5957) Updating files: 98% (5838/5957) Updating files: 99% (5898/5957) Updating files: 100% (5957/5957) Updating files: 100% (5957/5957), done. [INFO] started tweaking git repo https://github.com/BigRangaTech/engine [INFO] finished tweaking git repo https://github.com/BigRangaTech/engine [INFO] tweaked toml for git repo https://github.com/BigRangaTech/engine written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/BigRangaTech/engine on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/BigRangaTech/engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95b2c57228881b58204c62713ed1b11488ef5d997da4dfb09ddcece1fa791014 [INFO] running `Command { std: "docker" "start" "-a" "95b2c57228881b58204c62713ed1b11488ef5d997da4dfb09ddcece1fa791014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95b2c57228881b58204c62713ed1b11488ef5d997da4dfb09ddcece1fa791014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95b2c57228881b58204c62713ed1b11488ef5d997da4dfb09ddcece1fa791014", kill_on_drop: false }` [INFO] [stdout] 95b2c57228881b58204c62713ed1b11488ef5d997da4dfb09ddcece1fa791014 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 8b8b148dddd769ceddd846a050fa72535b71dfda20e744be49854d9c18dd5497 [INFO] running `Command { std: "docker" "start" "-a" "8b8b148dddd769ceddd846a050fa72535b71dfda20e744be49854d9c18dd5497", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling quad-snd v0.2.8 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `pregen_handle` is never read [INFO] [stdout] --> src/main.rs:199:29 [INFO] [stdout] | [INFO] [stdout] 199 | ... pregen_handle = None; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `moving_platform_vertical` is never read [INFO] [stdout] --> src/scene.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Scene { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 81 | pub moving_platform_vertical: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw` is never used [INFO] [stdout] --> src/scene.rs:693:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl Scene { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 693 | pub fn draw(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "--export" "CONTEXT" "--export" "allocate_vec_u8" "--export" "crate_version" "--export" "file_loaded" "--export" "focus" "--export" "frame" "--export" "key_down" "--export" "key_press" "--export" "key_up" "--export" "mouse_down" "--export" "mouse_move" "--export" "mouse_up" "--export" "mouse_wheel" "--export" "on_clipboard_paste" "--export" "on_file_dropped" "--export" "on_files_dropped_finish" "--export" "on_files_dropped_start" "--export" "raw_mouse_move" "--export" "resize" "--export" "touch" "--export" "macroquad_audio_crate_version" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<17 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libserde_json-79dd9ff000770352,libmemchr-7415f7f53c525d15,libitoa-c00a5eb83387cdca,libryu-bcb26aa50f65bbc8,libhound-cc35742747f8f13d,libserde-dd23b6a19ccec893,libserde_core-7054782e1b276604,librand-43af06f88c9c54e3,librand_chacha-98892a232b60561f,libppv_lite86-fa86eafe78b071d9,librand_core-ab6c29c8a9477844,libgetrandom-05ce37e63bde0bcc,libwasi-1720e192b4055643,libmacroquad-5e45a3c0b06336e0,libfontdue-979c1f2127db35f0,libhashbrown-1c629eb99450a059,libfoldhash-6e98285c7e677e53,libequivalent-e75e9a7d273f0189,liballocator_api2-8e8748a307852ab5,libttf_parser-f7891d02a2dd8704,libimage-c1833d19661ce58f,libqoi-d9e900946fc8713b,libbytemuck-64558e758bffb654,libpng-b7214e2d701d597d,libbitflags-15e3d67e03629ffa,libfdeflate-1973eda695894699,libexr-989e813cd8e34c27,libzune_inflate-4f6364a931a8fa91,libbit_field-1b1fe46526644e0f,liblebe-64dd0a848b1230bc,libhalf-7376b6a31f5ab791,libzerocopy-9cde7b3ea80c687d,libsmallvec-e66260ff59480183,libgif-b983fb2fb5df4944,libcolor_quant-8e07a515e6ff48c0,libbyteorder-529cc76400af54b3,libnum_traits-3a8e83649fd78d15,libtiff-5a14920a0f6bd9c8,libflate2-bcc15a3e54a73a21,libminiz_oxide-add2caca990dcbb8,libsimd_adler32-f60c9d1329d503cc,libcrc32fast-c19ce4228a5bbdd7,libcfg_if-d6bc76d3bc4619c0,libweezl-328140ee69eae7c4,libjpeg_decoder-02cd1d054330bc7b,librayon-4582684b1f4a0d3c,librayon_core-0a57f306f376f56d,libcrossbeam_deque-f2a195995adbe5a1,libcrossbeam_epoch-cfc6ee721375722d,libcrossbeam_utils-a2bafd6ea59dbe61,libeither-cfdd7ad9333739d9,libquad_rand-c335779a0f85c006,libglam-1547a7719eb4aa0f,libquad_snd-bd01717f2ca19560,libminiquad-ee8216464762dde6}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/engine-7fcfd00d9944d2e2.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/engine-7fcfd00d9944d2e2.engine.4f64210d80c4e734-cgu.15.rcgu.o: undefined symbol: init_webgl [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/engine-7fcfd00d9944d2e2.engine.4f64210d80c4e734-cgu.15.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/engine-7fcfd00d9944d2e2.engine.4f64210d80c4e734-cgu.15.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/engine-7fcfd00d9944d2e2.engine.4f64210d80c4e734-cgu.15.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/engine-7fcfd00d9944d2e2.engine.4f64210d80c4e734-cgu.15.rcgu.o: undefined symbol: dpi_scale [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/engine-7fcfd00d9944d2e2.engine.4f64210d80c4e734-cgu.15.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/engine-7fcfd00d9944d2e2.engine.4f64210d80c4e734-cgu.15.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-5e45a3c0b06336e0.rlib(macroquad-5e45a3c0b06336e0.macroquad.30f200a33d562766-cgu.05.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-5e45a3c0b06336e0.rlib(macroquad-5e45a3c0b06336e0.macroquad.30f200a33d562766-cgu.05.rcgu.o): undefined symbol: glCopyTexImage2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-5e45a3c0b06336e0.rlib(macroquad-5e45a3c0b06336e0.macroquad.30f200a33d562766-cgu.06.rcgu.o): undefined symbol: fs_load_file [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-5e45a3c0b06336e0.rlib(macroquad-5e45a3c0b06336e0.macroquad.30f200a33d562766-cgu.06.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-5e45a3c0b06336e0.rlib(macroquad-5e45a3c0b06336e0.macroquad.30f200a33d562766-cgu.06.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-bd01717f2ca19560.rlib(quad_snd-bd01717f2ca19560.quad_snd.ee1a68b6d1b196db-cgu.0.rcgu.o): undefined symbol: audio_init [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-bd01717f2ca19560.rlib(quad_snd-bd01717f2ca19560.quad_snd.ee1a68b6d1b196db-cgu.0.rcgu.o): undefined symbol: audio_source_set_volume [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-bd01717f2ca19560.rlib(quad_snd-bd01717f2ca19560.quad_snd.ee1a68b6d1b196db-cgu.0.rcgu.o): undefined symbol: audio_add_buffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-bd01717f2ca19560.rlib(quad_snd-bd01717f2ca19560.quad_snd.ee1a68b6d1b196db-cgu.0.rcgu.o): undefined symbol: audio_play_buffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-bd01717f2ca19560.rlib(quad_snd-bd01717f2ca19560.quad_snd.ee1a68b6d1b196db-cgu.0.rcgu.o): undefined symbol: audio_source_delete [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquad_snd-bd01717f2ca19560.rlib(quad_snd-bd01717f2ca19560.quad_snd.ee1a68b6d1b196db-cgu.0.rcgu.o): undefined symbol: audio_source_is_loaded [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: glBindBuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: glBindBuffer [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `engine` (bin "engine") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8b8b148dddd769ceddd846a050fa72535b71dfda20e744be49854d9c18dd5497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b8b148dddd769ceddd846a050fa72535b71dfda20e744be49854d9c18dd5497", kill_on_drop: false }` [INFO] [stdout] 8b8b148dddd769ceddd846a050fa72535b71dfda20e744be49854d9c18dd5497