[INFO] fetching crate py_pathfinding 0.1.5... [INFO] crate py_pathfinding 0.1.5 is already in cache [INFO] crate py_pathfinding 0.1.5 is already in cache [INFO] crate py_pathfinding 0.1.5 is already in cache [INFO] crate py_pathfinding 0.1.5 is already in cache [INFO] crate py_pathfinding 0.1.5 is already in cache [INFO] crate py_pathfinding 0.1.5 is already in cache [INFO] crate py_pathfinding 0.1.5 is already in cache [INFO] crate py_pathfinding 0.1.5 is already in cache [INFO] crate py_pathfinding 0.1.5 is already in cache [INFO] crate py_pathfinding 0.1.5 is already in cache [INFO] crate py_pathfinding 0.1.5 is already in cache [INFO] crate py_pathfinding 0.1.5 is already in cache [INFO] crate py_pathfinding 0.1.5 is already in cache [INFO] crate py_pathfinding 0.1.5 is already in cache [INFO] checking py_pathfinding-0.1.5 against master#7308c22c6a8d77e82187e290e1f7459870e48d12 for pr-99447 [INFO] extracting crate py_pathfinding 0.1.5 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate py_pathfinding 0.1.5 on toolchain 7308c22c6a8d77e82187e290e1f7459870e48d12 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7308c22c6a8d77e82187e290e1f7459870e48d12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate py_pathfinding 0.1.5 [INFO] finished tweaking crates.io crate py_pathfinding 0.1.5 [INFO] tweaked toml for crates.io crate py_pathfinding 0.1.5 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate py_pathfinding 0.1.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7308c22c6a8d77e82187e290e1f7459870e48d12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+7308c22c6a8d77e82187e290e1f7459870e48d12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b04d853882b69a5e46aa84c105ab00f7fd2debec662ea2532f8e9cc8848b9e3e [INFO] running `Command { std: "docker" "start" "-a" "b04d853882b69a5e46aa84c105ab00f7fd2debec662ea2532f8e9cc8848b9e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b04d853882b69a5e46aa84c105ab00f7fd2debec662ea2532f8e9cc8848b9e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b04d853882b69a5e46aa84c105ab00f7fd2debec662ea2532f8e9cc8848b9e3e", kill_on_drop: false }` [INFO] [stdout] b04d853882b69a5e46aa84c105ab00f7fd2debec662ea2532f8e9cc8848b9e3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+7308c22c6a8d77e82187e290e1f7459870e48d12" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 444137765c4a5c84cdef65e27f3dee66d4df5a3c5a607d8d0a8322d1859053a2 [INFO] running `Command { std: "docker" "start" "-a" "444137765c4a5c84cdef65e27f3dee66d4df5a3c5a607d8d0a8322d1859053a2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling ndarray v0.13.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking py_pathfinding v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/algorithms/astar.rs:126:36 [INFO] [stdout] | [INFO] [stdout] 126 | fn no_heuristic(_source: &Point2d, target: &Point2d) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `grid` and `came_from_grid` are never read [INFO] [stdout] --> src/algorithms/astar.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 149 | struct PathFinder { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 152 | grid: Array2, [INFO] [stdout] | ^^^^ [INFO] [stdout] 153 | came_from_grid: Array2, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `distance` is never used [INFO] [stdout] --> src/algorithms/astar.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn distance(&self, other: &Self) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `successors` is never used [INFO] [stdout] --> src/algorithms/astar.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn successors(&self) -> Vec<(Point2d, u32)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update_grid` is never used [INFO] [stdout] --> src/algorithms/astar.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn update_grid(&mut self, grid: Array2) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_point_in_grid` is never used [INFO] [stdout] --> src/algorithms/jps.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | fn new_point_in_grid(&self, point: &Point2d, direction: Direction) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/algorithms/astar.rs:126:36 [INFO] [stdout] | [INFO] [stdout] 126 | fn no_heuristic(_source: &Point2d, target: &Point2d) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cost_to_source`, `position` and `came_from` are never read [INFO] [stdout] --> src/algorithms/astar.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 72 | cost_to_source: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 73 | total_estimated_cost: f32, [INFO] [stdout] 74 | position: Point2d, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 75 | came_from: Point2d, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `manhattan_heuristic` is never used [INFO] [stdout] --> src/algorithms/astar.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn manhattan_heuristic(source: &Point2d, target: &Point2d) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SQRT_2_MINUS_2` is never used [INFO] [stdout] --> src/algorithms/astar.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | static SQRT_2_MINUS_2: f32 = SQRT_2 - 2.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `octal_heuristic` is never used [INFO] [stdout] --> src/algorithms/astar.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn octal_heuristic(source: &Point2d, target: &Point2d) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `euclidean_heuristic` is never used [INFO] [stdout] --> src/algorithms/astar.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn euclidean_heuristic(source: &Point2d, target: &Point2d) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `no_heuristic` is never used [INFO] [stdout] --> src/algorithms/astar.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn no_heuristic(_source: &Point2d, target: &Point2d) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `construct_path` is never used [INFO] [stdout] --> src/algorithms/astar.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn construct_path( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PathFinder` is never constructed [INFO] [stdout] --> src/algorithms/astar.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | struct PathFinder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_neighbor` is never used [INFO] [stdout] --> src/algorithms/astar.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn add_neighbor(&self, other: (i32, i32)) -> Point2d { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `distance` is never used [INFO] [stdout] --> src/algorithms/astar.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn distance(&self, other: &Self) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `successors` is never used [INFO] [stdout] --> src/algorithms/astar.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn successors(&self) -> Vec<(Point2d, u32)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update_grid` is never used [INFO] [stdout] --> src/algorithms/astar.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn update_grid(&mut self, grid: Array2) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `find_path` is never used [INFO] [stdout] --> src/algorithms/astar.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | fn find_path(&self, source: &Point2d, target: &Point2d) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_point_in_grid` is never used [INFO] [stdout] --> src/algorithms/jps.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | fn new_point_in_grid(&self, point: &Point2d, direction: Direction) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/algorithms/astar.rs:126:36 [INFO] [stdout] | [INFO] [stdout] 126 | fn no_heuristic(_source: &Point2d, target: &Point2d) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/algorithms/astar.rs:126:36 [INFO] [stdout] | [INFO] [stdout] 126 | fn no_heuristic(_source: &Point2d, target: &Point2d) -> f32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cost_to_source`, `position` and `came_from` are never read [INFO] [stdout] --> src/algorithms/astar.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 72 | cost_to_source: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 73 | total_estimated_cost: f32, [INFO] [stdout] 74 | position: Point2d, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 75 | came_from: Point2d, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `manhattan_heuristic` is never used [INFO] [stdout] --> src/algorithms/astar.rs:104:4 [INFO] [stdout] | [INFO] [stdout] 104 | fn manhattan_heuristic(source: &Point2d, target: &Point2d) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SQRT_2_MINUS_2` is never used [INFO] [stdout] --> src/algorithms/astar.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | static SQRT_2_MINUS_2: f32 = SQRT_2 - 2.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `octal_heuristic` is never used [INFO] [stdout] --> src/algorithms/astar.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn octal_heuristic(source: &Point2d, target: &Point2d) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `euclidean_heuristic` is never used [INFO] [stdout] --> src/algorithms/astar.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn euclidean_heuristic(source: &Point2d, target: &Point2d) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `no_heuristic` is never used [INFO] [stdout] --> src/algorithms/astar.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn no_heuristic(_source: &Point2d, target: &Point2d) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `construct_path` is never used [INFO] [stdout] --> src/algorithms/astar.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn construct_path( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PathFinder` is never constructed [INFO] [stdout] --> src/algorithms/astar.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 149 | struct PathFinder { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_neighbor` is never used [INFO] [stdout] --> src/algorithms/astar.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn add_neighbor(&self, other: (i32, i32)) -> Point2d { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `distance` is never used [INFO] [stdout] --> src/algorithms/astar.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn distance(&self, other: &Self) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `successors` is never used [INFO] [stdout] --> src/algorithms/astar.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn successors(&self) -> Vec<(Point2d, u32)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update_grid` is never used [INFO] [stdout] --> src/algorithms/astar.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn update_grid(&mut self, grid: Array2) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `find_path` is never used [INFO] [stdout] --> src/algorithms/astar.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 162 | fn find_path(&self, source: &Point2d, target: &Point2d) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_point_in_grid` is never used [INFO] [stdout] --> src/algorithms/jps.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | fn new_point_in_grid(&self, point: &Point2d, direction: Direction) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | file.write_fmt(format_args!("{},{}\n", x, y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `grid` and `came_from_grid` are never read [INFO] [stdout] --> src/algorithms/astar.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 149 | struct PathFinder { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 152 | grid: Array2, [INFO] [stdout] | ^^^^ [INFO] [stdout] 153 | came_from_grid: Array2, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `distance` is never used [INFO] [stdout] --> src/algorithms/astar.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | fn distance(&self, other: &Self) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `successors` is never used [INFO] [stdout] --> src/algorithms/astar.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | fn successors(&self) -> Vec<(Point2d, u32)> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update_grid` is never used [INFO] [stdout] --> src/algorithms/astar.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | fn update_grid(&mut self, grid: Array2) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_point_in_grid` is never used [INFO] [stdout] --> src/algorithms/jps.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | fn new_point_in_grid(&self, point: &Point2d, direction: Direction) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | file.write_fmt(format_args!("{},{}\n", x, y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.28s [INFO] running `Command { std: "docker" "inspect" "444137765c4a5c84cdef65e27f3dee66d4df5a3c5a607d8d0a8322d1859053a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "444137765c4a5c84cdef65e27f3dee66d4df5a3c5a607d8d0a8322d1859053a2", kill_on_drop: false }` [INFO] [stdout] 444137765c4a5c84cdef65e27f3dee66d4df5a3c5a607d8d0a8322d1859053a2