[INFO] cloning repository https://github.com/dairyisscary/for-your-reference-part-3
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dairyisscary/for-your-reference-part-3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdairyisscary%2Ffor-your-reference-part-3", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdairyisscary%2Ffor-your-reference-part-3'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 68fcc88b9b44e0e238dd9b1d24c4496699e5ddd8
[INFO] checking dairyisscary/for-your-reference-part-3 against try#0bdee9e879c87b7211d316e9152109cfd46c576b for pr-150097
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdairyisscary%2Ffor-your-reference-part-3" "/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/dairyisscary/for-your-reference-part-3
[INFO] finished tweaking git repo https://github.com/dairyisscary/for-your-reference-part-3
[INFO] tweaked toml for git repo https://github.com/dairyisscary/for-your-reference-part-3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dairyisscary/for-your-reference-part-3 on toolchain 0bdee9e879c87b7211d316e9152109cfd46c576b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dairyisscary/for-your-reference-part-3 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" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking dairyisscary/for-your-reference-part-3 against try#0bdee9e879c87b7211d316e9152109cfd46c576b for pr-150097
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdairyisscary%2Ffor-your-reference-part-3" "/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/dairyisscary/for-your-reference-part-3
[INFO] finished tweaking git repo https://github.com/dairyisscary/for-your-reference-part-3
[INFO] tweaked toml for git repo https://github.com/dairyisscary/for-your-reference-part-3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dairyisscary/for-your-reference-part-3 on toolchain 0bdee9e879c87b7211d316e9152109cfd46c576b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dairyisscary/for-your-reference-part-3 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" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f07ad5d58f20e46eaaa6720bb65d775c24cb08565cf4461b445f0f7b2f9a2939
[INFO] running `Command { std: "docker" "start" "-a" "f07ad5d58f20e46eaaa6720bb65d775c24cb08565cf4461b445f0f7b2f9a2939", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f07ad5d58f20e46eaaa6720bb65d775c24cb08565cf4461b445f0f7b2f9a2939", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f07ad5d58f20e46eaaa6720bb65d775c24cb08565cf4461b445f0f7b2f9a2939", kill_on_drop: false }`
[INFO] [stdout] f07ad5d58f20e46eaaa6720bb65d775c24cb08565cf4461b445f0f7b2f9a2939
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 876c05d5b2e4a352677177489bf8643fa146f8ac3721ec0bf4e48f20ad56f264
[INFO] running `Command { std: "docker" "start" "-a" "876c05d5b2e4a352677177489bf8643fa146f8ac3721ec0bf4e48f20ad56f264", kill_on_drop: false }`
[INFO] [stderr]     Checking two v0.0.1 (/opt/rustwide/workdir/two)
[INFO] [stderr]     Checking four v0.0.1 (/opt/rustwide/workdir/four)
[INFO] [stderr]     Checking one v0.0.1 (/opt/rustwide/workdir/one)
[INFO] [stderr]     Checking three v0.0.1 (/opt/rustwide/workdir/three)
[INFO] [stdout] error[E0425]: cannot find value `if_literal` in this scope
[INFO] [stdout]   --> one/src/main.rs:20:36
[INFO] [stdout]    |
[INFO] [stdout] 20 |     println!("I can't do this {}", if_literal); // oops tried to use if_literal
[INFO] [stdout]    |                                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: the binding `if_literal` is available in a different scope in the same function
[INFO] [stdout]   --> one/src/main.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let if_literal = "if literal is empty";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `if_literal` in this scope
[INFO] [stdout]   --> one/src/main.rs:20:36
[INFO] [stdout]    |
[INFO] [stdout] 20 |     println!("I can't do this {}", if_literal); // oops tried to use if_literal
[INFO] [stdout]    |                                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: the binding `if_literal` is available in a different scope in the same function
[INFO] [stdout]   --> one/src/main.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let if_literal = "if literal is empty";
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] warning: field `sum` is never read
[INFO] [stdout]  --> two/src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Accumulator {
[INFO] [stdout]   |        ----------- field in this struct
[INFO] [stdout] 8 |     sum: i64,
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Accumulator` 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: field `sum` is never read
[INFO] [stdout]  --> two/src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Accumulator {
[INFO] [stdout]   |        ----------- field in this struct
[INFO] [stdout] 8 |     sum: i64,
[INFO] [stdout]   |     ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Accumulator` 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] error[E0382]: use of moved value: `accum1`
[INFO] [stdout]   --> four/src/main.rs:39:43
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let accum1 = VecAccumulator { items: Vec::new() };
[INFO] [stdout]    |         ------ move occurs because `accum1` has type `VecAccumulator`, which does not implement the `Copy` trait
[INFO] [stdout] 34 |     let accum1_sum = takes_ownership_sum(accum1);
[INFO] [stdout]    |                                          ------ value moved here
[INFO] [stdout] ...
[INFO] [stdout] 39 |     let accum1_sum2 = takes_ownership_sum(accum1); // oops
[INFO] [stdout]    |                                           ^^^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `takes_ownership_sum` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> four/src/main.rs:9:37
[INFO] [stdout]    |
[INFO] [stdout]  9 | fn takes_ownership_sum(owned_accum: VecAccumulator) -> i64 {
[INFO] [stdout]    |    -------------------              ^^^^^^^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout] note: if `VecAccumulator` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> four/src/main.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout]  5 | struct VecAccumulator {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 34 |     let accum1_sum = takes_ownership_sum(accum1);
[INFO] [stdout]    |                                          ------ you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `accum2`
[INFO] [stdout]   --> four/src/main.rs:48:43
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let accum2 = VecAccumulator { items: Vec::new() };
[INFO] [stdout]    |         ------ move occurs because `accum2` has type `VecAccumulator`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 46 |     let (accum3, accum2_sum) = takes_and_gives_ownership_sum(accum2);
[INFO] [stdout]    |                                                              ------ value moved here
[INFO] [stdout] 47 |     println!("{}", accum2_sum);
[INFO] [stdout] 48 |     let accum2_sum2 = takes_ownership_sum(accum2); // oops
[INFO] [stdout]    |                                           ^^^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `takes_and_gives_ownership_sum` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> four/src/main.rs:17:47
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn takes_and_gives_ownership_sum(owned_accum: VecAccumulator) -> (VecAccumulator, i64) {
[INFO] [stdout]    |    -----------------------------              ^^^^^^^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout] note: if `VecAccumulator` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> four/src/main.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout]  5 | struct VecAccumulator {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 46 |     let (accum3, accum2_sum) = takes_and_gives_ownership_sum(accum2);
[INFO] [stdout]    |                                                              ------ you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `a`
[INFO] [stdout]   --> four/src/main.rs:66:22
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let a = VecAccumulator { items: Vec::new() };
[INFO] [stdout]    |         - move occurs because `a` has type `VecAccumulator`, which does not implement the `Copy` trait
[INFO] [stdout] 65 |     drop(a);
[INFO] [stdout]    |          - value moved here
[INFO] [stdout] 66 |     println!("{:?}", a); // opps
[INFO] [stdout]    |                      ^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] note: if `VecAccumulator` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> four/src/main.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout]  5 | struct VecAccumulator {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 65 |     drop(a);
[INFO] [stdout]    |          - you could clone this value
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `accum1_sum2`
[INFO] [stdout]   --> four/src/main.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let accum1_sum2 = takes_ownership_sum(accum1); // oops
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accum1_sum2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `accum2_sum2`
[INFO] [stdout]   --> four/src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let accum2_sum2 = takes_ownership_sum(accum2); // oops
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accum2_sum2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `one` (bin "one") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `one` (bin "one" test) due to 1 previous error
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `vec1`
[INFO] [stdout]   --> three/src/main.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let vec1 = vec![1,2,3];
[INFO] [stdout]    |             ---- move occurs because `vec1` has type `Vec<i32>`, which does not implement the `Copy` trait
[INFO] [stdout] 24 |         println!("{:?}", vec1);
[INFO] [stdout] 25 |         let vec2 = vec1;
[INFO] [stdout]    |                    ---- value moved here
[INFO] [stdout] 26 |         println!("{:?}", vec2);
[INFO] [stdout] 27 |         println!("{:?}", vec1); // opps
[INFO] [stdout]    |                          ^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let vec2 = vec1.clone();
[INFO] [stdout]    |                        ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `vec1`
[INFO] [stdout]   --> three/src/main.rs:27:26
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let vec1 = vec![1,2,3];
[INFO] [stdout]    |             ---- move occurs because `vec1` has type `Vec<i32>`, which does not implement the `Copy` trait
[INFO] [stdout] 24 |         println!("{:?}", vec1);
[INFO] [stdout] 25 |         let vec2 = vec1;
[INFO] [stdout]    |                    ---- value moved here
[INFO] [stdout] 26 |         println!("{:?}", vec2);
[INFO] [stdout] 27 |         println!("{:?}", vec1); // opps
[INFO] [stdout]    |                          ^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let vec2 = vec1.clone();
[INFO] [stdout]    |                        ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `accum1`
[INFO] [stdout]   --> four/src/main.rs:39:43
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let accum1 = VecAccumulator { items: Vec::new() };
[INFO] [stdout]    |         ------ move occurs because `accum1` has type `VecAccumulator`, which does not implement the `Copy` trait
[INFO] [stdout] 34 |     let accum1_sum = takes_ownership_sum(accum1);
[INFO] [stdout]    |                                          ------ value moved here
[INFO] [stdout] ...
[INFO] [stdout] 39 |     let accum1_sum2 = takes_ownership_sum(accum1); // oops
[INFO] [stdout]    |                                           ^^^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `takes_ownership_sum` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> four/src/main.rs:9:37
[INFO] [stdout]    |
[INFO] [stdout]  9 | fn takes_ownership_sum(owned_accum: VecAccumulator) -> i64 {
[INFO] [stdout]    |    -------------------              ^^^^^^^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout] note: if `VecAccumulator` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> four/src/main.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout]  5 | struct VecAccumulator {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 34 |     let accum1_sum = takes_ownership_sum(accum1);
[INFO] [stdout]    |                                          ------ you could clone this value
[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] [stdout] error[E0382]: use of moved value: `accum2`
[INFO] [stdout]   --> four/src/main.rs:48:43
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let accum2 = VecAccumulator { items: Vec::new() };
[INFO] [stdout]    |         ------ move occurs because `accum2` has type `VecAccumulator`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 46 |     let (accum3, accum2_sum) = takes_and_gives_ownership_sum(accum2);
[INFO] [stdout]    |                                                              ------ value moved here
[INFO] [stdout] 47 |     println!("{}", accum2_sum);
[INFO] [stdout] 48 |     let accum2_sum2 = takes_ownership_sum(accum2); // oops
[INFO] [stdout]    |                                           ^^^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `takes_and_gives_ownership_sum` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> four/src/main.rs:17:47
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn takes_and_gives_ownership_sum(owned_accum: VecAccumulator) -> (VecAccumulator, i64) {
[INFO] [stdout]    |    -----------------------------              ^^^^^^^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |    |
[INFO] [stdout]    |    in this function
[INFO] [stdout] note: if `VecAccumulator` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> four/src/main.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout]  5 | struct VecAccumulator {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 46 |     let (accum3, accum2_sum) = takes_and_gives_ownership_sum(accum2);
[INFO] [stdout]    |                                                              ------ you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `a`
[INFO] [stdout]   --> four/src/main.rs:66:22
[INFO] [stdout]    |
[INFO] [stdout] 64 |     let a = VecAccumulator { items: Vec::new() };
[INFO] [stdout]    |         - move occurs because `a` has type `VecAccumulator`, which does not implement the `Copy` trait
[INFO] [stdout] 65 |     drop(a);
[INFO] [stdout]    |          - value moved here
[INFO] [stdout] 66 |     println!("{:?}", a); // opps
[INFO] [stdout]    |                      ^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout] note: if `VecAccumulator` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> four/src/main.rs:5:1
[INFO] [stdout]    |
[INFO] [stdout]  5 | struct VecAccumulator {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] ...
[INFO] [stdout] 65 |     drop(a);
[INFO] [stdout]    |          - you could clone this value
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `accum1_sum2`
[INFO] [stdout]   --> four/src/main.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let accum1_sum2 = takes_ownership_sum(accum1); // oops
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accum1_sum2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `accum2_sum2`
[INFO] [stdout]   --> four/src/main.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     let accum2_sum2 = takes_ownership_sum(accum2); // oops
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accum2_sum2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `four` (bin "four" test) due to 3 previous errors; 2 warnings emitted
[INFO] [stderr] error: could not compile `three` (bin "three") due to 1 previous error
[INFO] [stderr] error: could not compile `three` (bin "three" test) due to 1 previous error
[INFO] [stderr] error: could not compile `four` (bin "four") due to 3 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "876c05d5b2e4a352677177489bf8643fa146f8ac3721ec0bf4e48f20ad56f264", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "876c05d5b2e4a352677177489bf8643fa146f8ac3721ec0bf4e48f20ad56f264", kill_on_drop: false }`
[INFO] [stdout] 876c05d5b2e4a352677177489bf8643fa146f8ac3721ec0bf4e48f20ad56f264
