[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdairyisscary%2Ffor-your-reference-part-3" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dairyisscary/for-your-reference-part-3 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-12/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed1cadcf199cb290ab9b9b11bad1dc4240d013a9a6d4d1f3d1cc64564e5ea58b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ed1cadcf199cb290ab9b9b11bad1dc4240d013a9a6d4d1f3d1cc64564e5ea58b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed1cadcf199cb290ab9b9b11bad1dc4240d013a9a6d4d1f3d1cc64564e5ea58b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed1cadcf199cb290ab9b9b11bad1dc4240d013a9a6d4d1f3d1cc64564e5ea58b", kill_on_drop: false }` [INFO] [stdout] ed1cadcf199cb290ab9b9b11bad1dc4240d013a9a6d4d1f3d1cc64564e5ea58b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cf5578984b33f9c8b934baa1eeda9c8e756d325f945b5ff84c29e58d6e09638 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8cf5578984b33f9c8b934baa1eeda9c8e756d325f945b5ff84c29e58d6e09638", kill_on_drop: false }` [INFO] [stderr] Checking one v0.0.1 (/opt/rustwide/workdir/one) [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 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] | ^^^^^^^^^^ 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] [stderr] error: could not compile `one` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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] [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`, 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] [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[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[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] [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] [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] [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] 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`, 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] [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] [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[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] [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] [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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "8cf5578984b33f9c8b934baa1eeda9c8e756d325f945b5ff84c29e58d6e09638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cf5578984b33f9c8b934baa1eeda9c8e756d325f945b5ff84c29e58d6e09638", kill_on_drop: false }` [INFO] [stdout] 8cf5578984b33f9c8b934baa1eeda9c8e756d325f945b5ff84c29e58d6e09638