[INFO] cloning repository https://github.com/Amaras/hphb
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Amaras/hphb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmaras%2Fhphb", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmaras%2Fhphb'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 69fd8832b43b07bafa21dc3ab0f9326dab428002
[INFO] checking Amaras/hphb against master#3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0 for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmaras%2Fhphb" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Amaras/hphb
[INFO] finished tweaking git repo https://github.com/Amaras/hphb
[INFO] tweaked toml for git repo https://github.com/Amaras/hphb written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Amaras/hphb on toolchain 3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Amaras/hphb 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" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2970c9f4dca15b834183e3e87b04c89ce337fccc6a029e8b4300e02e4677ff5e
[INFO] running `Command { std: "docker" "start" "-a" "2970c9f4dca15b834183e3e87b04c89ce337fccc6a029e8b4300e02e4677ff5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2970c9f4dca15b834183e3e87b04c89ce337fccc6a029e8b4300e02e4677ff5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2970c9f4dca15b834183e3e87b04c89ce337fccc6a029e8b4300e02e4677ff5e", kill_on_drop: false }`
[INFO] [stdout] 2970c9f4dca15b834183e3e87b04c89ce337fccc6a029e8b4300e02e4677ff5e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+3129d37ef7075ee3cbaa3d6cbe1b5794f67192b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4ab3057d962671b912f7e9f9127bd804e328cfd7276a19c2dcae6e2b6968d9fd
[INFO] running `Command { std: "docker" "start" "-a" "4ab3057d962671b912f7e9f9127bd804e328cfd7276a19c2dcae6e2b6968d9fd", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]    Compiling anyhow v1.0.70
[INFO] [stderr]     Checking once_cell v1.17.1
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking hphb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::character::Character`
[INFO] [stdout]  --> src/card.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::character::Character;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::character::Character`
[INFO] [stdout]  --> src/card.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::character::Character;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `card_type`, `cost`, `play_effects`, `discard_effects`, and `target` are never read
[INFO] [stdout]   --> src/card.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct HogwartsCard {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 20 |     card_type: CardType,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 21 |     cost: u8,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 22 |     id: usize,
[INFO] [stdout] 23 |     play_effects: Vec<Effect>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 24 |     discard_effects: Vec<Effect>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 25 |     target: Target,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HogwartsCard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `play` and `discard` are never used
[INFO] [stdout]   --> src/card.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl HogwartsCard {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] 35 |     fn play(&mut self, targets: &mut [&mut Target]) -> Result<(), ()> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn discard(&mut self, targets: &mut [&mut Target]) -> Result<(), ()> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `coins`, `power`, and `special_power` are never read
[INFO] [stdout]   --> src/character.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct Hero {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 10 |     health: u8,
[INFO] [stdout] 11 |     coins: u8,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 12 |     power: u8,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     special_power: Option<Effect>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hero` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `health`, `current_damage`, `effect`, and `reward` are never read
[INFO] [stdout]    --> src/character.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub struct Villain {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 107 |     health: u8,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 108 |     current_damage: u8,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 109 |     effect: Effect,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 110 |     reward: Effect,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Villain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `LocationControl`, `VillainDamage`, `PowerGain`, `HeroHealth`, `InfluenceGain`, and `Cards` are never constructed
[INFO] [stdout]   --> src/effect.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub(crate) enum Effect {
[INFO] [stdout]    |                 ------ variants in this enum
[INFO] [stdout] 6  |     // Villains may control (+) and heroes may heal (-)
[INFO] [stdout] 7  |     LocationControl { amount: i8 },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 8  |     // Villains may get healed (-) and heroes may damage villains (+)
[INFO] [stdout] 9  |     VillainDamage { amount: i8 },
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 10 |     // Heroes may gain power (+) or use/discard some for effects (-)
[INFO] [stdout] 11 |     PowerGain { amount: i8 },
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 12 |     // Heroes may heal (+) or get damaged (-)
[INFO] [stdout] 13 |     HeroHealth { amount: i8 },
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 14 |     // Heroes may gain influence (+) and use/discard some for effects (-)
[INFO] [stdout] 15 |     InfluenceGain { amount: i8 },
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 16 |     // Heroes may draw cards (+) or discard some (-)
[INFO] [stdout] 17 |     Cards { amount: i8 },
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Effect` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `apply` is never used
[INFO] [stdout]   --> src/effect.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Effect {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 21 |     pub fn apply(&self, _target: &mut Target) -> Result<(), ()> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `card_type`, `cost`, `play_effects`, `discard_effects`, and `target` are never read
[INFO] [stdout]   --> src/card.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct HogwartsCard {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 20 |     card_type: CardType,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 21 |     cost: u8,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 22 |     id: usize,
[INFO] [stdout] 23 |     play_effects: Vec<Effect>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 24 |     discard_effects: Vec<Effect>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 25 |     target: Target,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HogwartsCard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `play` and `discard` are never used
[INFO] [stdout]   --> src/card.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | impl HogwartsCard {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] 35 |     fn play(&mut self, targets: &mut [&mut Target]) -> Result<(), ()> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn discard(&mut self, targets: &mut [&mut Target]) -> Result<(), ()> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `coins`, `power`, and `special_power` are never read
[INFO] [stdout]   --> src/character.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct Hero {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 10 |     health: u8,
[INFO] [stdout] 11 |     coins: u8,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 12 |     power: u8,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     special_power: Option<Effect>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Hero` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `health`, `current_damage`, `effect`, and `reward` are never read
[INFO] [stdout]    --> src/character.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub struct Villain {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 107 |     health: u8,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 108 |     current_damage: u8,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 109 |     effect: Effect,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 110 |     reward: Effect,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Villain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `LocationControl`, `VillainDamage`, `PowerGain`, `HeroHealth`, `InfluenceGain`, and `Cards` are never constructed
[INFO] [stdout]   --> src/effect.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub(crate) enum Effect {
[INFO] [stdout]    |                 ------ variants in this enum
[INFO] [stdout] 6  |     // Villains may control (+) and heroes may heal (-)
[INFO] [stdout] 7  |     LocationControl { amount: i8 },
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 8  |     // Villains may get healed (-) and heroes may damage villains (+)
[INFO] [stdout] 9  |     VillainDamage { amount: i8 },
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 10 |     // Heroes may gain power (+) or use/discard some for effects (-)
[INFO] [stdout] 11 |     PowerGain { amount: i8 },
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 12 |     // Heroes may heal (+) or get damaged (-)
[INFO] [stdout] 13 |     HeroHealth { amount: i8 },
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 14 |     // Heroes may gain influence (+) and use/discard some for effects (-)
[INFO] [stdout] 15 |     InfluenceGain { amount: i8 },
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 16 |     // Heroes may draw cards (+) or discard some (-)
[INFO] [stdout] 17 |     Cards { amount: i8 },
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Effect` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `apply` is never used
[INFO] [stdout]   --> src/effect.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Effect {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 21 |     pub fn apply(&self, _target: &mut Target) -> Result<(), ()> {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.93s
[INFO] running `Command { std: "docker" "inspect" "4ab3057d962671b912f7e9f9127bd804e328cfd7276a19c2dcae6e2b6968d9fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ab3057d962671b912f7e9f9127bd804e328cfd7276a19c2dcae6e2b6968d9fd", kill_on_drop: false }`
[INFO] [stdout] 4ab3057d962671b912f7e9f9127bd804e328cfd7276a19c2dcae6e2b6968d9fd
