[INFO] cloning repository https://github.com/Orlha/elle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Orlha/elle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOrlha%2Felle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOrlha%2Felle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c69cfea6d09111ac8b81e0e80a023cbc7b7a023 [INFO] checking Orlha/elle against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOrlha%2Felle" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Orlha/elle on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Orlha/elle [INFO] finished tweaking git repo https://github.com/Orlha/elle [INFO] tweaked toml for git repo https://github.com/Orlha/elle written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Orlha/elle already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.62 [INFO] [stderr] Downloaded io v0.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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] 86211b42e930e122a1b430a426c9d7a035d93e13cba3113ebfbe5b5a1a61069e [INFO] running `Command { std: "docker" "start" "-a" "86211b42e930e122a1b430a426c9d7a035d93e13cba3113ebfbe5b5a1a61069e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86211b42e930e122a1b430a426c9d7a035d93e13cba3113ebfbe5b5a1a61069e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86211b42e930e122a1b430a426c9d7a035d93e13cba3113ebfbe5b5a1a61069e", kill_on_drop: false }` [INFO] [stdout] 86211b42e930e122a1b430a426c9d7a035d93e13cba3113ebfbe5b5a1a61069e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--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] 4e148b3e27d1857a370667250a3f21ca6405ca944c963d28c7e9810270419afc [INFO] running `Command { std: "docker" "start" "-a" "4e148b3e27d1857a370667250a3f21ca6405ca944c963d28c7e9810270419afc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Checking io v0.0.2 [INFO] [stderr] Checking termion v1.5.3 [INFO] [stderr] Checking game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn bind_cell(&mut self, id: i32) -> Result<(Pos)> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:51:65 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn bind_cell_close(&mut self, id: i32, pos: Pos) -> Result<(Pos)> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn bind_cell(&mut self, id: i32) -> Result<(Pos)> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:51:65 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn bind_cell_close(&mut self, id: i32, pos: Pos) -> Result<(Pos)> { [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | for (x, y) in self.cells.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/game.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | for id in parents { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/game.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | for (id, cell) in self.cells.iter_mut() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/map.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn bind_cell_close(&mut self, id: i32, pos: Pos) -> Result<(Pos)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/map.rs:51:45 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn bind_cell_close(&mut self, id: i32, pos: Pos) -> Result<(Pos)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell` [INFO] [stdout] --> src/map.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn cell_cell(&self, cell: &mut Cell) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/map.rs:121:31 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn cell_feast(&mut self, id: i32, pos: Pos) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/map.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn cell_scavenge(&mut self, id: i32, pos: Pos) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/map.rs:207:7 [INFO] [stdout] | [INFO] [stdout] 207 | d if (y as i64) < ENERGY_TOP / ENERGY_DROP => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let mut cmd = cell.get_cmd().unwrap() % CMD_SIZE as u8; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | for (x, y) in self.cells.iter() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/game.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | for id in parents { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/game.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | for (id, cell) in self.cells.iter_mut() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/map.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn bind_cell_close(&mut self, id: i32, pos: Pos) -> Result<(Pos)> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/map.rs:51:45 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn bind_cell_close(&mut self, id: i32, pos: Pos) -> Result<(Pos)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell` [INFO] [stdout] --> src/map.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn cell_cell(&self, cell: &mut Cell) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/map.rs:121:31 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn cell_feast(&mut self, id: i32, pos: Pos) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/map.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn cell_scavenge(&mut self, id: i32, pos: Pos) -> Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/map.rs:207:7 [INFO] [stdout] | [INFO] [stdout] 207 | d if (y as i64) < ENERGY_TOP / ENERGY_DROP => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/map.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | write!(f, "+{:02}|", ENERGY_TOP - ENERGY_DROP * y as i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let mut cmd = cell.get_cmd().unwrap() % CMD_SIZE as u8; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/map.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | write!(f, "+{:02}|", ENERGY_TOP - ENERGY_DROP * y as i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.93s [INFO] running `Command { std: "docker" "inspect" "4e148b3e27d1857a370667250a3f21ca6405ca944c963d28c7e9810270419afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e148b3e27d1857a370667250a3f21ca6405ca944c963d28c7e9810270419afc", kill_on_drop: false }` [INFO] [stdout] 4e148b3e27d1857a370667250a3f21ca6405ca944c963d28c7e9810270419afc