[INFO] cloning repository https://github.com/akwasniewski/transport [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akwasniewski/transport" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakwasniewski%2Ftransport", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakwasniewski%2Ftransport'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6cf9887dffbd6a4793d337901d4482c75de2baad [INFO] checking akwasniewski/transport against master#2aabf3ce0569dd7c8c2d2a27944850056dcf2566 for pr-156508 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakwasniewski%2Ftransport" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/akwasniewski/transport [INFO] finished tweaking git repo https://github.com/akwasniewski/transport [INFO] tweaked toml for git repo https://github.com/akwasniewski/transport written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/akwasniewski/transport on toolchain 2aabf3ce0569dd7c8c2d2a27944850056dcf2566 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/akwasniewski/transport 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" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded priority-queue v2.7.0 [INFO] [stderr] Downloaded protobuf-parse v3.7.2 [INFO] [stderr] Downloaded osmpbf v0.3.8 [INFO] [stderr] Downloaded protobuf-codegen v3.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b29e8c3e84e88c4e2b205736e3c2658554a6ba0d0f6b39973c5b194edbdae0f [INFO] running `Command { std: "docker" "start" "-a" "0b29e8c3e84e88c4e2b205736e3c2658554a6ba0d0f6b39973c5b194edbdae0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b29e8c3e84e88c4e2b205736e3c2658554a6ba0d0f6b39973c5b194edbdae0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b29e8c3e84e88c4e2b205736e3c2658554a6ba0d0f6b39973c5b194edbdae0f", kill_on_drop: false }` [INFO] [stdout] 0b29e8c3e84e88c4e2b205736e3c2658554a6ba0d0f6b39973c5b194edbdae0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c355460590019339a5f5f65800d435ce8e89957c2411a73a60efa387dd7c77d2 [INFO] running `Command { std: "docker" "start" "-a" "c355460590019339a5f5f65800d435ce8e89957c2411a73a60efa387dd7c77d2", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling toml_datetime v1.0.0+spec-1.1.0 [INFO] [stderr] Compiling wayland-sys v0.31.10 [INFO] [stderr] Checking dlib v0.5.3 [INFO] [stderr] Compiling wayland-backend v0.3.14 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling zerocopy v0.8.42 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking async-executor v1.14.0 [INFO] [stderr] Checking uuid v1.22.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking syn v2.0.117 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Compiling wayland-scanner v0.31.9 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Checking accesskit v0.21.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling winit v0.30.13 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking dpi v0.1.2 [INFO] [stderr] Compiling smithay-client-toolkit v0.20.0 [INFO] [stderr] Checking epaint_default_fonts v0.33.3 [INFO] [stderr] Checking accesskit_consumer v0.31.0 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking hashbrown v0.17.0 [INFO] [stderr] Checking priority-queue v2.7.0 [INFO] [stderr] Checking rand v0.10.0 [INFO] [stderr] Compiling toml_parser v1.0.9+spec-1.1.0 [INFO] [stderr] Compiling toml_edit v0.25.4+spec-1.1.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking async-io v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.8.42 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking async-signal v0.2.13 [INFO] [stderr] Checking async-process v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Checking wayland-client v0.31.13 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking emath v0.33.3 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking ecolor v0.33.3 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking calloop v0.14.4 [INFO] [stderr] Checking wayland-protocols v0.32.11 [INFO] [stderr] Checking wayland-cursor v0.31.13 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking calloop-wayland-source v0.4.1 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking zvariant_utils v3.3.0 [INFO] [stderr] Checking quick-xml v0.38.4 [INFO] [stderr] Checking ordered-float v5.1.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Compiling zvariant_derive v5.10.0 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Compiling zvariant v5.10.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking webbrowser v1.2.0 [INFO] [stderr] Checking epaint v0.33.3 [INFO] [stderr] Compiling protobuf-parse v3.7.2 [INFO] [stderr] Checking zbus_names v4.3.1 [INFO] [stderr] Checking zbus_xml v5.1.0 [INFO] [stderr] Checking egui v0.33.3 [INFO] [stderr] Checking zbus-lockstep v0.5.2 [INFO] [stderr] Compiling protobuf-codegen v3.7.2 [INFO] [stderr] Compiling zbus_macros v5.14.0 [INFO] [stderr] Checking arboard v3.6.1 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.11 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.11 [INFO] [stderr] Checking wayland-protocols-misc v0.3.11 [INFO] [stderr] Checking wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Compiling zbus-lockstep-macros v0.5.2 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling osmpbf v0.3.8 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking zbus v5.14.0 [INFO] [stderr] Checking smithay-clipboard v0.7.3 [INFO] [stderr] Checking egui_glow v0.33.3 [INFO] [stderr] Checking atspi-common v0.9.0 [INFO] [stderr] Checking atspi-proxies v0.9.0 [INFO] [stderr] Checking accesskit_atspi_common v0.14.2 [INFO] [stderr] Checking atspi-connection v0.9.0 [INFO] [stderr] Checking atspi v0.25.0 [INFO] [stderr] Checking accesskit_unix v0.17.2 [INFO] [stderr] Checking accesskit_winit v0.29.2 [INFO] [stderr] Checking egui-winit v0.33.3 [INFO] [stderr] Checking eframe v0.33.3 [INFO] [stderr] Checking repo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `middle_dist` [INFO] [stdout] --> src/algo/mod.rs:1:159 [INFO] [stdout] | [INFO] [stdout] 1 | ...idirectional, heuristics::{dijkstra_potential, earth_dist, middle_dist, rev}, unidirectional::unidirectional}}, graph::Graph}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EdgeDir` [INFO] [stdout] --> src/algo/alt/cache.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utility::{EdgeDir, IndexVec}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::join` [INFO] [stdout] --> src/algo/alt/cache.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `thread` [INFO] [stdout] --> src/algo/astar/bidirectional.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections::BinaryHeap, thread, time::{Duration, Instant}}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/algo/arc_flags/preprocess.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BinaryHeap, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> src/algo/arc_flags/preprocess.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/algo/arc_flags/preprocess.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet` and `BinaryHeap` [INFO] [stdout] --> src/algo/contraction/mod.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::Reverse, collections::{BTreeSet, BinaryHeap, HashMap, HashSet}, fs::File, io::{BufReader, BufWriter}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hashbrown::hash_map` [INFO] [stdout] --> src/algo/contraction/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hashbrown::hash_map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `middle_dist` [INFO] [stdout] --> src/algo/mod.rs:1:159 [INFO] [stdout] | [INFO] [stdout] 1 | ...idirectional, heuristics::{dijkstra_potential, earth_dist, middle_dist, rev}, unidirectional::unidirectional}}, graph::Graph}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `algo::utils::QueueItem` and `index_vec` [INFO] [stdout] --> src/algo/contraction/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{algo::utils::QueueItem, graph::{Edge, Graph}, index_vec, utility::IndexVec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> src/graph.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | sync::atomic::{AtomicBool, AtomicU32, AtomicUsize, Ordering}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EdgeDir` [INFO] [stdout] --> src/algo/alt/cache.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utility::{EdgeDir, IndexVec}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::join` [INFO] [stdout] --> src/algo/alt/cache.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rayon::join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `thread` [INFO] [stdout] --> src/algo/astar/bidirectional.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections::BinaryHeap, thread, time::{Duration, Instant}}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/algo/arc_flags/preprocess.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{BinaryHeap, HashMap}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> src/algo/arc_flags/preprocess.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::atomic::{AtomicBool, AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/algo/arc_flags/preprocess.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alt_arc_flags`, `alt`, and `utility` [INFO] [stdout] --> src/benchmark.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{alt, alt_arc_flags, astar, astar_arc_flags, astar_bidirectional, astar_contraction_hierarchies, contraction_hierarchies, dijkstra, dijkstra_arc_flags, dijkstra_bidirectional}, graph::Graph, utility}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet` and `BinaryHeap` [INFO] [stdout] --> src/algo/contraction/mod.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::Reverse, collections::{BTreeSet, BinaryHeap, HashMap, HashSet}, fs::File, io::{BufReader, BufWriter}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hashbrown::hash_map` [INFO] [stdout] --> src/algo/contraction/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hashbrown::hash_map; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `algo::utils::QueueItem` and `index_vec` [INFO] [stdout] --> src/algo/contraction/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{algo::utils::QueueItem, graph::{Edge, Graph}, index_vec, utility::IndexVec}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> src/graph.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | sync::atomic::{AtomicBool, AtomicU32, AtomicUsize, Ordering}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseConfig`, `benchmark::benchmark`, `parse_osm`, `preprocess_contraction`, `preprocess_flags`, and `preprocess_landmarks` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | ...::{benchmark::benchmark, graph_building::{ParseConfig, parse_osm}, preprocess::{preprocess_contraction, preprocess_flags, preprocess_landmarks}, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alt_arc_flags`, `alt`, and `utility` [INFO] [stdout] --> src/benchmark.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | ...::{alt, alt_arc_flags, astar, astar_arc_flags, astar_bidirectional, astar_contraction_hierarchies, contraction_hierarchies, dijkstra, dijkstra_arc_flags, dijkstra_bidirectional}, graph::Graph, utility}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseConfig`, `benchmark::benchmark`, `parse_osm`, `preprocess_contraction`, `preprocess_flags`, and `preprocess_landmarks` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | ...::{benchmark::benchmark, graph_building::{ParseConfig, parse_osm}, preprocess::{preprocess_contraction, preprocess_flags, preprocess_landmarks}, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/vis/vis_app.rs:295:40 [INFO] [stdout] | [INFO] [stdout] 295 | let stroke = egui::Stroke::new(0.8, egui::Color32::from_rgba_premultiplied(120, 140, 160, a)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.8_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/vis/vis_app.rs:573:74 [INFO] [stdout] | [INFO] [stdout] 573 | painter.circle_stroke(screen_pos, 9.0, egui::Stroke::new(2.0, color)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/vis/vis_app.rs:582:78 [INFO] [stdout] | [INFO] [stdout] 582 | painter.circle_stroke(screen_pos, 8.0, egui::Stroke::new(2.0, egui::Color32::GOLD)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/vis/vis_app.rs:295:40 [INFO] [stdout] | [INFO] [stdout] 295 | let stroke = egui::Stroke::new(0.8, egui::Color32::from_rgba_premultiplied(120, 140, 160, a)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `0.8_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/vis/vis_app.rs:573:74 [INFO] [stdout] | [INFO] [stdout] 573 | painter.circle_stroke(screen_pos, 9.0, egui::Stroke::new(2.0, color)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/vis/vis_app.rs:582:78 [INFO] [stdout] | [INFO] [stdout] 582 | painter.circle_stroke(screen_pos, 8.0, egui::Stroke::new(2.0, egui::Color32::GOLD)); [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/algo/contraction/mod.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | for (v_index, v) in self.vertices.iter().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/algo/contraction/mod.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | for (v_index, v) in self.vertices.iter().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `random_landmarks_path` [INFO] [stdout] --> src/benchmark.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let random_landmarks_path = format!("graphs/{}_landmarks_random.bin", graph_prefix); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_random_landmarks_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contraction_hierarchies` is never used [INFO] [stdout] --> src/algo/mod.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn contraction_hierarchies( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `astar_contraction_hierarchies` is never used [INFO] [stdout] --> src/algo/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn astar_contraction_hierarchies( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_random_landmarks`, `get_farthest_landmarks`, and `get_landmark_data` are never used [INFO] [stdout] --> src/algo/alt/landmarks.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Graph { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 8 | pub fn get_random_landmarks(&mut self, count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_farthest_landmarks(&mut self, count: u32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_landmark_data(&mut self, vertex: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_u32` is never used [INFO] [stdout] --> src/algo/alt/cache.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn write_u32(w: &mut impl Write, v: u32) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_u64` is never used [INFO] [stdout] --> src/algo/alt/cache.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn write_u64(w: &mut impl Write, v: u64) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_f32` is never used [INFO] [stdout] --> src/algo/alt/cache.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn write_f32(w: &mut impl Write, v: f32) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_distance_vec` is never used [INFO] [stdout] --> src/algo/alt/cache.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn write_distance_vec(w: &mut impl Write, v: &IndexVec>) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save_landmarks` is never used [INFO] [stdout] --> src/algo/alt/cache.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl Graph { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 75 | /// Serialize landmarks to a `.bin` file. Panics on any I/O error. [INFO] [stdout] 76 | pub fn save_landmarks(&self, path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `middle_dist` is never used [INFO] [stdout] --> src/algo/astar/heuristics.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn middle_dist( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance_to_all` is never used [INFO] [stdout] --> src/algo/dijkstra/distance_to_all.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Graph { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 7 | pub fn distance_to_all(&self, from: u32, dir: EdgeDir) -> IndexVec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/algo/utils.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl QueueItem { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(vertex: u32, cost: OrderedFloat) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count_border_vertices`, `is_vertex_on_region_border`, `preprocess_region_edges`, and `compute_region_flags` are never used [INFO] [stdout] --> src/algo/arc_flags/preprocess.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Graph { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 23 | pub fn count_border_vertices(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn is_vertex_on_region_border(&self, vertex: u32, dir: EdgeDir) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn preprocess_region_edges(&mut self, region_count: usize, dir: EdgeDir) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn compute_region_flags(&self, source: u32, dir: EdgeDir) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save_edge_region_cache` is never used [INFO] [stdout] --> src/algo/arc_flags/preprocess.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl Graph { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 127 | pub fn save_edge_region_cache(&self, path: impl AsRef) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kth` is never used [INFO] [stdout] --> src/algo/arc_flags/divisions/kd_trees.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn kth(indices: &mut [usize], data: &[T], k:usize) -> usize [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lomuto_partition` is never used [INFO] [stdout] --> src/algo/arc_flags/divisions/kd_trees.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn lomuto_partition(indices: &mut [usize], pivot: usize, data: &[T]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quickselect` is never used [INFO] [stdout] --> src/algo/arc_flags/divisions/kd_trees.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn quickselect(indices: &mut[usize], data: &[T], k: usize) -> usize{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `divide_into_regions_kd` and `kd_division` are never used [INFO] [stdout] --> src/algo/arc_flags/divisions/kd_trees.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Graph{ [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 60 | // division_depth is log of the number of regions generated [INFO] [stdout] 61 | pub fn divide_into_regions_kd(&mut self, division_depth: u32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn kd_division(&mut self, indices: &mut[usize], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multi_dijkstra_regions` is never used [INFO] [stdout] --> src/algo/arc_flags/divisions/farthest.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn multi_dijkstra_regions(graph: &mut Graph, sources: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `divide_into_regions_dijkstra` and `get_farthest_points` are never used [INFO] [stdout] --> src/algo/arc_flags/divisions/farthest.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Graph{ [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 38 | pub fn divide_into_regions_dijkstra(&mut self, region_count: u32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_farthest_points(&self, count: u32) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueueItemSource` is never constructed [INFO] [stdout] --> src/algo/arc_flags/divisions/utils.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct QueueItemSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/algo/arc_flags/divisions/utils.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl QueueItemSource { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(vertex: u32, source: u32, cost: OrderedFloat) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contract_vertex`, `simulate_contraction`, `contract`, `get_priority`, `save_contraction`, and `load_contraction` are never used [INFO] [stdout] --> src/algo/contraction/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Graph{ [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 11 | fn contract_vertex(&mut self, v: u32, contracted: &HashSet) -> u32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn simulate_contraction(&self, v: u32, contracted: &HashSet) -> Vec<(u32, u32, OrderedFloat)>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn contract(&mut self) -> u32{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn get_priority(&self, v: u32, contracted: &HashSet) -> OrderedFloat { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn save_contraction(&self, path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn load_contraction(&mut self, path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParseConfig` is never constructed [INFO] [stdout] --> src/graph_building/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ParseConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParseResult` is never constructed [INFO] [stdout] --> src/graph_building/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ParseResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_osm` is never used [INFO] [stdout] --> src/graph_building/mod.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn parse_osm( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RawEdge` is never used [INFO] [stdout] --> src/graph_building/mod.rs:114:6 [INFO] [stdout] | [INFO] [stdout] 114 | type RawEdge = (i64, i64, f64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_driveable` is never used [INFO] [stdout] --> src/graph_building/mod.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn is_driveable(highway: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `haversine_m` is never used [INFO] [stdout] --> src/graph_building/mod.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn haversine_m(lat1: f64, lon1: f64, lat2: f64, lon2: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_way_nodes` is never used [INFO] [stdout] --> src/graph_building/mod.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn collect_way_nodes(path: &Path) -> (HashSet, Vec<(Vec, bool)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_coords` is never used [INFO] [stdout] --> src/graph_building/mod.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | fn collect_coords(path: &Path, needed: &HashSet) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_node_refs` is never used [INFO] [stdout] --> src/graph_building/mod.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | fn count_node_refs(ways: &[(Vec, bool)]) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_edges_simplified` is never used [INFO] [stdout] --> src/graph_building/mod.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 219 | fn build_edges_simplified( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `largest_wcc` is never used [INFO] [stdout] --> src/graph_building/mod.rs:263:4 [INFO] [stdout] | [INFO] [stdout] 263 | fn largest_wcc(node_ids: &[i64], edges: &[RawEdge]) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EdgeDir` is never used [INFO] [stdout] --> src/utility.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum EdgeDir { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `benchmark` is never used [INFO] [stdout] --> src/benchmark.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn benchmark( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preprocess_landmarks` is never used [INFO] [stdout] --> src/preprocess.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn preprocess_landmarks(graph_prefix: &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preprocess_flags` is never used [INFO] [stdout] --> src/preprocess.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn preprocess_flags(graph_prefix: &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preprocess_contraction` is never used [INFO] [stdout] --> src/preprocess.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn preprocess_contraction(graph_prefix: &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `random_landmarks_path` [INFO] [stdout] --> src/benchmark.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let random_landmarks_path = format!("graphs/{}_landmarks_random.bin", graph_prefix); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_random_landmarks_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contraction_hierarchies` is never used [INFO] [stdout] --> src/algo/mod.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn contraction_hierarchies( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `astar_contraction_hierarchies` is never used [INFO] [stdout] --> src/algo/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn astar_contraction_hierarchies( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_random_landmarks`, `get_farthest_landmarks`, and `get_landmark_data` are never used [INFO] [stdout] --> src/algo/alt/landmarks.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Graph { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 8 | pub fn get_random_landmarks(&mut self, count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_farthest_landmarks(&mut self, count: u32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_landmark_data(&mut self, vertex: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_u32` is never used [INFO] [stdout] --> src/algo/alt/cache.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn write_u32(w: &mut impl Write, v: u32) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_u64` is never used [INFO] [stdout] --> src/algo/alt/cache.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn write_u64(w: &mut impl Write, v: u64) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_f32` is never used [INFO] [stdout] --> src/algo/alt/cache.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn write_f32(w: &mut impl Write, v: f32) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_distance_vec` is never used [INFO] [stdout] --> src/algo/alt/cache.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn write_distance_vec(w: &mut impl Write, v: &IndexVec>) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save_landmarks` is never used [INFO] [stdout] --> src/algo/alt/cache.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl Graph { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 75 | /// Serialize landmarks to a `.bin` file. Panics on any I/O error. [INFO] [stdout] 76 | pub fn save_landmarks(&self, path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `middle_dist` is never used [INFO] [stdout] --> src/algo/astar/heuristics.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn middle_dist( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `distance_to_all` is never used [INFO] [stdout] --> src/algo/dijkstra/distance_to_all.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Graph { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 7 | pub fn distance_to_all(&self, from: u32, dir: EdgeDir) -> IndexVec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/algo/utils.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl QueueItem { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(vertex: u32, cost: OrderedFloat) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count_border_vertices`, `is_vertex_on_region_border`, `preprocess_region_edges`, and `compute_region_flags` are never used [INFO] [stdout] --> src/algo/arc_flags/preprocess.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Graph { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 23 | pub fn count_border_vertices(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn is_vertex_on_region_border(&self, vertex: u32, dir: EdgeDir) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn preprocess_region_edges(&mut self, region_count: usize, dir: EdgeDir) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn compute_region_flags(&self, source: u32, dir: EdgeDir) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save_edge_region_cache` is never used [INFO] [stdout] --> src/algo/arc_flags/preprocess.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl Graph { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 127 | pub fn save_edge_region_cache(&self, path: impl AsRef) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `kth` is never used [INFO] [stdout] --> src/algo/arc_flags/divisions/kd_trees.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn kth(indices: &mut [usize], data: &[T], k:usize) -> usize [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lomuto_partition` is never used [INFO] [stdout] --> src/algo/arc_flags/divisions/kd_trees.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn lomuto_partition(indices: &mut [usize], pivot: usize, data: &[T]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quickselect` is never used [INFO] [stdout] --> src/algo/arc_flags/divisions/kd_trees.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn quickselect(indices: &mut[usize], data: &[T], k: usize) -> usize{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `divide_into_regions_kd` and `kd_division` are never used [INFO] [stdout] --> src/algo/arc_flags/divisions/kd_trees.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Graph{ [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 60 | // division_depth is log of the number of regions generated [INFO] [stdout] 61 | pub fn divide_into_regions_kd(&mut self, division_depth: u32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn kd_division(&mut self, indices: &mut[usize], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multi_dijkstra_regions` is never used [INFO] [stdout] --> src/algo/arc_flags/divisions/farthest.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn multi_dijkstra_regions(graph: &mut Graph, sources: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `divide_into_regions_dijkstra` and `get_farthest_points` are never used [INFO] [stdout] --> src/algo/arc_flags/divisions/farthest.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl Graph{ [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 38 | pub fn divide_into_regions_dijkstra(&mut self, region_count: u32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_farthest_points(&self, count: u32) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueueItemSource` is never constructed [INFO] [stdout] --> src/algo/arc_flags/divisions/utils.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct QueueItemSource { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/algo/arc_flags/divisions/utils.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl QueueItemSource { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 12 | pub fn new(vertex: u32, source: u32, cost: OrderedFloat) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contract_vertex`, `simulate_contraction`, `contract`, `get_priority`, `save_contraction`, and `load_contraction` are never used [INFO] [stdout] --> src/algo/contraction/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl Graph{ [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 11 | fn contract_vertex(&mut self, v: u32, contracted: &HashSet) -> u32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn simulate_contraction(&self, v: u32, contracted: &HashSet) -> Vec<(u32, u32, OrderedFloat)>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn contract(&mut self) -> u32{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn get_priority(&self, v: u32, contracted: &HashSet) -> OrderedFloat { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn save_contraction(&self, path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn load_contraction(&mut self, path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParseConfig` is never constructed [INFO] [stdout] --> src/graph_building/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ParseConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParseResult` is never constructed [INFO] [stdout] --> src/graph_building/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ParseResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_osm` is never used [INFO] [stdout] --> src/graph_building/mod.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn parse_osm( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RawEdge` is never used [INFO] [stdout] --> src/graph_building/mod.rs:114:6 [INFO] [stdout] | [INFO] [stdout] 114 | type RawEdge = (i64, i64, f64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_driveable` is never used [INFO] [stdout] --> src/graph_building/mod.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn is_driveable(highway: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `haversine_m` is never used [INFO] [stdout] --> src/graph_building/mod.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn haversine_m(lat1: f64, lon1: f64, lat2: f64, lon2: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_way_nodes` is never used [INFO] [stdout] --> src/graph_building/mod.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn collect_way_nodes(path: &Path) -> (HashSet, Vec<(Vec, bool)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_coords` is never used [INFO] [stdout] --> src/graph_building/mod.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | fn collect_coords(path: &Path, needed: &HashSet) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_node_refs` is never used [INFO] [stdout] --> src/graph_building/mod.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | fn count_node_refs(ways: &[(Vec, bool)]) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_edges_simplified` is never used [INFO] [stdout] --> src/graph_building/mod.rs:219:4 [INFO] [stdout] | [INFO] [stdout] 219 | fn build_edges_simplified( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `largest_wcc` is never used [INFO] [stdout] --> src/graph_building/mod.rs:263:4 [INFO] [stdout] | [INFO] [stdout] 263 | fn largest_wcc(node_ids: &[i64], edges: &[RawEdge]) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EdgeDir` is never used [INFO] [stdout] --> src/utility.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum EdgeDir { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `benchmark` is never used [INFO] [stdout] --> src/benchmark.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn benchmark( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preprocess_landmarks` is never used [INFO] [stdout] --> src/preprocess.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn preprocess_landmarks(graph_prefix: &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/benchmark.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | graph.load_contraction(&contraction_path); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = graph.load_contraction(&contraction_path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preprocess_flags` is never used [INFO] [stdout] --> src/preprocess.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn preprocess_flags(graph_prefix: &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preprocess_contraction` is never used [INFO] [stdout] --> src/preprocess.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn preprocess_contraction(graph_prefix: &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/benchmark.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | graph.load_contraction(&contraction_path); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = graph.load_contraction(&contraction_path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "c355460590019339a5f5f65800d435ce8e89957c2411a73a60efa387dd7c77d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c355460590019339a5f5f65800d435ce8e89957c2411a73a60efa387dd7c77d2", kill_on_drop: false }` [INFO] [stdout] c355460590019339a5f5f65800d435ce8e89957c2411a73a60efa387dd7c77d2