main
John Lauer Publish input-bound R11 prototype bundle and completed CLI clearance review 7007e93
   Compiling adom-aiflow-probing v0.2.24 (/home/adom/project/load-r11-probing-obstacle-fix)
warning: unnecessary parentheses around assigned value
   --> src/states.rs:113:16
    |
113 | ...o = (plan["tests"].as_array().and_then(|t| t.iter().find(|x| !x["expect"]["design"]["start_V"].is_null()))
    |        ^
114 | ...p(|t| (t["expect"]["design"]["start_V"].as_f64().unwrap_or(0.0), t["expect"]["design"]["stop_V"].as_f64().unwrap_or(0.0))));
    |                                                                                                                              ^
    |
    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
help: remove these parentheses
    |
113 ~     let uvlo = plan["tests"].as_array().and_then(|t| t.iter().find(|x| !x["expect"]["design"]["start_V"].is_null()))
114 ~         .map(|t| (t["expect"]["design"]["start_V"].as_f64().unwrap_or(0.0), t["expect"]["design"]["stop_V"].as_f64().unwrap_or(0.0)));
    |

warning: variable does not need to be mutable
   --> src/redesign.rs:248:14
    |
248 |         let (mut y, x0, x1, y1) = (f(o, "y0"), f(o, "x0"), f(o, "x1"), f(o, "y1"));
    |              ----^
    |              |
    |              help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `seat_of`
   --> src/main.rs:657:9
    |
657 |     let seat_of = |x: f64, y: f64| pinseat::seat(x, y, board_top, floor.min(board_bottom), &holes);
    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seat_of`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: value assigned to `hx` is never read
   --> src/main.rs:800:5
    |
800 |     hx = cx; hy = cy;
    |     ^^^^^^^
    |
    = help: maybe it is overwritten before being read?
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: value assigned to `hy` is never read
   --> src/main.rs:800:14
    |
800 |     hx = cx; hy = cy;
    |              ^^^^^^^
    |
    = help: maybe it is overwritten before being read?

warning: field `tht` is never read
  --> src/access.rs:95:82
   |
95 | struct Pad { rf: String, net: String, x: f64, y: f64, w: f64, h: f64, top: bool, tht: bool }
   |        --- field in this struct                                                  ^^^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: function `voxel_boxes` is never used
   --> src/stack.rs:246:8
    |
246 | pub fn voxel_boxes(tris: &[[[f64; 3]; 3]], cell: f64, z_max: f64) -> Vec<Bx> {
    |        ^^^^^^^^^^^

warning: field `mol` is never read
   --> src/collide.rs:224:55
    |
224 | pub struct World { pub g: Geometry, pub slab: Bx, pub mol: (f64, f64, f64, f64), pub nparts: usize, pub nwires: usize, pub fine: bo...
    |            ----- field in this struct                 ^^^

warning: struct `Proposal` is never constructed
   --> src/redesign.rs:133:12
    |
133 | pub struct Proposal { pub need: usize, pub v: Value }
    |            ^^^^^^^^

warning: field `shoulder_gap_mm` is never read
  --> src/pinseat.rs:17:62
   |
17 | pub struct Seat { pub seat_mm: f64, pub tail_in_mm: f64, pub shoulder_gap_mm: f64, pub why: String }
   |            ---- field in this struct                         ^^^^^^^^^^^^^^^

warning: method `json` is never used
  --> src/pinseat.rs:20:12
   |
19 | impl Seat {
   | --------- method in this implementation
20 |     pub fn json(&self) -> Value { json!({"seat_mm": crate::num::round(self.seat_mm, 3), "tail_in_mm": crate::num::round(self.tail_in...
   |            ^^^^

warning: constant `STANDOFF_MM` is never used
  --> src/fixture.rs:24:7
   |
24 | const STANDOFF_MM: f64 = 10.0;
   |       ^^^^^^^^^^^

warning: `adom-aiflow-probing` (bin "adom-aiflow-probing" test) generated 12 warnings (run `cargo fix --bin "adom-aiflow-probing" -p adom-aiflow-probing --tests` to apply 3 suggestions)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s
     Running unittests src/main.rs (/home/adom/project/load-r11-probing-obstacle-fix/target/debug/deps/adom_aiflow_probing-8625fbf754a293ba)

running 10 tests
test collide::obstacle_regressions::isolated_corner_is_not_a_board_and_rotated_outline_is_checked ... ok
test collide::obstacle_regressions::split_board_corners_recover_full_outline_and_keep_large_coolers ... ok
test collide::obstacle_regressions::complete_head_samples_detect_cooler_above_old_40mm_cutoff ... ok
test collide::tether_selection_tests::large_obstacle_edge_beats_small_remote_center ... ok
test collide::tether_selection_tests::crossing_inside_degenerate_and_corner_segments ... ok
test coverage::tests::capacitor_values ... ok
test coverage::tests::rails ... ok
test states::tests::sweep_turns_on_and_off ... ok
test states::tests::values ... ok
test flow::tests::current_step_is_the_first_with_missing_artifacts ... ok

test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s