[INFO] cloning repository https://github.com/hondotanuki/competition-archive [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hondotanuki/competition-archive" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhondotanuki%2Fcompetition-archive", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhondotanuki%2Fcompetition-archive'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6777da7f0979f47d41cea9168d55c8323272b1d [INFO] checking hondotanuki/competition-archive against try#81ab7f2139295590561adbe6d5b0aaa2feff765f for pr-146470-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhondotanuki%2Fcompetition-archive" "/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/hondotanuki/competition-archive [INFO] finished tweaking git repo https://github.com/hondotanuki/competition-archive [INFO] tweaked toml for git repo https://github.com/hondotanuki/competition-archive written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hondotanuki/competition-archive on toolchain 81ab7f2139295590561adbe6d5b0aaa2feff765f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hondotanuki/competition-archive 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" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proconio v0.5.0 [INFO] [stderr] Downloaded rand_pcg v0.3.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.89 [INFO] [stderr] Downloaded syn v2.0.87 [INFO] [stderr] Downloaded libc v0.2.162 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2dc55de51f55baf54b54ab59b5905f71c815c0009227605cd24c618318c4a08f [INFO] running `Command { std: "docker" "start" "-a" "2dc55de51f55baf54b54ab59b5905f71c815c0009227605cd24c618318c4a08f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dc55de51f55baf54b54ab59b5905f71c815c0009227605cd24c618318c4a08f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dc55de51f55baf54b54ab59b5905f71c815c0009227605cd24c618318c4a08f", kill_on_drop: false }` [INFO] [stdout] 2dc55de51f55baf54b54ab59b5905f71c815c0009227605cd24c618318c4a08f [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e97393829755450469951f01e8da0b5f0ec171dff126f64685ec4c5ec463297 [INFO] running `Command { std: "docker" "start" "-a" "1e97393829755450469951f01e8da0b5f0ec171dff126f64685ec4c5ec463297", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking proconio v0.5.0 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking competition-archive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `swapped_field` is never read [INFO] [stdout] --> ahc/35/35_testcase.rs:245:33 [INFO] [stdout] | [INFO] [stdout] 245 | let mut swapped_field = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ahc/50/beam.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> ahc/50/beam.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> ahc/48/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> ahc/48/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ahc/50/beam.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> ahc/50/beam.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ahc/51/main.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | let mut flips = vec![0i32; L]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> ahc/51/main.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | let mut flips = vec![0i32; L]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `edges` is never read [INFO] [stdout] --> ahc/51/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct SolveResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | edges: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `M` is never read [INFO] [stdout] --> ahc/51/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct Planner { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 60 | N: usize, [INFO] [stdout] 61 | M: usize, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_output` is never used [INFO] [stdout] --> ahc/51/main.rs:557:4 [INFO] [stdout] | [INFO] [stdout] 557 | fn write_output(lines: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `N` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | N: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | M: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let N = devices_xy.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let M = sorters_xy.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | L: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sL` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let sL = &chain[i]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `s_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let N = self.N; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let L = N - 1; [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let W = std::cmp::min(cand.len(), std::cmp::max(L + 5, L + cand.len() / 5)); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | let N: usize = it.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | let M: usize = it.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `K` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | let K: usize = it.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:332:28 [INFO] [stdout] | [INFO] [stdout] 332 | fn assign_devices_randomly(N: usize, rng: &mut StdRng) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | let L = chain.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | N: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | let L = chain.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | let mut F = 1.0f64; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 426 | N: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `K` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | K: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T_start` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | T_start: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `t_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T_end` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | T_end: f64, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `t_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | let L = chain.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T_ratio` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | let T_ratio = (T_end.max(1e-12)) / (T_start.max(1e-12)); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `t_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | let T = (T_start * T_ratio.powf(progress)).max(1e-12); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 498 | N: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:499:5 [INFO] [stdout] | [INFO] [stdout] 499 | M: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:576:10 [INFO] [stdout] | [INFO] [stdout] 576 | let (N, M, K, dev_xy, sort_xy, p) = parse_input(tokens); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | let (N, M, K, dev_xy, sort_xy, p) = parse_input(tokens); [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `K` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:576:16 [INFO] [stdout] | [INFO] [stdout] 576 | let (N, M, K, dev_xy, sort_xy, p) = parse_input(tokens); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> ahc/48/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OUTPUT_FILE` is never used [INFO] [stdout] --> ahc/48/main.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const OUTPUT_FILE: &str = "output.txt"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> ahc/48/main.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OUTPUT_FILE` is never used [INFO] [stdout] --> ahc/48/main.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const OUTPUT_FILE: &str = "output.txt"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `edges` is never read [INFO] [stdout] --> ahc/51/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct SolveResult { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | edges: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `M` is never read [INFO] [stdout] --> ahc/51/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct Planner { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 60 | N: usize, [INFO] [stdout] 61 | M: usize, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_output` is never used [INFO] [stdout] --> ahc/51/main.rs:557:4 [INFO] [stdout] | [INFO] [stdout] 557 | fn write_output(lines: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `N` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | N: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | M: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let N = devices_xy.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let M = sorters_xy.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | L: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sL` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let sL = &chain[i]; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `s_l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let N = self.N; [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let L = N - 1; [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `W` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let W = std::cmp::min(cand.len(), std::cmp::max(L + 5, L + cand.len() / 5)); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 308 | let N: usize = it.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | let M: usize = it.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `K` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:310:9 [INFO] [stdout] | [INFO] [stdout] 310 | let K: usize = it.next().unwrap().parse().unwrap(); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:332:28 [INFO] [stdout] | [INFO] [stdout] 332 | fn assign_devices_randomly(N: usize, rng: &mut StdRng) -> Vec { [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:362:9 [INFO] [stdout] | [INFO] [stdout] 362 | let L = chain.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | N: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:385:9 [INFO] [stdout] | [INFO] [stdout] 385 | let L = chain.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `F` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 388 | let mut F = 1.0f64; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 426 | N: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `K` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | K: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T_start` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:435:5 [INFO] [stdout] | [INFO] [stdout] 435 | T_start: f64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `t_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T_end` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:436:5 [INFO] [stdout] | [INFO] [stdout] 436 | T_end: f64, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `t_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `L` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:445:9 [INFO] [stdout] | [INFO] [stdout] 445 | let L = chain.len(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T_ratio` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | let T_ratio = (T_end.max(1e-12)) / (T_start.max(1e-12)); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `t_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `T` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:455:13 [INFO] [stdout] | [INFO] [stdout] 455 | let T = (T_start * T_ratio.powf(progress)).max(1e-12); [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 498 | N: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:499:5 [INFO] [stdout] | [INFO] [stdout] 499 | M: usize, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:576:10 [INFO] [stdout] | [INFO] [stdout] 576 | let (N, M, K, dev_xy, sort_xy, p) = parse_input(tokens); [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | let (N, M, K, dev_xy, sort_xy, p) = parse_input(tokens); [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `K` should have a snake case name [INFO] [stdout] --> ahc/51/main.rs:576:16 [INFO] [stdout] | [INFO] [stdout] 576 | let (N, M, K, dev_xy, sort_xy, p) = parse_input(tokens); [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `swapped_field` is never read [INFO] [stdout] --> ahc/35/35_testcase.rs:245:33 [INFO] [stdout] | [INFO] [stdout] 245 | let mut swapped_field = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.13s [INFO] running `Command { std: "docker" "inspect" "1e97393829755450469951f01e8da0b5f0ec171dff126f64685ec4c5ec463297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e97393829755450469951f01e8da0b5f0ec171dff126f64685ec4c5ec463297", kill_on_drop: false }` [INFO] [stdout] 1e97393829755450469951f01e8da0b5f0ec171dff126f64685ec4c5ec463297