[INFO] cloning repository https://github.com/anthonykimani/rustlings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anthonykimani/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonykimani%2Frustlings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonykimani%2Frustlings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2650dd74e22aeb551d26bdca133bc7b4b2a4967a [INFO] checking anthonykimani/rustlings against try#d7b15db413fd2070daa09a2c5b7f2ab38417429f for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonykimani%2Frustlings" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/anthonykimani/rustlings [INFO] finished tweaking git repo https://github.com/anthonykimani/rustlings [INFO] tweaked toml for git repo https://github.com/anthonykimani/rustlings written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/anthonykimani/rustlings on toolchain d7b15db413fd2070daa09a2c5b7f2ab38417429f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "generate-lockfile" "--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 anthonykimani/rustlings against try#d7b15db413fd2070daa09a2c5b7f2ab38417429f for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonykimani%2Frustlings" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/anthonykimani/rustlings [INFO] finished tweaking git repo https://github.com/anthonykimani/rustlings [INFO] tweaked toml for git repo https://github.com/anthonykimani/rustlings written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/anthonykimani/rustlings on toolchain d7b15db413fd2070daa09a2c5b7f2ab38417429f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "generate-lockfile" "--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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 199bb5db5cffd87e40bfbd65eac2fe6796b43db5b4947166c6996ca7bff35f4e [INFO] running `Command { std: "docker" "start" "-a" "199bb5db5cffd87e40bfbd65eac2fe6796b43db5b4947166c6996ca7bff35f4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "199bb5db5cffd87e40bfbd65eac2fe6796b43db5b4947166c6996ca7bff35f4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "199bb5db5cffd87e40bfbd65eac2fe6796b43db5b4947166c6996ca7bff35f4e", kill_on_drop: false }` [INFO] [stdout] 199bb5db5cffd87e40bfbd65eac2fe6796b43db5b4947166c6996ca7bff35f4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6654c39e63cf7a117a46c4f1e3fa7769cfc5f8ca01c22222db7ecaa52fa5472 [INFO] running `Command { std: "docker" "start" "-a" "f6654c39e63cf7a117a46c4f1e3fa7769cfc5f8ca01c22222db7ecaa52fa5472", kill_on_drop: false }` [INFO] [stderr] Checking exercises v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> exercises/16_lifetimes/lifetimes3.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | author: &str, [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 4 ~ struct Book<'a> { [INFO] [stdout] 5 ~ author: &'a str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> exercises/16_lifetimes/lifetimes3.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | title: &str, [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 4 ~ struct Book<'a> { [INFO] [stdout] 5 | author: &str, [INFO] [stdout] 6 ~ title: &'a str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `,` [INFO] [stdout] --> exercises/15_traits/traits4.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | fn compare_license_types(software1: ???, software2: ???) -> bool { [INFO] [stdout] | ^ expected identifier [INFO] [stdout] | [INFO] [stdout] help: remove this comma [INFO] [stdout] | [INFO] [stdout] 14 - fn compare_license_types(software1: ???, software2: ???) -> bool { [INFO] [stdout] 14 + fn compare_license_types(software1: ??? software2: ???) -> bool { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected a trait, found type [INFO] [stdout] --> exercises/15_traits/traits4.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | fn compare_license_types(software1: ???, software2: ???) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `)` [INFO] [stdout] --> exercises/15_traits/traits4.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | fn compare_license_types(software1: ???, software2: ???) -> bool { [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "lifetimes3" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `software1` in this scope [INFO] [stdout] --> exercises/15_traits/traits4.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | software1.licensing_info() == software2.licensing_info() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `software2` in this scope [INFO] [stdout] --> exercises/15_traits/traits4.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | software1.licensing_info() == software2.licensing_info() [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> exercises/16_lifetimes/lifetimes3.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | author: &str, [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 4 ~ struct Book<'a> { [INFO] [stdout] 5 ~ author: &'a str, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> exercises/16_lifetimes/lifetimes3.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | title: &str, [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 4 ~ struct Book<'a> { [INFO] [stdout] 5 | author: &str, [INFO] [stdout] 6 ~ title: &'a str, [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 E0106`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fruit` in module `delicious_snacks` [INFO] [stdout] --> exercises/10_modules/modules2.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | delicious_snacks::fruit, [INFO] [stdout] | ^^^^^ not found in `delicious_snacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `veggie` in module `delicious_snacks` [INFO] [stdout] --> exercises/10_modules/modules2.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | delicious_snacks::veggie, [INFO] [stdout] | ^^^^^^ not found in `delicious_snacks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `my_macro` [INFO] [stdout] --> exercises/21_macros/macros1.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! my_macro { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Vec<_>` [INFO] [stdout] --> exercises/20_threads/threads1.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut results = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^ ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `results` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 23 | let mut results: Vec = Vec::new(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "traits4" test) due to 5 previous errors [INFO] [stderr] error: could not compile `exercises` (bin "lifetimes3") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `my_macro` [INFO] [stdout] --> exercises/21_macros/macros1.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | my_macro(); [INFO] [stdout] | ^^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 9 | my_macro!(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "macros1") due to 1 previous error; 1 warning emitted [INFO] [stderr] error: could not compile `exercises` (bin "modules2") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "threads1" test) due to 1 previous error [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/18_iterators/iterators5.rs:28:72 [INFO] [stdout] | [INFO] [stdout] 28 | fn count_iterator(map: &HashMap, value: Progress) -> usize { [INFO] [stdout] | -------------- ^^^^^ expected `usize`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/18_iterators/iterators5.rs:47:92 [INFO] [stdout] | [INFO] [stdout] 47 | fn count_collection_iterator(collection: &[HashMap], value: Progress) -> usize { [INFO] [stdout] | ------------------------- ^^^^^ expected `usize`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [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 "iterators5" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "f6654c39e63cf7a117a46c4f1e3fa7769cfc5f8ca01c22222db7ecaa52fa5472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6654c39e63cf7a117a46c4f1e3fa7769cfc5f8ca01c22222db7ecaa52fa5472", kill_on_drop: false }` [INFO] [stdout] f6654c39e63cf7a117a46c4f1e3fa7769cfc5f8ca01c22222db7ecaa52fa5472