[INFO] cloning repository https://github.com/CrisFeo/rust-triplanetary [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CrisFeo/rust-triplanetary" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrisFeo%2Frust-triplanetary", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrisFeo%2Frust-triplanetary'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31a967a2f48d26d8432c3c7a54a03a1748562b07 [INFO] building CrisFeo/rust-triplanetary against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrisFeo%2Frust-triplanetary" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CrisFeo/rust-triplanetary [INFO] finished tweaking git repo https://github.com/CrisFeo/rust-triplanetary [INFO] tweaked toml for git repo https://github.com/CrisFeo/rust-triplanetary written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CrisFeo/rust-triplanetary 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/CrisFeo/rust-triplanetary 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ec6d0d9a4135f2855a8a8a26e9d1028c635833917ff998f2151beaf416916189 [INFO] running `Command { std: "docker" "start" "-a" "ec6d0d9a4135f2855a8a8a26e9d1028c635833917ff998f2151beaf416916189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec6d0d9a4135f2855a8a8a26e9d1028c635833917ff998f2151beaf416916189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec6d0d9a4135f2855a8a8a26e9d1028c635833917ff998f2151beaf416916189", kill_on_drop: false }` [INFO] [stdout] ec6d0d9a4135f2855a8a8a26e9d1028c635833917ff998f2151beaf416916189 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c3d796d33d5d0f83d3a1cae94fa36994dca6f938e606d79dca9416b073ee2020 [INFO] running `Command { std: "docker" "start" "-a" "c3d796d33d5d0f83d3a1cae94fa36994dca6f938e606d79dca9416b073ee2020", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling noise v0.7.0 [INFO] [stderr] Compiling triplanetary v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Idle` and `GoTo` are never constructed [INFO] [stdout] --> src/main.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 56 | enum Nav { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 57 | Idle, [INFO] [stdout] | ^^^^ [INFO] [stdout] 58 | GoTo(Hex), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Nav` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<6 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libtriplanetary-164fd5419420f3c9,libmacroquad-216fb9ca44437fac,libfontdue-376a0966aeaef339,libhashbrown-662abfc39cbd340d,libfoldhash-6e98285c7e677e53,libequivalent-e75e9a7d273f0189,liballocator_api2-8e8748a307852ab5,libttf_parser-f7891d02a2dd8704,libimage-c9a5d059616b596e,libbytemuck-ac08047533836a3e,libcolor_quant-8e07a515e6ff48c0,libbyteorder-f00db367bf6f80f8,libpng-07aade988f00c2d0,libbitflags-05377f64c37263ee,libflate2-15061b7967e1f39d,libminiz_oxide-add2caca990dcbb8,libfdeflate-1973eda695894699,libsimd_adler32-f60c9d1329d503cc,libcrc32fast-16c73443c28ec47a,libcfg_if-50b02a9e3502ecf2,libnum_traits-9b1d81968a913e17,libquad_rand-c335779a0f85c006,libglam-1547a7719eb4aa0f,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/triplanetary-7f99ba3b1669d2e5.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/triplanetary-7f99ba3b1669d2e5.triplanetary.d1d5ed81396f9e81-cgu.2.rcgu.o: undefined symbol: init_webgl [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/triplanetary-7f99ba3b1669d2e5.triplanetary.d1d5ed81396f9e81-cgu.2.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/triplanetary-7f99ba3b1669d2e5.triplanetary.d1d5ed81396f9e81-cgu.2.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/triplanetary-7f99ba3b1669d2e5.triplanetary.d1d5ed81396f9e81-cgu.2.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/triplanetary-7f99ba3b1669d2e5.triplanetary.d1d5ed81396f9e81-cgu.2.rcgu.o: undefined symbol: dpi_scale [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/triplanetary-7f99ba3b1669d2e5.triplanetary.d1d5ed81396f9e81-cgu.2.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/triplanetary-7f99ba3b1669d2e5.triplanetary.d1d5ed81396f9e81-cgu.2.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-216fb9ca44437fac.rlib(macroquad-216fb9ca44437fac.macroquad.5a02cd1d9e0b13d3-cgu.03.rcgu.o): undefined symbol: fs_load_file [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-216fb9ca44437fac.rlib(macroquad-216fb9ca44437fac.macroquad.5a02cd1d9e0b13d3-cgu.10.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-216fb9ca44437fac.rlib(macroquad-216fb9ca44437fac.macroquad.5a02cd1d9e0b13d3-cgu.10.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-216fb9ca44437fac.rlib(macroquad-216fb9ca44437fac.macroquad.5a02cd1d9e0b13d3-cgu.12.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-216fb9ca44437fac.rlib(macroquad-216fb9ca44437fac.macroquad.5a02cd1d9e0b13d3-cgu.12.rcgu.o): undefined symbol: glCopyTexImage2D [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: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: glActiveTexture [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: glBindTexture [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: glDisableVertexAttribArray [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: console_error [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: console_warn [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: console_info [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 `triplanetary` (bin "triplanetary") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c3d796d33d5d0f83d3a1cae94fa36994dca6f938e606d79dca9416b073ee2020", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3d796d33d5d0f83d3a1cae94fa36994dca6f938e606d79dca9416b073ee2020", kill_on_drop: false }` [INFO] [stdout] c3d796d33d5d0f83d3a1cae94fa36994dca6f938e606d79dca9416b073ee2020