[INFO] cloning repository https://github.com/confar/roguelike [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/confar/roguelike" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconfar%2Froguelike", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconfar%2Froguelike'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 931eea4b87a3ec27a2e340b7d06f12e4916cafdb [INFO] checking confar/roguelike against master#ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconfar%2Froguelike" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/confar/roguelike [INFO] finished tweaking git repo https://github.com/confar/roguelike [INFO] tweaked toml for git repo https://github.com/confar/roguelike written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/confar/roguelike on toolchain ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/confar/roguelike 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" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tcod v0.15.0 [INFO] [stderr] Downloaded lazy_static v0.1.16 [INFO] [stderr] Downloaded tcod-sys v5.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 913fc7de5202651ab24bc07eae77a8f9495892fee2371855ca38d2daf2044fe3 [INFO] running `Command { std: "docker" "start" "-a" "913fc7de5202651ab24bc07eae77a8f9495892fee2371855ca38d2daf2044fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "913fc7de5202651ab24bc07eae77a8f9495892fee2371855ca38d2daf2044fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "913fc7de5202651ab24bc07eae77a8f9495892fee2371855ca38d2daf2044fe3", kill_on_drop: false }` [INFO] [stdout] 913fc7de5202651ab24bc07eae77a8f9495892fee2371855ca38d2daf2044fe3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba1699580fc39177b901d674dc6a7c0e5b387550414c3f12b77358421a192e88 [INFO] running `Command { std: "docker" "start" "-a" "ba1699580fc39177b901d674dc6a7c0e5b387550414c3f12b77358421a192e88", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling tcod-sys v5.0.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tcod v0.15.0 [INFO] [stderr] Checking roguelike v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `random` [INFO] [stdout] --> src/main.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{Rng, random}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:430:26 [INFO] [stdout] | [INFO] [stdout] 430 | fn player_move_or_attack(id: usize, dx: i32, dy: i32, game: &Game, objects: &mut[Object]) { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 430 | fn player_move_or_attack(_id: usize, dx: i32, dy: i32, game: &Game, objects: &mut[Object]) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PLAYER` [INFO] [stdout] | [INFO] [stdout] 430 - fn player_move_or_attack(id: usize, dx: i32, dy: i32, game: &Game, objects: &mut[Object]) { [INFO] [stdout] 430 + fn player_move_or_attack(PLAYER: usize, dx: i32, dy: i32, game: &Game, objects: &mut[Object]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `random` [INFO] [stdout] --> src/main.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::{Rng, random}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:430:26 [INFO] [stdout] | [INFO] [stdout] 430 | fn player_move_or_attack(id: usize, dx: i32, dy: i32, game: &Game, objects: &mut[Object]) { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 430 | fn player_move_or_attack(_id: usize, dx: i32, dy: i32, game: &Game, objects: &mut[Object]) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `PLAYER` [INFO] [stdout] | [INFO] [stdout] 430 - fn player_move_or_attack(id: usize, dx: i32, dy: i32, game: &Game, objects: &mut[Object]) { [INFO] [stdout] 430 + fn player_move_or_attack(PLAYER: usize, dx: i32, dy: i32, game: &Game, objects: &mut[Object]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.55s [INFO] running `Command { std: "docker" "inspect" "ba1699580fc39177b901d674dc6a7c0e5b387550414c3f12b77358421a192e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba1699580fc39177b901d674dc6a7c0e5b387550414c3f12b77358421a192e88", kill_on_drop: false }` [INFO] [stdout] ba1699580fc39177b901d674dc6a7c0e5b387550414c3f12b77358421a192e88