[INFO] cloning repository https://github.com/angelofallars/chip-8-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/angelofallars/chip-8-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangelofallars%2Fchip-8-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangelofallars%2Fchip-8-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7084e9d3efb5deebdcaf28572c08576772bb33e8 [INFO] building angelofallars/chip-8-emulator against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fangelofallars%2Fchip-8-emulator" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/angelofallars/chip-8-emulator [INFO] finished tweaking git repo https://github.com/angelofallars/chip-8-emulator [INFO] tweaked toml for git repo https://github.com/angelofallars/chip-8-emulator written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/angelofallars/chip-8-emulator 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/angelofallars/chip-8-emulator 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 12ee8ac520f2cc8cc8e6f8556f50217d8e4dec04a635715a99d5a6cd7171b7e9 [INFO] running `Command { std: "docker" "start" "-a" "12ee8ac520f2cc8cc8e6f8556f50217d8e4dec04a635715a99d5a6cd7171b7e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12ee8ac520f2cc8cc8e6f8556f50217d8e4dec04a635715a99d5a6cd7171b7e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12ee8ac520f2cc8cc8e6f8556f50217d8e4dec04a635715a99d5a6cd7171b7e9", kill_on_drop: false }` [INFO] [stdout] 12ee8ac520f2cc8cc8e6f8556f50217d8e4dec04a635715a99d5a6cd7171b7e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d57273ee045c8b3feb33fa89ed5e8a0ba63c76e396d685e83411cabe183d53ca [INFO] running `Command { std: "docker" "start" "-a" "d57273ee045c8b3feb33fa89ed5e8a0ba63c76e396d685e83411cabe183d53ca", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling wasi v0.11.0+wasi-snapshot-preview1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling miniquad v0.3.11 [INFO] [stderr] Compiling quad-snd v0.2.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling bytemuck v1.11.0 [INFO] [stderr] Compiling os_str_bytes v6.2.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling fontdue v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling glam v0.14.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling macroquad v0.3.23 [INFO] [stderr] Compiling clap_derive v3.2.15 [INFO] [stderr] Compiling clap v3.2.16 [INFO] [stderr] Compiling chip-8-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | let mut x_coord = (register[x] % 64) as usize; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (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" "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" "<10 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libmacroquad-e2ba650196b4e5df,libbumpalo-c9a58b33ff784391,libfontdue-b5a43c40399436b8,libttf_parser-33c8a3407ded9e41,libhashbrown-e4be27f5b55c4e46,libahash-6a5ea761c973327e,libimage-a72e71e54f9d31f8,libcolor_quant-1e86b52941ac4ea7,libnum_iter-59ce3df4b7cffb12,libbytemuck-0f6e916c0c2a7b48,libpng-c9c91388a9e8ff7b,libminiz_oxide-330bc9c14910495c,libcrc32fast-fa32298d7c7369ab,libdeflate-f9c2cc4b8dc3ff80,libbyteorder-82b2b5b76b033f52,libadler32-f79bb24121891b02,libnum_rational-27dd5d4ce21972de,libnum_integer-8e87d54d21cf698d,libnum_traits-e9a7730563f45921,libquad_rand-3f6d699ad3c7baf8,libglam-a067d9eed3432399,libquad_snd-49ca8ec9a2ec02c9,libminiquad-0fe773eb91f5e798,libclap-96a2d78d354adec0,libatty-62112fc7d3f8dbd4,libstrsim-5ecc0bb49b0fcbf5,libtermcolor-8f6784ae0af285a6,libtextwrap-7e88d8cb76692562,libindexmap-612683a3e8237f8e,libhashbrown-2cbca30b8fff7168,libclap_lex-56065d7bc897098b,libos_str_bytes-4a1d0fdd99008998,libbitflags-4fa71e63d9d8e5ea,libonce_cell-4ca43dcb6356b314,librand-72dfc7c63108eb0d,librand_chacha-d710224e2cc240c8,libppv_lite86-d6dcfce8e685430e,librand_core-49f5d0fe7a953a81,libgetrandom-8b2cd9c8bba6c486,libwasi-e82d55360982965a,libcfg_if-2a1f3d8d3a86aef9}.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/chip8-65bf942e3b65daad.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/chip8-65bf942e3b65daad.chip8.e4653426e6812023-cgu.1.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/chip8-65bf942e3b65daad.chip8.e4653426e6812023-cgu.1.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/chip8-65bf942e3b65daad.chip8.e4653426e6812023-cgu.1.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/chip8-65bf942e3b65daad.chip8.e4653426e6812023-cgu.1.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/chip8-65bf942e3b65daad.chip8.e4653426e6812023-cgu.1.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.00.rcgu.o): undefined symbol: glGenBuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.00.rcgu.o): undefined symbol: glBufferData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.00.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.00.rcgu.o): undefined symbol: glGenBuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.00.rcgu.o): undefined symbol: glBufferData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.00.rcgu.o): undefined symbol: glBufferSubData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.00.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.00.rcgu.o): undefined symbol: glCopyTexImage2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.11.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.11.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.13.rcgu.o): undefined symbol: glGenFramebuffers [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.13.rcgu.o): undefined symbol: glBindFramebuffer [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.13.rcgu.o): undefined symbol: glFramebufferTexture2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.13.rcgu.o): undefined symbol: glFramebufferTexture2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-e2ba650196b4e5df.rlib(macroquad-e2ba650196b4e5df.macroquad.432ec30e4aabbd93-cgu.13.rcgu.o): undefined symbol: glBindFramebuffer [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 `chip-8-emulator` (bin "chip8") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d57273ee045c8b3feb33fa89ed5e8a0ba63c76e396d685e83411cabe183d53ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d57273ee045c8b3feb33fa89ed5e8a0ba63c76e396d685e83411cabe183d53ca", kill_on_drop: false }` [INFO] [stdout] d57273ee045c8b3feb33fa89ed5e8a0ba63c76e396d685e83411cabe183d53ca