[INFO] cloning repository https://github.com/thatSuvrat/game-of-life [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thatSuvrat/game-of-life" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthatSuvrat%2Fgame-of-life", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthatSuvrat%2Fgame-of-life'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 000cc189462f9a67c9bbb8fb5fd9de52317ee3fa [INFO] building thatSuvrat/game-of-life against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FthatSuvrat%2Fgame-of-life" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thatSuvrat/game-of-life [INFO] finished tweaking git repo https://github.com/thatSuvrat/game-of-life [INFO] tweaked toml for git repo https://github.com/thatSuvrat/game-of-life written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thatSuvrat/game-of-life 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/thatSuvrat/game-of-life 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] 884294347aac4928a5da071964b0723c1faf1bac6e1dc84973840e8775031994 [INFO] running `Command { std: "docker" "start" "-a" "884294347aac4928a5da071964b0723c1faf1bac6e1dc84973840e8775031994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "884294347aac4928a5da071964b0723c1faf1bac6e1dc84973840e8775031994", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "884294347aac4928a5da071964b0723c1faf1bac6e1dc84973840e8775031994", kill_on_drop: false }` [INFO] [stdout] 884294347aac4928a5da071964b0723c1faf1bac6e1dc84973840e8775031994 [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] 32eccac217f3343db65e42eb1b7e1e19d8716e89f8514f93a40468b9f5795da7 [INFO] running `Command { std: "docker" "start" "-a" "32eccac217f3343db65e42eb1b7e1e19d8716e89f8514f93a40468b9f5795da7", kill_on_drop: false }` [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling game-of-life v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut y: f32 = 0.0; [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] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut i: i32 = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut i: i32 = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/main.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | for j in 0..number { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/main.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | let mut x: f32 = 0.0; [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: value assigned to `width` is never read [INFO] [stdout] --> src/main.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | let mut width: f32 = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `height` is never read [INFO] [stdout] --> src/main.rs:21:27 [INFO] [stdout] | [INFO] [stdout] 21 | let mut height: f32 = 0.0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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" "<5 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libmacroquad-27bef05eb2957387,libfontdue-e18c1fef332eea5c,libhashbrown-bdb5172ff00cb384,libfoldhash-1b4b4bcad838060e,libequivalent-847e63ace6824f0b,liballocator_api2-f7af5031277b4963,libttf_parser-dab2f10347360aed,libimage-6b812fd9a4cb97dc,libbytemuck-9caa29341a320df1,libcolor_quant-1e86b52941ac4ea7,libbyteorder-7cb42c9bfd1ac301,libpng-5999f6abcd32d0ff,libbitflags-4fa71e63d9d8e5ea,libflate2-1e74605e1373b711,libminiz_oxide-e023c998c96ffac4,libfdeflate-1ea1d279f1cf051a,libsimd_adler32-b5535ea0505b2829,libcrc32fast-af7609d2c86e1a97,libcfg_if-2a1f3d8d3a86aef9,libnum_traits-ffc84bed15072509,libquad_rand-64cccd7057cafd0b,libglam-a17c452ab1fb70b7,libminiquad-18ebb5f9a337472b}.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/game_of_life-ee8add7818eed355.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/game_of_life-ee8add7818eed355.game_of_life.7a622949c868edf9-cgu.1.rcgu.o: undefined symbol: init_webgl [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/game_of_life-ee8add7818eed355.game_of_life.7a622949c868edf9-cgu.1.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/game_of_life-ee8add7818eed355.game_of_life.7a622949c868edf9-cgu.1.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/game_of_life-ee8add7818eed355.game_of_life.7a622949c868edf9-cgu.1.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/game_of_life-ee8add7818eed355.game_of_life.7a622949c868edf9-cgu.1.rcgu.o: undefined symbol: dpi_scale [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/game_of_life-ee8add7818eed355.game_of_life.7a622949c868edf9-cgu.1.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/game_of_life-ee8add7818eed355.game_of_life.7a622949c868edf9-cgu.1.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-27bef05eb2957387.rlib(macroquad-27bef05eb2957387.macroquad.6e82e5202718d075-cgu.07.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-27bef05eb2957387.rlib(macroquad-27bef05eb2957387.macroquad.6e82e5202718d075-cgu.07.rcgu.o): undefined symbol: glCopyTexImage2D [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-27bef05eb2957387.rlib(macroquad-27bef05eb2957387.macroquad.6e82e5202718d075-cgu.13.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-27bef05eb2957387.rlib(macroquad-27bef05eb2957387.macroquad.6e82e5202718d075-cgu.13.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-18ebb5f9a337472b.rlib(miniquad-18ebb5f9a337472b.miniquad.dccfde19387d0e19-cgu.00.rcgu.o): undefined symbol: glGetIntegerv [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-18ebb5f9a337472b.rlib(miniquad-18ebb5f9a337472b.miniquad.dccfde19387d0e19-cgu.00.rcgu.o): undefined symbol: glGenVertexArrays [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-18ebb5f9a337472b.rlib(miniquad-18ebb5f9a337472b.miniquad.dccfde19387d0e19-cgu.00.rcgu.o): undefined symbol: glBindVertexArray [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-18ebb5f9a337472b.rlib(miniquad-18ebb5f9a337472b.miniquad.dccfde19387d0e19-cgu.00.rcgu.o): undefined symbol: glGetString [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-18ebb5f9a337472b.rlib(miniquad-18ebb5f9a337472b.miniquad.dccfde19387d0e19-cgu.00.rcgu.o): undefined symbol: glCreateShader [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-18ebb5f9a337472b.rlib(miniquad-18ebb5f9a337472b.miniquad.dccfde19387d0e19-cgu.00.rcgu.o): undefined symbol: glShaderSource [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-18ebb5f9a337472b.rlib(miniquad-18ebb5f9a337472b.miniquad.dccfde19387d0e19-cgu.00.rcgu.o): undefined symbol: glCompileShader [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-18ebb5f9a337472b.rlib(miniquad-18ebb5f9a337472b.miniquad.dccfde19387d0e19-cgu.00.rcgu.o): undefined symbol: glGetShaderiv [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-18ebb5f9a337472b.rlib(miniquad-18ebb5f9a337472b.miniquad.dccfde19387d0e19-cgu.00.rcgu.o): undefined symbol: glGetShaderiv [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 `game-of-life` (bin "game-of-life") due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "32eccac217f3343db65e42eb1b7e1e19d8716e89f8514f93a40468b9f5795da7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32eccac217f3343db65e42eb1b7e1e19d8716e89f8514f93a40468b9f5795da7", kill_on_drop: false }` [INFO] [stdout] 32eccac217f3343db65e42eb1b7e1e19d8716e89f8514f93a40468b9f5795da7