[INFO] cloning repository https://github.com/mah-shee/abc179 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mah-shee/abc179" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmah-shee%2Fabc179", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmah-shee%2Fabc179'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4562bffa98a775207fecd401cf2c45dee85a8352 [INFO] checking mah-shee/abc179 against master#195ad4830e11a544391abe296b146450dea8411b for pr-82781 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmah-shee%2Fabc179" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mah-shee/abc179 on toolchain 195ad4830e11a544391abe296b146450dea8411b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mah-shee/abc179 [INFO] finished tweaking git repo https://github.com/mah-shee/abc179 [INFO] tweaked toml for git repo https://github.com/mah-shee/abc179 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/mah-shee/abc179 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c39f413c6ec22f85860fce6ab8606d13bc0cd33adce25a7364a964e5db1d0f5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3c39f413c6ec22f85860fce6ab8606d13bc0cd33adce25a7364a964e5db1d0f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c39f413c6ec22f85860fce6ab8606d13bc0cd33adce25a7364a964e5db1d0f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c39f413c6ec22f85860fce6ab8606d13bc0cd33adce25a7364a964e5db1d0f5", kill_on_drop: false }` [INFO] [stdout] 3c39f413c6ec22f85860fce6ab8606d13bc0cd33adce25a7364a964e5db1d0f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 069379d7322c299bf453e4074dab5d1a0befcc71c62fcd4bad7f37ec8c83279e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "069379d7322c299bf453e4074dab5d1a0befcc71c62fcd4bad7f37ec8c83279e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking abc179 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Bytes`, `Chars`, `Usize1` [INFO] [stdout] --> src/bin/d.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use proconio::marker::{Bytes, Chars, Usize1}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/bin/d.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn rec(n: usize, d: usize, s: Vec) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/bin/d.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | fn rec(n: usize, d: usize, s: Vec) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/d.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | fn rec(n: usize, d: usize, s: Vec) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `MOD_SAMPLE` [INFO] [stdout] --> src/bin/d.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let MOD_SAMPLE = 998244353; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_MOD_SAMPLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ans` is assigned to, but never used [INFO] [stdout] --> src/bin/d.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut ans = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_ans` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/bin/d.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let mut list: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/bin/d.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let mut d = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shou` [INFO] [stdout] --> src/bin/d.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let shou = n / (n - 1 - i); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_shou` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/d.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut list: HashMap = HashMap::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: variable does not need to be mutable [INFO] [stdout] --> src/bin/d.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut d = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rec` [INFO] [stdout] --> src/bin/d.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn rec(n: usize, d: usize, s: Vec) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MOD_SAMPLE` should have a snake case name [INFO] [stdout] --> src/bin/d.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let MOD_SAMPLE = 998244353; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `mod_sample` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Bytes`, `Chars`, `Usize1` [INFO] [stdout] --> src/bin/d.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use proconio::marker::{Bytes, Chars, Usize1}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/bin/d.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn rec(n: usize, d: usize, s: Vec) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/bin/d.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | fn rec(n: usize, d: usize, s: Vec) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bin/d.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | fn rec(n: usize, d: usize, s: Vec) -> usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `MOD_SAMPLE` [INFO] [stdout] --> src/bin/d.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let MOD_SAMPLE = 998244353; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_MOD_SAMPLE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ans` is assigned to, but never used [INFO] [stdout] --> src/bin/d.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut ans = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_ans` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/bin/d.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let mut list: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/bin/d.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let mut d = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shou` [INFO] [stdout] --> src/bin/d.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let shou = n / (n - 1 - i); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_shou` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/d.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut list: HashMap = HashMap::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: variable does not need to be mutable [INFO] [stdout] --> src/bin/d.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut d = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rec` [INFO] [stdout] --> src/bin/d.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn rec(n: usize, d: usize, s: Vec) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `MOD_SAMPLE` should have a snake case name [INFO] [stdout] --> src/bin/d.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let MOD_SAMPLE = 998244353; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `mod_sample` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.46s [INFO] running `Command { std: "docker" "inspect" "069379d7322c299bf453e4074dab5d1a0befcc71c62fcd4bad7f37ec8c83279e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "069379d7322c299bf453e4074dab5d1a0befcc71c62fcd4bad7f37ec8c83279e", kill_on_drop: false }` [INFO] [stdout] 069379d7322c299bf453e4074dab5d1a0befcc71c62fcd4bad7f37ec8c83279e