[INFO] cloning repository https://github.com/rafaelpierre/rust-bank
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rafaelpierre/rust-bank" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaelpierre%2Frust-bank", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaelpierre%2Frust-bank'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 826d067b1ec08f517f81b7d5623c7d545534576a
[INFO] checking rafaelpierre/rust-bank against e3607d549209cc9fdfe7e907123b4185210e2c2b for pr-158915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frafaelpierre%2Frust-bank" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rafaelpierre/rust-bank
[INFO] finished tweaking git repo https://github.com/rafaelpierre/rust-bank
[INFO] tweaked toml for git repo https://github.com/rafaelpierre/rust-bank written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rafaelpierre/rust-bank on toolchain e3607d549209cc9fdfe7e907123b4185210e2c2b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rafaelpierre/rust-bank 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" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "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-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e33fd1bbe650b36a26b34d61bd9797b442f650f93e3e7f4a6efdbe7a00f48418
[INFO] running `Command { std: "docker" "start" "e33fd1bbe650b36a26b34d61bd9797b442f650f93e3e7f4a6efdbe7a00f48418", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e33fd1bbe650b36a26b34d61bd9797b442f650f93e3e7f4a6efdbe7a00f48418", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e33fd1bbe650b36a26b34d61bd9797b442f650f93e3e7f4a6efdbe7a00f48418" "/opt/rustwide/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e33fd1bbe650b36a26b34d61bd9797b442f650f93e3e7f4a6efdbe7a00f48418", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e33fd1bbe650b36a26b34d61bd9797b442f650f93e3e7f4a6efdbe7a00f48418" "/opt/rustwide/cargo-home/bin/cargo" "+e3607d549209cc9fdfe7e907123b4185210e2c2b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-bank v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0382]: borrow of moved value: `bank`
[INFO] [stdout]   --> src/main.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let bank = Bank::new();
[INFO] [stdout]    |         ---- move occurs because `bank` has type `Bank`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 49 |     let other_bank = bank;
[INFO] [stdout]    |                      ---- value moved here
[INFO] [stdout] 50 |
[INFO] [stdout] 51 |     println!("{:#?}", bank);
[INFO] [stdout]    |                       ^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] note: if `Bank` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/main.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Bank {
[INFO] [stdout]    | ^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 49 |     let other_bank = bank;
[INFO] [stdout]    |                      ---- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `bank`
[INFO] [stdout]   --> src/main.rs:51:23
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let bank = Bank::new();
[INFO] [stdout]    |         ---- move occurs because `bank` has type `Bank`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 49 |     let other_bank = bank;
[INFO] [stdout]    |                      ---- value moved here
[INFO] [stdout] 50 |
[INFO] [stdout] 51 |     println!("{:#?}", bank);
[INFO] [stdout]    |                       ^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] note: if `Bank` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/main.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Bank {
[INFO] [stdout]    | ^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 49 |     let other_bank = bank;
[INFO] [stdout]    |                      ---- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `account`
[INFO] [stdout]   --> src/main.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let account = Account::new(
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `account`
[INFO] [stdout]   --> src/main.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let account = Account::new(
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other_bank`
[INFO] [stdout]   --> src/main.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let other_bank = bank;
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_bank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other_bank`
[INFO] [stdout]   --> src/main.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let other_bank = bank;
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_bank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-bank` (bin "rust-bank") due to 1 previous error; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-bank` (bin "rust-bank" test) due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e33fd1bbe650b36a26b34d61bd9797b442f650f93e3e7f4a6efdbe7a00f48418", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e33fd1bbe650b36a26b34d61bd9797b442f650f93e3e7f4a6efdbe7a00f48418", kill_on_drop: false }`
[INFO] [stdout] e33fd1bbe650b36a26b34d61bd9797b442f650f93e3e7f4a6efdbe7a00f48418
