[INFO] cloning repository https://github.com/ZeroUni/tripsavvy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZeroUni/tripsavvy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZeroUni%2Ftripsavvy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZeroUni%2Ftripsavvy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ca40a45c02c5779f0ff396a7ea7338a8624a5a3 [INFO] checking ZeroUni/tripsavvy against try#342ed2e8608ee307743c341962b427652cdb06e9 for pr-146562-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZeroUni%2Ftripsavvy" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ZeroUni/tripsavvy [INFO] finished tweaking git repo https://github.com/ZeroUni/tripsavvy [INFO] tweaked toml for git repo https://github.com/ZeroUni/tripsavvy written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ZeroUni/tripsavvy on toolchain 342ed2e8608ee307743c341962b427652cdb06e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ZeroUni/tripsavvy 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" "+342ed2e8608ee307743c341962b427652cdb06e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abf3982f02f07aeee6cd9e4e8642e850a1bc48b9490838ebda9e047df4880d73 [INFO] running `Command { std: "docker" "start" "-a" "abf3982f02f07aeee6cd9e4e8642e850a1bc48b9490838ebda9e047df4880d73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abf3982f02f07aeee6cd9e4e8642e850a1bc48b9490838ebda9e047df4880d73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abf3982f02f07aeee6cd9e4e8642e850a1bc48b9490838ebda9e047df4880d73", kill_on_drop: false }` [INFO] [stdout] abf3982f02f07aeee6cd9e4e8642e850a1bc48b9490838ebda9e047df4880d73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6e22580ea1805f23817e88a3cc5ac0d6eb638d2707511524cc0df400fd3ba09 [INFO] running `Command { std: "docker" "start" "-a" "e6e22580ea1805f23817e88a3cc5ac0d6eb638d2707511524cc0df400fd3ba09", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling cc v1.2.11 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.7.0 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking event-listener-strategy v0.5.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quick-xml v0.37.2 [INFO] [stderr] Compiling wayland-client v0.31.8 [INFO] [stderr] Compiling wayland-backend v0.3.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling toml_edit v0.22.23 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking miniz_oxide v0.8.3 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking immutable-chunkmap v2.0.6 [INFO] [stderr] Compiling winit v0.30.8 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling enumn v0.1.14 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking enumflags2 v0.7.11 [INFO] [stderr] Checking quick-xml v0.30.0 [INFO] [stderr] Checking zvariant v4.2.0 [INFO] [stderr] Checking accesskit v0.17.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking emath v0.30.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Compiling openssl v0.10.69 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking zbus_names v3.0.0 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling built v0.7.5 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking ecolor v0.30.0 [INFO] [stderr] Checking zbus_xml v4.0.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Checking accesskit_consumer v0.26.0 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking zbus-lockstep v0.4.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking async-io v2.4.0 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking zbus v4.4.0 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling glutin_glx_sys v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking epaint_default_fonts v0.30.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking epaint v0.30.0 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Checking wayland-protocols v0.32.6 [INFO] [stderr] Checking wayland-cursor v0.31.8 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking atspi-common v0.6.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling glutin v0.32.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking egui v0.30.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.6 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.6 [INFO] [stderr] Checking avif-serialize v0.8.2 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking atspi-proxies v0.6.0 [INFO] [stderr] Checking accesskit_atspi_common v0.10.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking webbrowser v1.0.3 [INFO] [stderr] Checking zune-jpeg v0.4.14 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking image-webp v0.2.1 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking atspi-connection v0.6.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking atspi v0.22.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking accesskit_unix v0.13.1 [INFO] [stderr] Compiling geozero v0.14.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking ravif v0.11.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking arboard v3.4.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking geo-types v0.7.15 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Compiling protobuf v3.7.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking wkt v0.11.1 [INFO] [stderr] Checking geojson v0.24.1 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking accesskit_winit v0.23.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking egui-winit v0.30.0 [INFO] [stderr] Checking protobuf-support v3.7.1 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking dup-indexer v0.3.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking egui_glow v0.30.0 [INFO] [stderr] Checking env_logger v0.11.6 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rstar v0.12.2 [INFO] [stderr] Checking lru v0.13.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking reqwest v0.12.12 [INFO] [stderr] Checking eframe v0.30.0 [INFO] [stderr] Checking tripsavvy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Color32` and `frame` [INFO] [stdout] --> src/ui/my_app.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use egui::{frame, Color32, Margin, Style}; [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: `HashMap` [INFO] [stdout] --> src/ui/my_app.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env` and `mem` [INFO] [stdout] --> src/ui/my_app.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{env, mem}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::map` [INFO] [stdout] --> src/ui/my_app.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::map; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> src/ui/my_app.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::map::map_tile::{Coordinate, MapTile}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec2` [INFO] [stdout] --> src/map/map.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::epaint::{emath::lerp, vec2, Color32, Pos2, Rect, Shape, Stroke}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `egui::text::LayoutJob` [INFO] [stdout] --> src/map/map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use egui::text::LayoutJob; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WidgetInfo` and `WidgetType` [INFO] [stdout] --> src/map/map.rs:3:69 [INFO] [stdout] | [INFO] [stdout] 3 | use egui::{pos2, Galley, Rangef, Response, Sense, Ui, Vec2, Widget, WidgetInfo, WidgetType}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::join_all` [INFO] [stdout] --> src/map/map.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> src/map/map.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/map/map.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::task::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/map/map.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> src/map/map.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use super::map_tile::{Coordinate, MapTile, PixelBounds, PixelCoordinate}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FeatureValue` [INFO] [stdout] --> src/map/map.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use super::vector_tile::{FeatureValue, VectorFeature, VectorTile}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map.rs:826:5 [INFO] [stdout] | [INFO] [stdout] 826 | /// Based on the admin level (2 - 10), return a stroke width and color [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 827 | // More important levels have a higher base stroke, and different levels have varying border colors [INFO] [stdout] 828 | let zoom_factor = 1.0 + zoom.fract(); [INFO] [stdout] | ------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mul` and `net::Incoming` [INFO] [stdout] --> src/map/map_tile.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, net::Incoming, ops::{Add, Mul}}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pixel` [INFO] [stdout] --> src/map/map_tile.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use image::{self, Pixel}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | /// Create a new PixelBounds object with the given coordinates. The coordinates are normalized to the range [0, 1], wrapping. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 303 | // Apply modulo 1.0 to values greater than 1.0, excluding 1.0 [INFO] [stdout] 304 | / let normalize = |x: f64| { [INFO] [stdout] 305 | | if x > 1.0 { [INFO] [stdout] 306 | | x - x.floor() [INFO] [stdout] 307 | | } else if x < 0.0 { [INFO] [stdout] ... | [INFO] [stdout] 312 | | }; [INFO] [stdout] | |__________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | /// Get the left coordinate of the bounds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 324 | self.left [INFO] [stdout] | --------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | /// Get the right coordinate of the bounds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 329 | self.right [INFO] [stdout] | ---------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | /// Get the top coordinate of the bounds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 334 | self.top [INFO] [stdout] | -------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | /// Get the bottom coordinate of the bounds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 339 | self.bottom [INFO] [stdout] | ----------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/map/map_tile.rs:344:20 [INFO] [stdout] | [INFO] [stdout] 344 | let diff = (self.right - self.left); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 344 - let diff = (self.right - self.left); [INFO] [stdout] 344 + let diff = self.right - self.left; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | /// Calculate the width of the bounds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 344 | let diff = (self.right - self.left); [INFO] [stdout] | ------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/map/map_tile.rs:357:20 [INFO] [stdout] | [INFO] [stdout] 357 | let diff = (self.bottom - self.top); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 357 - let diff = (self.bottom - self.top); [INFO] [stdout] 357 + let diff = self.bottom - self.top; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | /// Calculate the height of the bounds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 357 | let diff = (self.bottom - self.top); [INFO] [stdout] | ------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | /// Create a PixelBounds object from tile coordinates and zoom level [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 370 | let n = 2_u32.pow(zoom); [INFO] [stdout] | ------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | /// Check if the other bounds are contained within this bounds, taking wrapping into account [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 447 | / (if self.left <= self.right { [INFO] [stdout] 448 | | // Normal case [INFO] [stdout] 449 | | other.left >= self.left && other.right <= self.right [INFO] [stdout] 450 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 462 | | (other.bottom >= 0.0 && other.bottom <= self.bottom) [INFO] [stdout] 463 | | }) [INFO] [stdout] | |__________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | /// Check if the point is contained within this bounds, taking wrapping into account [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 468 | / match self.wrapping() { [INFO] [stdout] 469 | | (false, false) => { [INFO] [stdout] 470 | | // Normal case [INFO] [stdout] 471 | | point.x() >= self.left && point.x() <= self.right && point.y() >= self.top && point.y() <= self.bottom [INFO] [stdout] ... | [INFO] [stdout] 484 | | }, [INFO] [stdout] 485 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | /// Check if the other bounds intersect with this bounds, taking wrapping into account [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 490 | / match self.wrapping() { [INFO] [stdout] 491 | | (false, false) => { [INFO] [stdout] 492 | | // Normal case [INFO] [stdout] 493 | | other.left <= self.right && other.right >= self.left && other.top <= self.bottom && other.bottom >= self.top [INFO] [stdout] ... | [INFO] [stdout] 506 | | }, [INFO] [stdout] 507 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | /// Calculate the intersection of this bounds with another bounds, taking wrapping into account [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 512 | / let dim_intersect = |a_start: f64, a_end: f64, b_start: f64, b_end: f64| -> Option<(f64, f64)> { [INFO] [stdout] 513 | | if a_start <= a_end && b_start <= b_end { [INFO] [stdout] 514 | | // No wrap case [INFO] [stdout] 515 | | let left = a_start.max(b_start); [INFO] [stdout] ... | [INFO] [stdout] 542 | | }; [INFO] [stdout] | |__________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:557:9 [INFO] [stdout] | [INFO] [stdout] 557 | /// Create a PixelBounds object from a center coordinate, zoom level, and scale factor [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 558 | let remainder = zoom - zoom.floor(); [INFO] [stdout] | ------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | / /// Returns the mapping from the other bounds on to this bound. [INFO] [stdout] 572 | | /// Assumes that self may be wrapping, but other is not. [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 577 | / if !self.intersects(other) { [INFO] [stdout] 578 | | return Vec::new(); [INFO] [stdout] 579 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:816:9 [INFO] [stdout] | [INFO] [stdout] 816 | /// Project a point in normal space to this space, if it is contained within the bounds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 817 | / if self.contains_point(point) { [INFO] [stdout] 818 | | // Calculate the relative position of the point in the bounds [INFO] [stdout] 819 | | match self.wrapping() { [INFO] [stdout] 820 | | (false, false) => { [INFO] [stdout] ... | [INFO] [stdout] 862 | | None [INFO] [stdout] 863 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:867:9 [INFO] [stdout] | [INFO] [stdout] 867 | /// Project a point in normal space to this space, wrapping around the bounds if necessary [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 868 | / match self.wrapping() { [INFO] [stdout] 869 | | (false, false) => { [INFO] [stdout] 870 | | // Normal case [INFO] [stdout] 871 | | let x = (point.x() - self.left) / self.width(); [INFO] [stdout] ... | [INFO] [stdout] 908 | | }, [INFO] [stdout] 909 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hidden lifetime parameters in types are deprecated [INFO] [stdout] --> src/map/vector_tile.rs:145:50 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn iter_layers(&self) -> std::slice::Iter { [INFO] [stdout] | ----------------^------------ expected lifetime parameter [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(clippy::all, rust_2018_idioms)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_paths)]` implied by `#[warn(rust_2018_idioms)]` [INFO] [stdout] help: indicate the anonymous lifetime [INFO] [stdout] | [INFO] [stdout] 145 | pub fn iter_layers(&self) -> std::slice::Iter<'_, VectorLayer> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TileValue` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use geozero::mvt::{Message, Tile, TileValue}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `codecs::webp` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use image::{self, codecs::webp}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FeatureProcessor` and `mvt` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use geozero::{mvt, FeatureProcessor, GeozeroGeometry}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color32` and `frame` [INFO] [stdout] --> src/ui/my_app.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use egui::{frame, Color32, Margin, Style}; [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: `HashMap` [INFO] [stdout] --> src/ui/my_app.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env` and `mem` [INFO] [stdout] --> src/ui/my_app.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{env, mem}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::map` [INFO] [stdout] --> src/ui/my_app.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::map; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> src/ui/my_app.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::map::map_tile::{Coordinate, MapTile}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec2` [INFO] [stdout] --> src/map/map.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::epaint::{emath::lerp, vec2, Color32, Pos2, Rect, Shape, Stroke}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `egui::text::LayoutJob` [INFO] [stdout] --> src/map/map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use egui::text::LayoutJob; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WidgetInfo` and `WidgetType` [INFO] [stdout] --> src/map/map.rs:3:69 [INFO] [stdout] | [INFO] [stdout] 3 | use egui::{pos2, Galley, Rangef, Response, Sense, Ui, Vec2, Widget, WidgetInfo, WidgetType}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::join_all` [INFO] [stdout] --> src/map/map.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::future::join_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> src/map/map.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/map/map.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tokio::task::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/map/map.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Coordinate` [INFO] [stdout] --> src/map/map.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | use super::map_tile::{Coordinate, MapTile, PixelBounds, PixelCoordinate}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FeatureValue` [INFO] [stdout] --> src/map/map.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use super::vector_tile::{FeatureValue, VectorFeature, VectorTile}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map.rs:826:5 [INFO] [stdout] | [INFO] [stdout] 826 | /// Based on the admin level (2 - 10), return a stroke width and color [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 827 | // More important levels have a higher base stroke, and different levels have varying border colors [INFO] [stdout] 828 | let zoom_factor = 1.0 + zoom.fract(); [INFO] [stdout] | ------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mul` and `net::Incoming` [INFO] [stdout] --> src/map/map_tile.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, net::Incoming, ops::{Add, Mul}}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pixel` [INFO] [stdout] --> src/map/map_tile.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | use image::{self, Pixel}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | /// Create a new PixelBounds object with the given coordinates. The coordinates are normalized to the range [0, 1], wrapping. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 303 | // Apply modulo 1.0 to values greater than 1.0, excluding 1.0 [INFO] [stdout] 304 | / let normalize = |x: f64| { [INFO] [stdout] 305 | | if x > 1.0 { [INFO] [stdout] 306 | | x - x.floor() [INFO] [stdout] 307 | | } else if x < 0.0 { [INFO] [stdout] ... | [INFO] [stdout] 312 | | }; [INFO] [stdout] | |__________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | /// Get the left coordinate of the bounds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 324 | self.left [INFO] [stdout] | --------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | /// Get the right coordinate of the bounds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 329 | self.right [INFO] [stdout] | ---------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | /// Get the top coordinate of the bounds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 334 | self.top [INFO] [stdout] | -------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | /// Get the bottom coordinate of the bounds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 339 | self.bottom [INFO] [stdout] | ----------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/map/map_tile.rs:344:20 [INFO] [stdout] | [INFO] [stdout] 344 | let diff = (self.right - self.left); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 344 - let diff = (self.right - self.left); [INFO] [stdout] 344 + let diff = self.right - self.left; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | /// Calculate the width of the bounds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 344 | let diff = (self.right - self.left); [INFO] [stdout] | ------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/map/map_tile.rs:357:20 [INFO] [stdout] | [INFO] [stdout] 357 | let diff = (self.bottom - self.top); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 357 - let diff = (self.bottom - self.top); [INFO] [stdout] 357 + let diff = self.bottom - self.top; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | /// Calculate the height of the bounds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 357 | let diff = (self.bottom - self.top); [INFO] [stdout] | ------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | /// Create a PixelBounds object from tile coordinates and zoom level [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 370 | let n = 2_u32.pow(zoom); [INFO] [stdout] | ------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | /// Check if the other bounds are contained within this bounds, taking wrapping into account [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 447 | / (if self.left <= self.right { [INFO] [stdout] 448 | | // Normal case [INFO] [stdout] 449 | | other.left >= self.left && other.right <= self.right [INFO] [stdout] 450 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 462 | | (other.bottom >= 0.0 && other.bottom <= self.bottom) [INFO] [stdout] 463 | | }) [INFO] [stdout] | |__________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:467:9 [INFO] [stdout] | [INFO] [stdout] 467 | /// Check if the point is contained within this bounds, taking wrapping into account [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 468 | / match self.wrapping() { [INFO] [stdout] 469 | | (false, false) => { [INFO] [stdout] 470 | | // Normal case [INFO] [stdout] 471 | | point.x() >= self.left && point.x() <= self.right && point.y() >= self.top && point.y() <= self.bottom [INFO] [stdout] ... | [INFO] [stdout] 484 | | }, [INFO] [stdout] 485 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | /// Check if the other bounds intersect with this bounds, taking wrapping into account [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 490 | / match self.wrapping() { [INFO] [stdout] 491 | | (false, false) => { [INFO] [stdout] 492 | | // Normal case [INFO] [stdout] 493 | | other.left <= self.right && other.right >= self.left && other.top <= self.bottom && other.bottom >= self.top [INFO] [stdout] ... | [INFO] [stdout] 506 | | }, [INFO] [stdout] 507 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | /// Calculate the intersection of this bounds with another bounds, taking wrapping into account [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 512 | / let dim_intersect = |a_start: f64, a_end: f64, b_start: f64, b_end: f64| -> Option<(f64, f64)> { [INFO] [stdout] 513 | | if a_start <= a_end && b_start <= b_end { [INFO] [stdout] 514 | | // No wrap case [INFO] [stdout] 515 | | let left = a_start.max(b_start); [INFO] [stdout] ... | [INFO] [stdout] 542 | | }; [INFO] [stdout] | |__________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:557:9 [INFO] [stdout] | [INFO] [stdout] 557 | /// Create a PixelBounds object from a center coordinate, zoom level, and scale factor [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 558 | let remainder = zoom - zoom.floor(); [INFO] [stdout] | ------------------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:571:9 [INFO] [stdout] | [INFO] [stdout] 571 | / /// Returns the mapping from the other bounds on to this bound. [INFO] [stdout] 572 | | /// Assumes that self may be wrapping, but other is not. [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 577 | / if !self.intersects(other) { [INFO] [stdout] 578 | | return Vec::new(); [INFO] [stdout] 579 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:816:9 [INFO] [stdout] | [INFO] [stdout] 816 | /// Project a point in normal space to this space, if it is contained within the bounds [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 817 | / if self.contains_point(point) { [INFO] [stdout] 818 | | // Calculate the relative position of the point in the bounds [INFO] [stdout] 819 | | match self.wrapping() { [INFO] [stdout] 820 | | (false, false) => { [INFO] [stdout] ... | [INFO] [stdout] 862 | | None [INFO] [stdout] 863 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/map/map_tile.rs:867:9 [INFO] [stdout] | [INFO] [stdout] 867 | /// Project a point in normal space to this space, wrapping around the bounds if necessary [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 868 | / match self.wrapping() { [INFO] [stdout] 869 | | (false, false) => { [INFO] [stdout] 870 | | // Normal case [INFO] [stdout] 871 | | let x = (point.x() - self.left) / self.width(); [INFO] [stdout] ... | [INFO] [stdout] 908 | | }, [INFO] [stdout] 909 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hidden lifetime parameters in types are deprecated [INFO] [stdout] --> src/map/vector_tile.rs:145:50 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn iter_layers(&self) -> std::slice::Iter { [INFO] [stdout] | ----------------^------------ expected lifetime parameter [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(clippy::all, rust_2018_idioms)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_paths)]` implied by `#[warn(rust_2018_idioms)]` [INFO] [stdout] help: indicate the anonymous lifetime [INFO] [stdout] | [INFO] [stdout] 145 | pub fn iter_layers(&self) -> std::slice::Iter<'_, VectorLayer> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TileValue` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use geozero::mvt::{Message, Tile, TileValue}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `codecs::webp` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use image::{self, codecs::webp}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FeatureProcessor` and `mvt` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use geozero::{mvt, FeatureProcessor, GeozeroGeometry}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `egui::emath::Numeric` [INFO] [stdout] --> src/ui/my_app.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use egui::emath::Numeric; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/ui/my_app.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let center = ctx.screen_rect().center(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `viewport` [INFO] [stdout] --> src/map/map.rs:307:39 [INFO] [stdout] | [INFO] [stdout] 307 | fn calculate_visible_tiles(&self, viewport: Rect, state: &MapState) -> Vec<(u32, u32, u32, Rect, Rect)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_viewport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tiles_and_boundaries` [INFO] [stdout] --> src/map/map.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | let tiles_and_boundaries: Vec<_> = MapState::load(ui.ctx(), self.id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tiles_and_boundaries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `egui::emath::Numeric` [INFO] [stdout] --> src/ui/my_app.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use egui::emath::Numeric; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_painter` [INFO] [stdout] --> src/map/map.rs:543:5 [INFO] [stdout] | [INFO] [stdout] 543 | map_painter: Arc, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/ui/my_app.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let center = ctx.screen_rect().center(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_painter` [INFO] [stdout] --> src/map/map.rs:593:5 [INFO] [stdout] | [INFO] [stdout] 593 | map_painter: Arc, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zoom` [INFO] [stdout] --> src/map/map.rs:594:5 [INFO] [stdout] | [INFO] [stdout] 594 | zoom: &f32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zoom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rank` [INFO] [stdout] --> src/map/map.rs:843:35 [INFO] [stdout] | [INFO] [stdout] 843 | fn get_polygon_style(class: &str, rank: i32) -> (Color32, Color32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ne_y` [INFO] [stdout] --> src/map/map_tile.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | let (ne_x, ne_y) = lat_lon_to_tile_coords(self.north, self.east, zoom_floor); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ne_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sw_x` [INFO] [stdout] --> src/map/map_tile.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | let (sw_x, sw_y) = lat_lon_to_tile_coords(self.south, self.west, zoom_floor); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sw_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `se_x` [INFO] [stdout] --> src/map/map_tile.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | let (se_x, se_y) = lat_lon_to_tile_coords(self.south, self.east, zoom_floor); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_se_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `se_y` [INFO] [stdout] --> src/map/map_tile.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | let (se_x, se_y) = lat_lon_to_tile_coords(self.south, self.east, zoom_floor); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_se_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `viewport` [INFO] [stdout] --> src/map/map.rs:307:39 [INFO] [stdout] | [INFO] [stdout] 307 | fn calculate_visible_tiles(&self, viewport: Rect, state: &MapState) -> Vec<(u32, u32, u32, Rect, Rect)> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_viewport` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tiles_and_boundaries` [INFO] [stdout] --> src/map/map.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | let tiles_and_boundaries: Vec<_> = MapState::load(ui.ctx(), self.id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tiles_and_boundaries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_painter` [INFO] [stdout] --> src/map/map.rs:543:5 [INFO] [stdout] | [INFO] [stdout] 543 | map_painter: Arc, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map_painter` [INFO] [stdout] --> src/map/map.rs:593:5 [INFO] [stdout] | [INFO] [stdout] 593 | map_painter: Arc, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map_painter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zoom` [INFO] [stdout] --> src/map/map.rs:594:5 [INFO] [stdout] | [INFO] [stdout] 594 | zoom: &f32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zoom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rank` [INFO] [stdout] --> src/map/map.rs:843:35 [INFO] [stdout] | [INFO] [stdout] 843 | fn get_polygon_style(class: &str, rank: i32) -> (Color32, Color32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rank` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ne_y` [INFO] [stdout] --> src/map/map_tile.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | let (ne_x, ne_y) = lat_lon_to_tile_coords(self.north, self.east, zoom_floor); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ne_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sw_x` [INFO] [stdout] --> src/map/map_tile.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | let (sw_x, sw_y) = lat_lon_to_tile_coords(self.south, self.west, zoom_floor); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sw_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:189:35 [INFO] [stdout] | [INFO] [stdout] 189 | fn empty_point(&mut self, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `se_x` [INFO] [stdout] --> src/map/map_tile.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | let (se_x, se_y) = lat_lon_to_tile_coords(self.south, self.east, zoom_floor); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_se_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:194:40 [INFO] [stdout] | [INFO] [stdout] 194 | fn multipoint_begin(&mut self, size: usize, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `se_y` [INFO] [stdout] --> src/map/map_tile.rs:109:20 [INFO] [stdout] | [INFO] [stdout] 109 | let (se_x, se_y) = lat_lon_to_tile_coords(self.south, self.east, zoom_floor); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_se_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:194:53 [INFO] [stdout] | [INFO] [stdout] 194 | fn multipoint_begin(&mut self, size: usize, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:199:38 [INFO] [stdout] | [INFO] [stdout] 199 | fn multipoint_end(&mut self, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | z: Option, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | m: Option, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | t: Option, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tm` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | tm: Option, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | idx: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:219:40 [INFO] [stdout] | [INFO] [stdout] 219 | fn multicurve_begin(&mut self, size: usize, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:219:53 [INFO] [stdout] | [INFO] [stdout] 219 | fn multicurve_begin(&mut self, size: usize, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:224:38 [INFO] [stdout] | [INFO] [stdout] 224 | fn multicurve_end(&mut self, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:229:42 [INFO] [stdout] | [INFO] [stdout] 229 | fn curvepolygon_begin(&mut self, size: usize, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:229:55 [INFO] [stdout] | [INFO] [stdout] 229 | fn curvepolygon_begin(&mut self, size: usize, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:234:40 [INFO] [stdout] | [INFO] [stdout] 234 | fn curvepolygon_end(&mut self, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tagged` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | fn linestring_begin(&mut self, tagged: bool, _idx: usize, _size: usize) -> Result<(), geozero::error::GeozeroError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tagged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tagged` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:249:38 [INFO] [stdout] | [INFO] [stdout] 249 | fn linestring_end(&mut self, tagged: bool, _idx: usize) -> Result<(), geozero::error::GeozeroError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tagged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tagged` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:255:37 [INFO] [stdout] | [INFO] [stdout] 255 | fn polygon_begin(&mut self, tagged: bool, _idx: usize, _size: usize) -> Result<(), geozero::error::GeozeroError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tagged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tagged` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:259:35 [INFO] [stdout] | [INFO] [stdout] 259 | fn polygon_end(&mut self, tagged: bool, _idx: usize) -> Result<(), geozero::error::GeozeroError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tagged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut map_state = map::map::MapState::default(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_storage` is never used [INFO] [stdout] --> src/ui/my_app.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl MyApp { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn from_storage(storage: &mut dyn eframe::Storage) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_viewport` is never used [INFO] [stdout] --> src/map/map.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 281 | impl<'a> Map<'a> { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn with_viewport(id_source: impl std::hash::Hash, tile_cache: &'a mut LruCache<(u32, u32, u32), MapTile>, vector_tile_cache: &'a ... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Polygon` is never constructed [INFO] [stdout] --> src/map/map.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 454 | enum RenderedOverlay { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 457 | Polygon(Shape), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderedOverlay` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_polygon` is never used [INFO] [stdout] --> src/map/map.rs:588:4 [INFO] [stdout] | [INFO] [stdout] 588 | fn render_polygon( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_polygon_style` is never used [INFO] [stdout] --> src/map/map.rs:843:4 [INFO] [stdout] | [INFO] [stdout] 843 | fn get_polygon_style(class: &str, rank: i32) -> (Color32, Color32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeoBounds` is never constructed [INFO] [stdout] --> src/map/map_tile.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GeoBounds { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/map/map_tile.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl GeoBounds { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 16 | pub fn south(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn west(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn north(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn east(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn size(&self) -> (f64, f64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn center(&self) -> Coordinate { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn contains(&self, other: &GeoBounds) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn intersects(&self, other: &GeoBounds) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn intersect(&self, other: &GeoBounds) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn quadrant(&self, n: u8) -> GeoBounds { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn all_x_y_zoom(&self, zoom: f32) -> Vec<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn from_x_y_zoom(x: u32, y: u32, zoom: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn from_center(center: Coordinate, zoom: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn uv_map(&self, other: &GeoBounds) -> (egui::Rect, egui::Rect) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Coordinate` is never constructed [INFO] [stdout] --> src/map/map_tile.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub struct Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `latitude`, and `longitude` are never used [INFO] [stdout] --> src/map/map_tile.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 261 | impl Coordinate { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 262 | pub fn new(latitude: f64, longitude: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn latitude(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn longitude(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains`, `intersect`, and `force_project_point` are never used [INFO] [stdout] --> src/map/map_tile.rs:445:12 [INFO] [stdout] | [INFO] [stdout] 300 | impl PixelBounds { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 445 | pub fn contains(&self, other: &PixelBounds) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | pub fn intersect(&self, other: &PixelBounds) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 866 | pub fn force_project_point(&self, point: &PixelCoordinate) -> PixelCoordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_lon_lat`, `to_lon_lat`, `add`, and `add_vec` are never used [INFO] [stdout] --> src/map/map_tile.rs:1046:12 [INFO] [stdout] | [INFO] [stdout] 1028 | impl PixelCoordinate { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 1046 | pub fn from_lon_lat(lon: f64, lat: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1061 | pub fn to_lon_lat(&self) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1080 | pub fn add(&self, other: PixelCoordinate) -> PixelCoordinate { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1087 | pub fn add_vec(&self, other: egui::Vec2) -> PixelCoordinate { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lat_lon_to_tile_coords` is never used [INFO] [stdout] --> src/map/map_tile.rs:1146:4 [INFO] [stdout] | [INFO] [stdout] 1146 | fn lat_lon_to_tile_coords(lat: f64, lon: f64, zoom: u32) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tile_coords_to_geo_bounds` is never used [INFO] [stdout] --> src/map/map_tile.rs:1165:8 [INFO] [stdout] | [INFO] [stdout] 1165 | pub fn tile_coords_to_geo_bounds(x: u32, y: u32, zoom: u32) -> GeoBounds { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_highest_rank`, `get_low_high_rank`, and `get_feature_by_name` are never used [INFO] [stdout] --> src/map/vector_tile.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl VectorLayer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn get_highest_rank(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_low_high_rank(&self) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn get_feature_by_name(&self, name: &str) -> Option<&VectorFeature> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all_layer_names`, `get_layer_by_name`, `get_layer_by_index`, and `iter_layers` are never used [INFO] [stdout] --> src/map/vector_tile.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl VectorTile { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn get_all_layer_names(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn get_layer_by_name(&self, name: &str) -> Option<&VectorLayer> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn get_layer_by_index(&self, index: usize) -> Option<&VectorLayer> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn iter_layers(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/map/vector_tile.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 177 | impl FeatureValue { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 178 | pub fn inner(&self) -> &dyn std::any::Any { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn as_string(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn as_float(&self) -> Option<&f32> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn as_double(&self) -> Option<&f64> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn as_int(&self) -> Option<&i32> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn as_uint(&self) -> Option<&u32> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn as_sint(&self) -> Option<&i32> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn as_bool(&self) -> Option<&bool> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/vector_tile.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn iter_layers(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 145 | pub fn iter_layers(&self) -> std::slice::Iter<'_, VectorLayer> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect1` [INFO] [stdout] --> src/map/map_tile.rs:1380:14 [INFO] [stdout] | [INFO] [stdout] 1380 | let (rect1, rect2) = mapping[0]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect2` [INFO] [stdout] --> src/map/map_tile.rs:1380:21 [INFO] [stdout] | [INFO] [stdout] 1380 | let (rect1, rect2) = mapping[0]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rect2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:189:35 [INFO] [stdout] | [INFO] [stdout] 189 | fn empty_point(&mut self, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:194:40 [INFO] [stdout] | [INFO] [stdout] 194 | fn multipoint_begin(&mut self, size: usize, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:194:53 [INFO] [stdout] | [INFO] [stdout] 194 | fn multipoint_begin(&mut self, size: usize, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:199:38 [INFO] [stdout] | [INFO] [stdout] 199 | fn multipoint_end(&mut self, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:208:17 [INFO] [stdout] | [INFO] [stdout] 208 | z: Option, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | m: Option, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | t: Option, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tm` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | tm: Option, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | idx: usize, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:219:40 [INFO] [stdout] | [INFO] [stdout] 219 | fn multicurve_begin(&mut self, size: usize, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:219:53 [INFO] [stdout] | [INFO] [stdout] 219 | fn multicurve_begin(&mut self, size: usize, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:224:38 [INFO] [stdout] | [INFO] [stdout] 224 | fn multicurve_end(&mut self, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:229:42 [INFO] [stdout] | [INFO] [stdout] 229 | fn curvepolygon_begin(&mut self, size: usize, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:229:55 [INFO] [stdout] | [INFO] [stdout] 229 | fn curvepolygon_begin(&mut self, size: usize, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:234:40 [INFO] [stdout] | [INFO] [stdout] 234 | fn curvepolygon_end(&mut self, idx: usize) -> geozero::error::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tagged` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | fn linestring_begin(&mut self, tagged: bool, _idx: usize, _size: usize) -> Result<(), geozero::error::GeozeroError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tagged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tagged` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:249:38 [INFO] [stdout] | [INFO] [stdout] 249 | fn linestring_end(&mut self, tagged: bool, _idx: usize) -> Result<(), geozero::error::GeozeroError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tagged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tagged` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:255:37 [INFO] [stdout] | [INFO] [stdout] 255 | fn polygon_begin(&mut self, tagged: bool, _idx: usize, _size: usize) -> Result<(), geozero::error::GeozeroError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tagged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tagged` [INFO] [stdout] --> src/maps_api/tile_retriever.rs:259:35 [INFO] [stdout] | [INFO] [stdout] 259 | fn polygon_end(&mut self, tagged: bool, _idx: usize) -> Result<(), geozero::error::GeozeroError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tagged` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let mut map_state = map::map::MapState::default(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_storage` is never used [INFO] [stdout] --> src/ui/my_app.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl MyApp { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn from_storage(storage: &mut dyn eframe::Storage) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_viewport` is never used [INFO] [stdout] --> src/map/map.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 281 | impl<'a> Map<'a> { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn with_viewport(id_source: impl std::hash::Hash, tile_cache: &'a mut LruCache<(u32, u32, u32), MapTile>, vector_tile_cache: &'a ... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Polygon` is never constructed [INFO] [stdout] --> src/map/map.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 454 | enum RenderedOverlay { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 457 | Polygon(Shape), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderedOverlay` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_polygon` is never used [INFO] [stdout] --> src/map/map.rs:588:4 [INFO] [stdout] | [INFO] [stdout] 588 | fn render_polygon( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_polygon_style` is never used [INFO] [stdout] --> src/map/map.rs:843:4 [INFO] [stdout] | [INFO] [stdout] 843 | fn get_polygon_style(class: &str, rank: i32) -> (Color32, Color32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GeoBounds` is never constructed [INFO] [stdout] --> src/map/map_tile.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GeoBounds { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/map/map_tile.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl GeoBounds { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 16 | pub fn south(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn west(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn north(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn east(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn size(&self) -> (f64, f64) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn center(&self) -> Coordinate { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn contains(&self, other: &GeoBounds) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn intersects(&self, other: &GeoBounds) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn intersect(&self, other: &GeoBounds) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn quadrant(&self, n: u8) -> GeoBounds { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn all_x_y_zoom(&self, zoom: f32) -> Vec<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn from_x_y_zoom(x: u32, y: u32, zoom: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn from_center(center: Coordinate, zoom: f32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn uv_map(&self, other: &GeoBounds) -> (egui::Rect, egui::Rect) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Coordinate` is never constructed [INFO] [stdout] --> src/map/map_tile.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub struct Coordinate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `latitude`, and `longitude` are never used [INFO] [stdout] --> src/map/map_tile.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 261 | impl Coordinate { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 262 | pub fn new(latitude: f64, longitude: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn latitude(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn longitude(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `force_project_point` is never used [INFO] [stdout] --> src/map/map_tile.rs:866:12 [INFO] [stdout] | [INFO] [stdout] 300 | impl PixelBounds { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 866 | pub fn force_project_point(&self, point: &PixelCoordinate) -> PixelCoordinate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_lon_lat`, `to_lon_lat`, `add`, and `add_vec` are never used [INFO] [stdout] --> src/map/map_tile.rs:1046:12 [INFO] [stdout] | [INFO] [stdout] 1028 | impl PixelCoordinate { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 1046 | pub fn from_lon_lat(lon: f64, lat: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1061 | pub fn to_lon_lat(&self) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1080 | pub fn add(&self, other: PixelCoordinate) -> PixelCoordinate { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1087 | pub fn add_vec(&self, other: egui::Vec2) -> PixelCoordinate { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lat_lon_to_tile_coords` is never used [INFO] [stdout] --> src/map/map_tile.rs:1146:4 [INFO] [stdout] | [INFO] [stdout] 1146 | fn lat_lon_to_tile_coords(lat: f64, lon: f64, zoom: u32) -> (u32, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tile_coords_to_geo_bounds` is never used [INFO] [stdout] --> src/map/map_tile.rs:1165:8 [INFO] [stdout] | [INFO] [stdout] 1165 | pub fn tile_coords_to_geo_bounds(x: u32, y: u32, zoom: u32) -> GeoBounds { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_highest_rank`, `get_low_high_rank`, and `get_feature_by_name` are never used [INFO] [stdout] --> src/map/vector_tile.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl VectorLayer { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn get_highest_rank(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_low_high_rank(&self) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn get_feature_by_name(&self, name: &str) -> Option<&VectorFeature> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_layer_by_name`, `get_layer_by_index`, and `iter_layers` are never used [INFO] [stdout] --> src/map/vector_tile.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 121 | impl VectorTile { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn get_layer_by_name(&self, name: &str) -> Option<&VectorLayer> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn get_layer_by_index(&self, index: usize) -> Option<&VectorLayer> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn iter_layers(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/map/vector_tile.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 177 | impl FeatureValue { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 178 | pub fn inner(&self) -> &dyn std::any::Any { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn as_string(&self) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn as_float(&self) -> Option<&f32> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn as_double(&self) -> Option<&f64> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn as_int(&self) -> Option<&i32> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn as_uint(&self) -> Option<&u32> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn as_sint(&self) -> Option<&i32> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn as_bool(&self) -> Option<&bool> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/map/vector_tile.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn iter_layers(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 145 | pub fn iter_layers(&self) -> std::slice::Iter<'_, VectorLayer> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 52s [INFO] running `Command { std: "docker" "inspect" "e6e22580ea1805f23817e88a3cc5ac0d6eb638d2707511524cc0df400fd3ba09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6e22580ea1805f23817e88a3cc5ac0d6eb638d2707511524cc0df400fd3ba09", kill_on_drop: false }` [INFO] [stdout] e6e22580ea1805f23817e88a3cc5ac0d6eb638d2707511524cc0df400fd3ba09