[INFO] cloning repository https://github.com/georgefst/rustlings
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/georgefst/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeorgefst%2Frustlings", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeorgefst%2Frustlings'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9ed365979c8c36e72d005049f308d0048b141706
[INFO] checking georgefst/rustlings against try#ad93f57d532978d6739002a21bc66b45ed22f998 for pr-155418-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeorgefst%2Frustlings" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/georgefst/rustlings
[INFO] finished tweaking git repo https://github.com/georgefst/rustlings
[INFO] tweaked toml for git repo https://github.com/georgefst/rustlings written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/georgefst/rustlings on toolchain ad93f57d532978d6739002a21bc66b45ed22f998
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/georgefst/rustlings 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" "+ad93f57d532978d6739002a21bc66b45ed22f998" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 125d9f9e71c69940c98a745c7182fdd318a6543a4e700c1c18d7a32154fbdf92
[INFO] running `Command { std: "docker" "start" "-a" "125d9f9e71c69940c98a745c7182fdd318a6543a4e700c1c18d7a32154fbdf92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "125d9f9e71c69940c98a745c7182fdd318a6543a4e700c1c18d7a32154fbdf92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "125d9f9e71c69940c98a745c7182fdd318a6543a4e700c1c18d7a32154fbdf92", kill_on_drop: false }`
[INFO] [stdout] 125d9f9e71c69940c98a745c7182fdd318a6543a4e700c1c18d7a32154fbdf92
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 71fee51e1164f9951e4a319496958a9a77f7f4cc6b26b4c9971eb4017abaeff2
[INFO] running `Command { std: "docker" "start" "-a" "71fee51e1164f9951e4a319496958a9a77f7f4cc6b26b4c9971eb4017abaeff2", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.0.0 (/opt/rustwide/workdir)
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[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)]` (part of `#[warn(unused)]`) 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] 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] error[E0425]: cannot find value `basket` in this scope
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps1.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     basket.insert(String::from("banana"), 2);
[INFO] [stdout]    |     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `basket` in this scope
[INFO] [stdout]   --> exercises/11_hashmaps/hashmaps1.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     basket
[INFO] [stdout]    |     ^^^^^^ not found in this scope
[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 E0425`.
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `)`
[INFO] [stdout]   --> exercises/15_traits/traits5.rs:22:23
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn some_func(item: ???) -> bool {
[INFO] [stdout]    |                       ^ expected identifier
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `append_bar`
[INFO] [stdout]  --> exercises/15_traits/traits1.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 4 |     fn append_bar(self) -> Self;
[INFO] [stdout]   |     ---------------------------- `append_bar` from trait
[INFO] [stdout] ...
[INFO] [stdout] 7 | impl AppendBar for String {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `append_bar` in implementation
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "iterators4" test) due to 1 previous error
[INFO] [stdout] For more information about this error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `exercises` (bin "hashmaps1") due to 2 previous errors
[INFO] [stdout] error[E0596]: cannot borrow `vec` as mutable, as it is not declared as mutable
[INFO] [stdout]  --> exercises/06_move_semantics/move_semantics1.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     vec.push(88);
[INFO] [stdout]   |     ^^^ cannot borrow as mutable
[INFO] [stdout]   |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]   |
[INFO] [stdout] 3 |     let mut vec = vec;
[INFO] [stdout]   |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> exercises/09_strings/strings2.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 |     if is_a_color_word(word) {
[INFO] [stdout]   |        --------------- ^^^^ expected `&str`, found `String`
[INFO] [stdout]   |        |
[INFO] [stdout]   |        arguments to this function are incorrect
[INFO] [stdout]   |
[INFO] [stdout] note: function defined here
[INFO] [stdout]  --> exercises/09_strings/strings2.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn is_a_color_word(attempt: &str) -> bool {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^ -------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]   |
[INFO] [stdout] 9 |     if is_a_color_word(&word) {
[INFO] [stdout]   |                        +
[INFO] [stdout] 
[INFO] [stdout] 
[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 E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "strings2" test) due to 1 previous error
[INFO] [stdout] For more information about this error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> exercises/20_threads/threads2.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     println!("Jobs done: {}", todo!());
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^-------^
[INFO] [stdout]    |     |                         |
[INFO] [stdout]    |     |                         any code following this expression is unreachable
[INFO] [stdout]    |     unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "move_semantics1") due to 1 previous error
[INFO] [stdout] error[E0594]: cannot assign to data in an `Arc`
[INFO] [stdout]   --> exercises/20_threads/threads2.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |             status_shared.jobs_done += 1;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot assign
[INFO] [stdout]    |
[INFO] [stdout]    = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc<JobStatus>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0594`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "traits1") due to 1 previous error
[INFO] [stderr] error: could not compile `exercises` (bin "threads2" test) due to 1 previous error; 1 warning emitted
[INFO] [stdout] error[E0425]: cannot find value `item` in this scope
[INFO] [stdout]   --> exercises/15_traits/traits5.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     item.some_function() && item.other_function()
[INFO] [stdout]    |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot divide `f64` by `usize`
[INFO] [stdout]  --> exercises/23_conversions/using_as.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     total / values.len()
[INFO] [stdout]   |           ^ no implementation for `f64 / usize`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Div<usize>` is not implemented for `f64`
[INFO] [stdout] help: the following other types implement trait `Div<Rhs>`
[INFO] [stdout]  --> /rustc/ad93f57d532978d6739002a21bc66b45ed22f998/library/core/src/ops/arith.rs:511:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `f64` implements `Div`
[INFO] [stdout]  ::: /rustc/ad93f57d532978d6739002a21bc66b45ed22f998/library/core/src/ops/arith.rs:524:0
[INFO] [stdout]   |
[INFO] [stdout]   = note: in this macro invocation
[INFO] [stdout]  --> /rustc/ad93f57d532978d6739002a21bc66b45ed22f998/library/core/src/internal_macros.rs:22:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `&f64` implements `Div<f64>`
[INFO] [stdout]  ::: /rustc/ad93f57d532978d6739002a21bc66b45ed22f998/library/core/src/internal_macros.rs:33:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `f64` implements `Div<&f64>`
[INFO] [stdout]  ::: /rustc/ad93f57d532978d6739002a21bc66b45ed22f998/library/core/src/internal_macros.rs:44:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `&f64` implements `Div`
[INFO] [stdout]   = note: this error originates in the macro `div_impl_float` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `item` in this scope
[INFO] [stdout]   --> exercises/15_traits/traits5.rs:23:29
[INFO] [stdout]    |
[INFO] [stdout] 23 |     item.some_function() && item.other_function()
[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] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "using_as" test) due to 1 previous error
[INFO] [stderr] error: could not compile `exercises` (bin "traits5") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "71fee51e1164f9951e4a319496958a9a77f7f4cc6b26b4c9971eb4017abaeff2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "71fee51e1164f9951e4a319496958a9a77f7f4cc6b26b4c9971eb4017abaeff2", kill_on_drop: false }`
[INFO] [stdout] 71fee51e1164f9951e4a319496958a9a77f7f4cc6b26b4c9971eb4017abaeff2
