[INFO] cloning repository https://github.com/truchi/snake-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/truchi/snake-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftruchi%2Fsnake-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftruchi%2Fsnake-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d7f9ee6877f7ebd76b59b70380d0e08904f7a80 [INFO] testing truchi/snake-rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftruchi%2Fsnake-rs" "/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/truchi/snake-rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/truchi/snake-rs [INFO] finished tweaking git repo https://github.com/truchi/snake-rs [INFO] tweaked toml for git repo https://github.com/truchi/snake-rs written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/truchi/snake-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 26d3e81c9c47d9aea220b4030c3907731c046d441b28d4abbb6d5bda197a90d0 [INFO] running `Command { std: "docker" "start" "-a" "26d3e81c9c47d9aea220b4030c3907731c046d441b28d4abbb6d5bda197a90d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26d3e81c9c47d9aea220b4030c3907731c046d441b28d4abbb6d5bda197a90d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26d3e81c9c47d9aea220b4030c3907731c046d441b28d4abbb6d5bda197a90d0", kill_on_drop: false }` [INFO] [stdout] 26d3e81c9c47d9aea220b4030c3907731c046d441b28d4abbb6d5bda197a90d0 [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7afeaf6f2b82c8b901083bc2c69cdb4e59ef497a8c96f2d80fc35da2a0087291 [INFO] running `Command { std: "docker" "start" "-a" "7afeaf6f2b82c8b901083bc2c69cdb4e59ef497a8c96f2d80fc35da2a0087291", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling mio v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling signal-hook v0.1.16 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling crossterm v0.17.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Coord2D` [INFO] [stdout] --> src/game/snake.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::physics::{Coord2D, Direction, Duration, Moving, Point, Speed2D}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point`, `Speed2D`, `Speed` [INFO] [stdout] --> src/physics/direction.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Point, Speed, Speed2D}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Direction` [INFO] [stdout] --> src/physics/speed_2d.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Coord2D, Direction, Distance, Duration, Point, Speed}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bounds` [INFO] [stdout] --> src/game/world.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | bounds: Point, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `World` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/world.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/screen/welcome.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | height: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Welcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/screen/welcome.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.88s [INFO] running `Command { std: "docker" "inspect" "7afeaf6f2b82c8b901083bc2c69cdb4e59ef497a8c96f2d80fc35da2a0087291", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7afeaf6f2b82c8b901083bc2c69cdb4e59ef497a8c96f2d80fc35da2a0087291", kill_on_drop: false }` [INFO] [stdout] 7afeaf6f2b82c8b901083bc2c69cdb4e59ef497a8c96f2d80fc35da2a0087291 [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 239f6ef46447072dbd120bda3020a0a39b5c6cf3a1a810cfa2fac2431ad8c51f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "239f6ef46447072dbd120bda3020a0a39b5c6cf3a1a810cfa2fac2431ad8c51f", kill_on_drop: false }` [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Coord2D` [INFO] [stdout] --> src/game/snake.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::physics::{Coord2D, Direction, Duration, Moving, Point, Speed2D}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point`, `Speed2D`, `Speed` [INFO] [stdout] --> src/physics/direction.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Point, Speed, Speed2D}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Direction` [INFO] [stdout] --> src/physics/speed_2d.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Coord2D, Direction, Distance, Duration, Point, Speed}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bounds` [INFO] [stdout] --> src/game/world.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | bounds: Point, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `World` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/game/world.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/screen/welcome.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | height: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Welcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/screen/welcome.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.18s [INFO] running `Command { std: "docker" "inspect" "239f6ef46447072dbd120bda3020a0a39b5c6cf3a1a810cfa2fac2431ad8c51f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "239f6ef46447072dbd120bda3020a0a39b5c6cf3a1a810cfa2fac2431ad8c51f", kill_on_drop: false }` [INFO] [stdout] 239f6ef46447072dbd120bda3020a0a39b5c6cf3a1a810cfa2fac2431ad8c51f [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3de63dfeefe77b00e9e18551c2ad2a68bd685a6587039af3a6d335419b8fb56b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3de63dfeefe77b00e9e18551c2ad2a68bd685a6587039af3a6d335419b8fb56b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Coord2D` [INFO] [stderr] --> src/game/snake.rs:1:22 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::physics::{Coord2D, Direction, Duration, Moving, Point, Speed2D}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Point`, `Speed2D`, `Speed` [INFO] [stderr] --> src/physics/direction.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use super::{Point, Speed, Speed2D}; [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Direction` [INFO] [stderr] --> src/physics/speed_2d.rs:1:22 [INFO] [stderr] | [INFO] [stderr] 1 | use super::{Coord2D, Direction, Distance, Duration, Point, Speed}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `bounds` [INFO] [stderr] --> src/game/world.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | bounds: Point, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `World` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/game/world.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `height` [INFO] [stderr] --> src/screen/welcome.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | height: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Welcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/screen/welcome.rs:42:10 [INFO] [stderr] | [INFO] [stderr] 42 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `snake` (bin "snake" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/snake-d5732ee883116147) [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test physics::coord_2d::tests::div ... ok [INFO] [stdout] test physics::coord_2d::tests::new ... ok [INFO] [stdout] test physics::coord_2d::tests::not ... ok [INFO] [stdout] test physics::coord_2d::tests::rem ... ok [INFO] [stdout] test physics::coord_2d::tests::neg ... ok [INFO] [stdout] test physics::path::tests::new ... ok [INFO] [stdout] test physics::direction::tests::neg ... ok [INFO] [stdout] test physics::coord_2d::tests::mul_assign ... ok [INFO] [stdout] test physics::coord_2d::tests::mul ... ok [INFO] [stdout] test physics::coord_2d::tests::from_tuple ... ok [INFO] [stdout] test physics::path::tests::r#move ... ok [INFO] [stdout] test physics::path_fragment::tests::eq ... ok [INFO] [stdout] test physics::path_fragment::tests::from_duration_and_point ... ok [INFO] [stdout] test physics::path_fragment::tests::from_speed_and_distance ... ok [INFO] [stdout] test physics::path_fragment::tests::from_speed_and_duration ... ok [INFO] [stdout] test physics::point::tests::from_direction ... ok [INFO] [stdout] test physics::point::tests::length ... ok [INFO] [stdout] test physics::speed::tests::as_per_sec ... ok [INFO] [stdout] test physics::coord_2d::tests::add_assign ... ok [INFO] [stdout] test physics::speed::tests::cmp ... ok [INFO] [stdout] test physics::speed::tests::eq ... ok [INFO] [stdout] test physics::speed::tests::from_per_sec ... ok [INFO] [stdout] test physics::speed::tests::from_tuple ... ok [INFO] [stdout] test physics::speed::tests::mul_duration ... ok [INFO] [stdout] test physics::coord_2d::tests::add ... ok [INFO] [stdout] test physics::speed::tests::new ... ok [INFO] [stdout] test physics::coord_2d::tests::from_t ... ok [INFO] [stdout] test physics::coord_2d::tests::sub ... ok [INFO] [stdout] test physics::speed_2d::tests::as_per_sec ... ok [INFO] [stdout] test physics::coord_2d::tests::rem_assign ... ok [INFO] [stdout] test physics::coord_2d::tests::sub_assign ... ok [INFO] [stdout] test physics::coord_2d::tests::div_assign ... ok [INFO] [stdout] test physics::speed_2d::tests::from_per_sec ... ok [INFO] [stdout] test physics::speed_2d::tests::from_tuple ... ok [INFO] [stdout] test physics::speed::tests::new_duration_0_panic - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3de63dfeefe77b00e9e18551c2ad2a68bd685a6587039af3a6d335419b8fb56b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3de63dfeefe77b00e9e18551c2ad2a68bd685a6587039af3a6d335419b8fb56b", kill_on_drop: false }` [INFO] [stdout] 3de63dfeefe77b00e9e18551c2ad2a68bd685a6587039af3a6d335419b8fb56b