[INFO] cloning repository https://github.com/wagiejack/temp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wagiejack/temp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwagiejack%2Ftemp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwagiejack%2Ftemp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b04cba182a2cbbe8a6f139ad005c678de413015 [INFO] checking wagiejack/temp against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwagiejack%2Ftemp" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 65% (7243/11097) Updating files: 66% (7325/11097) Updating files: 67% (7435/11097) Updating files: 68% (7546/11097) Updating files: 69% (7657/11097) Updating files: 70% (7768/11097) Updating files: 71% (7879/11097) Updating files: 72% (7990/11097) Updating files: 73% (8101/11097) Updating files: 74% (8212/11097) Updating files: 75% (8323/11097) Updating files: 76% (8434/11097) Updating files: 77% (8545/11097) Updating files: 78% (8656/11097) Updating files: 79% (8767/11097) Updating files: 80% (8878/11097) Updating files: 81% (8989/11097) Updating files: 82% (9100/11097) Updating files: 83% (9211/11097) Updating files: 84% (9322/11097) Updating files: 85% (9433/11097) Updating files: 86% (9544/11097) Updating files: 87% (9655/11097) Updating files: 88% (9766/11097) Updating files: 89% (9877/11097) Updating files: 90% (9988/11097) Updating files: 91% (10099/11097) Updating files: 92% (10210/11097) Updating files: 93% (10321/11097) Updating files: 94% (10432/11097) Updating files: 95% (10543/11097) Updating files: 96% (10654/11097) Updating files: 97% (10765/11097) Updating files: 98% (10876/11097) Updating files: 99% (10987/11097) Updating files: 100% (11097/11097) Updating files: 100% (11097/11097), done. [INFO] started tweaking git repo https://github.com/wagiejack/temp [INFO] finished tweaking git repo https://github.com/wagiejack/temp [INFO] tweaked toml for git repo https://github.com/wagiejack/temp written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wagiejack/temp on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wagiejack/temp 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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfc17bd19c6e16d501cc16a43242b85c1068aa61dbf6d8d1b1f93165d4bbb0f4 [INFO] running `Command { std: "docker" "start" "-a" "cfc17bd19c6e16d501cc16a43242b85c1068aa61dbf6d8d1b1f93165d4bbb0f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfc17bd19c6e16d501cc16a43242b85c1068aa61dbf6d8d1b1f93165d4bbb0f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfc17bd19c6e16d501cc16a43242b85c1068aa61dbf6d8d1b1f93165d4bbb0f4", kill_on_drop: false }` [INFO] [stdout] cfc17bd19c6e16d501cc16a43242b85c1068aa61dbf6d8d1b1f93165d4bbb0f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f4c98ba3e25491f758dcce85527041375ffb85fdfeaa34b778fd03675a30a29 [INFO] running `Command { std: "docker" "start" "-a" "3f4c98ba3e25491f758dcce85527041375ffb85fdfeaa34b778fd03675a30a29", kill_on_drop: false }` [INFO] [stderr] Checking exercises v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `fill_vec` is never used [INFO] [stdout] --> solutions/06_move_semantics/move_semantics3.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn fill_vec(mut vec: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro requires a boolean expression as an argument [INFO] [stdout] --> exercises/17_tests/tests1.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | assert!(); [INFO] [stdout] | ^^^^^^^^^ boolean expression required [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro requires a boolean expression as an argument [INFO] [stdout] --> exercises/17_tests/tests1.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | assert!(); [INFO] [stdout] | ^^^^^^^^^ boolean expression required [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Command` [INFO] [stdout] --> exercises/quizzes/quiz2.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | use super::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `transformer` in this scope [INFO] [stdout] --> exercises/quizzes/quiz2.rs:51:22 [INFO] [stdout] | [INFO] [stdout] 51 | let output = transformer(input); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "quiz2" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `exercises` (bin "options3") due to 1 previous error [INFO] [stderr] error: could not compile `exercises` (bin "tests1" test) due to 2 previous errors [INFO] [stdout] error[E0382]: borrow of partially moved value: `optional_point` [INFO] [stdout] --> exercises/12_options/options3.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 12 | Some(p) => println!("Co-ordinates are {},{}", p.x, p.y), [INFO] [stdout] | - value partially moved here [INFO] [stdout] ... [INFO] [stdout] 16 | println!("{optional_point:?}"); // Don't change this line. [INFO] [stdout] | ^^^^^^^^^^^^^^ value borrowed here after partial move [INFO] [stdout] | [INFO] [stdout] = note: partial move occurs because value has type `Point`, which does not implement the `Copy` trait [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: borrow this binding in the pattern to avoid moving the value [INFO] [stdout] | [INFO] [stdout] 12 | Some(ref p) => println!("Co-ordinates are {},{}", p.x, p.y), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] warning: function `animal_habitat` is never used [INFO] [stdout] --> solutions/03_if/if3.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn animal_habitat(animal: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/18_iterators/iterators4.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | fn factorial(num: u64) -> u64 { [INFO] [stdout] | --------- ^^^ expected `u64`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] help: consider returning the local binding `num` [INFO] [stdout] | [INFO] [stdout] 1 | fn factorial(num: u64) -> u64 { [INFO] [stdout] 2 ~ num [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "iterators4") due to 1 previous error [INFO] [stdout] warning: function `array_and_vec` is never used [INFO] [stdout] --> exercises/05_vecs/vecs1.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn array_and_vec() -> ([i32; 4], Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/23_conversions/try_from_into.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | fn try_from(tuple: (i16, i16, i16)) -> Result {} [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/23_conversions/try_from_into.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn try_from(arr: [i16; 3]) -> Result {} [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/23_conversions/try_from_into.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | fn try_from(slice: &[i16]) -> Result {} [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "try_from_into" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "3f4c98ba3e25491f758dcce85527041375ffb85fdfeaa34b778fd03675a30a29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f4c98ba3e25491f758dcce85527041375ffb85fdfeaa34b778fd03675a30a29", kill_on_drop: false }` [INFO] [stdout] 3f4c98ba3e25491f758dcce85527041375ffb85fdfeaa34b778fd03675a30a29