[INFO] cloning repository https://github.com/KuzyaCat/autobattler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KuzyaCat/autobattler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKuzyaCat%2Fautobattler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKuzyaCat%2Fautobattler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ab83839c03037d4a5bde6c55778ccf1f45e6f20b
[INFO] checking KuzyaCat/autobattler against try#b28cc4eb48a6415b914e8ad0308be255ff8d73ed for pr-156508
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKuzyaCat%2Fautobattler" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KuzyaCat/autobattler
[INFO] finished tweaking git repo https://github.com/KuzyaCat/autobattler
[INFO] tweaked toml for git repo https://github.com/KuzyaCat/autobattler written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KuzyaCat/autobattler on toolchain b28cc4eb48a6415b914e8ad0308be255ff8d73ed
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KuzyaCat/autobattler 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" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6e4a5325995407262803d9ab70ac1196b9ad798212fc74cb2b3acb2461394845
[INFO] running `Command { std: "docker" "start" "-a" "6e4a5325995407262803d9ab70ac1196b9ad798212fc74cb2b3acb2461394845", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6e4a5325995407262803d9ab70ac1196b9ad798212fc74cb2b3acb2461394845", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6e4a5325995407262803d9ab70ac1196b9ad798212fc74cb2b3acb2461394845", kill_on_drop: false }`
[INFO] [stdout] 6e4a5325995407262803d9ab70ac1196b9ad798212fc74cb2b3acb2461394845
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bcabbdcc75ab7c859457a6d593506eb15e04d79b9c225ec12a43ec6b2bdd6fcf
[INFO] running `Command { std: "docker" "start" "-a" "bcabbdcc75ab7c859457a6d593506eb15e04d79b9c225ec12a43ec6b2bdd6fcf", kill_on_drop: false }`
[INFO] [stderr]     Checking autobattler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Unit` is never constructed
[INFO] [stdout]  --> src/units/unit.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Unit {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_hp` are never used
[INFO] [stdout]   --> src/units/unit.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Unit {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 13 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn set_hp(&mut self, hp: i16) -> i16 {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `RangeAttackType` is never used
[INFO] [stdout]  --> src/behavior/range_attack_type.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum RangeAttackType {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `attack`, `armor`, and `range_attack_type` are never read
[INFO] [stdout]  --> src/units/unit.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Unit {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 5 |     pub name: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 6 |     pub hp: i16,
[INFO] [stdout] 7 |     pub attack: i16,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 8 |     pub armor: i16,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 9 |     pub range_attack_type: RangeAttackType,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Unit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Range` is never constructed
[INFO] [stdout]  --> src/behavior/range_attack_type.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum RangeAttackType {
[INFO] [stdout]   |          --------------- variant in this enum
[INFO] [stdout] 4 |     Melee,
[INFO] [stdout] 5 |     Range,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] running `Command { std: "docker" "inspect" "bcabbdcc75ab7c859457a6d593506eb15e04d79b9c225ec12a43ec6b2bdd6fcf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bcabbdcc75ab7c859457a6d593506eb15e04d79b9c225ec12a43ec6b2bdd6fcf", kill_on_drop: false }`
[INFO] [stdout] bcabbdcc75ab7c859457a6d593506eb15e04d79b9c225ec12a43ec6b2bdd6fcf
