[INFO] cloning repository https://github.com/Auric115/genetic-algorithm-maze [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Auric115/genetic-algorithm-maze" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAuric115%2Fgenetic-algorithm-maze", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAuric115%2Fgenetic-algorithm-maze'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45e9362006827204019692a2e3abea5b9e46d38d [INFO] building Auric115/genetic-algorithm-maze against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAuric115%2Fgenetic-algorithm-maze" "/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/Auric115/genetic-algorithm-maze [INFO] finished tweaking git repo https://github.com/Auric115/genetic-algorithm-maze [INFO] tweaked toml for git repo https://github.com/Auric115/genetic-algorithm-maze written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Auric115/genetic-algorithm-maze 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/Auric115/genetic-algorithm-maze 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] bc467595d1d563f34eb647ed8445023e161ddfa2f612984237ff315e3f27e68f [INFO] running `Command { std: "docker" "start" "-a" "bc467595d1d563f34eb647ed8445023e161ddfa2f612984237ff315e3f27e68f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc467595d1d563f34eb647ed8445023e161ddfa2f612984237ff315e3f27e68f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc467595d1d563f34eb647ed8445023e161ddfa2f612984237ff315e3f27e68f", kill_on_drop: false }` [INFO] [stdout] bc467595d1d563f34eb647ed8445023e161ddfa2f612984237ff315e3f27e68f [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] 6e64da311d3d9d3c51c85dbff662c7730c49cfa515510608b86aaafe6825f50b [INFO] running `Command { std: "docker" "start" "-a" "6e64da311d3d9d3c51c85dbff662c7730c49cfa515510608b86aaafe6825f50b", kill_on_drop: false }` [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling genevo v0.6.0 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling genetic-algorithm-maze v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/maze.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Cell { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | x: usize, [INFO] [stdout] | ^ [INFO] [stdout] 10 | y: usize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` 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] warning: field `gene_length` is never read [INFO] [stdout] --> src/genetics.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct GeneticAlgorithm { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 37 | pub gene_length: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `roulette_selection`, `reset`, and `set_mutation_rate` are never used [INFO] [stdout] --> src/genetics.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 45 | impl GeneticAlgorithm { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | fn roulette_selection(&self) -> &Genome { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn set_mutation_rate(&mut self, rate: f64) { [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" "-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/{librayon-d1e657c959b3d0c1,librayon_core-5f99f33b5622d260,libcrossbeam_deque-f2a195995adbe5a1,libcrossbeam_epoch-cfc6ee721375722d,libcrossbeam_utils-a2bafd6ea59dbe61,libeither-cfdd7ad9333739d9,libmacroquad-f0e1659155014b6e,libfontdue-376a0966aeaef339,libhashbrown-662abfc39cbd340d,libfoldhash-6e98285c7e677e53,libequivalent-e75e9a7d273f0189,liballocator_api2-8e8748a307852ab5,libttf_parser-f7891d02a2dd8704,libimage-2b473fd65eab2430,libbytemuck-ac08047533836a3e,libcolor_quant-8e07a515e6ff48c0,libbyteorder-529cc76400af54b3,libpng-a5ffaa55b53796d5,libbitflags-15e3d67e03629ffa,libflate2-4f6b5b719fb5a7b5,libminiz_oxide-add2caca990dcbb8,libfdeflate-1973eda695894699,libsimd_adler32-f60c9d1329d503cc,libcrc32fast-9f62b0ef3f44334c,libnum_traits-3a8e83649fd78d15,libquad_rand-c335779a0f85c006,libglam-1547a7719eb4aa0f,libminiquad-ee8216464762dde6,librand-3fee1cef3ea56e2c,librand_chacha-9ad9792915bf93f4,libppv_lite86-b5291cfebe25ce7d,libzerocopy-f6c31b5b2a66a0e6,librand_core-304f558027ef1a57,libgetrandom-d039c15a791ff689,libwasi-1720e192b4055643,libcfg_if-beec54d71ff48acf}.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/genetic_algorithm_maze-106bf951f1dd861c.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/genetic_algorithm_maze-106bf951f1dd861c.genetic_algorithm_maze.6271cd4448340c5b-cgu.12.rcgu.o: undefined symbol: init_webgl [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/genetic_algorithm_maze-106bf951f1dd861c.genetic_algorithm_maze.6271cd4448340c5b-cgu.12.rcgu.o: undefined symbol: setup_canvas_size [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/genetic_algorithm_maze-106bf951f1dd861c.genetic_algorithm_maze.6271cd4448340c5b-cgu.12.rcgu.o: undefined symbol: canvas_width [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/genetic_algorithm_maze-106bf951f1dd861c.genetic_algorithm_maze.6271cd4448340c5b-cgu.12.rcgu.o: undefined symbol: canvas_height [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/genetic_algorithm_maze-106bf951f1dd861c.genetic_algorithm_maze.6271cd4448340c5b-cgu.12.rcgu.o: undefined symbol: dpi_scale [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/genetic_algorithm_maze-106bf951f1dd861c.genetic_algorithm_maze.6271cd4448340c5b-cgu.12.rcgu.o: undefined symbol: run_animation_loop [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/genetic_algorithm_maze-106bf951f1dd861c.genetic_algorithm_maze.6271cd4448340c5b-cgu.12.rcgu.o: undefined symbol: console_log [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-f0e1659155014b6e.rlib(macroquad-f0e1659155014b6e.macroquad.de778ea04e68b141-cgu.11.rcgu.o): undefined symbol: glFlush [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-f0e1659155014b6e.rlib(macroquad-f0e1659155014b6e.macroquad.de778ea04e68b141-cgu.11.rcgu.o): undefined symbol: glFinish [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-f0e1659155014b6e.rlib(macroquad-f0e1659155014b6e.macroquad.de778ea04e68b141-cgu.12.rcgu.o): undefined symbol: glBindTexture [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libmacroquad-f0e1659155014b6e.rlib(macroquad-f0e1659155014b6e.macroquad.de778ea04e68b141-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: /opt/rustwide/target/wasm32-wasip1/debug/deps/libminiquad-ee8216464762dde6.rlib(miniquad-ee8216464762dde6.miniquad.a46dca1772deceb0-cgu.3.rcgu.o): undefined symbol: console_debug [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 `genetic-algorithm-maze` (bin "genetic-algorithm-maze") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6e64da311d3d9d3c51c85dbff662c7730c49cfa515510608b86aaafe6825f50b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e64da311d3d9d3c51c85dbff662c7730c49cfa515510608b86aaafe6825f50b", kill_on_drop: false }` [INFO] [stdout] 6e64da311d3d9d3c51c85dbff662c7730c49cfa515510608b86aaafe6825f50b