[INFO] fetching crate py_pathfinding 0.1.5...
[INFO] checking py_pathfinding-0.1.5 against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] extracting crate py_pathfinding 0.1.5 into /workspace/builds/worker-4-tc2/source
[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-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate py_pathfinding 0.1.5 on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate py_pathfinding 0.1.5 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b8dc949bcebe9cea78fdd63ed480629ad0b84e5b06ee70f9d60dfb674925fc5c
[INFO] running `Command { std: "docker" "start" "-a" "b8dc949bcebe9cea78fdd63ed480629ad0b84e5b06ee70f9d60dfb674925fc5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b8dc949bcebe9cea78fdd63ed480629ad0b84e5b06ee70f9d60dfb674925fc5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8dc949bcebe9cea78fdd63ed480629ad0b84e5b06ee70f9d60dfb674925fc5c", kill_on_drop: false }`
[INFO] [stdout] b8dc949bcebe9cea78fdd63ed480629ad0b84e5b06ee70f9d60dfb674925fc5c
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] abf6434c92f18f7c78ab55535f9bb0bb8bb3157886cf51494a52c6c530d4e277
[INFO] running `Command { std: "docker" "start" "-a" "abf6434c92f18f7c78ab55535f9bb0bb8bb3157886cf51494a52c6c530d4e277", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling ndarray v0.13.0
[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-complex v0.2.4
[INFO] [stderr]    Compiling num-integer v0.1.42
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `distance` and `successors` are never used
[INFO] [stdout]   --> src/algorithms/astar.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl Point2d {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn distance(&self, other: &Self) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     fn successors(&self) -> Vec<(Point2d, u32)> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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<u8>,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 153 |     came_from_grid: Array2<u8>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_grid` is never used
[INFO] [stdout]    --> src/algorithms/astar.rs:158:8
[INFO] [stdout]     |
[INFO] [stdout] 157 | impl PathFinder {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] 158 |     fn update_grid(&mut self, grid: Array2<u8>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `new_point_in_grid` is never used
[INFO] [stdout]    --> src/algorithms/jps.rs:285:8
[INFO] [stdout]     |
[INFO] [stdout] 261 | impl PathFinder {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 285 |     fn new_point_in_grid(&self, point: &Point2d, direction: Direction) -> Option<Point2d> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Point2d` is never constructed
[INFO] [stdout]   --> src/algorithms/astar.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Point2d {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_neighbor`, `distance`, and `successors` are never used
[INFO] [stdout]   --> src/algorithms/astar.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl Point2d {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] 37 |     fn add_neighbor(&self, other: (i32, i32)) -> Point2d {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn distance(&self, other: &Self) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     fn successors(&self) -> Vec<(Point2d, u32)> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/algorithms/astar.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | struct Node {
[INFO] [stdout]    |        ^^^^
[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: methods `update_grid` and `find_path` are never used
[INFO] [stdout]    --> src/algorithms/astar.rs:158:8
[INFO] [stdout]     |
[INFO] [stdout] 157 | impl PathFinder {
[INFO] [stdout]     | --------------- methods in this implementation
[INFO] [stdout] 158 |     fn update_grid(&mut self, grid: Array2<u8>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     fn find_path(&self, source: &Point2d, target: &Point2d) -> Option<Vec<Point2d>> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `new_point_in_grid` is never used
[INFO] [stdout]    --> src/algorithms/jps.rs:285:8
[INFO] [stdout]     |
[INFO] [stdout] 261 | impl PathFinder {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 285 |     fn new_point_in_grid(&self, point: &Point2d, direction: Direction) -> Option<Point2d> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `py_pathfinding` (lib) due to 1 previous error; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "abf6434c92f18f7c78ab55535f9bb0bb8bb3157886cf51494a52c6c530d4e277", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "abf6434c92f18f7c78ab55535f9bb0bb8bb3157886cf51494a52c6c530d4e277", kill_on_drop: false }`
[INFO] [stdout] abf6434c92f18f7c78ab55535f9bb0bb8bb3157886cf51494a52c6c530d4e277
