[INFO] fetching crate Route16 0.0.1... [INFO] checking Route16-0.0.1 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate Route16 0.0.1 into /workspace/builds/worker-116/source [INFO] validating manifest of crates.io crate Route16 0.0.1 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate Route16 0.0.1 [INFO] finished tweaking crates.io crate Route16 0.0.1 [INFO] tweaked toml for crates.io crate Route16 0.0.1 written to /workspace/builds/worker-116/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe8805c51eb3f058ab0693cfee6e764f98eb09e837d473a73359569e87db912f [INFO] running `Command { std: "docker" "start" "-a" "fe8805c51eb3f058ab0693cfee6e764f98eb09e837d473a73359569e87db912f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe8805c51eb3f058ab0693cfee6e764f98eb09e837d473a73359569e87db912f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe8805c51eb3f058ab0693cfee6e764f98eb09e837d473a73359569e87db912f", kill_on_drop: false }` [INFO] [stdout] fe8805c51eb3f058ab0693cfee6e764f98eb09e837d473a73359569e87db912f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2676c818faf7bc20b220d91cc2f0c6e96ec6caee2db45a7cb0e85d4c47d31a31 [INFO] running `Command { std: "docker" "start" "-a" "2676c818faf7bc20b220d91cc2f0c6e96ec6caee2db45a7cb0e85d4c47d31a31", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling protobuf v2.25.1 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking pub-iterator-type v0.1.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking hashbrown v0.3.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking par-map v0.1.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking priority-queue v0.7.0 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling protobuf-codegen v2.25.1 [INFO] [stderr] Compiling protobuf-codegen-pure v2.25.1 [INFO] [stderr] Compiling osmpbfreader v0.13.4 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Checking flat_map v0.0.9 [INFO] [stderr] Checking rental v0.5.6 [INFO] [stderr] Checking Route16 v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RankedWeightedEdge` [INFO] [stdout] --> src/io/dimacs_graph_builder.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | EdgeTrait, RankTrait, RankedWeightedEdge, WeightedEdge, WeightedEdgeWithHopLength, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RankedWeightedEdge` [INFO] [stdout] --> src/io/dimacs_graph_builder.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | EdgeTrait, RankTrait, RankedWeightedEdge, WeightedEdge, WeightedEdgeWithHopLength, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:567:9 [INFO] [stdout] | [INFO] [stdout] 395 | / loop { [INFO] [stdout] 396 | | let mut forward_finished = false; [INFO] [stdout] 397 | | if self.forward_heap.is_empty() { [INFO] [stdout] 398 | | forward_finished = true; [INFO] [stdout] ... | [INFO] [stdout] 564 | | } [INFO] [stdout] 565 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 566 | [INFO] [stdout] 567 | / debug!( [INFO] [stdout] 568 | | "Could not find a path, exiting, forward heap size = {}, back heap size = {}", [INFO] [stdout] 569 | | self.forward_heap.size(), [INFO] [stdout] 570 | | self.backward_heap.size() [INFO] [stdout] 571 | | ); [INFO] [stdout] | |__________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:567:9 [INFO] [stdout] | [INFO] [stdout] 395 | / loop { [INFO] [stdout] 396 | | let mut forward_finished = false; [INFO] [stdout] 397 | | if self.forward_heap.is_empty() { [INFO] [stdout] 398 | | forward_finished = true; [INFO] [stdout] ... | [INFO] [stdout] 564 | | } [INFO] [stdout] 565 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 566 | [INFO] [stdout] 567 | / debug!( [INFO] [stdout] 568 | | "Could not find a path, exiting, forward heap size = {}, back heap size = {}", [INFO] [stdout] 569 | | self.forward_heap.size(), [INFO] [stdout] 570 | | self.backward_heap.size() [INFO] [stdout] 571 | | ); [INFO] [stdout] | |__________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RankTrait` [INFO] [stdout] --> src/io/dimacs_graph_builder.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | EdgeTrait, RankTrait, RankedWeightedEdge, WeightedEdge, WeightedEdgeWithHopLength, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_vertices_settled` is assigned to, but never used [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | let mut total_vertices_settled = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_total_vertices_settled` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let start = Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_importance` [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:152:41 [INFO] [stdout] | [INFO] [stdout] 152 | let (node_being_contracted, node_importance) = node_heap.pop(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_importance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num_vertices` is never read [INFO] [stdout] --> src/algorithms/contraction_hierarchy/shortest_path_test.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | let mut num_vertices = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertex_1` [INFO] [stdout] --> src/data_structures/graphs/graph.rs:160:50 [INFO] [stdout] | [INFO] [stdout] 160 | fn get_outbound_edge_between_vertices(&self, vertex_1: u32, vertex_2: u32) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertex_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertex_2` [INFO] [stdout] --> src/data_structures/graphs/graph.rs:160:65 [INFO] [stdout] | [INFO] [stdout] 160 | fn get_outbound_edge_between_vertices(&self, vertex_1: u32, vertex_2: u32) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertex_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | fn change_priority(&mut self, item: T) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn build(mut graph: Graph, max_pop_count: u32) -> CHGraph { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let mut shortest_path_test = ShortestPathTest::new(Rc::clone(&graph_rc), max_pop_count); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:232:41 [INFO] [stdout] | [INFO] [stdout] 232 | ... let mut graph_ref_mut = graph_rc.as_ptr(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RankTrait` [INFO] [stdout] --> src/io/dimacs_graph_builder.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | EdgeTrait, RankTrait, RankedWeightedEdge, WeightedEdge, WeightedEdgeWithHopLength, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_vertices_settled` is assigned to, but never used [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | let mut total_vertices_settled = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_total_vertices_settled` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | let start = Instant::now(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_importance` [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:152:41 [INFO] [stdout] | [INFO] [stdout] 152 | let (node_being_contracted, node_importance) = node_heap.pop(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_importance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num_vertices` is never read [INFO] [stdout] --> src/algorithms/contraction_hierarchy/shortest_path_test.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | let mut num_vertices = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertex_1` [INFO] [stdout] --> src/data_structures/graphs/graph.rs:160:50 [INFO] [stdout] | [INFO] [stdout] 160 | fn get_outbound_edge_between_vertices(&self, vertex_1: u32, vertex_2: u32) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertex_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertex_2` [INFO] [stdout] --> src/data_structures/graphs/graph.rs:160:65 [INFO] [stdout] | [INFO] [stdout] 160 | fn get_outbound_edge_between_vertices(&self, vertex_1: u32, vertex_2: u32) -> Option { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertex_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | fn change_priority(&mut self, item: T) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn build(mut graph: Graph, max_pop_count: u32) -> CHGraph { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | let mut shortest_path_test = ShortestPathTest::new(Rc::clone(&graph_rc), max_pop_count); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:232:41 [INFO] [stdout] | [INFO] [stdout] 232 | ... let mut graph_ref_mut = graph_rc.as_ptr(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rank` [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | rank: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `order` [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | order: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `level` [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | level: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_pop_count` [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | max_pop_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent_forward` [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | parent_forward: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent_backward` [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | parent_backward: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pin_source_without_bypass_node` [INFO] [stdout] --> src/algorithms/contraction_hierarchy/shortest_path_test.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn pin_source_without_bypass_node(&mut self, source: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | data: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | fn new() -> CustomBinaryHeap { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_capacity` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | fn with_capacity(capacity: usize) -> CustomBinaryHeap { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | fn push(&mut self, item: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `change_priority` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn change_priority(&mut self, item: T) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sift_up` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | fn sift_up(&mut self, start: usize, pos: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sift_down_range` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | fn sift_down_range(&mut self, pos: usize, end: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sift_down` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | fn sift_down(&mut self, pos: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sift_down_to_bottom` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | fn sift_down_to_bottom(&mut self, mut pos: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rebuild` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | fn rebuild(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | unsafe fn new(data: &'a mut [T], pos: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pos` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | fn pos(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `element` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | fn element(&self) -> &T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe fn get(&self, index: usize) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_to` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | unsafe fn move_to(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Route16` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `route16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `MAX` should have a snake case name [INFO] [stdout] --> src/data_structures/graphs/weight.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn MAX() -> Self; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `MIN` should have a snake case name [INFO] [stdout] --> src/data_structures/graphs/weight.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn MIN() -> Self; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `ZERO` should have a snake case name [INFO] [stdout] --> src/data_structures/graphs/weight.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn ZERO() -> Self; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `zero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rank` [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | rank: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `order` [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | order: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `level` [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | level: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_pop_count` [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | max_pop_count: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent_forward` [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | parent_forward: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent_backward` [INFO] [stdout] --> src/algorithms/contraction_hierarchy/contraction_hierarchy.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | parent_backward: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pin_source_without_bypass_node` [INFO] [stdout] --> src/algorithms/contraction_hierarchy/shortest_path_test.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn pin_source_without_bypass_node(&mut self, source: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | data: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | fn new() -> CustomBinaryHeap { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_capacity` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | fn with_capacity(capacity: usize) -> CustomBinaryHeap { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | fn push(&mut self, item: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `change_priority` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn change_priority(&mut self, item: T) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sift_up` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | fn sift_up(&mut self, start: usize, pos: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sift_down_range` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | fn sift_down_range(&mut self, pos: usize, end: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sift_down` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | fn sift_down(&mut self, pos: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sift_down_to_bottom` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | fn sift_down_to_bottom(&mut self, mut pos: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rebuild` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | fn rebuild(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | unsafe fn new(data: &'a mut [T], pos: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pos` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | fn pos(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `element` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | fn element(&self) -> &T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | unsafe fn get(&self, index: usize) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_to` [INFO] [stdout] --> src/data_structures/heaps/custom_binary_heap.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | unsafe fn move_to(&mut self, index: usize) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Route16` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `route16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `MAX` should have a snake case name [INFO] [stdout] --> src/data_structures/graphs/weight.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn MAX() -> Self; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `MIN` should have a snake case name [INFO] [stdout] --> src/data_structures/graphs/weight.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn MIN() -> Self; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `ZERO` should have a snake case name [INFO] [stdout] --> src/data_structures/graphs/weight.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn ZERO() -> Self; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `zero` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.26s [INFO] running `Command { std: "docker" "inspect" "2676c818faf7bc20b220d91cc2f0c6e96ec6caee2db45a7cb0e85d4c47d31a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2676c818faf7bc20b220d91cc2f0c6e96ec6caee2db45a7cb0e85d4c47d31a31", kill_on_drop: false }` [INFO] [stdout] 2676c818faf7bc20b220d91cc2f0c6e96ec6caee2db45a7cb0e85d4c47d31a31