[INFO] fetching crate Clig 0.1.1... [INFO] checking Clig-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate Clig 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate Clig 0.1.1 [INFO] finished tweaking crates.io crate Clig 0.1.1 [INFO] tweaked toml for crates.io crate Clig 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate Clig 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 329f5f06cb52a40a3479e72e55b00532f0e9a1c11f4cd19f99da1acd06585ff1 [INFO] running `Command { std: "docker" "start" "-a" "329f5f06cb52a40a3479e72e55b00532f0e9a1c11f4cd19f99da1acd06585ff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "329f5f06cb52a40a3479e72e55b00532f0e9a1c11f4cd19f99da1acd06585ff1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "329f5f06cb52a40a3479e72e55b00532f0e9a1c11f4cd19f99da1acd06585ff1", kill_on_drop: false }` [INFO] [stdout] 329f5f06cb52a40a3479e72e55b00532f0e9a1c11f4cd19f99da1acd06585ff1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fed8009308e13107ff25ff741480f993aeb8ff82ea8ce9c2aef011c51638a855 [INFO] running `Command { std: "docker" "start" "-a" "fed8009308e13107ff25ff741480f993aeb8ff82ea8ce9c2aef011c51638a855", kill_on_drop: false }` [INFO] [stderr] Checking Clig v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `maps::map::*` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use maps::map::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `entities::entity::*` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use entities::entity::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/maps/map.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | for i in 0..(self.width + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/maps/map.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | for i in 0..(&self.height+1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/maps/map.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | for j in 0..(&self.width - 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/maps/map.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | for i in 0..(self.width + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/maps/map.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | for i in 0..(self.width + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/maps/map.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | for i in 0..(self.width + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `isplayer` and `canmove` are never read [INFO] [stdout] --> src/entities/entity.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Entity { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 4 | isplayer: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | symbol: char, [INFO] [stdout] 6 | canmove: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Clig` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `clig` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/maps/map.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | for i in 0..(self.width + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/maps/map.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | for i in 0..(&self.height+1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/maps/map.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | for j in 0..(&self.width - 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/maps/map.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | for i in 0..(self.width + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/maps/map.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | for i in 0..(self.width + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/maps/map.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | for i in 0..(self.width + 1) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut map = GameMap::new(50, 8, '#'); [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: fields `isplayer` and `canmove` are never read [INFO] [stdout] --> src/entities/entity.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Entity { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 4 | isplayer: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | symbol: char, [INFO] [stdout] 6 | canmove: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "fed8009308e13107ff25ff741480f993aeb8ff82ea8ce9c2aef011c51638a855", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fed8009308e13107ff25ff741480f993aeb8ff82ea8ce9c2aef011c51638a855", kill_on_drop: false }` [INFO] [stdout] fed8009308e13107ff25ff741480f993aeb8ff82ea8ce9c2aef011c51638a855