[INFO] cloning repository https://github.com/ryancharris/rustlings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryancharris/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryancharris%2Frustlings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryancharris%2Frustlings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71e6d5a8c039a503c6c3bb490e447bfb22443f8c [INFO] checking ryancharris/rustlings against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryancharris%2Frustlings" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ryancharris/rustlings [INFO] finished tweaking git repo https://github.com/ryancharris/rustlings [INFO] tweaked toml for git repo https://github.com/ryancharris/rustlings written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ryancharris/rustlings on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc23b8dc4bbeb64de92c88af9ebe836f3d775392c347a9d6c7a2230fe4d46404 [INFO] running `Command { std: "docker" "start" "-a" "dc23b8dc4bbeb64de92c88af9ebe836f3d775392c347a9d6c7a2230fe4d46404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc23b8dc4bbeb64de92c88af9ebe836f3d775392c347a9d6c7a2230fe4d46404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc23b8dc4bbeb64de92c88af9ebe836f3d775392c347a9d6c7a2230fe4d46404", kill_on_drop: false }` [INFO] [stdout] dc23b8dc4bbeb64de92c88af9ebe836f3d775392c347a9d6c7a2230fe4d46404 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 285bb2e464ce2980c50c8d3d500f220875134e53c65c2509bd2ea44fbf850a5e [INFO] running `Command { std: "docker" "start" "-a" "285bb2e464ce2980c50c8d3d500f220875134e53c65c2509bd2ea44fbf850a5e", kill_on_drop: false }` [INFO] [stderr] Checking exercises v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `solutions/15_traits/traits4.rs`: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `solutions/04_primitive_types/primitive_types5.rs`: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "primitive_types5_sol") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: couldn't read `solutions/09_strings/strings4.rs`: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "strings4_sol") due to 1 previous error [INFO] [stdout] error: couldn't read `solutions/16_lifetimes/lifetimes1.rs`: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `solutions/13_error_handling/errors5.rs`: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "errors5_sol" test) due to 1 previous error [INFO] [stdout] warning: unused variable: `team_1_name` [INFO] [stdout] --> exercises/11_hashmaps/hashmaps3.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let team_1_name = split_iterator.next().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_1_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `team_2_name` [INFO] [stdout] --> exercises/11_hashmaps/hashmaps3.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let team_2_name = split_iterator.next().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_2_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `team_1_score` [INFO] [stdout] --> exercises/11_hashmaps/hashmaps3.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let team_1_score: u8 = split_iterator.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_1_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `team_2_score` [INFO] [stdout] --> exercises/11_hashmaps/hashmaps3.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let team_2_score: u8 = split_iterator.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_team_2_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> exercises/11_hashmaps/hashmaps3.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut scores = HashMap::<&str, TeamScores>::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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 E0106`. [INFO] [stdout] [INFO] [stdout] error: couldn't read `solutions/13_error_handling/errors3.rs`: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "lifetimes3") due to 2 previous errors [INFO] [stdout] error: couldn't read `solutions/23_conversions/using_as.rs`: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `child_numbers` in this scope [INFO] [stdout] --> exercises/19_smart_pointers/arc1.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | let sum: u32 = child_numbers.iter().filter(|&&n| n % 8 == offset).sum(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `sync::Arc` [INFO] [stdout] --> exercises/19_smart_pointers/arc1.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | use std::{sync::Arc, thread}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> exercises/19_smart_pointers/arc1.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #![forbid(unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [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 "errors3_sol" test) due to 1 previous error [INFO] [stderr] error: could not compile `exercises` (bin "traits4_sol") due to 1 previous error [INFO] [stderr] error: could not compile `exercises` (bin "lifetimes1_sol") due to 1 previous error [INFO] [stderr] error: could not compile `exercises` (bin "arc1" test) due to 2 previous errors [INFO] [stderr] error: could not compile `exercises` (bin "using_as_sol" test) due to 1 previous error [INFO] [stderr] error: could not compile `exercises` (bin "options3") due to 1 previous error [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] error[E0046]: not all trait items implemented, missing: `licensing_info` [INFO] [stdout] --> exercises/15_traits/traits3.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 6 | fn licensing_info(&self) -> String; [INFO] [stdout] | ----------------------------------- `licensing_info` from trait [INFO] [stdout] ... [INFO] [stdout] 17 | impl Licensed for SomeSoftware {} // Don't edit this line. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `licensing_info` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `licensing_info` [INFO] [stdout] --> exercises/15_traits/traits3.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 6 | fn licensing_info(&self) -> String; [INFO] [stdout] | ----------------------------------- `licensing_info` from trait [INFO] [stdout] ... [INFO] [stdout] 18 | impl Licensed for OtherSoftware {} // Don't edit this line. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `licensing_info` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error: couldn't read `solutions/08_enums/enums3.rs`: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `solutions/quizzes/quiz2.rs`: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "traits3" test) due to 2 previous errors [INFO] [stderr] error: could not compile `exercises` (bin "enums3_sol" test) due to 1 previous error [INFO] [stderr] error: could not compile `exercises` (bin "quiz2_sol") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "285bb2e464ce2980c50c8d3d500f220875134e53c65c2509bd2ea44fbf850a5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "285bb2e464ce2980c50c8d3d500f220875134e53c65c2509bd2ea44fbf850a5e", kill_on_drop: false }` [INFO] [stdout] 285bb2e464ce2980c50c8d3d500f220875134e53c65c2509bd2ea44fbf850a5e