[INFO] cloning repository https://github.com/BurnySc2/rust_pathfinding [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BurnySc2/rust_pathfinding" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBurnySc2%2Frust_pathfinding", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBurnySc2%2Frust_pathfinding'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99a3329e85205634dd5a33c598f1397c082261cc [INFO] testing BurnySc2/rust_pathfinding against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBurnySc2%2Frust_pathfinding" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BurnySc2/rust_pathfinding on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BurnySc2/rust_pathfinding [INFO] finished tweaking git repo https://github.com/BurnySc2/rust_pathfinding [INFO] tweaked toml for git repo https://github.com/BurnySc2/rust_pathfinding written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/BurnySc2/rust_pathfinding already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fasthash v0.4.0 [INFO] [stderr] Downloaded xoroshiro128 v0.3.0 [INFO] [stderr] Downloaded seahash v3.0.7 [INFO] [stderr] Downloaded fasthash-sys v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd359d79bd0bb875f65e5560ec8b010703b86bfa0652bc9c7e45dec1b66b817b [INFO] running `Command { std: "docker" "start" "-a" "bd359d79bd0bb875f65e5560ec8b010703b86bfa0652bc9c7e45dec1b66b817b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd359d79bd0bb875f65e5560ec8b010703b86bfa0652bc9c7e45dec1b66b817b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd359d79bd0bb875f65e5560ec8b010703b86bfa0652bc9c7e45dec1b66b817b", kill_on_drop: false }` [INFO] [stdout] bd359d79bd0bb875f65e5560ec8b010703b86bfa0652bc9c7e45dec1b66b817b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3544496d98c79062379a103b93622365da679b4ca949a4886051d26f6fe3687 [INFO] running `Command { std: "docker" "start" "-a" "b3544496d98c79062379a103b93622365da679b4ca949a4886051d26f6fe3687", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling ndarray v0.13.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling seahash v3.0.7 [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] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling fasthash-sys v0.3.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling xoroshiro128 v0.3.0 [INFO] [stderr] Compiling fasthash v0.4.0 [INFO] [stderr] Compiling py_pathfinding v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/algorithms/jps.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/algorithms/jps.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/algorithms/jps.rs:630:5 [INFO] [stdout] | [INFO] [stdout] 630 | use std::path::Path; [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/algorithms/jps.rs:275:33 [INFO] [stdout] | [INFO] [stdout] 275 | fn is_in_grid_bounds(&self, point: &Point2d) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_neighbor` [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance` [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 is never used: `successors` [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: field is never read: `cost_to_source` [INFO] [stdout] --> src/algorithms/astar.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | cost_to_source: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/algorithms/astar.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `position` [INFO] [stdout] --> src/algorithms/astar.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | position: Point2d, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/algorithms/astar.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `came_from` [INFO] [stdout] --> src/algorithms/astar.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | came_from: Point2d, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/algorithms/astar.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Copy, Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `manhattan_heuristic` [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 is never used: `SQRT_2_MINUS_2` [INFO] [stdout] --> src/algorithms/astar.rs:108:1 [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 is never used: `octal_heuristic` [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 is never used: `euclidean_heuristic` [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 is never used: `no_heuristic` [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 is never used: `construct_path` [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 is never constructed: `PathFinder` [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 is never used: `update_grid` [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 is never used: `find_path` [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 is never used: `new_point_in_grid` [INFO] [stdout] --> src/algorithms/jps.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | fn new_point_in_grid(&self, point: &Point2d, direction: Direction) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `py_pathfinding` due to 2 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b3544496d98c79062379a103b93622365da679b4ca949a4886051d26f6fe3687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3544496d98c79062379a103b93622365da679b4ca949a4886051d26f6fe3687", kill_on_drop: false }` [INFO] [stdout] b3544496d98c79062379a103b93622365da679b4ca949a4886051d26f6fe3687