[INFO] cloning repository https://github.com/lepsalex/codeforces-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lepsalex/codeforces-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flepsalex%2Fcodeforces-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flepsalex%2Fcodeforces-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8000770aa976ab300556a64196a17cd7fe29e065 [INFO] checking lepsalex/codeforces-rust against master#8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b for pr-133925 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flepsalex%2Fcodeforces-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lepsalex/codeforces-rust on toolchain 8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lepsalex/codeforces-rust [INFO] finished tweaking git repo https://github.com/lepsalex/codeforces-rust [INFO] tweaked toml for git repo https://github.com/lepsalex/codeforces-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lepsalex/codeforces-rust 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" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cf0189b1275ab0bcf38a2ab6419938185301f2f4519341d51b7c31fd790dea0 [INFO] running `Command { std: "docker" "start" "-a" "7cf0189b1275ab0bcf38a2ab6419938185301f2f4519341d51b7c31fd790dea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cf0189b1275ab0bcf38a2ab6419938185301f2f4519341d51b7c31fd790dea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cf0189b1275ab0bcf38a2ab6419938185301f2f4519341d51b7c31fd790dea0", kill_on_drop: false }` [INFO] [stdout] 7cf0189b1275ab0bcf38a2ab6419938185301f2f4519341d51b7c31fd790dea0 [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+8321f00bf4a5f25cad5ec8861c5469afe6e0ce8b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 790a4a251f38ad3212bc6af9547bbaabcff5e39b256d02288b8d7d14b75b66cd [INFO] running `Command { std: "docker" "start" "-a" "790a4a251f38ad3212bc6af9547bbaabcff5e39b256d02288b8d7d14b75b66cd", kill_on_drop: false }` [INFO] [stderr] Checking codeforces-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/TEMPLATE.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut input = Scanner::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/TEMPLATE.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut input = Scanner::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/bin/1909A_distinct_buttons.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / /** [INFO] [stdout] 17 | | Using only 3-buttons on the controller we can reach any point [INFO] [stdout] 18 | | as long as all points are within the same 180-degree arc [INFO] [stdout] ... | [INFO] [stdout] 21 | | */ [INFO] [stdout] | |______^ [INFO] [stdout] 22 | / return if coords.iter().all(|(x, y)| *x >= 0) || [INFO] [stdout] 23 | | coords.iter().all(|(x, y)| *x <= 0) || [INFO] [stdout] 24 | | coords.iter().all(|(x, y)| *y >= 0) || [INFO] [stdout] 25 | | coords.iter().all(|(x, y)| *y <= 0) { [INFO] [stdout] ... | [INFO] [stdout] 28 | | "NO".to_string() [INFO] [stdout] 29 | | }; [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/1909A_distinct_buttons.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | return if coords.iter().all(|(x, y)| *x >= 0) || [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/1909A_distinct_buttons.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | coords.iter().all(|(x, y)| *x <= 0) || [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/1909A_distinct_buttons.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | coords.iter().all(|(x, y)| *y >= 0) || [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/1909A_distinct_buttons.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | coords.iter().all(|(x, y)| *y <= 0) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Sub` [INFO] [stdout] --> src/bin/1920B_summation_game.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx_a` [INFO] [stdout] --> src/bin/1914D_three_activities.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | top.sort_by(|(idx_a, num_a), (idx_b, num_b)| num_b.cmp(num_a)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_idx_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx_b` [INFO] [stdout] --> src/bin/1914D_three_activities.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | top.sort_by(|(idx_a, num_a), (idx_b, num_b)| num_b.cmp(num_a)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_idx_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/bin/1909A_distinct_buttons.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / /** [INFO] [stdout] 17 | | Using only 3-buttons on the controller we can reach any point [INFO] [stdout] 18 | | as long as all points are within the same 180-degree arc [INFO] [stdout] ... | [INFO] [stdout] 21 | | */ [INFO] [stdout] | |______^ [INFO] [stdout] 22 | / return if coords.iter().all(|(x, y)| *x >= 0) || [INFO] [stdout] 23 | | coords.iter().all(|(x, y)| *x <= 0) || [INFO] [stdout] 24 | | coords.iter().all(|(x, y)| *y >= 0) || [INFO] [stdout] 25 | | coords.iter().all(|(x, y)| *y <= 0) { [INFO] [stdout] ... | [INFO] [stdout] 28 | | "NO".to_string() [INFO] [stdout] 29 | | }; [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `/* */` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/1909A_distinct_buttons.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | return if coords.iter().all(|(x, y)| *x >= 0) || [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/1909A_distinct_buttons.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | coords.iter().all(|(x, y)| *x <= 0) || [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/1909A_distinct_buttons.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | coords.iter().all(|(x, y)| *y >= 0) || [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/1909A_distinct_buttons.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | coords.iter().all(|(x, y)| *y <= 0) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Sub` [INFO] [stdout] --> src/bin/1920B_summation_game.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/TEMPLATE.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut input = Scanner::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/TEMPLATE.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut input = Scanner::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx_a` [INFO] [stdout] --> src/bin/1914D_three_activities.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | top.sort_by(|(idx_a, num_a), (idx_b, num_b)| num_b.cmp(num_a)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_idx_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx_b` [INFO] [stdout] --> src/bin/1914D_three_activities.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | top.sort_by(|(idx_a, num_a), (idx_b, num_b)| num_b.cmp(num_a)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_idx_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "790a4a251f38ad3212bc6af9547bbaabcff5e39b256d02288b8d7d14b75b66cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "790a4a251f38ad3212bc6af9547bbaabcff5e39b256d02288b8d7d14b75b66cd", kill_on_drop: false }` [INFO] [stdout] 790a4a251f38ad3212bc6af9547bbaabcff5e39b256d02288b8d7d14b75b66cd