[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] checking Afizullah/rustlings against master#59fd4ef94daa991e6797b5aa6127e824f3067def for pr-145108-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAfizullah%2Frustlings" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Afizullah/rustlings on toolchain 59fd4ef94daa991e6797b5aa6127e824f3067def
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+59fd4ef94daa991e6797b5aa6127e824f3067def" "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" "+59fd4ef94daa991e6797b5aa6127e824f3067def" "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" "+59fd4ef94daa991e6797b5aa6127e824f3067def" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+59fd4ef94daa991e6797b5aa6127e824f3067def" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 129f0872fcd578258bd5420f6b94f80b5f36cc50ae57f56a3f1e3f48426e00d1
[INFO] running `Command { std: "docker" "start" "-a" "129f0872fcd578258bd5420f6b94f80b5f36cc50ae57f56a3f1e3f48426e00d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "129f0872fcd578258bd5420f6b94f80b5f36cc50ae57f56a3f1e3f48426e00d1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "129f0872fcd578258bd5420f6b94f80b5f36cc50ae57f56a3f1e3f48426e00d1", kill_on_drop: false }`
[INFO] [stdout] 129f0872fcd578258bd5420f6b94f80b5f36cc50ae57f56a3f1e3f48426e00d1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+59fd4ef94daa991e6797b5aa6127e824f3067def" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0207b380e6f913d30f53dc4cfa7b389f85db5123f2e2af05c1964d4d097e7205
[INFO] running `Command { std: "docker" "start" "-a" "0207b380e6f913d30f53dc4cfa7b389f85db5123f2e2af05c1964d4d097e7205", kill_on_drop: false }`
[INFO] [stderr]     Checking 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] [stderr] error: could not compile `exercises` (bin "lifetimes2" test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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] 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] 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] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[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] [stderr] error: could not compile `exercises` (bin "iterators4" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "0207b380e6f913d30f53dc4cfa7b389f85db5123f2e2af05c1964d4d097e7205", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0207b380e6f913d30f53dc4cfa7b389f85db5123f2e2af05c1964d4d097e7205", kill_on_drop: false }`
[INFO] [stdout] 0207b380e6f913d30f53dc4cfa7b389f85db5123f2e2af05c1964d4d097e7205
