[INFO] cloning repository https://github.com/fre-ben/rustlings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fre-ben/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffre-ben%2Frustlings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffre-ben%2Frustlings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7418604373e661a1395f0c6e996ca3f5f44b7ae9 [INFO] checking fre-ben/rustlings against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffre-ben%2Frustlings" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fre-ben/rustlings [INFO] finished tweaking git repo https://github.com/fre-ben/rustlings [INFO] tweaked toml for git repo https://github.com/fre-ben/rustlings written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fre-ben/rustlings on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b33a2cbfb5607536cc8e1f2c604e0dadc459539a54b40e1462d69720a0de1925 [INFO] running `Command { std: "docker" "start" "-a" "b33a2cbfb5607536cc8e1f2c604e0dadc459539a54b40e1462d69720a0de1925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b33a2cbfb5607536cc8e1f2c604e0dadc459539a54b40e1462d69720a0de1925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b33a2cbfb5607536cc8e1f2c604e0dadc459539a54b40e1462d69720a0de1925", kill_on_drop: false }` [INFO] [stdout] b33a2cbfb5607536cc8e1f2c604e0dadc459539a54b40e1462d69720a0de1925 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7a9b234c1a8d43a964211aace1691f476d1f485e5967aa6e6ce939c4eb1fcca [INFO] running `Command { std: "docker" "start" "-a" "f7a9b234c1a8d43a964211aace1691f476d1f485e5967aa6e6ce939c4eb1fcca", kill_on_drop: false }` [INFO] [stderr] Checking exercises v0.0.0 (/opt/rustwide/workdir) [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/23_conversions/from_into.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | fn from(s: &str) -> Self {} [INFO] [stdout] | ---- ^^^^ expected `Person`, 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 "arc1") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/23_conversions/try_from_into.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | fn try_from(tuple: (i16, i16, i16)) -> Result {} [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/23_conversions/try_from_into.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn try_from(arr: [i16; 3]) -> Result {} [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> exercises/23_conversions/try_from_into.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | fn try_from(slice: &[i16]) -> Result {} [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "from_into") due to 1 previous error [INFO] [stdout] error[E0072]: recursive type `List` has infinite size [INFO] [stdout] --> exercises/19_smart_pointers/box1.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | enum List { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 15 | Cons(i32, List), [INFO] [stdout] | ---- recursive without indirection [INFO] [stdout] | [INFO] [stdout] help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle [INFO] [stdout] | [INFO] [stdout] 15 | Cons(i32, Box), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when computing drop-check constraints for `List` [INFO] [stdout] --> exercises/19_smart_pointers/box1.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | enum List { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which immediately requires computing drop-check constraints for `List` again [INFO] [stdout] = note: cycle used when computing dropck types for `List` [INFO] [stdout] = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "try_from_into" test) due to 3 previous errors [INFO] [stdout] error[E0391]: cycle detected when computing when `List` needs drop [INFO] [stdout] --> exercises/19_smart_pointers/box1.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | enum List { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which immediately requires computing when `List` needs drop again [INFO] [stdout] = note: cycle used when computing whether `List` needs drop [INFO] [stdout] = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0072, E0391. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0072`. [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "box1" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "f7a9b234c1a8d43a964211aace1691f476d1f485e5967aa6e6ce939c4eb1fcca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7a9b234c1a8d43a964211aace1691f476d1f485e5967aa6e6ce939c4eb1fcca", kill_on_drop: false }` [INFO] [stdout] f7a9b234c1a8d43a964211aace1691f476d1f485e5967aa6e6ce939c4eb1fcca