[INFO] cloning repository https://github.com/soraiemame/hokudai-hitachi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soraiemame/hokudai-hitachi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoraiemame%2Fhokudai-hitachi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoraiemame%2Fhokudai-hitachi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a057745106ff07adbdc881068528c4c5202963b [INFO] checking soraiemame/hokudai-hitachi against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoraiemame%2Fhokudai-hitachi" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/soraiemame/hokudai-hitachi [INFO] finished tweaking git repo https://github.com/soraiemame/hokudai-hitachi [INFO] tweaked toml for git repo https://github.com/soraiemame/hokudai-hitachi written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/soraiemame/hokudai-hitachi 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/hokudai-hitachi 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] c8f2b8349893ff596660ab678967fefce3a7857d7481106786dcea092d12b571 [INFO] running `Command { std: "docker" "start" "-a" "c8f2b8349893ff596660ab678967fefce3a7857d7481106786dcea092d12b571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8f2b8349893ff596660ab678967fefce3a7857d7481106786dcea092d12b571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8f2b8349893ff596660ab678967fefce3a7857d7481106786dcea092d12b571", kill_on_drop: false }` [INFO] [stdout] c8f2b8349893ff596660ab678967fefce3a7857d7481106786dcea092d12b571 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 53f839264e78274ab986cb71a9dd2c455f01861b21a5220f648455607dc25050 [INFO] running `Command { std: "docker" "start" "-a" "53f839264e78274ab986cb71a9dd2c455f01861b21a5220f648455607dc25050", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking cfg-if v1.0.0 [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 ppv-lite86 v0.2.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Compiling proconio-derive v0.1.9 [INFO] [stderr] Checking proconio v0.3.6 [INFO] [stderr] Checking hokudai-hitachi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/a.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::VecDeque` [INFO] [stdout] --> src/a.rs:5:50 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{cmp::Reverse, collections::BinaryHeap, collections::VecDeque}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `e` is never read [INFO] [stdout] --> src/a.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct Input { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | e: usize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Input` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/b.rs:385:20 [INFO] [stdout] | [INFO] [stdout] 385 | fn solve(&self,input: &Input) { [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: unused variable: `input` [INFO] [stdout] --> src/b.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | input: &Input, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cs` [INFO] [stdout] --> src/b.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | cs: &State, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_do` [INFO] [stdout] --> src/b.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | task_do: &Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_do` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wid` [INFO] [stdout] --> src/b.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | wid: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_wid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/b.rs:397:19 [INFO] [stdout] | [INFO] [stdout] 397 | fn run(&self, input: &Input, cs: &mut State) -> Vec> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cs` [INFO] [stdout] --> src/b.rs:397:34 [INFO] [stdout] | [INFO] [stdout] 397 | fn run(&self, input: &Input, cs: &mut State) -> Vec> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/b.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct Input { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 20 | t_max: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | v: usize, [INFO] [stdout] 22 | e: usize, [INFO] [stdout] | ^ [INFO] [stdout] 23 | graph: Vec>, [INFO] [stdout] 24 | n_worker: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | workers: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | t_weather: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | n_weather: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 30 | prob_weather: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | w_constraint: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 32 | p_m: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | r_m: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | alpha: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | w_prob: Vec<(usize, Vec)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Input` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_turn_input` is never used [INFO] [stdout] --> src/b.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn do_turn_input( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos`, `pos2`, `dist`, `l_max`, and `types` are never read [INFO] [stdout] --> src/b.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | struct Worker { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 169 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 170 | // 現時点で目指している頂点 or !0 [INFO] [stdout] 171 | pos2: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 172 | dist: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 173 | l_max: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 174 | types: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Worker` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_do` and `move_to` are never used [INFO] [stdout] --> src/b.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 176 | impl Worker { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | fn can_do(&self, job: &Job) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | fn move_to(&mut self, t: usize, dist_pp: &Vec>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/b.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | struct Job { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 217 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 218 | job_type: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 219 | n_task: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 220 | v: usize, [INFO] [stdout] 221 | penalty: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 222 | w_depend: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 223 | mandatory: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 224 | // (start,end) [INFO] [stdout] 225 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 226 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 227 | // reward: Vec<(u32, u64)>, [INFO] [stdout] 228 | reward: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 229 | deps: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 230 | max_reward: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_reward` and `can_do` are never used [INFO] [stdout] --> src/b.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 233 | impl Job { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 277 | fn get_reward(&self, t: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | fn can_do(&self, turn: usize) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Action` is never used [INFO] [stdout] --> src/b.rs:289:6 [INFO] [stdout] | [INFO] [stdout] 289 | enum Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/b.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/b.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 304 | impl State { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 305 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dist_pp`, `ord`, `par_pp`, and `pos_work` are never read [INFO] [stdout] --> src/b.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 321 | struct Solver { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 322 | dist_pp: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 323 | ord: Vec>, [INFO] [stdout] | ^^^ [INFO] [stdout] 324 | par_pp: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 325 | pos_work: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dist`, `get_jobs_around`, and `run` are never used [INFO] [stdout] --> src/b.rs:374:8 [INFO] [stdout] | [INFO] [stdout] 328 | impl Solver { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 374 | fn dist(&self, p: (usize, usize, u32), to: usize) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | fn get_jobs_around( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | fn run(&self, input: &Input, cs: &mut State) -> Vec> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/a.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::VecDeque` [INFO] [stdout] --> src/a.rs:5:50 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{cmp::Reverse, collections::BinaryHeap, collections::VecDeque}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/b.rs:385:20 [INFO] [stdout] | [INFO] [stdout] 385 | fn solve(&self,input: &Input) { [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: unused variable: `input` [INFO] [stdout] --> src/b.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | input: &Input, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cs` [INFO] [stdout] --> src/b.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | cs: &State, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task_do` [INFO] [stdout] --> src/b.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | task_do: &Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_task_do` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wid` [INFO] [stdout] --> src/b.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | wid: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_wid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/b.rs:397:19 [INFO] [stdout] | [INFO] [stdout] 397 | fn run(&self, input: &Input, cs: &mut State) -> Vec> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cs` [INFO] [stdout] --> src/b.rs:397:34 [INFO] [stdout] | [INFO] [stdout] 397 | fn run(&self, input: &Input, cs: &mut State) -> Vec> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/b.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | struct Input { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 20 | t_max: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | v: usize, [INFO] [stdout] 22 | e: usize, [INFO] [stdout] | ^ [INFO] [stdout] 23 | graph: Vec>, [INFO] [stdout] 24 | n_worker: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | workers: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | t_weather: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | n_weather: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 30 | prob_weather: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | w_constraint: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 32 | p_m: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | r_m: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | alpha: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 35 | w_prob: Vec<(usize, Vec)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Input` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_turn_input` is never used [INFO] [stdout] --> src/b.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn do_turn_input( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos`, `pos2`, `dist`, `l_max`, and `types` are never read [INFO] [stdout] --> src/b.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 168 | struct Worker { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 169 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 170 | // 現時点で目指している頂点 or !0 [INFO] [stdout] 171 | pos2: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 172 | dist: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 173 | l_max: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 174 | types: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Worker` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_do` and `move_to` are never used [INFO] [stdout] --> src/b.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 176 | impl Worker { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 190 | fn can_do(&self, job: &Job) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | fn move_to(&mut self, t: usize, dist_pp: &Vec>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/b.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | struct Job { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 217 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 218 | job_type: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 219 | n_task: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 220 | v: usize, [INFO] [stdout] 221 | penalty: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 222 | w_depend: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 223 | mandatory: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 224 | // (start,end) [INFO] [stdout] 225 | start: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 226 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 227 | // reward: Vec<(u32, u64)>, [INFO] [stdout] 228 | reward: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 229 | deps: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 230 | max_reward: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_reward` and `can_do` are never used [INFO] [stdout] --> src/b.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 233 | impl Job { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 277 | fn get_reward(&self, t: usize) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | fn can_do(&self, turn: usize) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Action` is never used [INFO] [stdout] --> src/b.rs:289:6 [INFO] [stdout] | [INFO] [stdout] 289 | enum Action { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `State` is never constructed [INFO] [stdout] --> src/b.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/b.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 304 | impl State { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 305 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dist_pp`, `ord`, `par_pp`, and `pos_work` are never read [INFO] [stdout] --> src/b.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 321 | struct Solver { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 322 | dist_pp: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 323 | ord: Vec>, [INFO] [stdout] | ^^^ [INFO] [stdout] 324 | par_pp: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 325 | pos_work: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dist`, `get_jobs_around`, and `run` are never used [INFO] [stdout] --> src/b.rs:374:8 [INFO] [stdout] | [INFO] [stdout] 328 | impl Solver { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 374 | fn dist(&self, p: (usize, usize, u32), to: usize) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | fn get_jobs_around( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 397 | fn run(&self, input: &Input, cs: &mut State) -> Vec> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `e` is never read [INFO] [stdout] --> src/a.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct Input { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | e: usize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Input` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.23s [INFO] running `Command { std: "docker" "inspect" "53f839264e78274ab986cb71a9dd2c455f01861b21a5220f648455607dc25050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53f839264e78274ab986cb71a9dd2c455f01861b21a5220f648455607dc25050", kill_on_drop: false }` [INFO] [stdout] 53f839264e78274ab986cb71a9dd2c455f01861b21a5220f648455607dc25050