[INFO] cloning repository https://github.com/Jasurbek2208/rust-learning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jasurbek2208/rust-learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasurbek2208%2Frust-learning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasurbek2208%2Frust-learning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c99dabb64ef55a1e298a34a91e72a854d1ef4a89 [INFO] checking Jasurbek2208/rust-learning against try#df1b9bf194c9183fb7c0604484171064069ce232 for pr-149195-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJasurbek2208%2Frust-learning" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Jasurbek2208/rust-learning [INFO] finished tweaking git repo https://github.com/Jasurbek2208/rust-learning [INFO] tweaked toml for git repo https://github.com/Jasurbek2208/rust-learning written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jasurbek2208/rust-learning on toolchain df1b9bf194c9183fb7c0604484171064069ce232 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+df1b9bf194c9183fb7c0604484171064069ce232" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Jasurbek2208/rust-learning 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" "+df1b9bf194c9183fb7c0604484171064069ce232" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+df1b9bf194c9183fb7c0604484171064069ce232" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b09e6b1664095b6cc65789a156fd5893ff61b44a93207664ebb4816935be4d9a [INFO] running `Command { std: "docker" "start" "-a" "b09e6b1664095b6cc65789a156fd5893ff61b44a93207664ebb4816935be4d9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b09e6b1664095b6cc65789a156fd5893ff61b44a93207664ebb4816935be4d9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b09e6b1664095b6cc65789a156fd5893ff61b44a93207664ebb4816935be4d9a", kill_on_drop: false }` [INFO] [stdout] b09e6b1664095b6cc65789a156fd5893ff61b44a93207664ebb4816935be4d9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+df1b9bf194c9183fb7c0604484171064069ce232" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97a515e7f23af42b57b618b18f40352840e580064d20d560f2cf8c704b4aec4a [INFO] running `Command { std: "docker" "start" "-a" "97a515e7f23af42b57b618b18f40352840e580064d20d560f2cf8c704b4aec4a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking firstRustApp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> main.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | if (guess < random_number) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 150 - if (guess < random_number) { [INFO] [stdout] 150 + if guess < random_number { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> main.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | if ((guess + 10) >= random_number) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 151 - if ((guess + 10) >= random_number) { [INFO] [stdout] 151 + if (guess + 10) >= random_number { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> main.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | } else if (guess > random_number) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - } else if (guess > random_number) { [INFO] [stdout] 156 + } else if guess > random_number { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> main.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 157 | if ((guess - 10) <= random_number) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - if ((guess - 10) <= random_number) { [INFO] [stdout] 157 + if (guess - 10) <= random_number { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> main.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | if (guess < random_number) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 150 - if (guess < random_number) { [INFO] [stdout] 150 + if guess < random_number { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> main.rs:151:16 [INFO] [stdout] | [INFO] [stdout] 151 | if ((guess + 10) >= random_number) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 151 - if ((guess + 10) >= random_number) { [INFO] [stdout] 151 + if (guess + 10) >= random_number { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> main.rs:156:19 [INFO] [stdout] | [INFO] [stdout] 156 | } else if (guess > random_number) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - } else if (guess > random_number) { [INFO] [stdout] 156 + } else if guess > random_number { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> main.rs:157:16 [INFO] [stdout] | [INFO] [stdout] 157 | if ((guess - 10) <= random_number) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - if ((guess - 10) <= random_number) { [INFO] [stdout] 157 + if (guess - 10) <= random_number { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_loop_examples` is never used [INFO] [stdout] --> main.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn for_loop_examples() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `while_loop_examples` is never used [INFO] [stdout] --> main.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn while_loop_examples() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculator` is never used [INFO] [stdout] --> main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn calculator() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_my_number` is never used [INFO] [stdout] --> main.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn find_my_number() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `for_loop_examples` is never used [INFO] [stdout] --> main.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn for_loop_examples() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `while_loop_examples` is never used [INFO] [stdout] --> main.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn while_loop_examples() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculator` is never used [INFO] [stdout] --> main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn calculator() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_my_number` is never used [INFO] [stdout] --> main.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn find_my_number() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.58s [INFO] running `Command { std: "docker" "inspect" "97a515e7f23af42b57b618b18f40352840e580064d20d560f2cf8c704b4aec4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97a515e7f23af42b57b618b18f40352840e580064d20d560f2cf8c704b4aec4a", kill_on_drop: false }` [INFO] [stdout] 97a515e7f23af42b57b618b18f40352840e580064d20d560f2cf8c704b4aec4a