[INFO] cloning repository https://github.com/theNEOkun/AStar-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theNEOkun/AStar-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheNEOkun%2FAStar-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheNEOkun%2FAStar-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2452c25000872ce76883097ee306a8b5d66902e3 [INFO] checking theNEOkun/AStar-rust against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheNEOkun%2FAStar-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/theNEOkun/AStar-rust on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/theNEOkun/AStar-rust [INFO] finished tweaking git repo https://github.com/theNEOkun/AStar-rust [INFO] tweaked toml for git repo https://github.com/theNEOkun/AStar-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/theNEOkun/AStar-rust 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 331b7c5beefdfb30e9f4b8a6ee9b24dabf5ef0bd8a571636f673eb46257a5444 [INFO] running `Command { std: "docker" "start" "-a" "331b7c5beefdfb30e9f4b8a6ee9b24dabf5ef0bd8a571636f673eb46257a5444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "331b7c5beefdfb30e9f4b8a6ee9b24dabf5ef0bd8a571636f673eb46257a5444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "331b7c5beefdfb30e9f4b8a6ee9b24dabf5ef0bd8a571636f673eb46257a5444", kill_on_drop: false }` [INFO] [stdout] 331b7c5beefdfb30e9f4b8a6ee9b24dabf5ef0bd8a571636f673eb46257a5444 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3b9c88b2d790e5a2920d9d47936156b97c4d52991d0a481888160c32266bf75 [INFO] running `Command { std: "docker" "start" "-a" "e3b9c88b2d790e5a2920d9d47936156b97c4d52991d0a481888160c32266bf75", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking djikstra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | && (!matrix[(neigbour.get_position())].get_visited() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - && (!matrix[(neigbour.get_position())].get_visited() [INFO] [stdout] 27 + && (!matrix[neigbour.get_position()].get_visited() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | ... || cost < matrix[(neigbour.get_position())].get_distance()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - || cost < matrix[(neigbour.get_position())].get_distance()) [INFO] [stdout] 28 + || cost < matrix[neigbour.get_position()].get_distance()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | matrix[(neigbour.get_position())].set_visited(true); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - matrix[(neigbour.get_position())].set_visited(true); [INFO] [stdout] 31 + matrix[neigbour.get_position()].set_visited(true); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | matrix[(neigbour.get_position())].set_distance(cost); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - matrix[(neigbour.get_position())].set_distance(cost); [INFO] [stdout] 32 + matrix[neigbour.get_position()].set_distance(cost); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | matrix[(neigbour.get_position())].set_heuristics(heuristic); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - matrix[(neigbour.get_position())].set_heuristics(heuristic); [INFO] [stdout] 33 + matrix[neigbour.get_position()].set_heuristics(heuristic); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | matrix[(neigbour.get_position())].set_parent(current.clone()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - matrix[(neigbour.get_position())].set_parent(current.clone()); [INFO] [stdout] 34 + matrix[neigbour.get_position()].set_parent(current.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | pq.push(matrix[(neigbour.get_position())].clone()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - pq.push(matrix[(neigbour.get_position())].clone()); [INFO] [stdout] 38 + pq.push(matrix[neigbour.get_position()].clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | if let Some(parent_pos) = *matrix[(end)].get_parent() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - if let Some(parent_pos) = *matrix[(end)].get_parent() { [INFO] [stdout] 66 + if let Some(parent_pos) = *matrix[end].get_parent() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | && (!matrix[(neigbour.get_position())].get_visited() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - && (!matrix[(neigbour.get_position())].get_visited() [INFO] [stdout] 27 + && (!matrix[neigbour.get_position()].get_visited() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | ... || cost < matrix[(neigbour.get_position())].get_distance()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - || cost < matrix[(neigbour.get_position())].get_distance()) [INFO] [stdout] 28 + || cost < matrix[neigbour.get_position()].get_distance()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | matrix[(neigbour.get_position())].set_visited(true); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - matrix[(neigbour.get_position())].set_visited(true); [INFO] [stdout] 31 + matrix[neigbour.get_position()].set_visited(true); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | matrix[(neigbour.get_position())].set_distance(cost); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - matrix[(neigbour.get_position())].set_distance(cost); [INFO] [stdout] 32 + matrix[neigbour.get_position()].set_distance(cost); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | matrix[(neigbour.get_position())].set_heuristics(heuristic); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - matrix[(neigbour.get_position())].set_heuristics(heuristic); [INFO] [stdout] 33 + matrix[neigbour.get_position()].set_heuristics(heuristic); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | matrix[(neigbour.get_position())].set_parent(current.clone()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - matrix[(neigbour.get_position())].set_parent(current.clone()); [INFO] [stdout] 34 + matrix[neigbour.get_position()].set_parent(current.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | pq.push(matrix[(neigbour.get_position())].clone()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - pq.push(matrix[(neigbour.get_position())].clone()); [INFO] [stdout] 38 + pq.push(matrix[neigbour.get_position()].clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | if let Some(parent_pos) = *matrix[(end)].get_parent() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - if let Some(parent_pos) = *matrix[(end)].get_parent() { [INFO] [stdout] 66 + if let Some(parent_pos) = *matrix[end].get_parent() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `start`, and `end` are never read [INFO] [stdout] --> src/backend/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DataHandle<'a, T: Cell> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 15 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | start: Position, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | end: Position, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_matrix` is never used [INFO] [stdout] --> src/backend/file_handler.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl FileHandler { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn write_matrix(&self, matrix: &Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `show` is never used [INFO] [stdout] --> src/backend/matrix.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Matrix { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn show(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_heuristics` and `get_type` are never used [INFO] [stdout] --> src/cell/cell.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait Cell: Display + Debug + Eq + PartialEq + PartialOrd + Ord + Clone { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 68 | fn get_heuristics(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn get_type(&self) -> u8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/backend/file_handler.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | writer.write(format!("{}", &matrix[(y, x)]).as_ref()); [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] 40 | let _ = writer.write(format!("{}", &matrix[(y, x)]).as_ref()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/backend/file_handler.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | writer.write(" ".as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | let _ = writer.write(" ".as_ref()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/backend/file_handler.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | writer.write("\n".as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 43 | let _ = writer.write("\n".as_ref()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `start`, and `end` are never read [INFO] [stdout] --> src/backend/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DataHandle<'a, T: Cell> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 15 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | start: Position, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | end: Position, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_matrix` is never used [INFO] [stdout] --> src/backend/file_handler.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl FileHandler { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn write_matrix(&self, matrix: &Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `show` is never used [INFO] [stdout] --> src/backend/matrix.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Matrix { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn show(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_heuristics` and `get_type` are never used [INFO] [stdout] --> src/cell/cell.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait Cell: Display + Debug + Eq + PartialEq + PartialOrd + Ord + Clone { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 68 | fn get_heuristics(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn get_type(&self) -> u8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/backend/file_handler.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | writer.write(format!("{}", &matrix[(y, x)]).as_ref()); [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] 40 | let _ = writer.write(format!("{}", &matrix[(y, x)]).as_ref()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/backend/file_handler.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | writer.write(" ".as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | let _ = writer.write(" ".as_ref()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/backend/file_handler.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | writer.write("\n".as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 43 | let _ = writer.write("\n".as_ref()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.67s [INFO] running `Command { std: "docker" "inspect" "e3b9c88b2d790e5a2920d9d47936156b97c4d52991d0a481888160c32266bf75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3b9c88b2d790e5a2920d9d47936156b97c4d52991d0a481888160c32266bf75", kill_on_drop: false }` [INFO] [stdout] e3b9c88b2d790e5a2920d9d47936156b97c4d52991d0a481888160c32266bf75 [INFO] checking theNEOkun/AStar-rust against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FtheNEOkun%2FAStar-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/theNEOkun/AStar-rust on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/theNEOkun/AStar-rust [INFO] finished tweaking git repo https://github.com/theNEOkun/AStar-rust [INFO] tweaked toml for git repo https://github.com/theNEOkun/AStar-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/theNEOkun/AStar-rust 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f8e5097ada6017ab2be9e610756948ea94e06db47e39f63693139b87a43acf0 [INFO] running `Command { std: "docker" "start" "-a" "3f8e5097ada6017ab2be9e610756948ea94e06db47e39f63693139b87a43acf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f8e5097ada6017ab2be9e610756948ea94e06db47e39f63693139b87a43acf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f8e5097ada6017ab2be9e610756948ea94e06db47e39f63693139b87a43acf0", kill_on_drop: false }` [INFO] [stdout] 3f8e5097ada6017ab2be9e610756948ea94e06db47e39f63693139b87a43acf0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7199640d536e84cdb744b439bfd107ec051c6ec898dd3a2d0f5b0d4aa7bc04d5 [INFO] running `Command { std: "docker" "start" "-a" "7199640d536e84cdb744b439bfd107ec051c6ec898dd3a2d0f5b0d4aa7bc04d5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking djikstra v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | && (!matrix[(neigbour.get_position())].get_visited() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - && (!matrix[(neigbour.get_position())].get_visited() [INFO] [stdout] 27 + && (!matrix[neigbour.get_position()].get_visited() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | ... || cost < matrix[(neigbour.get_position())].get_distance()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - || cost < matrix[(neigbour.get_position())].get_distance()) [INFO] [stdout] 28 + || cost < matrix[neigbour.get_position()].get_distance()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | matrix[(neigbour.get_position())].set_visited(true); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - matrix[(neigbour.get_position())].set_visited(true); [INFO] [stdout] 31 + matrix[neigbour.get_position()].set_visited(true); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | matrix[(neigbour.get_position())].set_distance(cost); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - matrix[(neigbour.get_position())].set_distance(cost); [INFO] [stdout] 32 + matrix[neigbour.get_position()].set_distance(cost); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | matrix[(neigbour.get_position())].set_heuristics(heuristic); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - matrix[(neigbour.get_position())].set_heuristics(heuristic); [INFO] [stdout] 33 + matrix[neigbour.get_position()].set_heuristics(heuristic); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | matrix[(neigbour.get_position())].set_parent(current.clone()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - matrix[(neigbour.get_position())].set_parent(current.clone()); [INFO] [stdout] 34 + matrix[neigbour.get_position()].set_parent(current.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | pq.push(matrix[(neigbour.get_position())].clone()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - pq.push(matrix[(neigbour.get_position())].clone()); [INFO] [stdout] 38 + pq.push(matrix[neigbour.get_position()].clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | if let Some(parent_pos) = *matrix[(end)].get_parent() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - if let Some(parent_pos) = *matrix[(end)].get_parent() { [INFO] [stdout] 66 + if let Some(parent_pos) = *matrix[end].get_parent() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | && (!matrix[(neigbour.get_position())].get_visited() [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - && (!matrix[(neigbour.get_position())].get_visited() [INFO] [stdout] 27 + && (!matrix[neigbour.get_position()].get_visited() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | ... || cost < matrix[(neigbour.get_position())].get_distance()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - || cost < matrix[(neigbour.get_position())].get_distance()) [INFO] [stdout] 28 + || cost < matrix[neigbour.get_position()].get_distance()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | matrix[(neigbour.get_position())].set_visited(true); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 31 - matrix[(neigbour.get_position())].set_visited(true); [INFO] [stdout] 31 + matrix[neigbour.get_position()].set_visited(true); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | matrix[(neigbour.get_position())].set_distance(cost); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - matrix[(neigbour.get_position())].set_distance(cost); [INFO] [stdout] 32 + matrix[neigbour.get_position()].set_distance(cost); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | matrix[(neigbour.get_position())].set_heuristics(heuristic); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - matrix[(neigbour.get_position())].set_heuristics(heuristic); [INFO] [stdout] 33 + matrix[neigbour.get_position()].set_heuristics(heuristic); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | matrix[(neigbour.get_position())].set_parent(current.clone()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - matrix[(neigbour.get_position())].set_parent(current.clone()); [INFO] [stdout] 34 + matrix[neigbour.get_position()].set_parent(current.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | pq.push(matrix[(neigbour.get_position())].clone()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - pq.push(matrix[(neigbour.get_position())].clone()); [INFO] [stdout] 38 + pq.push(matrix[neigbour.get_position()].clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/djikstra/mod.rs:66:39 [INFO] [stdout] | [INFO] [stdout] 66 | if let Some(parent_pos) = *matrix[(end)].get_parent() { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - if let Some(parent_pos) = *matrix[(end)].get_parent() { [INFO] [stdout] 66 + if let Some(parent_pos) = *matrix[end].get_parent() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `start`, and `end` are never read [INFO] [stdout] --> src/backend/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DataHandle<'a, T: Cell> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 15 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | start: Position, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | end: Position, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_matrix` is never used [INFO] [stdout] --> src/backend/file_handler.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl FileHandler { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn write_matrix(&self, matrix: &Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `show` is never used [INFO] [stdout] --> src/backend/matrix.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Matrix { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn show(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_heuristics` and `get_type` are never used [INFO] [stdout] --> src/cell/cell.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait Cell: Display + Debug + Eq + PartialEq + PartialOrd + Ord + Clone { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 68 | fn get_heuristics(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn get_type(&self) -> u8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/backend/file_handler.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | writer.write(format!("{}", &matrix[(y, x)]).as_ref()); [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] 40 | let _ = writer.write(format!("{}", &matrix[(y, x)]).as_ref()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/backend/file_handler.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | writer.write(" ".as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | let _ = writer.write(" ".as_ref()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/backend/file_handler.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | writer.write("\n".as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 43 | let _ = writer.write("\n".as_ref()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `start`, and `end` are never read [INFO] [stdout] --> src/backend/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DataHandle<'a, T: Cell> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 15 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | start: Position, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | end: Position, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_matrix` is never used [INFO] [stdout] --> src/backend/file_handler.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl FileHandler { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn write_matrix(&self, matrix: &Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `show` is never used [INFO] [stdout] --> src/backend/matrix.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Matrix { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn show(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_heuristics` and `get_type` are never used [INFO] [stdout] --> src/cell/cell.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait Cell: Display + Debug + Eq + PartialEq + PartialOrd + Ord + Clone { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 68 | fn get_heuristics(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn get_type(&self) -> u8; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/backend/file_handler.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 40 | writer.write(format!("{}", &matrix[(y, x)]).as_ref()); [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] 40 | let _ = writer.write(format!("{}", &matrix[(y, x)]).as_ref()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/backend/file_handler.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | writer.write(" ".as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | let _ = writer.write(" ".as_ref()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/backend/file_handler.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | writer.write("\n".as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 43 | let _ = writer.write("\n".as_ref()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.83s [INFO] running `Command { std: "docker" "inspect" "7199640d536e84cdb744b439bfd107ec051c6ec898dd3a2d0f5b0d4aa7bc04d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7199640d536e84cdb744b439bfd107ec051c6ec898dd3a2d0f5b0d4aa7bc04d5", kill_on_drop: false }` [INFO] [stdout] 7199640d536e84cdb744b439bfd107ec051c6ec898dd3a2d0f5b0d4aa7bc04d5