[INFO] cloning repository https://github.com/takus69/ahc045 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/takus69/ahc045" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakus69%2Fahc045", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakus69%2Fahc045'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 793fd312a5d496b57269bf76bad44c22bfcab0bf [INFO] checking takus69/ahc045 against try#3857be5045fe74bd0f296f6f4c23db10f8857f73 for pr-156807 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakus69%2Fahc045" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/takus69/ahc045 [INFO] finished tweaking git repo https://github.com/takus69/ahc045 [INFO] tweaked toml for git repo https://github.com/takus69/ahc045 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/takus69/ahc045 on toolchain 3857be5045fe74bd0f296f6f4c23db10f8857f73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/takus69/ahc045 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" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking takus69/ahc045 against try#3857be5045fe74bd0f296f6f4c23db10f8857f73 for pr-156807 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakus69%2Fahc045" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/takus69/ahc045 [INFO] finished tweaking git repo https://github.com/takus69/ahc045 [INFO] tweaked toml for git repo https://github.com/takus69/ahc045 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/takus69/ahc045 on toolchain 3857be5045fe74bd0f296f6f4c23db10f8857f73 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/takus69/ahc045 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" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39242419cff8b12c0d1b337277173f685c9efba3ef2ccd5b7df7671be1bb998a [INFO] running `Command { std: "docker" "start" "-a" "39242419cff8b12c0d1b337277173f685c9efba3ef2ccd5b7df7671be1bb998a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39242419cff8b12c0d1b337277173f685c9efba3ef2ccd5b7df7671be1bb998a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39242419cff8b12c0d1b337277173f685c9efba3ef2ccd5b7df7671be1bb998a", kill_on_drop: false }` [INFO] [stdout] 39242419cff8b12c0d1b337277173f685c9efba3ef2ccd5b7df7671be1bb998a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3857be5045fe74bd0f296f6f4c23db10f8857f73" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2a4b05f180cab6e6176c2653f19e689479bd5c5146788f44d58568ae914f685 [INFO] running `Command { std: "docker" "start" "-a" "c2a4b05f180cab6e6176c2653f19e689479bd5c5146788f44d58568ae914f685", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking ac-library-rs v0.1.1 [INFO] [stderr] Checking proconio v0.4.5 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ahc045 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `max` and `min` [INFO] [stdout] --> src/main.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::{Reverse, max, min}; [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 imports: `max` and `min` [INFO] [stdout] --> src/main.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::{Reverse, max, min}; [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 variable: `d` [INFO] [stdout] --> src/main.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | while let Some((Reverse(d), u, v)) = edges.pop() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/main.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | while let Some((Reverse(d), u, v)) = edges.pop() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [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] --> src/main.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let mut ab: Vec> = vec![Vec::new(); input.m]; [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] --> src/main.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let mut ab: Vec> = vec![Vec::new(); input.m]; [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] --> src/main.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let mut eval = 0.0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let mut eval = 0.0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval` [INFO] [stdout] --> src/main.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let mut eval = 0.0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eval` [INFO] [stdout] --> src/main.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let mut eval = 0.0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `area` is assigned to, but never used [INFO] [stdout] --> src/main.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let mut area = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_area` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `area` is assigned to, but never used [INFO] [stdout] --> src/main.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | let mut area = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_area` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `all_area` is assigned to, but never used [INFO] [stdout] --> src/main.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let mut all_area = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_all_area` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `all_area` is assigned to, but never used [INFO] [stdout] --> src/main.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | let mut all_area = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_all_area` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `area` is never read [INFO] [stdout] --> src/main.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | area += calculate_area(rectangles); [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: value assigned to `area` is never read [INFO] [stdout] --> src/main.rs:347:13 [INFO] [stdout] | [INFO] [stdout] 347 | area += calculate_area(rectangles); [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: value assigned to `all_area` is never read [INFO] [stdout] --> src/main.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | all_area += (max_x - min_x) * (max_y - min_y); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `all_area` is never read [INFO] [stdout] --> src/main.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | all_area += (max_x - min_x) * (max_y - min_y); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now_r` [INFO] [stdout] --> src/main.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | let now_r = self.max_r[g1]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_now_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now_r` [INFO] [stdout] --> src/main.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | let now_r = self.max_r[g2]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_now_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now_r` [INFO] [stdout] --> src/main.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 388 | let now_r = self.max_r[g1]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_now_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now_r` [INFO] [stdout] --> src/main.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | let now_r = self.max_r[g2]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_now_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `improved` is assigned to, but never used [INFO] [stdout] --> src/main.rs:581:13 [INFO] [stdout] | [INFO] [stdout] 581 | let mut improved = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_improved` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `improved` is assigned to, but never used [INFO] [stdout] --> src/main.rs:581:13 [INFO] [stdout] | [INFO] [stdout] 581 | let mut improved = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_improved` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_lx` [INFO] [stdout] --> src/main.rs:606:26 [INFO] [stdout] | [INFO] [stdout] 606 | let (is_lx, lx_y, is_rx, rx_y) = intersection_y(lr, xy1, xy2); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_is_lx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lx_y` [INFO] [stdout] --> src/main.rs:606:33 [INFO] [stdout] | [INFO] [stdout] 606 | let (is_lx, lx_y, is_rx, rx_y) = intersection_y(lr, xy1, xy2); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lx_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_lx` [INFO] [stdout] --> src/main.rs:606:26 [INFO] [stdout] | [INFO] [stdout] 606 | let (is_lx, lx_y, is_rx, rx_y) = intersection_y(lr, xy1, xy2); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_is_lx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_rx` [INFO] [stdout] --> src/main.rs:606:39 [INFO] [stdout] | [INFO] [stdout] 606 | let (is_lx, lx_y, is_rx, rx_y) = intersection_y(lr, xy1, xy2); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_is_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx_y` [INFO] [stdout] --> src/main.rs:606:46 [INFO] [stdout] | [INFO] [stdout] 606 | let (is_lx, lx_y, is_rx, rx_y) = intersection_y(lr, xy1, xy2); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rx_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `improved` is never read [INFO] [stdout] --> src/main.rs:645:21 [INFO] [stdout] | [INFO] [stdout] 645 | improved += 1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lx_y` [INFO] [stdout] --> src/main.rs:606:33 [INFO] [stdout] | [INFO] [stdout] 606 | let (is_lx, lx_y, is_rx, rx_y) = intersection_y(lr, xy1, xy2); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lx_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_rx` [INFO] [stdout] --> src/main.rs:606:39 [INFO] [stdout] | [INFO] [stdout] 606 | let (is_lx, lx_y, is_rx, rx_y) = intersection_y(lr, xy1, xy2); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_is_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx_y` [INFO] [stdout] --> src/main.rs:606:46 [INFO] [stdout] | [INFO] [stdout] 606 | let (is_lx, lx_y, is_rx, rx_y) = intersection_y(lr, xy1, xy2); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rx_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `improved` is never read [INFO] [stdout] --> src/main.rs:645:21 [INFO] [stdout] | [INFO] [stdout] 645 | improved += 1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:770:34 [INFO] [stdout] | [INFO] [stdout] 770 | fn build_tree(&self, rng: &mut R, status: &Status) -> Vec> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/main.rs:770:34 [INFO] [stdout] | [INFO] [stdout] 770 | fn build_tree(&self, rng: &mut R, status: &Status) -> Vec> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `weighed_random_index` is never used [INFO] [stdout] --> src/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn weighed_random_index(weight: &Vec, rng: &mut R) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersection_x` is never used [INFO] [stdout] --> src/main.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn intersection_x(lr: (usize, usize, usize, usize), xy1: (f64, f64), xy2: (f64, f64)) -> (bool, f64, bool, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersection_y` is never used [INFO] [stdout] --> src/main.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn intersection_y(lr: (usize, usize, usize, usize), xy1: (f64, f64), xy2: (f64, f64)) -> (bool, f64, bool, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_cm` is never used [INFO] [stdout] --> src/main.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn calc_cm(points: Vec<(f64, f64)>) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `a2g` is never read [INFO] [stdout] --> src/main.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 207 | struct Status { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 215 | a2g: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `swap` is never used [INFO] [stdout] --> src/main.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 218 | impl Status { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 370 | fn swap(&mut self, i: usize, j: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `estimate_xy` and `search_exclusive2` are never used [INFO] [stdout] --> src/main.rs:560:8 [INFO] [stdout] | [INFO] [stdout] 508 | impl Solver { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 560 | fn estimate_xy(&self) -> Vec<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 835 | fn search_exclusive2(&self, rng: &mut R, status: &Status, targets: &mut BinaryHeap<(usize, usize)>) -> HashSet<(usize, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `weighed_random_index` is never used [INFO] [stdout] --> src/main.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn weighed_random_index(weight: &Vec, rng: &mut R) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersection_x` is never used [INFO] [stdout] --> src/main.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn intersection_x(lr: (usize, usize, usize, usize), xy1: (f64, f64), xy2: (f64, f64)) -> (bool, f64, bool, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersection_y` is never used [INFO] [stdout] --> src/main.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn intersection_y(lr: (usize, usize, usize, usize), xy1: (f64, f64), xy2: (f64, f64)) -> (bool, f64, bool, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_cm` is never used [INFO] [stdout] --> src/main.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn calc_cm(points: Vec<(f64, f64)>) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `a2g` is never read [INFO] [stdout] --> src/main.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 207 | struct Status { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 215 | a2g: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `swap` is never used [INFO] [stdout] --> src/main.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 218 | impl Status { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 370 | fn swap(&mut self, i: usize, j: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `estimate_xy` and `search_exclusive2` are never used [INFO] [stdout] --> src/main.rs:560:8 [INFO] [stdout] | [INFO] [stdout] 508 | impl Solver { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 560 | fn estimate_xy(&self) -> Vec<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 835 | fn search_exclusive2(&self, rng: &mut R, status: &Status, targets: &mut BinaryHeap<(usize, usize)>) -> HashSet<(usize, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.56s [INFO] running `Command { std: "docker" "inspect" "c2a4b05f180cab6e6176c2653f19e689479bd5c5146788f44d58568ae914f685", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2a4b05f180cab6e6176c2653f19e689479bd5c5146788f44d58568ae914f685", kill_on_drop: false }` [INFO] [stdout] c2a4b05f180cab6e6176c2653f19e689479bd5c5146788f44d58568ae914f685