[INFO] fetching crate py_pathfinding 0.1.5... [INFO] testing py_pathfinding-0.1.5 against 1.60.0 for beta-1.61-1 [INFO] extracting crate py_pathfinding 0.1.5 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate py_pathfinding 0.1.5 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 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-14/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 80e66da3162fdeb14d3a2fc7c301346952ce0b34046b1e033ceb1a220d8ffb67 [INFO] running `Command { std: "docker" "start" "-a" "80e66da3162fdeb14d3a2fc7c301346952ce0b34046b1e033ceb1a220d8ffb67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80e66da3162fdeb14d3a2fc7c301346952ce0b34046b1e033ceb1a220d8ffb67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80e66da3162fdeb14d3a2fc7c301346952ce0b34046b1e033ceb1a220d8ffb67", kill_on_drop: false }` [INFO] [stdout] 80e66da3162fdeb14d3a2fc7c301346952ce0b34046b1e033ceb1a220d8ffb67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 350604f4a370265f6f21caeccfe0a90b9e8dd8a3079e45c46e0c9ee0905aa8a2 [INFO] running `Command { std: "docker" "start" "-a" "350604f4a370265f6f21caeccfe0a90b9e8dd8a3079e45c46e0c9ee0905aa8a2", kill_on_drop: false }` [INFO] [stderr] Compiling ndarray v0.13.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling 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: 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: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] 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; 17 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; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "350604f4a370265f6f21caeccfe0a90b9e8dd8a3079e45c46e0c9ee0905aa8a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "350604f4a370265f6f21caeccfe0a90b9e8dd8a3079e45c46e0c9ee0905aa8a2", kill_on_drop: false }` [INFO] [stdout] 350604f4a370265f6f21caeccfe0a90b9e8dd8a3079e45c46e0c9ee0905aa8a2