[INFO] cloning repository https://github.com/Alphaxide/bank_account
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alphaxide/bank_account" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaxide%2Fbank_account", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaxide%2Fbank_account'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 27a1361e1c46cb9050031046482a73a6ca5934ea
[INFO] checking Alphaxide/bank_account against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlphaxide%2Fbank_account" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Alphaxide/bank_account
[INFO] finished tweaking git repo https://github.com/Alphaxide/bank_account
[INFO] tweaked toml for git repo https://github.com/Alphaxide/bank_account written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Alphaxide/bank_account on toolchain 36b21637e93b038453924d3c66821089e71d8baa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Alphaxide/bank_account 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" "+36b21637e93b038453924d3c66821089e71d8baa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] da1c314904ee90ff842553843e1d93310b5e84d9954961eeb4f0b9f3cc484c8b
[INFO] running `Command { std: "docker" "start" "-a" "da1c314904ee90ff842553843e1d93310b5e84d9954961eeb4f0b9f3cc484c8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "da1c314904ee90ff842553843e1d93310b5e84d9954961eeb4f0b9f3cc484c8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da1c314904ee90ff842553843e1d93310b5e84d9954961eeb4f0b9f3cc484c8b", kill_on_drop: false }`
[INFO] [stdout] da1c314904ee90ff842553843e1d93310b5e84d9954961eeb4f0b9f3cc484c8b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] af79dd77a241df48da79072e649a668e3d3ffbbf6b05e7d5886739e4df7a34cc
[INFO] running `Command { std: "docker" "start" "-a" "af79dd77a241df48da79072e649a668e3d3ffbbf6b05e7d5886739e4df7a34cc", kill_on_drop: false }`
[INFO] [stderr]     Checking banking_system v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `Closed` is never constructed
[INFO] [stdout]  --> src/account.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum AccountStatus {
[INFO] [stdout]   |          ------------- variant in this enum
[INFO] [stdout] 3 |     Active,
[INFO] [stdout] 4 |     Closed,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `AccountStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Closed` is never constructed
[INFO] [stdout]  --> src/account.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum AccountStatus {
[INFO] [stdout]   |          ------------- variant in this enum
[INFO] [stdout] 3 |     Active,
[INFO] [stdout] 4 |     Closed,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `AccountStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]  --> src/account.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Account {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 9 |     id: u32,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Account` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]  --> src/account.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Account {
[INFO] [stdout]   |            ------- field in this struct
[INFO] [stdout] 9 |     id: u32,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Account` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `close` is never used
[INFO] [stdout]   --> src/account.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Account {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn close(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `close` is never used
[INFO] [stdout]   --> src/account.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Account {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn close(&mut self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/transaction.rs:9:18
[INFO] [stdout]    |
[INFO] [stdout] 9  |           .status()
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 10 | |         .clone();
[INFO] [stdout]    | |________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `AccountStatus` does not implement `Clone`, so calling `clone` on `&AccountStatus` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 9  -         .status()
[INFO] [stdout] 10 -         .clone();
[INFO] [stdout] 9  +         .status();
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to clone `AccountStatus`, implement `Clone` for it
[INFO] [stdout]   --> src/account.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout] 2  + #[derive(Clone)]
[INFO] [stdout] 3  | pub enum AccountStatus {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/transaction.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 |           .status()
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 20 | |         .clone();
[INFO] [stdout]    | |________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `AccountStatus` does not implement `Clone`, so calling `clone` on `&AccountStatus` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 19 -         .status()
[INFO] [stdout] 20 -         .clone();
[INFO] [stdout] 19 +         .status();
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to clone `AccountStatus`, implement `Clone` for it
[INFO] [stdout]   --> src/account.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout] 2  + #[derive(Clone)]
[INFO] [stdout] 3  | pub enum AccountStatus {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/transaction.rs:9:18
[INFO] [stdout]    |
[INFO] [stdout] 9  |           .status()
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 10 | |         .clone();
[INFO] [stdout]    | |________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `AccountStatus` does not implement `Clone`, so calling `clone` on `&AccountStatus` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 9  -         .status()
[INFO] [stdout] 10 -         .clone();
[INFO] [stdout] 9  +         .status();
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to clone `AccountStatus`, implement `Clone` for it
[INFO] [stdout]   --> src/account.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout] 2  + #[derive(Clone)]
[INFO] [stdout] 3  | pub enum AccountStatus {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/transaction.rs:19:18
[INFO] [stdout]    |
[INFO] [stdout] 19 |           .status()
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 20 | |         .clone();
[INFO] [stdout]    | |________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `AccountStatus` does not implement `Clone`, so calling `clone` on `&AccountStatus` copies the reference, which does not do anything and can be removed
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout] 19 -         .status()
[INFO] [stdout] 20 -         .clone();
[INFO] [stdout] 19 +         .status();
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to clone `AccountStatus`, implement `Clone` for it
[INFO] [stdout]   --> src/account.rs:2:1
[INFO] [stdout]    |
[INFO] [stdout] 2  + #[derive(Clone)]
[INFO] [stdout] 3  | pub enum AccountStatus {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] running `Command { std: "docker" "inspect" "af79dd77a241df48da79072e649a668e3d3ffbbf6b05e7d5886739e4df7a34cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af79dd77a241df48da79072e649a668e3d3ffbbf6b05e7d5886739e4df7a34cc", kill_on_drop: false }`
[INFO] [stdout] af79dd77a241df48da79072e649a668e3d3ffbbf6b05e7d5886739e4df7a34cc
