[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] testing dairyisscary/for-your-reference-part-3 against 1.69.0 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdairyisscary%2Ffor-your-reference-part-3" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dairyisscary/for-your-reference-part-3 on toolchain 1.69.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.69.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-2-tc1/source/Cargo.toml
[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" "+1.69.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 26a48acf3cb042acc037cbdc325ecebb08f4a63259502210fd3de04134a3339d
[INFO] running `Command { std: "docker" "start" "-a" "26a48acf3cb042acc037cbdc325ecebb08f4a63259502210fd3de04134a3339d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "26a48acf3cb042acc037cbdc325ecebb08f4a63259502210fd3de04134a3339d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26a48acf3cb042acc037cbdc325ecebb08f4a63259502210fd3de04134a3339d", kill_on_drop: false }`
[INFO] [stdout] 26a48acf3cb042acc037cbdc325ecebb08f4a63259502210fd3de04134a3339d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+1.69.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9f1b01d4de6675a50b85e379a0ff580a128f697698896eeaa80c267b76ac8830
[INFO] running `Command { std: "docker" "start" "-a" "9f1b01d4de6675a50b85e379a0ff580a128f697698896eeaa80c267b76ac8830", kill_on_drop: false }`
[INFO] [stderr]    Compiling two v0.0.1 (/opt/rustwide/workdir/two)
[INFO] [stderr]    Compiling three v0.0.1 (/opt/rustwide/workdir/three)
[INFO] [stderr]    Compiling one v0.0.1 (/opt/rustwide/workdir/one)
[INFO] [stderr]    Compiling four v0.0.1 (/opt/rustwide/workdir/four)
[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]    |                                    ^^^^^^^^^^ help: a local variable with a similar name exists: `literal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[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)]` 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` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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)]` 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] 
[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: `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] 
[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: 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] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted
[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` due to 4 previous errors; 2 warnings emitted
[INFO] [stderr] error: could not compile `three` due to 2 previous errors
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "9f1b01d4de6675a50b85e379a0ff580a128f697698896eeaa80c267b76ac8830", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f1b01d4de6675a50b85e379a0ff580a128f697698896eeaa80c267b76ac8830", kill_on_drop: false }`
[INFO] [stdout] 9f1b01d4de6675a50b85e379a0ff580a128f697698896eeaa80c267b76ac8830
