[INFO] cloning repository https://github.com/Afizullah/rustlings
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Afizullah/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAfizullah%2Frustlings", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAfizullah%2Frustlings'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 30d2d7bb7639965c03528ada24a86af0d53c7e68
[INFO] testing Afizullah/rustlings against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAfizullah%2Frustlings" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Afizullah/rustlings
[INFO] finished tweaking git repo https://github.com/Afizullah/rustlings
[INFO] tweaked toml for git repo https://github.com/Afizullah/rustlings written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Afizullah/rustlings on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0ad101ef72c6b27982b8590139d17d4582a40201a357ae873226ad1b0c51ae3e
[INFO] running `Command { std: "docker" "start" "-a" "0ad101ef72c6b27982b8590139d17d4582a40201a357ae873226ad1b0c51ae3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0ad101ef72c6b27982b8590139d17d4582a40201a357ae873226ad1b0c51ae3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ad101ef72c6b27982b8590139d17d4582a40201a357ae873226ad1b0c51ae3e", kill_on_drop: false }`
[INFO] [stdout] 0ad101ef72c6b27982b8590139d17d4582a40201a357ae873226ad1b0c51ae3e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a6ddf84d53c24d3fd30d18f36c90e29f6c038a000f120c3d41b5679254c352f4
[INFO] running `Command { std: "docker" "start" "-a" "a6ddf84d53c24d3fd30d18f36c90e29f6c038a000f120c3d41b5679254c352f4", kill_on_drop: false }`
[INFO] [stderr]    Compiling exercises v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0597]: `string2` does not live long enough
[INFO] [stdout]   --> exercises/16_lifetimes/lifetimes2.rs:17:36
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let string2 = String::from("xyz");
[INFO] [stdout]    |             ------- binding `string2` declared here
[INFO] [stdout] 17 |         result = longest(&string1, &string2);
[INFO] [stdout]    |                                    ^^^^^^^^ borrowed value does not live long enough
[INFO] [stdout] 18 |     }
[INFO] [stdout]    |     - `string2` dropped here while still borrowed
[INFO] [stdout] 19 |     println!("The longest string is '{result}'");
[INFO] [stdout]    |                                       ------ borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0597`.
[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)]` on by default
[INFO] [stdout]    = note: this warning 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] 
[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<T> = Vec::new();
[INFO] [stdout]    |                    ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "lifetimes2") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "threads1") 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 "threads2") due to 1 previous error; 1 warning emitted
[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<String, Progress>, 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<String, Progress>], 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") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "a6ddf84d53c24d3fd30d18f36c90e29f6c038a000f120c3d41b5679254c352f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6ddf84d53c24d3fd30d18f36c90e29f6c038a000f120c3d41b5679254c352f4", kill_on_drop: false }`
[INFO] [stdout] a6ddf84d53c24d3fd30d18f36c90e29f6c038a000f120c3d41b5679254c352f4
