[INFO] cloning repository https://github.com/soraiemame/ahc017 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soraiemame/ahc017" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoraiemame%2Fahc017", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoraiemame%2Fahc017'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 094cfa62f20ceeb425bc2bb220ac27c573c5ade0 [INFO] checking soraiemame/ahc017 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoraiemame%2Fahc017" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/soraiemame/ahc017 [INFO] finished tweaking git repo https://github.com/soraiemame/ahc017 [INFO] tweaked toml for git repo https://github.com/soraiemame/ahc017 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/soraiemame/ahc017 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/soraiemame/ahc017 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 458db0ace08bc29d0ca11405f7d56934f2b38295392d1d3adaddc1e6243a2dee [INFO] running `Command { std: "docker" "start" "-a" "458db0ace08bc29d0ca11405f7d56934f2b38295392d1d3adaddc1e6243a2dee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "458db0ace08bc29d0ca11405f7d56934f2b38295392d1d3adaddc1e6243a2dee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "458db0ace08bc29d0ca11405f7d56934f2b38295392d1d3adaddc1e6243a2dee", kill_on_drop: false }` [INFO] [stdout] 458db0ace08bc29d0ca11405f7d56934f2b38295392d1d3adaddc1e6243a2dee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ab1bf1c519b87ad8d8e27c20e1a05a481bbd43fa737283b17a3cfbffdefec18f [INFO] running `Command { std: "docker" "start" "-a" "ab1bf1c519b87ad8d8e27c20e1a05a481bbd43fa737283b17a3cfbffdefec18f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling proconio-derive v0.1.9 [INFO] [stderr] Checking proconio v0.3.6 [INFO] [stderr] Checking ahc017 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `local` [INFO] [stdout] --> src/main.rs:429:15 [INFO] [stdout] | [INFO] [stdout] 429 | #[cfg(feature = "local")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `local` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `local` [INFO] [stdout] --> src/main.rs:433:19 [INFO] [stdout] | [INFO] [stdout] 433 | #[cfg(not(feature = "local"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `local` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | (ms - STIME) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 435 - (ms - STIME) [INFO] [stdout] 435 + ms - STIME [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `local` [INFO] [stdout] --> src/main.rs:429:15 [INFO] [stdout] | [INFO] [stdout] 429 | #[cfg(feature = "local")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `local` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `local` [INFO] [stdout] --> src/main.rs:433:19 [INFO] [stdout] | [INFO] [stdout] 433 | #[cfg(not(feature = "local"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `local` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | (ms - STIME) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 435 - (ms - STIME) [INFO] [stdout] 435 + ms - STIME [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let start_time = get_time(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> src/main.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let start_time = get_time(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `T9` is never used [INFO] [stdout] --> src/main.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const T9: u32 = 1_000_000_000; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deg` is never used [INFO] [stdout] --> src/main.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn deg(x: u32, y: u32) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve2` is never used [INFO] [stdout] --> src/main.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn solve2(input: Input) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn solve(input: Input) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `score` is never used [INFO] [stdout] --> src/main.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn score(ans: &Vec, dist: &Vec>, input: &Input) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/main.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 170 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 171 | fn new(input: &Input) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn try_apply(&self, input: &Input, edge_idx: usize, next_day: usize) -> (u64, u64, u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | fn edge_dist(&self, input: &Input, a: usize, b: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | fn apply( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | fn edge_dist2(&self, input: &Input, a: usize, b: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | fn try_swap_edge(&self, input: &Input, edge_idx: usize, edge_idx2: usize) -> (u64, u64, u64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | fn swap_edge(&mut self, edge_idx: usize, edge_idx2: usize, scores: (u64, u64, u64)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dijkstra` is never used [INFO] [stdout] --> src/main.rs:350:4 [INFO] [stdout] | [INFO] [stdout] 350 | fn dijkstra(n: usize, es: &Vec<(usize, usize, u32)>) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `g` and `p` are never read [INFO] [stdout] --> src/main.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 382 | struct Input { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 388 | g: Vec>, [INFO] [stdout] | ^ [INFO] [stdout] 389 | p: Vec<(u32, u32)>, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/main.rs:551:36 [INFO] [stdout] | [INFO] [stdout] 551 | let result: f64 = unsafe { mem::transmute(tmp) }; [INFO] [stdout] | --------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `T9` is never used [INFO] [stdout] --> src/main.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const T9: u32 = 1_000_000_000; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deg` is never used [INFO] [stdout] --> src/main.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn deg(x: u32, y: u32) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve2` is never used [INFO] [stdout] --> src/main.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn solve2(input: Input) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn solve(input: Input) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `score` is never used [INFO] [stdout] --> src/main.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn score(ans: &Vec, dist: &Vec>, input: &Input) -> u64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/main.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 170 | impl State { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 171 | fn new(input: &Input) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn try_apply(&self, input: &Input, edge_idx: usize, next_day: usize) -> (u64, u64, u64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | fn edge_dist(&self, input: &Input, a: usize, b: usize) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | fn apply( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | fn edge_dist2(&self, input: &Input, a: usize, b: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | fn try_swap_edge(&self, input: &Input, edge_idx: usize, edge_idx2: usize) -> (u64, u64, u64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | fn swap_edge(&mut self, edge_idx: usize, edge_idx2: usize, scores: (u64, u64, u64)) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dijkstra` is never used [INFO] [stdout] --> src/main.rs:350:4 [INFO] [stdout] | [INFO] [stdout] 350 | fn dijkstra(n: usize, es: &Vec<(usize, usize, u32)>) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `g` and `p` are never read [INFO] [stdout] --> src/main.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 382 | struct Input { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 388 | g: Vec>, [INFO] [stdout] | ^ [INFO] [stdout] 389 | p: Vec<(u32, u32)>, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/main.rs:551:36 [INFO] [stdout] | [INFO] [stdout] 551 | let result: f64 = unsafe { mem::transmute(tmp) }; [INFO] [stdout] | --------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.13s [INFO] running `Command { std: "docker" "inspect" "ab1bf1c519b87ad8d8e27c20e1a05a481bbd43fa737283b17a3cfbffdefec18f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab1bf1c519b87ad8d8e27c20e1a05a481bbd43fa737283b17a3cfbffdefec18f", kill_on_drop: false }` [INFO] [stdout] ab1bf1c519b87ad8d8e27c20e1a05a481bbd43fa737283b17a3cfbffdefec18f