[INFO] fetching crate py_pathfinding 0.1.5... [INFO] checking py_pathfinding-0.1.5 against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] extracting crate py_pathfinding 0.1.5 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate py_pathfinding 0.1.5 on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "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-5-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ndarray v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1d1f1620431a08ca5210a9745e567de54e4a95da13c31198c7eb72f635ba14e [INFO] running `Command { std: "docker" "start" "-a" "c1d1f1620431a08ca5210a9745e567de54e4a95da13c31198c7eb72f635ba14e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1d1f1620431a08ca5210a9745e567de54e4a95da13c31198c7eb72f635ba14e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1d1f1620431a08ca5210a9745e567de54e4a95da13c31198c7eb72f635ba14e", kill_on_drop: false }` [INFO] [stdout] c1d1f1620431a08ca5210a9745e567de54e4a95da13c31198c7eb72f635ba14e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29e0a63ecc4da439578dde830436b16ff35652c717c2490ab900db046bfe506c [INFO] running `Command { std: "docker" "start" "-a" "29e0a63ecc4da439578dde830436b16ff35652c717c2490ab900db046bfe506c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling ndarray v0.13.0 [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)]` 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: 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: `#[warn(dead_code)]` 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] [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) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn find_path(&self, source: &Point2d, target: &Point2d) -> Option> { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [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)]` 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] [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) { [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 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 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: 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: `#[warn(dead_code)]` 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] [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) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn find_path(&self, source: &Point2d, target: &Point2d) -> Option> { [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 { [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 16 | let _ = file.write_fmt(format_args!("{},{}\n", x, y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [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)]` 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] [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) { [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 { [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 16 | let _ = file.write_fmt(format_args!("{},{}\n", x, y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.36s [INFO] running `Command { std: "docker" "inspect" "29e0a63ecc4da439578dde830436b16ff35652c717c2490ab900db046bfe506c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29e0a63ecc4da439578dde830436b16ff35652c717c2490ab900db046bfe506c", kill_on_drop: false }` [INFO] [stdout] 29e0a63ecc4da439578dde830436b16ff35652c717c2490ab900db046bfe506c [INFO] checking py_pathfinding-0.1.5 against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] extracting crate py_pathfinding 0.1.5 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate py_pathfinding 0.1.5 on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "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-5-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9790afdbe3e2f52f470d81220520f761befbfe7e1bd1ea7cc84bd507d9d26c8 [INFO] running `Command { std: "docker" "start" "-a" "a9790afdbe3e2f52f470d81220520f761befbfe7e1bd1ea7cc84bd507d9d26c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9790afdbe3e2f52f470d81220520f761befbfe7e1bd1ea7cc84bd507d9d26c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9790afdbe3e2f52f470d81220520f761befbfe7e1bd1ea7cc84bd507d9d26c8", kill_on_drop: false }` [INFO] [stdout] a9790afdbe3e2f52f470d81220520f761befbfe7e1bd1ea7cc84bd507d9d26c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 204813ecd90bef5d3b31a079d08785aa492bae82928b0abb6a9fae571e28aa7a [INFO] running `Command { std: "docker" "start" "-a" "204813ecd90bef5d3b31a079d08785aa492bae82928b0abb6a9fae571e28aa7a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking rawpointer v0.2.1 [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-integer v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.42/src/lib.rs:478:41 [INFO] [stdout] | [INFO] [stdout] 478 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 787 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.42/src/lib.rs:478:41 [INFO] [stdout] | [INFO] [stdout] 478 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 788 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.42/src/lib.rs:478:41 [INFO] [stdout] | [INFO] [stdout] 478 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 789 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.42/src/lib.rs:478:41 [INFO] [stdout] | [INFO] [stdout] 478 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 790 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.42/src/lib.rs:478:41 [INFO] [stdout] | [INFO] [stdout] 478 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 791 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.42/src/lib.rs:478:41 [INFO] [stdout] | [INFO] [stdout] 478 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 793 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "204813ecd90bef5d3b31a079d08785aa492bae82928b0abb6a9fae571e28aa7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "204813ecd90bef5d3b31a079d08785aa492bae82928b0abb6a9fae571e28aa7a", kill_on_drop: false }` [INFO] [stdout] 204813ecd90bef5d3b31a079d08785aa492bae82928b0abb6a9fae571e28aa7a