[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 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhourhl%2Frustlings" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 24% (1287/5265) Updating files: 25% (1317/5265) Updating files: 26% (1369/5265) Updating files: 27% (1422/5265) Updating files: 28% (1475/5265) Updating files: 28% (1478/5265) Updating files: 29% (1527/5265) Updating files: 30% (1580/5265) Updating files: 30% (1624/5265) Updating files: 31% (1633/5265) Updating files: 32% (1685/5265) Updating files: 33% (1738/5265) Updating files: 33% (1772/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: 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% (5170/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 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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-6-tc2/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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6d46d196676b1a0abbc0b583d08560ff339788e8960a483cd9e4893a82691f2 [INFO] running `Command { std: "docker" "start" "-a" "d6d46d196676b1a0abbc0b583d08560ff339788e8960a483cd9e4893a82691f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6d46d196676b1a0abbc0b583d08560ff339788e8960a483cd9e4893a82691f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6d46d196676b1a0abbc0b583d08560ff339788e8960a483cd9e4893a82691f2", kill_on_drop: false }` [INFO] [stdout] d6d46d196676b1a0abbc0b583d08560ff339788e8960a483cd9e4893a82691f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26170fe20a25c6e8edd47e80fba8c28cc8bf59b8a7c30946f91ebc76fca63c20 [INFO] running `Command { std: "docker" "start" "-a" "26170fe20a25c6e8edd47e80fba8c28cc8bf59b8a7c30946f91ebc76fca63c20", 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/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/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] error: this conversion is useless `&str` to `&str` [INFO] [stdout] --> exercises/09_strings/strings4.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | string_slice("nice weather".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `exercises` (bin "strings4" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "26170fe20a25c6e8edd47e80fba8c28cc8bf59b8a7c30946f91ebc76fca63c20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26170fe20a25c6e8edd47e80fba8c28cc8bf59b8a7c30946f91ebc76fca63c20", kill_on_drop: false }` [INFO] [stdout] 26170fe20a25c6e8edd47e80fba8c28cc8bf59b8a7c30946f91ebc76fca63c20