[INFO] cloning repository https://github.com/hourhl/rustlings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hourhl/rustlings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhourhl%2Frustlings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhourhl%2Frustlings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 182a96f8bb1fd75cfd3fb13ef4146b1cf464600c [INFO] checking hourhl/rustlings/182a96f8bb1fd75cfd3fb13ef4146b1cf464600c against master#a932eb36f8adf6c8cdfc450f063943da3112d621 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhourhl%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] [stderr] Updating files: 24% (1305/5265) Updating files: 25% (1317/5265) Updating files: 26% (1369/5265) Updating files: 27% (1422/5265) Updating files: 28% (1475/5265) Updating files: 29% (1527/5265) Updating files: 29% (1532/5265) Updating files: 30% (1580/5265) Updating files: 31% (1633/5265) Updating files: 31% (1669/5265) Updating files: 32% (1685/5265) Updating files: 33% (1738/5265) Updating files: 34% (1791/5265) Updating files: 35% (1843/5265) Updating files: 36% (1896/5265) Updating files: 37% (1949/5265) Updating files: 38% (2001/5265) Updating files: 39% (2054/5265) Updating files: 40% (2106/5265) Updating files: 41% (2159/5265) Updating files: 42% (2212/5265) Updating files: 43% (2264/5265) Updating files: 44% (2317/5265) Updating files: 45% (2370/5265) Updating files: 46% (2422/5265) Updating files: 47% (2475/5265) Updating files: 48% (2528/5265) Updating files: 49% (2580/5265) Updating files: 50% (2633/5265) Updating files: 51% (2686/5265) Updating files: 52% (2738/5265) Updating files: 53% (2791/5265) Updating files: 54% (2844/5265) Updating files: 55% (2896/5265) Updating files: 56% (2949/5265) Updating files: 56% (2963/5265) Updating files: 57% (3002/5265) Updating files: 58% (3054/5265) Updating files: 59% (3107/5265) Updating files: 60% (3159/5265) Updating files: 61% (3212/5265) Updating files: 62% (3265/5265) Updating files: 63% (3317/5265) Updating files: 64% (3370/5265) Updating files: 65% (3423/5265) Updating files: 66% (3475/5265) Updating files: 67% (3528/5265) Updating files: 68% (3581/5265) Updating files: 69% (3633/5265) Updating files: 70% (3686/5265) Updating files: 71% (3739/5265) Updating files: 72% (3791/5265) Updating files: 73% (3844/5265) Updating files: 74% (3897/5265) Updating files: 75% (3949/5265) Updating files: 76% (4002/5265) Updating files: 77% (4055/5265) Updating files: 78% (4107/5265) Updating files: 79% (4160/5265) Updating files: 80% (4212/5265) Updating files: 81% (4265/5265) Updating files: 82% (4318/5265) Updating files: 83% (4370/5265) Updating files: 84% (4423/5265) Updating files: 85% (4476/5265) Updating files: 86% (4528/5265) Updating files: 87% (4581/5265) Updating files: 88% (4634/5265) Updating files: 89% (4686/5265) Updating files: 90% (4739/5265) Updating files: 91% (4792/5265) Updating files: 92% (4844/5265) Updating files: 93% (4897/5265) Updating files: 94% (4950/5265) Updating files: 95% (5002/5265) Updating files: 96% (5055/5265) Updating files: 97% (5108/5265) Updating files: 98% (5160/5265) Updating files: 98% (5190/5265) Updating files: 99% (5213/5265) Updating files: 100% (5265/5265) Updating files: 100% (5265/5265), done. [INFO] validating manifest of git repo https://github.com/hourhl/rustlings on toolchain a932eb36f8adf6c8cdfc450f063943da3112d621 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hourhl/rustlings [INFO] finished tweaking git repo https://github.com/hourhl/rustlings [INFO] tweaked toml for git repo https://github.com/hourhl/rustlings written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hourhl/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" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68e49418e1cd092cafd9f85a51386b112df30f45cb528ea2a5564219af132d75 [INFO] running `Command { std: "docker" "start" "-a" "68e49418e1cd092cafd9f85a51386b112df30f45cb528ea2a5564219af132d75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68e49418e1cd092cafd9f85a51386b112df30f45cb528ea2a5564219af132d75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68e49418e1cd092cafd9f85a51386b112df30f45cb528ea2a5564219af132d75", kill_on_drop: false }` [INFO] [stdout] 68e49418e1cd092cafd9f85a51386b112df30f45cb528ea2a5564219af132d75 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+a932eb36f8adf6c8cdfc450f063943da3112d621" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6aea550e8066a208334b4615510c38e44ad18c1cd64a86882f91a241d0b0acc [INFO] running `Command { std: "docker" "start" "-a" "e6aea550e8066a208334b4615510c38e44ad18c1cd64a86882f91a241d0b0acc", kill_on_drop: false }` [INFO] [stderr] Checking exercises v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/12_options/options1.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | if(hour_of_day < 22) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 7 - if(hour_of_day < 22) { [INFO] [stdout] 7 + if hour_of_day < 22 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/12_options/options1.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | } else if(hour_of_day <= 23){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9 - } else if(hour_of_day <= 23){ [INFO] [stdout] 9 + } else if hour_of_day <= 23 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/18_iterators/iterators4.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | if (num == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - if (num == 0){ [INFO] [stdout] 13 + if num == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/23_conversions/from_str.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | if (name.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 51 - if (name.is_empty()) { [INFO] [stdout] 51 + if name.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/23_conversions/from_str.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | if (name.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 51 - if (name.is_empty()) { [INFO] [stdout] 51 + if name.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/18_iterators/iterators3.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | if (b == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 14 - if (b == 0){ [INFO] [stdout] 14 + if b == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/18_iterators/iterators3.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | } else if (a == i64::MIN && b == -1){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - } else if (a == i64::MIN && b == -1){ [INFO] [stdout] 16 + } else if a == i64::MIN && b == -1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/18_iterators/iterators3.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | } else if (a % b != 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - } else if (a % b != 0){ [INFO] [stdout] 18 + } else if a % b != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/03_if/if1.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | if(a > b){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 7 - if(a > b){ [INFO] [stdout] 7 + if a > b { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/03_if/if1.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | if(a > b){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 7 - if(a > b){ [INFO] [stdout] 7 + if a > b { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/12_options/options1.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | if(hour_of_day < 22) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 7 - if(hour_of_day < 22) { [INFO] [stdout] 7 + if hour_of_day < 22 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/12_options/options1.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | } else if(hour_of_day <= 23){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9 - } else if(hour_of_day <= 23){ [INFO] [stdout] 9 + } else if hour_of_day <= 23 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/18_iterators/iterators3.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | if (b == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 14 - if (b == 0){ [INFO] [stdout] 14 + if b == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/18_iterators/iterators3.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | } else if (a == i64::MIN && b == -1){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - } else if (a == i64::MIN && b == -1){ [INFO] [stdout] 16 + } else if a == i64::MIN && b == -1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/18_iterators/iterators3.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | } else if (a % b != 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - } else if (a % b != 0){ [INFO] [stdout] 18 + } else if a % b != 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> exercises/18_iterators/iterators4.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | if (num == 0){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - if (num == 0){ [INFO] [stdout] 13 + if num == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.23s [INFO] running `Command { std: "docker" "inspect" "e6aea550e8066a208334b4615510c38e44ad18c1cd64a86882f91a241d0b0acc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6aea550e8066a208334b4615510c38e44ad18c1cd64a86882f91a241d0b0acc", kill_on_drop: false }` [INFO] [stdout] e6aea550e8066a208334b4615510c38e44ad18c1cd64a86882f91a241d0b0acc