[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 try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flepsalex%2Fcodeforces-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lepsalex/codeforces-rust on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87fe7dbf6cca50c353c971b3a62afada77ffd27171f18422bc5a96f6bb2ece03 [INFO] running `Command { std: "docker" "start" "-a" "87fe7dbf6cca50c353c971b3a62afada77ffd27171f18422bc5a96f6bb2ece03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87fe7dbf6cca50c353c971b3a62afada77ffd27171f18422bc5a96f6bb2ece03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87fe7dbf6cca50c353c971b3a62afada77ffd27171f18422bc5a96f6bb2ece03", kill_on_drop: false }` [INFO] [stdout] 87fe7dbf6cca50c353c971b3a62afada77ffd27171f18422bc5a96f6bb2ece03 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b73324465fef9ba6bb8b52bcd2f834e544616bff6293e3bb5bf888563c8ecce2 [INFO] running `Command { std: "docker" "start" "-a" "b73324465fef9ba6bb8b52bcd2f834e544616bff6293e3bb5bf888563c8ecce2", kill_on_drop: false }` [INFO] [stderr] Checking codeforces-rust v0.1.0 (/opt/rustwide/workdir) [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 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: `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: `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: `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 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_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 1.02s [INFO] running `Command { std: "docker" "inspect" "b73324465fef9ba6bb8b52bcd2f834e544616bff6293e3bb5bf888563c8ecce2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b73324465fef9ba6bb8b52bcd2f834e544616bff6293e3bb5bf888563c8ecce2", kill_on_drop: false }` [INFO] [stdout] b73324465fef9ba6bb8b52bcd2f834e544616bff6293e3bb5bf888563c8ecce2