[INFO] cloning repository https://github.com/const-i/snake_01 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/const-i/snake_01" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconst-i%2Fsnake_01", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconst-i%2Fsnake_01'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf8b8906d71eb97b741c509b9a846d61d67f0087 [INFO] testing const-i/snake_01 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconst-i%2Fsnake_01" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/const-i/snake_01 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/const-i/snake_01 [INFO] finished tweaking git repo https://github.com/const-i/snake_01 [INFO] tweaked toml for git repo https://github.com/const-i/snake_01 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/const-i/snake_01 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a88517b4242d0e89bb86323839821790824bef117fde511e05fd57e6c85fdfe3 [INFO] running `Command { std: "docker" "start" "-a" "a88517b4242d0e89bb86323839821790824bef117fde511e05fd57e6c85fdfe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a88517b4242d0e89bb86323839821790824bef117fde511e05fd57e6c85fdfe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a88517b4242d0e89bb86323839821790824bef117fde511e05fd57e6c85fdfe3", kill_on_drop: false }` [INFO] [stdout] a88517b4242d0e89bb86323839821790824bef117fde511e05fd57e6c85fdfe3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f84c8c72ffb48c25e2073c305392eea14b26c474427fcc38fe8511b96b576f73 [INFO] running `Command { std: "docker" "start" "-a" "f84c8c72ffb48c25e2073c305392eea14b26c474427fcc38fe8511b96b576f73", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling shader_version v0.6.0 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling png v0.16.3 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling piston2d-graphics v0.36.0 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling image v0.23.4 [INFO] [stderr] Compiling pistoncore-input v0.28.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.72.0 [INFO] [stderr] Compiling pistoncore-window v0.44.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.49.0 [INFO] [stderr] Compiling piston v0.49.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling pistoncore-glutin_window v0.63.0 [INFO] [stderr] Compiling snake_01 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::gen_alg::NN` [INFO] [stdout] --> src/game.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::gen_alg::NN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::qlearn::QLearner` [INFO] [stdout] --> src/game.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::qlearn::QLearner; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Human` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Human, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GeneticAlgorithm` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | GeneticAlgorithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.17s [INFO] running `Command { std: "docker" "inspect" "f84c8c72ffb48c25e2073c305392eea14b26c474427fcc38fe8511b96b576f73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f84c8c72ffb48c25e2073c305392eea14b26c474427fcc38fe8511b96b576f73", kill_on_drop: false }` [INFO] [stdout] f84c8c72ffb48c25e2073c305392eea14b26c474427fcc38fe8511b96b576f73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 829c51f6b633e030ce132906f625ef0d37262132de6d406083eb05b5ac8a9e30 [INFO] running `Command { std: "docker" "start" "-a" "829c51f6b633e030ce132906f625ef0d37262132de6d406083eb05b5ac8a9e30", kill_on_drop: false }` [INFO] [stderr] Compiling snake_01 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Human` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Human, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GeneticAlgorithm` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | GeneticAlgorithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.47s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/snake_01-ea58f71b51d973d3) [INFO] running `Command { std: "docker" "inspect" "829c51f6b633e030ce132906f625ef0d37262132de6d406083eb05b5ac8a9e30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "829c51f6b633e030ce132906f625ef0d37262132de6d406083eb05b5ac8a9e30", kill_on_drop: false }` [INFO] [stdout] 829c51f6b633e030ce132906f625ef0d37262132de6d406083eb05b5ac8a9e30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f451cd07f71c8ff84dc7c50e21d7a5d26eb1776a4e2f20c0612f34754b9e4ecc [INFO] running `Command { std: "docker" "start" "-a" "f451cd07f71c8ff84dc7c50e21d7a5d26eb1776a4e2f20c0612f34754b9e4ecc", kill_on_drop: false }` [INFO] [stderr] warning: variant is never constructed: `Human` [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | Human, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `GeneticAlgorithm` [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | GeneticAlgorithm, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `snake_01` (bin "snake_01" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/snake_01-ea58f71b51d973d3) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test game::tests::test_game_new ... ok [INFO] [stdout] test game::tests::test_game_get_dir_from_brain ... ok [INFO] [stdout] test game::tests::test_game_get_food_pos ... ok [INFO] [stdout] test game::tests::test_game_init ... ok [INFO] [stdout] test game::tests::test_position_new_offset ... ok [INFO] [stdout] test game::tests::test_position_new ... ok [INFO] [stdout] test game::tests::test_game_get_nn_inputs ... ok [INFO] [stdout] test game::tests::test_game_next_tick ... ok [INFO] [stdout] test game::tests::test_snake_check_collide_body ... ok [INFO] [stdout] test game::tests::test_position_offset ... ok [INFO] [stdout] test game::tests::test_game_get_dir_nn ... ok [INFO] [stdout] test game::tests::test_game_update ... ok [INFO] [stdout] test game::tests::test_snake_check_collide_wall ... ok [INFO] [stdout] test game::tests::test_snake_move_next ... ok [INFO] [stdout] test game::tests::test_snake_eat_next ... ok [INFO] [stdout] test game::tests::test_snake_new ... ok [INFO] [stdout] test game::tests::test_snake_next_head_pos ... ok [INFO] [stdout] test game::tests::test_game_run_nn ... ok [INFO] [stdout] test game::tests::test_snake_perform_next ... ok [INFO] [stdout] test game::tests::test_snake_update ... ok [INFO] [stdout] test gen_alg::tests::test_layer_feed_forward ... ok [INFO] [stdout] test gen_alg::tests::test_nn_new ... ok [INFO] [stdout] test gen_alg::tests::test_nn_add ... ok [INFO] [stdout] test gen_alg::tests::test_layer_new ... ok [INFO] [stdout] test gen_alg::tests::test_nn_new_defined ... ok [INFO] [stdout] test gen_alg::tests::test_nn_propagate ... ok [INFO] [stdout] test gen_alg::tests::test_population_add ... ok [INFO] [stdout] test gen_alg::tests::test_population_new ... ok [INFO] [stdout] test gen_alg::tests::test_sigmoid ... ok [INFO] [stdout] test gen_alg::tests::test_population_create_next_generation ... ok [INFO] [stdout] test gen_alg::tests::test_population_sort ... ok [INFO] [stdout] test qlearn::tests::get_permutations ... ok [INFO] [stdout] test qlearn::tests::test_get_max_float ... ok [INFO] [stdout] test gen_alg::tests::test_population_new_defined ... ok [INFO] [stdout] test qlearn::tests::test_qlearner_new ... ok [INFO] [stdout] test qlearn::tests::test_get_index_max_float ... ok [INFO] [stdout] test qlearn::tests::test_qlearner_get_action ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f451cd07f71c8ff84dc7c50e21d7a5d26eb1776a4e2f20c0612f34754b9e4ecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f451cd07f71c8ff84dc7c50e21d7a5d26eb1776a4e2f20c0612f34754b9e4ecc", kill_on_drop: false }` [INFO] [stdout] f451cd07f71c8ff84dc7c50e21d7a5d26eb1776a4e2f20c0612f34754b9e4ecc