[INFO] fetching crate rotonda 0.5.0... [INFO] testing rotonda-0.5.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate rotonda 0.5.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rotonda 0.5.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rotonda 0.5.0 [INFO] tweaked toml for crates.io crate rotonda 0.5.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rotonda 0.5.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rotonda 0.5.0 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ea41695105b219ede390074564e838ece233f2ec616ecc1c1e5bddc956ac309 [INFO] running `Command { std: "docker" "start" "-a" "7ea41695105b219ede390074564e838ece233f2ec616ecc1c1e5bddc956ac309", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ea41695105b219ede390074564e838ece233f2ec616ecc1c1e5bddc956ac309", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ea41695105b219ede390074564e838ece233f2ec616ecc1c1e5bddc956ac309", kill_on_drop: false }` [INFO] [stdout] 7ea41695105b219ede390074564e838ece233f2ec616ecc1c1e5bddc956ac309 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9da4d03d149d42b584cd0d53862fc4a98de77c25cc7c0fb7bc51051559943dc [INFO] running `Command { std: "docker" "start" "-a" "a9da4d03d149d42b584cd0d53862fc4a98de77c25cc7c0fb7bc51051559943dc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling cranelift-srcgen v0.120.2 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling cranelift-assembler-x64-meta v0.120.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling cranelift-isle v0.120.2 [INFO] [stderr] Compiling cranelift-codegen-shared v0.120.2 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling cranelift-codegen-meta v0.120.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cranelift-bitset v0.120.2 [INFO] [stderr] Compiling target-lexicon v0.13.3 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling cranelift-entity v0.120.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cranelift-assembler-x64 v0.120.2 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling cranelift-bforest v0.120.2 [INFO] [stderr] Compiling regalloc2 v0.12.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling capstone-sys v0.17.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling path-dedot v3.1.1 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling compare v0.0.6 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling region v3.0.2 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling interval-heap v0.0.5 [INFO] [stderr] Compiling path-absolutize v3.1.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling octseq v0.5.2 [INFO] [stderr] Compiling wasmtime-jit-icache-coherence v33.0.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling varint-rs v2.2.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling cranelift-codegen v0.120.2 [INFO] [stderr] Compiling byteview v0.6.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling value-log v1.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-skiplist v0.1.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling quick_cache v0.6.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling guardian v1.3.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling self_cell v1.2.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling double-ended-peekable v0.1.0 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling roaring v0.10.12 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling axum-core v0.5.4 [INFO] [stderr] Compiling ariadne v0.5.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling symbol_table v0.4.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling bcder v0.7.6 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling rustc-literal-escaper v0.0.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling derive_arbitrary v1.4.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling arbitrary v1.4.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling const-str-proc-macro v0.6.4 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling const-str v0.6.4 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling cranelift-control v0.120.2 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling roto-macros v0.7.1 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling serde_with_macros v3.14.1 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling lsm-tree v2.10.4 [INFO] [stderr] Compiling atomic_enum v0.2.0 [INFO] [stderr] Compiling log-reroute v0.1.8 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling syslog v6.1.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling bzip2 v0.5.2 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling fern v0.6.2 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling layout-rs v0.1.3 [INFO] [stderr] Compiling sanitise-file-name v1.0.0 [INFO] [stderr] Compiling hex-slice v0.1.4 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling inetnum v0.1.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v3.14.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling routecore v0.5.2 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-metrics v0.3.1 [INFO] [stderr] Compiling rumqttc v0.23.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling rpki v0.19.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling non-empty-vec v0.2.3 [INFO] [stderr] Compiling serde_qs v0.15.0 [INFO] [stderr] Compiling rshtml_core v0.2.0 [INFO] [stderr] Compiling routecore v0.6.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling hash_hasher v2.0.4 [INFO] [stderr] Compiling micromap v0.0.19 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling axum v0.8.5 [INFO] [stderr] Compiling rshtml_macro v0.2.0 [INFO] [stderr] Compiling rotonda-store v0.5.0 [INFO] [stderr] Compiling rshtml v0.2.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling capstone v0.13.0 [INFO] [stderr] Compiling cranelift-module v0.120.2 [INFO] [stderr] Compiling cranelift-native v0.120.2 [INFO] [stderr] Compiling cranelift-frontend v0.120.2 [INFO] [stderr] Compiling cranelift-jit v0.120.2 [INFO] [stderr] Compiling cranelift v0.120.2 [INFO] [stderr] Compiling roto v0.7.1 [INFO] [stderr] Compiling rotonda v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::http` [INFO] [stdout] --> src/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::http; [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: `OneOrMany` [INFO] [stdout] --> src/config.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use serde_with::{serde_as, OneOrMany}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/webui/base.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/payload.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Community` and `HumanReadableCommunity` [INFO] [stdout] --> src/payload.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use routecore::bgp::communities::{Community, HumanReadableCommunity}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathAttribute` [INFO] [stdout] --> src/payload.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | use routecore::bgp::path_attributes::{OwnedPathAttributes, PathAttribute}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicUsize` [INFO] [stdout] --> src/roto_runtime/metrics.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, sync::{atomic::{AtomicU64, AtomicUsize, Ordering}, Arc}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/roto_runtime/metrics.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/units/bmp_tcp_in/http/mod.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/units/rib_unit/http_ng.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | Path((ingress_id)): Path<(IngressId)>, [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] 18 - Path((ingress_id)): Path<(IngressId)>, [INFO] [stdout] 18 + Path((ingress_id)): Path, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/units/rib_unit/http_ng.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | Path((ingress_id)): Path<(IngressId)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - Path((ingress_id)): Path<(IngressId)>, [INFO] [stdout] 18 + Path(ingress_id): Path<(IngressId)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/units/rib_unit/http_ng.rs:169:27 [INFO] [stdout] | [INFO] [stdout] 169 | Path((afisafi)): Path<(SupportedAfiSafi)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 169 - Path((afisafi)): Path<(SupportedAfiSafi)>, [INFO] [stdout] 169 + Path((afisafi)): Path, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/units/rib_unit/http_ng.rs:169:10 [INFO] [stdout] | [INFO] [stdout] 169 | Path((afisafi)): Path<(SupportedAfiSafi)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 169 - Path((afisafi)): Path<(SupportedAfiSafi)>, [INFO] [stdout] 169 + Path(afisafi): Path<(SupportedAfiSafi)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provenance` [INFO] [stdout] --> src/units/bmp_tcp_in/router_handler.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | let provenance = if let Some(ref pph) = pph { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provenance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/units/mrt_file_in/unit.rs:525:29 [INFO] [stdout] | [INFO] [stdout] 525 | let t0 = Instant::now(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_filename` [INFO] [stdout] --> src/units/mrt_file_in/unit.rs:577:47 [INFO] [stdout] | [INFO] [stdout] 577 | ... filename: new_filename, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/units/rib_unit/http/request.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/units/rib_unit/http_ng.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | state: State [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/units/rib_unit/unit.rs:1550:9 [INFO] [stdout] | [INFO] [stdout] 1535 | todo!(); // figure out how to construct a Payload when we do not have [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 1550 | todo!() // filter using new roto [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rib_value` [INFO] [stdout] --> src/units/rib_unit/unit.rs:1507:9 [INFO] [stdout] | [INFO] [stdout] 1507 | rib_value: RotondaPaMap, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rib_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tracer` [INFO] [stdout] --> src/units/rib_unit/unit.rs:1516:13 [INFO] [stdout] | [INFO] [stdout] 1516 | let tracer = BoundTracer::new(self.tracer.clone(), self.gate.id()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tracer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/units/rtr/client.rs:179:35 [INFO] [stdout] | [INFO] [stdout] 179 | Either::Left((Err(r), _other_fut)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/units/bgp_tcp_in/router_handler.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SerializeSeq` [INFO] [stdout] --> src/payload.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::ser::{SerializeSeq, SerializeStruct}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/targets/file/target.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(config: Config, mut component: Component) -> Self { [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: unused variable: `update` [INFO] [stdout] --> src/units/bgp_tcp_in/unit.rs:465:35 [INFO] [stdout] | [INFO] [stdout] 465 | async fn direct_update(&self, update: Update) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefixes_link` [INFO] [stdout] --> src/units/bmp_tcp_in/http/router_info/response.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | let prefixes_link = peer_states [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefixes_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/machine.rs:814:42 [INFO] [stdout] | [INFO] [stdout] 814 | if let Ok((payloads, mut update_report_msg)) = saved_self [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `afisafi` [INFO] [stdout] --> src/units/rib_unit/rib.rs:684:9 [INFO] [stdout] | [INFO] [stdout] 684 | afisafi: AfiSafiType, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_afisafi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nlri` [INFO] [stdout] --> src/units/rib_unit/rib.rs:685:9 [INFO] [stdout] | [INFO] [stdout] 685 | nlri: Nlri<&[u8]>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nlri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ingress_id` [INFO] [stdout] --> src/units/rib_unit/rib.rs:686:9 [INFO] [stdout] | [INFO] [stdout] 686 | ingress_id: IngressId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 686 | _ingress_id: IngressId, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `BRANCHES` [INFO] [stdout] | [INFO] [stdout] 686 - ingress_id: IngressId, [INFO] [stdout] 686 + units::bgp_tcp_in::router_handler::Processor::process::{closure#0}::BRANCHES: IngressId, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `match_options` [INFO] [stdout] --> src/units/rib_unit/rib.rs:687:9 [INFO] [stdout] | [INFO] [stdout] 687 | match_options: MatchOptions [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_match_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `afisafi` [INFO] [stdout] --> src/units/rib_unit/rib.rs:694:9 [INFO] [stdout] | [INFO] [stdout] 694 | afisafi: AfiSafiType, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_afisafi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_as` [INFO] [stdout] --> src/units/rib_unit/rib.rs:695:9 [INFO] [stdout] | [INFO] [stdout] 695 | origin_as: Asn, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_as` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `match_options` [INFO] [stdout] --> src/units/rib_unit/rib.rs:696:9 [INFO] [stdout] | [INFO] [stdout] 696 | match_options: MatchOptions [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_match_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tbi` [INFO] [stdout] --> src/units/rib_unit/rpki.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | fn as_orderable(&self, tbi: Self::TBI) -> Self::Orderable<'_> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 145 | fn as_orderable(&self, _tbi: Self::TBI) -> Self::Orderable<'_> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 145 - fn as_orderable(&self, tbi: Self::TBI) -> Self::Orderable<'_> { [INFO] [stdout] 145 + fn as_orderable(&self, units::_: Self::TBI) -> Self::Orderable<'_> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> src/units/rtr/client.rs:678:20 [INFO] [stdout] | [INFO] [stdout] 678 | &mut self, update: Self::Update, timing: Timing [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timing` [INFO] [stdout] --> src/units/rtr/client.rs:678:42 [INFO] [stdout] | [INFO] [stdout] 678 | &mut self, update: Self::Update, timing: Timing [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_timing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push` is never used [INFO] [stdout] --> src/common/json.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EasilyExtendedJSONObject { [INFO] [stdout] | ------------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn push(&mut self, value: Value); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `metrics` is never used [INFO] [stdout] --> src/common/status_reporter.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait AnyStatusReporter: Chainable { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] 40 | fn metrics(&self) -> Option>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_io` is never read [INFO] [stdout] --> src/manager.rs:631:5 [INFO] [stdout] | [INFO] [stdout] 602 | pub struct Manager { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 631 | file_io: TheFileIo, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `component` and `ingresses` are never read [INFO] [stdout] --> src/targets/file/target.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct FileRunner { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 71 | component: Component, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | config: Config, [INFO] [stdout] 73 | ingresses: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mqtt_options` is never used [INFO] [stdout] --> src/targets/mqtt/connection.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait EventLoop: Send { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 34 | fn mqtt_options(&self) -> &MqttOptions; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `established_session_count` is never read [INFO] [stdout] --> src/units/bgp_tcp_in/metrics.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct BgpTcpInMetrics { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub established_session_count: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BgpTcpInMetrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rtr_cache` is never read [INFO] [stdout] --> src/units/bgp_tcp_in/router_handler.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 77 | struct Processor { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | rtr_cache: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `http_resources` is never read [INFO] [stdout] --> src/units/bmp_tcp_in/http/router_list/request.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct RouterListApi { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 27 | pub http_resources: http::Resources, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filter_name` and `rtr_cache` are never read [INFO] [stdout] --> src/units/bmp_tcp_in/router_handler.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct RouterHandler { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | filter_name: Arc>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | rtr_cache: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_bgp_id`, `peer_distinguisher`, `peer_rib_type`, and `peer_id` are never read [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/machine.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct PeerDetails { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 111 | peer_bgp_id: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 112 | peer_distinguisher: [u8; 8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 113 | peer_rib_type: RibType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 114 | peer_id: PeerId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerDetails` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sys_name` is never used [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/machine.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 345 | pub trait Initiable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 354 | fn sys_name(&self) -> Option<&str>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `num_peer_configs`, `add_announced_prefix`, and `remove_announced_prefix` are never used [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/machine.rs:466:8 [INFO] [stdout] | [INFO] [stdout] 404 | pub trait PeerAware { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 466 | fn num_peer_configs(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | fn add_announced_prefix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | fn remove_announced_prefix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n_invalid_announcements`, `n_stored_prefixes`, `n_invalid_withdrawals`, `last_invalid_announcement`, and `last_invalid_withdrawal` are never read [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/status_reporter.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct UpdateReportMessage { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 146 | pub n_invalid_announcements: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | pub n_stored_prefixes: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | pub n_invalid_withdrawals: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 149 | pub last_invalid_announcement: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | pub last_invalid_withdrawal: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateReportMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inc_new_prefixes`, `inc_invalid_announcements`, `inc_invalid_withdrawals`, `set_invalid_announcement`, `set_invalid_withdrawal`, and `set_n_stored_prefixes` are never used [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/status_reporter.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl UpdateReportMessage { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn inc_new_prefixes(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn inc_invalid_announcements(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn inc_invalid_withdrawals(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn set_invalid_announcement(&mut self, err: ParseError) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn set_invalid_withdrawal(&mut self, err: ParseError) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn set_n_stored_prefixes(&mut self, n_stored: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `message_filtering_failure` is never used [INFO] [stdout] --> src/units/bmp_tcp_in/status_reporter.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl BmpTcpInStatusReporter { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn message_filtering_failure(&self, err: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `router_metrics` is never used [INFO] [stdout] --> src/units/filter/metrics.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl RotoFilterMetrics { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 26 | pub fn router_metrics( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `message_filtered` is never used [INFO] [stdout] --> src/units/filter/status_reporter.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl RotoFilterStatusReporter { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn message_filtered(&self, ingress_id: IngressId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tracer` is never read [INFO] [stdout] --> src/units/filter/unit.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct RotoFilterRunner { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | tracer: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `queue_tx`, and `processing` are never read [INFO] [stdout] --> src/units/mrt_file_in/unit.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct MrtInRunner { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 81 | config: MrtFileIn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | queue_tx: mpsc::Sender, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 86 | processing: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ipv4unicast_for_ingress` is never used [INFO] [stdout] --> src/units/rib_unit/http_ng.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn ipv4unicast_for_ingress( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_ok`, `unique_prefix_count_updated`, and `message_filtering_failure` are never used [INFO] [stdout] --> src/units/rib_unit/status_reporter.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl RibUnitStatusReporter { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn update_ok( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn unique_prefix_count_updated(&self, num_unique_prefixes: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn message_filtering_failure(&self, err: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `other_fams` is never read [INFO] [stdout] --> src/units/rib_unit/rib.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Rib { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | other_fams: [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rib` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RoutesRemoved` is never constructed [INFO] [stdout] --> src/units/rib_unit/rib.rs:934:5 [INFO] [stdout] | [INFO] [stdout] 932 | pub enum StoreInsertionEffect { [INFO] [stdout] | -------------------- variant in this enum [INFO] [stdout] 933 | RoutesWithdrawn(usize), [INFO] [stdout] 934 | RoutesRemoved(usize), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StoreInsertionEffect` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoreInsertionReport` is never constructed [INFO] [stdout] --> src/units/rib_unit/rib.rs:941:12 [INFO] [stdout] | [INFO] [stdout] 941 | pub struct StoreInsertionReport { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoredValue` is never constructed [INFO] [stdout] --> src/units/rib_unit/rib.rs:954:12 [INFO] [stdout] | [INFO] [stdout] 954 | pub struct StoredValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PeerId` is never constructed [INFO] [stdout] --> src/units/rib_unit/rib.rs:964:12 [INFO] [stdout] | [INFO] [stdout] 964 | pub struct PeerId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/units/rib_unit/rib.rs:970:8 [INFO] [stdout] | [INFO] [stdout] 969 | impl PeerId { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 970 | fn new(ip: Option, asn: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RouteExtra` is never used [INFO] [stdout] --> src/units/rib_unit/rib.rs:981:11 [INFO] [stdout] | [INFO] [stdout] 981 | pub trait RouteExtra { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/units/rib_unit/statistics.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl CumAvg { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 12 | pub fn add(&mut self, v: u64) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/units/rib_unit/statistics.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl RibMergeUpdateStatistics { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] 65 | pub fn add( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `roto_function_post` and `rib_merge_update_stats` are never read [INFO] [stdout] --> src/units/rib_unit/unit.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct RibUnitRunner { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 239 | roto_function_post: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | rib_merge_update_stats: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache` is never read [INFO] [stdout] --> src/units/rtr/client.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 347 | struct RtrClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 361 | cache: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RtrClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error_type` is never read [INFO] [stdout] --> src/representation.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct OutputError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 70 | error_type: OutputErrorType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Other` is never constructed [INFO] [stdout] --> src/representation.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | enum OutputErrorType { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 74 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/frim.rs:193:18 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn entry(&self, key: K) -> Entry { [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] 193 | pub fn entry(&self, key: K) -> Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http.rs:487:21 [INFO] [stdout] | [INFO] [stdout] 487 | fn decoded_path(&self) -> Cow; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 487 | fn decoded_path(&self) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http.rs:491:21 [INFO] [stdout] | [INFO] [stdout] 491 | fn decoded_path(&self) -> Cow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 491 | fn decoded_path(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/http_ng.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | &h.is_finished(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 187 | let _ = &h.is_finished(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/machine.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 503 | pph: &PerPeerHeader, [INFO] [stdout] 504 | ) -> Option>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 504 | ) -> Option>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/machine.rs:1513:9 [INFO] [stdout] | [INFO] [stdout] 1513 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 1514 | pph: &PerPeerHeader, [INFO] [stdout] 1515 | ) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1515 | ) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/states/dumping.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 487 | pph: &PerPeerHeader, [INFO] [stdout] 488 | ) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 488 | ) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/states/updating.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 321 | pph: &PerPeerHeader, [INFO] [stdout] 322 | ) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 322 | ) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/units/mrt_file_in/unit.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn iter(&self) -> PathsIterator { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn iter(&self) -> PathsIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 56s [INFO] running `Command { std: "docker" "inspect" "a9da4d03d149d42b584cd0d53862fc4a98de77c25cc7c0fb7bc51051559943dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9da4d03d149d42b584cd0d53862fc4a98de77c25cc7c0fb7bc51051559943dc", kill_on_drop: false }` [INFO] [stdout] a9da4d03d149d42b584cd0d53862fc4a98de77c25cc7c0fb7bc51051559943dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bb14db24c78139dec62f28306a690cedbdc35ba5b69d1cc1aae0e1c0dee9d7b [INFO] running `Command { std: "docker" "start" "-a" "6bb14db24c78139dec62f28306a690cedbdc35ba5b69d1cc1aae0e1c0dee9d7b", kill_on_drop: false }` [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling metrics-macros v0.7.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling hashbrown v0.13.1 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling sketches-ddsketch v0.2.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling metrics v0.21.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling quanta v0.11.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling octseq v0.5.2 [INFO] [stderr] Compiling bcder v0.7.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling rshtml_core v0.2.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling metrics-util v0.15.1 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling axum-core v0.5.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling config v0.13.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling rshtml v0.2.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling routecore v0.5.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling rpki v0.19.1 [INFO] [stderr] Compiling routecore v0.6.0 [INFO] [stderr] Compiling rumqttc v0.23.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling tokio-metrics v0.3.1 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling prometheus-parse v0.2.5 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling insta v1.43.2 [INFO] [stderr] Compiling rotonda-store v0.5.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling axum v0.8.5 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling metrics-exporter-prometheus v0.12.2 [INFO] [stderr] Compiling rotonda v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::http` [INFO] [stdout] --> src/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::http; [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: `OneOrMany` [INFO] [stdout] --> src/config.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use serde_with::{serde_as, OneOrMany}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/webui/base.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/payload.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Community` and `HumanReadableCommunity` [INFO] [stdout] --> src/payload.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use routecore::bgp::communities::{Community, HumanReadableCommunity}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathAttribute` [INFO] [stdout] --> src/payload.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | use routecore::bgp::path_attributes::{OwnedPathAttributes, PathAttribute}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicUsize` [INFO] [stdout] --> src/roto_runtime/metrics.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, sync::{atomic::{AtomicU64, AtomicUsize, Ordering}, Arc}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/roto_runtime/metrics.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/units/bmp_tcp_in/http/mod.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/units/rib_unit/http_ng.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | Path((ingress_id)): Path<(IngressId)>, [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] 18 - Path((ingress_id)): Path<(IngressId)>, [INFO] [stdout] 18 + Path((ingress_id)): Path, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/units/rib_unit/http_ng.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | Path((ingress_id)): Path<(IngressId)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - Path((ingress_id)): Path<(IngressId)>, [INFO] [stdout] 18 + Path(ingress_id): Path<(IngressId)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/units/rib_unit/http_ng.rs:169:27 [INFO] [stdout] | [INFO] [stdout] 169 | Path((afisafi)): Path<(SupportedAfiSafi)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 169 - Path((afisafi)): Path<(SupportedAfiSafi)>, [INFO] [stdout] 169 + Path((afisafi)): Path, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/units/rib_unit/http_ng.rs:169:10 [INFO] [stdout] | [INFO] [stdout] 169 | Path((afisafi)): Path<(SupportedAfiSafi)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 169 - Path((afisafi)): Path<(SupportedAfiSafi)>, [INFO] [stdout] 169 + Path(afisafi): Path<(SupportedAfiSafi)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provenance` [INFO] [stdout] --> src/units/bmp_tcp_in/router_handler.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | let provenance = if let Some(ref pph) = pph { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provenance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/units/mrt_file_in/unit.rs:525:29 [INFO] [stdout] | [INFO] [stdout] 525 | let t0 = Instant::now(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_filename` [INFO] [stdout] --> src/units/mrt_file_in/unit.rs:577:47 [INFO] [stdout] | [INFO] [stdout] 577 | ... filename: new_filename, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/units/rib_unit/http/request.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/units/rib_unit/http_ng.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | state: State [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/units/rib_unit/unit.rs:1550:9 [INFO] [stdout] | [INFO] [stdout] 1535 | todo!(); // figure out how to construct a Payload when we do not have [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 1550 | todo!() // filter using new roto [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rib_value` [INFO] [stdout] --> src/units/rib_unit/unit.rs:1507:9 [INFO] [stdout] | [INFO] [stdout] 1507 | rib_value: RotondaPaMap, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rib_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tracer` [INFO] [stdout] --> src/units/rib_unit/unit.rs:1516:13 [INFO] [stdout] | [INFO] [stdout] 1516 | let tracer = BoundTracer::new(self.tracer.clone(), self.gate.id()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tracer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/units/rtr/client.rs:179:35 [INFO] [stdout] | [INFO] [stdout] 179 | Either::Left((Err(r), _other_fut)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/units/bgp_tcp_in/router_handler.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rumqttd v0.18.0 [INFO] [stdout] warning: unused import: `SerializeSeq` [INFO] [stdout] --> src/payload.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::ser::{SerializeSeq, SerializeStruct}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/targets/file/target.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(config: Config, mut component: Component) -> Self { [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: unused variable: `update` [INFO] [stdout] --> src/units/bgp_tcp_in/unit.rs:465:35 [INFO] [stdout] | [INFO] [stdout] 465 | async fn direct_update(&self, update: Update) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefixes_link` [INFO] [stdout] --> src/units/bmp_tcp_in/http/router_info/response.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | let prefixes_link = peer_states [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefixes_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/machine.rs:814:42 [INFO] [stdout] | [INFO] [stdout] 814 | if let Ok((payloads, mut update_report_msg)) = saved_self [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `afisafi` [INFO] [stdout] --> src/units/rib_unit/rib.rs:684:9 [INFO] [stdout] | [INFO] [stdout] 684 | afisafi: AfiSafiType, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_afisafi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nlri` [INFO] [stdout] --> src/units/rib_unit/rib.rs:685:9 [INFO] [stdout] | [INFO] [stdout] 685 | nlri: Nlri<&[u8]>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nlri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ingress_id` [INFO] [stdout] --> src/units/rib_unit/rib.rs:686:9 [INFO] [stdout] | [INFO] [stdout] 686 | ingress_id: IngressId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 686 | _ingress_id: IngressId, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `BRANCHES` [INFO] [stdout] | [INFO] [stdout] 686 - ingress_id: IngressId, [INFO] [stdout] 686 + units::bgp_tcp_in::router_handler::Processor::process::{closure#0}::BRANCHES: IngressId, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `match_options` [INFO] [stdout] --> src/units/rib_unit/rib.rs:687:9 [INFO] [stdout] | [INFO] [stdout] 687 | match_options: MatchOptions [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_match_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `afisafi` [INFO] [stdout] --> src/units/rib_unit/rib.rs:694:9 [INFO] [stdout] | [INFO] [stdout] 694 | afisafi: AfiSafiType, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_afisafi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_as` [INFO] [stdout] --> src/units/rib_unit/rib.rs:695:9 [INFO] [stdout] | [INFO] [stdout] 695 | origin_as: Asn, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_as` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `match_options` [INFO] [stdout] --> src/units/rib_unit/rib.rs:696:9 [INFO] [stdout] | [INFO] [stdout] 696 | match_options: MatchOptions [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_match_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tbi` [INFO] [stdout] --> src/units/rib_unit/rpki.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | fn as_orderable(&self, tbi: Self::TBI) -> Self::Orderable<'_> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 145 | fn as_orderable(&self, _tbi: Self::TBI) -> Self::Orderable<'_> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 145 - fn as_orderable(&self, tbi: Self::TBI) -> Self::Orderable<'_> { [INFO] [stdout] 145 + fn as_orderable(&self, units::_: Self::TBI) -> Self::Orderable<'_> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> src/units/rtr/client.rs:678:20 [INFO] [stdout] | [INFO] [stdout] 678 | &mut self, update: Self::Update, timing: Timing [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timing` [INFO] [stdout] --> src/units/rtr/client.rs:678:42 [INFO] [stdout] | [INFO] [stdout] 678 | &mut self, update: Self::Update, timing: Timing [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_timing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push` is never used [INFO] [stdout] --> src/common/json.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EasilyExtendedJSONObject { [INFO] [stdout] | ------------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn push(&mut self, value: Value); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `metrics` is never used [INFO] [stdout] --> src/common/status_reporter.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait AnyStatusReporter: Chainable { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] 40 | fn metrics(&self) -> Option>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_io` is never read [INFO] [stdout] --> src/manager.rs:631:5 [INFO] [stdout] | [INFO] [stdout] 602 | pub struct Manager { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 631 | file_io: TheFileIo, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `component` and `ingresses` are never read [INFO] [stdout] --> src/targets/file/target.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct FileRunner { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 71 | component: Component, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | config: Config, [INFO] [stdout] 73 | ingresses: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mqtt_options` is never used [INFO] [stdout] --> src/targets/mqtt/connection.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait EventLoop: Send { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 34 | fn mqtt_options(&self) -> &MqttOptions; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `established_session_count` is never read [INFO] [stdout] --> src/units/bgp_tcp_in/metrics.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct BgpTcpInMetrics { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub established_session_count: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BgpTcpInMetrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rtr_cache` is never read [INFO] [stdout] --> src/units/bgp_tcp_in/router_handler.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 77 | struct Processor { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | rtr_cache: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `http_resources` is never read [INFO] [stdout] --> src/units/bmp_tcp_in/http/router_list/request.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct RouterListApi { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 27 | pub http_resources: http::Resources, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filter_name` and `rtr_cache` are never read [INFO] [stdout] --> src/units/bmp_tcp_in/router_handler.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct RouterHandler { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | filter_name: Arc>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | rtr_cache: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_bgp_id`, `peer_distinguisher`, `peer_rib_type`, and `peer_id` are never read [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/machine.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct PeerDetails { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 111 | peer_bgp_id: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 112 | peer_distinguisher: [u8; 8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 113 | peer_rib_type: RibType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 114 | peer_id: PeerId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerDetails` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sys_name` is never used [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/machine.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 345 | pub trait Initiable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 354 | fn sys_name(&self) -> Option<&str>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `num_peer_configs`, `add_announced_prefix`, and `remove_announced_prefix` are never used [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/machine.rs:466:8 [INFO] [stdout] | [INFO] [stdout] 404 | pub trait PeerAware { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 466 | fn num_peer_configs(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 489 | fn add_announced_prefix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | fn remove_announced_prefix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n_invalid_announcements`, `n_stored_prefixes`, `n_invalid_withdrawals`, `last_invalid_announcement`, and `last_invalid_withdrawal` are never read [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/status_reporter.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct UpdateReportMessage { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 146 | pub n_invalid_announcements: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | pub n_stored_prefixes: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | pub n_invalid_withdrawals: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 149 | pub last_invalid_announcement: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | pub last_invalid_withdrawal: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateReportMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inc_new_prefixes`, `inc_invalid_announcements`, `inc_invalid_withdrawals`, `set_invalid_announcement`, `set_invalid_withdrawal`, and `set_n_stored_prefixes` are never used [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/status_reporter.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl UpdateReportMessage { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn inc_new_prefixes(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn inc_invalid_announcements(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn inc_invalid_withdrawals(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn set_invalid_announcement(&mut self, err: ParseError) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn set_invalid_withdrawal(&mut self, err: ParseError) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn set_n_stored_prefixes(&mut self, n_stored: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `message_filtering_failure` is never used [INFO] [stdout] --> src/units/bmp_tcp_in/status_reporter.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl BmpTcpInStatusReporter { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn message_filtering_failure(&self, err: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `router_metrics` is never used [INFO] [stdout] --> src/units/filter/metrics.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl RotoFilterMetrics { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 26 | pub fn router_metrics( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `message_filtered` is never used [INFO] [stdout] --> src/units/filter/status_reporter.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl RotoFilterStatusReporter { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn message_filtered(&self, ingress_id: IngressId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tracer` is never read [INFO] [stdout] --> src/units/filter/unit.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct RotoFilterRunner { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | tracer: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `queue_tx`, and `processing` are never read [INFO] [stdout] --> src/units/mrt_file_in/unit.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct MrtInRunner { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 81 | config: MrtFileIn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | queue_tx: mpsc::Sender, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 86 | processing: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ipv4unicast_for_ingress` is never used [INFO] [stdout] --> src/units/rib_unit/http_ng.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn ipv4unicast_for_ingress( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_ok`, `unique_prefix_count_updated`, and `message_filtering_failure` are never used [INFO] [stdout] --> src/units/rib_unit/status_reporter.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl RibUnitStatusReporter { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn update_ok( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn unique_prefix_count_updated(&self, num_unique_prefixes: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn message_filtering_failure(&self, err: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `other_fams` is never read [INFO] [stdout] --> src/units/rib_unit/rib.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Rib { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | other_fams: [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rib` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RoutesRemoved` is never constructed [INFO] [stdout] --> src/units/rib_unit/rib.rs:934:5 [INFO] [stdout] | [INFO] [stdout] 932 | pub enum StoreInsertionEffect { [INFO] [stdout] | -------------------- variant in this enum [INFO] [stdout] 933 | RoutesWithdrawn(usize), [INFO] [stdout] 934 | RoutesRemoved(usize), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StoreInsertionEffect` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoreInsertionReport` is never constructed [INFO] [stdout] --> src/units/rib_unit/rib.rs:941:12 [INFO] [stdout] | [INFO] [stdout] 941 | pub struct StoreInsertionReport { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoredValue` is never constructed [INFO] [stdout] --> src/units/rib_unit/rib.rs:954:12 [INFO] [stdout] | [INFO] [stdout] 954 | pub struct StoredValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PeerId` is never constructed [INFO] [stdout] --> src/units/rib_unit/rib.rs:964:12 [INFO] [stdout] | [INFO] [stdout] 964 | pub struct PeerId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/units/rib_unit/rib.rs:970:8 [INFO] [stdout] | [INFO] [stdout] 969 | impl PeerId { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 970 | fn new(ip: Option, asn: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RouteExtra` is never used [INFO] [stdout] --> src/units/rib_unit/rib.rs:981:11 [INFO] [stdout] | [INFO] [stdout] 981 | pub trait RouteExtra { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/units/rib_unit/statistics.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl CumAvg { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 12 | pub fn add(&mut self, v: u64) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/units/rib_unit/statistics.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl RibMergeUpdateStatistics { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] 65 | pub fn add( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `roto_function_post` and `rib_merge_update_stats` are never read [INFO] [stdout] --> src/units/rib_unit/unit.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct RibUnitRunner { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 239 | roto_function_post: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | rib_merge_update_stats: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache` is never read [INFO] [stdout] --> src/units/rtr/client.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 347 | struct RtrClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 361 | cache: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RtrClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error_type` is never read [INFO] [stdout] --> src/representation.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct OutputError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 70 | error_type: OutputErrorType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Other` is never constructed [INFO] [stdout] --> src/representation.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | enum OutputErrorType { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 74 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/frim.rs:193:18 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn entry(&self, key: K) -> Entry { [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] 193 | pub fn entry(&self, key: K) -> Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http.rs:487:21 [INFO] [stdout] | [INFO] [stdout] 487 | fn decoded_path(&self) -> Cow; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 487 | fn decoded_path(&self) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http.rs:491:21 [INFO] [stdout] | [INFO] [stdout] 491 | fn decoded_path(&self) -> Cow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 491 | fn decoded_path(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/http_ng.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | &h.is_finished(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 187 | let _ = &h.is_finished(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/machine.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 503 | pph: &PerPeerHeader, [INFO] [stdout] 504 | ) -> Option>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 504 | ) -> Option>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/machine.rs:1513:9 [INFO] [stdout] | [INFO] [stdout] 1513 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 1514 | pph: &PerPeerHeader, [INFO] [stdout] 1515 | ) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1515 | ) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/states/dumping.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 487 | pph: &PerPeerHeader, [INFO] [stdout] 488 | ) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 488 | ) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/states/updating.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 321 | pph: &PerPeerHeader, [INFO] [stdout] 322 | ) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 322 | ) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/units/mrt_file_in/unit.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn iter(&self) -> PathsIterator { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn iter(&self) -> PathsIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/comms.rs:1846:15 [INFO] [stdout] | [INFO] [stdout] 1846 | #[cfg(not(tarpaulin))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::http` [INFO] [stdout] --> src/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::http; [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: `OneOrMany` [INFO] [stdout] --> src/config.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | use serde_with::{serde_as, OneOrMany}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/webui/base.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/payload.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Community` and `HumanReadableCommunity` [INFO] [stdout] --> src/payload.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use routecore::bgp::communities::{Community, HumanReadableCommunity}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathAttribute` [INFO] [stdout] --> src/payload.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | use routecore::bgp::path_attributes::{OwnedPathAttributes, PathAttribute}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicUsize` [INFO] [stdout] --> src/roto_runtime/metrics.rs:1:60 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, sync::{atomic::{AtomicU64, AtomicUsize, Ordering}, Arc}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/roto_runtime/metrics.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Payload`, `RouteContext`, and `ingress::IngressId` [INFO] [stdout] --> src/targets/mqtt/tests.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | ingress::IngressId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | payload::{Payload, Update}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | roto_runtime::types::{LogEntry, OutputStreamMessage, RouteContext}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/units/bgp_tcp_in/unit.rs:645:15 [INFO] [stdout] | [INFO] [stdout] 645 | #[cfg(not(tarpaulin))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/units/bgp_tcp_in/unit.rs:676:15 [INFO] [stdout] | [INFO] [stdout] 676 | #[cfg(not(tarpaulin))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/units/bgp_tcp_in/unit.rs:718:15 [INFO] [stdout] | [INFO] [stdout] 718 | #[cfg(not(tarpaulin))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/units/bmp_tcp_in/http/mod.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/units/rib_unit/http_ng.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | Path((ingress_id)): Path<(IngressId)>, [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] 18 - Path((ingress_id)): Path<(IngressId)>, [INFO] [stdout] 18 + Path((ingress_id)): Path, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/units/rib_unit/http_ng.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | Path((ingress_id)): Path<(IngressId)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - Path((ingress_id)): Path<(IngressId)>, [INFO] [stdout] 18 + Path(ingress_id): Path<(IngressId)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/units/rib_unit/http_ng.rs:169:27 [INFO] [stdout] | [INFO] [stdout] 169 | Path((afisafi)): Path<(SupportedAfiSafi)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 169 - Path((afisafi)): Path<(SupportedAfiSafi)>, [INFO] [stdout] 169 + Path((afisafi)): Path, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/units/rib_unit/http_ng.rs:169:10 [INFO] [stdout] | [INFO] [stdout] 169 | Path((afisafi)): Path<(SupportedAfiSafi)>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 169 - Path((afisafi)): Path<(SupportedAfiSafi)>, [INFO] [stdout] 169 + Path(afisafi): Path<(SupportedAfiSafi)>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin` [INFO] [stdout] --> src/units/rib_unit/tests.rs:531:11 [INFO] [stdout] | [INFO] [stdout] 531 | #[cfg(not(tarpaulin))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `provenance` [INFO] [stdout] --> src/units/bmp_tcp_in/router_handler.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | let provenance = if let Some(ref pph) = pph { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_provenance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/units/mrt_file_in/unit.rs:525:29 [INFO] [stdout] | [INFO] [stdout] 525 | let t0 = Instant::now(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_filename` [INFO] [stdout] --> src/units/mrt_file_in/unit.rs:577:47 [INFO] [stdout] | [INFO] [stdout] 577 | ... filename: new_filename, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/units/rib_unit/http/request.rs:183:25 [INFO] [stdout] | [INFO] [stdout] 183 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/units/rib_unit/http_ng.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | state: State [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/units/rib_unit/unit.rs:1550:9 [INFO] [stdout] | [INFO] [stdout] 1535 | todo!(); // figure out how to construct a Payload when we do not have [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 1550 | todo!() // filter using new roto [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rib_value` [INFO] [stdout] --> src/units/rib_unit/unit.rs:1507:9 [INFO] [stdout] | [INFO] [stdout] 1507 | rib_value: RotondaPaMap, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rib_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tracer` [INFO] [stdout] --> src/units/rib_unit/unit.rs:1516:13 [INFO] [stdout] | [INFO] [stdout] 1516 | let tracer = BoundTracer::new(self.tracer.clone(), self.gate.id()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tracer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/units/rtr/client.rs:179:35 [INFO] [stdout] | [INFO] [stdout] 179 | Either::Left((Err(r), _other_fut)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/units/bgp_tcp_in/router_handler.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SerializeSeq` [INFO] [stdout] --> src/payload.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::ser::{SerializeSeq, SerializeStruct}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/targets/file/target.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn new(config: Config, mut component: Component) -> Self { [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: unused variable: `update` [INFO] [stdout] --> src/units/bgp_tcp_in/unit.rs:465:35 [INFO] [stdout] | [INFO] [stdout] 465 | async fn direct_update(&self, update: Update) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prefixes_link` [INFO] [stdout] --> src/units/bmp_tcp_in/http/router_info/response.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | let prefixes_link = peer_states [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prefixes_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/machine.rs:814:42 [INFO] [stdout] | [INFO] [stdout] 814 | if let Ok((payloads, mut update_report_msg)) = saved_self [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `real_pph_2` [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/tests.rs:228:36 [INFO] [stdout] | [INFO] [stdout] 228 | let (pph_2, peer_up_msg_2_buf, real_pph_2) = [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_real_pph_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ipv6_route_mon_msg_buf` [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/tests.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | let ipv6_route_mon_msg_buf = mk_ipv6_route_monitoring_msg(&pph_2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ipv6_route_mon_msg_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `roto_script` [INFO] [stdout] --> src/units/filter/unit.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | roto_script: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_roto_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `afisafi` [INFO] [stdout] --> src/units/rib_unit/rib.rs:684:9 [INFO] [stdout] | [INFO] [stdout] 684 | afisafi: AfiSafiType, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_afisafi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nlri` [INFO] [stdout] --> src/units/rib_unit/rib.rs:685:9 [INFO] [stdout] | [INFO] [stdout] 685 | nlri: Nlri<&[u8]>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_nlri` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ingress_id` [INFO] [stdout] --> src/units/rib_unit/rib.rs:686:9 [INFO] [stdout] | [INFO] [stdout] 686 | ingress_id: IngressId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 686 | _ingress_id: IngressId, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TEST_PEER_ASN` [INFO] [stdout] | [INFO] [stdout] 686 - ingress_id: IngressId, [INFO] [stdout] 686 + units::bmp_tcp_in::state_machine::states::initiating::tests::TEST_PEER_ASN: IngressId, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `match_options` [INFO] [stdout] --> src/units/rib_unit/rib.rs:687:9 [INFO] [stdout] | [INFO] [stdout] 687 | match_options: MatchOptions [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_match_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `afisafi` [INFO] [stdout] --> src/units/rib_unit/rib.rs:694:9 [INFO] [stdout] | [INFO] [stdout] 694 | afisafi: AfiSafiType, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_afisafi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `origin_as` [INFO] [stdout] --> src/units/rib_unit/rib.rs:695:9 [INFO] [stdout] | [INFO] [stdout] 695 | origin_as: Asn, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin_as` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `match_options` [INFO] [stdout] --> src/units/rib_unit/rib.rs:696:9 [INFO] [stdout] | [INFO] [stdout] 696 | match_options: MatchOptions [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_match_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `roto_scripts` [INFO] [stdout] --> src/units/rib_unit/unit.rs:453:13 [INFO] [stdout] | [INFO] [stdout] 453 | let roto_scripts = RotoScripts::default(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_roto_scripts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `roto_script` [INFO] [stdout] --> src/units/rib_unit/unit.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | roto_script: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_roto_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tbi` [INFO] [stdout] --> src/units/rib_unit/rpki.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | fn as_orderable(&self, tbi: Self::TBI) -> Self::Orderable<'_> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 145 | fn as_orderable(&self, _tbi: Self::TBI) -> Self::Orderable<'_> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `_` [INFO] [stdout] | [INFO] [stdout] 145 - fn as_orderable(&self, tbi: Self::TBI) -> Self::Orderable<'_> { [INFO] [stdout] 145 + fn as_orderable(&self, units::_: Self::TBI) -> Self::Orderable<'_> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> src/units/rtr/client.rs:678:20 [INFO] [stdout] | [INFO] [stdout] 678 | &mut self, update: Self::Update, timing: Timing [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timing` [INFO] [stdout] --> src/units/rtr/client.rs:678:42 [INFO] [stdout] | [INFO] [stdout] 678 | &mut self, update: Self::Update, timing: Timing [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_timing` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push` is never used [INFO] [stdout] --> src/common/json.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait EasilyExtendedJSONObject { [INFO] [stdout] | ------------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn push(&mut self, value: Value); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/manager.rs:3071:22 [INFO] [stdout] | [INFO] [stdout] 3071 | TargetConfig(Target), [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `UnitOrTargetConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3071 - TargetConfig(Target), [INFO] [stdout] 3071 + TargetConfig(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `component` and `ingresses` are never read [INFO] [stdout] --> src/targets/file/target.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct FileRunner { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 71 | component: Component, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 72 | config: Config, [INFO] [stdout] 73 | ingresses: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mqtt_options` is never used [INFO] [stdout] --> src/targets/mqtt/connection.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait EventLoop: Send { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 34 | fn mqtt_options(&self) -> &MqttOptions; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `options` is never read [INFO] [stdout] --> src/targets/mqtt/tests.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 492 | struct MockEventLoop { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 493 | options: MqttOptions, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `established_session_count` is never read [INFO] [stdout] --> src/units/bgp_tcp_in/metrics.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct BgpTcpInMetrics { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub established_session_count: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BgpTcpInMetrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rtr_cache` is never read [INFO] [stdout] --> src/units/bgp_tcp_in/router_handler.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 77 | struct Processor { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | rtr_cache: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `http_resources` is never read [INFO] [stdout] --> src/units/bmp_tcp_in/http/router_list/request.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct RouterListApi { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 27 | pub http_resources: http::Resources, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filter_name` and `rtr_cache` are never read [INFO] [stdout] --> src/units/bmp_tcp_in/router_handler.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct RouterHandler { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | filter_name: Arc>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | rtr_cache: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_bgp_id`, `peer_distinguisher`, `peer_rib_type`, and `peer_id` are never read [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/machine.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct PeerDetails { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 111 | peer_bgp_id: [u8; 4], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 112 | peer_distinguisher: [u8; 8], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 113 | peer_rib_type: RibType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 114 | peer_id: PeerId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerDetails` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sys_name` is never used [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/machine.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 345 | pub trait Initiable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 354 | fn sys_name(&self) -> Option<&str>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_announced_prefix` and `remove_announced_prefix` are never used [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/machine.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 404 | pub trait PeerAware { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 489 | fn add_announced_prefix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 495 | fn remove_announced_prefix( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n_invalid_announcements`, `n_stored_prefixes`, `n_invalid_withdrawals`, `last_invalid_announcement`, and `last_invalid_withdrawal` are never read [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/status_reporter.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct UpdateReportMessage { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 146 | pub n_invalid_announcements: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | pub n_stored_prefixes: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 148 | pub n_invalid_withdrawals: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 149 | pub last_invalid_announcement: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 150 | pub last_invalid_withdrawal: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UpdateReportMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inc_new_prefixes`, `inc_invalid_announcements`, `inc_invalid_withdrawals`, `set_invalid_announcement`, `set_invalid_withdrawal`, and `set_n_stored_prefixes` are never used [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/status_reporter.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl UpdateReportMessage { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn inc_new_prefixes(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn inc_invalid_announcements(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn inc_invalid_withdrawals(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn set_invalid_announcement(&mut self, err: ParseError) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn set_invalid_withdrawal(&mut self, err: ParseError) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn set_n_stored_prefixes(&mut self, n_stored: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_announced_prefix_count` is never used [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/tests.rs:1212:4 [INFO] [stdout] | [INFO] [stdout] 1212 | fn get_announced_prefix_count( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `message_filtering_failure` is never used [INFO] [stdout] --> src/units/bmp_tcp_in/status_reporter.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl BmpTcpInStatusReporter { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn message_filtering_failure(&self, err: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `router_metrics` is never used [INFO] [stdout] --> src/units/filter/metrics.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl RotoFilterMetrics { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 26 | pub fn router_metrics( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `message_filtered` is never used [INFO] [stdout] --> src/units/filter/status_reporter.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl RotoFilterStatusReporter { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn message_filtered(&self, ingress_id: IngressId) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tracer` is never read [INFO] [stdout] --> src/units/filter/unit.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 50 | struct RotoFilterRunner { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | tracer: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `mock` is never used [INFO] [stdout] --> src/units/filter/unit.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 58 | impl RotoFilterRunner { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | fn mock( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `queue_tx`, and `processing` are never read [INFO] [stdout] --> src/units/mrt_file_in/unit.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct MrtInRunner { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 81 | config: MrtFileIn, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | queue_tx: mpsc::Sender, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 86 | processing: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ipv4unicast_for_ingress` is never used [INFO] [stdout] --> src/units/rib_unit/http_ng.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn ipv4unicast_for_ingress( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_ok`, `unique_prefix_count_updated`, and `message_filtering_failure` are never used [INFO] [stdout] --> src/units/rib_unit/status_reporter.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl RibUnitStatusReporter { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn update_ok( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn unique_prefix_count_updated(&self, num_unique_prefixes: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn message_filtering_failure(&self, err: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `other_fams` is never read [INFO] [stdout] --> src/units/rib_unit/rib.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct Rib { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 57 | other_fams: [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rib` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RoutesRemoved` is never constructed [INFO] [stdout] --> src/units/rib_unit/rib.rs:934:5 [INFO] [stdout] | [INFO] [stdout] 932 | pub enum StoreInsertionEffect { [INFO] [stdout] | -------------------- variant in this enum [INFO] [stdout] 933 | RoutesWithdrawn(usize), [INFO] [stdout] 934 | RoutesRemoved(usize), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StoreInsertionEffect` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoreInsertionReport` is never constructed [INFO] [stdout] --> src/units/rib_unit/rib.rs:941:12 [INFO] [stdout] | [INFO] [stdout] 941 | pub struct StoreInsertionReport { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StoredValue` is never constructed [INFO] [stdout] --> src/units/rib_unit/rib.rs:954:12 [INFO] [stdout] | [INFO] [stdout] 954 | pub struct StoredValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PeerId` is never constructed [INFO] [stdout] --> src/units/rib_unit/rib.rs:964:12 [INFO] [stdout] | [INFO] [stdout] 964 | pub struct PeerId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/units/rib_unit/rib.rs:970:8 [INFO] [stdout] | [INFO] [stdout] 969 | impl PeerId { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 970 | fn new(ip: Option, asn: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RouteExtra` is never used [INFO] [stdout] --> src/units/rib_unit/rib.rs:981:11 [INFO] [stdout] | [INFO] [stdout] 981 | pub trait RouteExtra { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_filtered` is never used [INFO] [stdout] --> src/units/rib_unit/tests.rs:744:10 [INFO] [stdout] | [INFO] [stdout] 744 | async fn is_filtered(_runner: &RibUnitRunner, _update: Update) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/units/rib_unit/statistics.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl CumAvg { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 12 | pub fn add(&mut self, v: u64) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/units/rib_unit/statistics.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl RibMergeUpdateStatistics { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] 65 | pub fn add( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `roto_function_post` and `rib_merge_update_stats` are never read [INFO] [stdout] --> src/units/rib_unit/unit.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct RibUnitRunner { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 239 | roto_function_post: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | rib_merge_update_stats: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `gate` is never used [INFO] [stdout] --> src/units/rib_unit/unit.rs:527:19 [INFO] [stdout] | [INFO] [stdout] 282 | impl RibUnitRunner { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 527 | pub(super) fn gate(&self) -> Arc { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cache` is never read [INFO] [stdout] --> src/units/rtr/client.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 347 | struct RtrClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 361 | cache: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RtrClient` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error_type` is never read [INFO] [stdout] --> src/representation.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct OutputError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 70 | error_type: OutputErrorType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Other` is never constructed [INFO] [stdout] --> src/representation.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 73 | enum OutputErrorType { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 74 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOCK_ROUTER_ID` is never used [INFO] [stdout] --> src/tests/util.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub const MOCK_ROUTER_ID: &str = "mock-router"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/frim.rs:193:18 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn entry(&self, key: K) -> Entry { [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] 193 | pub fn entry(&self, key: K) -> Entry<'_, K, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http.rs:487:21 [INFO] [stdout] | [INFO] [stdout] 487 | fn decoded_path(&self) -> Cow; [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 487 | fn decoded_path(&self) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/http.rs:491:21 [INFO] [stdout] | [INFO] [stdout] 491 | fn decoded_path(&self) -> Cow { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 491 | fn decoded_path(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/http_ng.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | &h.is_finished(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 187 | let _ = &h.is_finished(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/machine.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 503 | pph: &PerPeerHeader, [INFO] [stdout] 504 | ) -> Option>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 504 | ) -> Option>>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/machine.rs:1513:9 [INFO] [stdout] | [INFO] [stdout] 1513 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 1514 | pph: &PerPeerHeader, [INFO] [stdout] 1515 | ) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1515 | ) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/states/dumping.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 487 | pph: &PerPeerHeader, [INFO] [stdout] 488 | ) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 488 | ) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/units/bmp_tcp_in/state_machine/states/updating.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 321 | pph: &PerPeerHeader, [INFO] [stdout] 322 | ) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 322 | ) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/units/mrt_file_in/unit.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn iter(&self) -> PathsIterator { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 70 | pub fn iter(&self) -> PathsIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assert_debug_snapshot` [INFO] [stdout] --> tests/snapshot.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use insta::{assert_debug_snapshot, assert_snapshot, glob}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/snapshot.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut process = Command::new("socat") [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: function `socat` is never used [INFO] [stdout] --> tests/snapshot.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn socat(input: impl AsRef) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rotonda` (lib test); 97 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/beta-2025-09-21-x86_64-unknown-linux-gnu/bin/rustc --crate-name rotonda --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="flate2"' --cfg 'feature="http-api-gzip"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "flate2", "http-api-gzip"))' -C metadata=465dadd6c1296618 -C extra-filename=-bfddd311bcb64d8f --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern allocator_api2=/opt/rustwide/target/debug/deps/liballocator_api2-a8e0e4a62af7c576.rlib --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-eb07bcfe9a52a357.rlib --extern arc_swap=/opt/rustwide/target/debug/deps/libarc_swap-fbe5a56bc5bc5547.rlib --extern assert_json_diff=/opt/rustwide/target/debug/deps/libassert_json_diff-1d910df2e2875d5f.rlib --extern assert_cmd=/opt/rustwide/target/debug/deps/libassert_cmd-886089d15fbd8aa1.rlib --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-70938e1edd979c72.so --extern atomic_enum=/opt/rustwide/target/debug/deps/libatomic_enum-c050d71a8c3443c7.so --extern axum=/opt/rustwide/target/debug/deps/libaxum-01d936536e5cfa0d.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-c89987c765f29b7d.rlib --extern bzip2=/opt/rustwide/target/debug/deps/libbzip2-492852b1c5f9c385.rlib --extern chrono=/opt/rustwide/target/debug/deps/libchrono-87b504b137588b6b.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-aa73c3f40c59f94b.rlib --extern const_format=/opt/rustwide/target/debug/deps/libconst_format-b584da928aa1532e.rlib --extern crossbeam_utils=/opt/rustwide/target/debug/deps/libcrossbeam_utils-ca54231108c39f35.rlib --extern csv=/opt/rustwide/target/debug/deps/libcsv-f6e8f6015fc11c4d.rlib --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-3dd9c40026ea9109.rlib --extern fern=/opt/rustwide/target/debug/deps/libfern-e9d205613c768634.rlib --extern flate2=/opt/rustwide/target/debug/deps/libflate2-09f8eb5559b63538.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-e73b5ea8f26ae69e.rlib --extern futures_util=/opt/rustwide/target/debug/deps/libfutures_util-cc1e304afadc0640.rlib --extern glob=/opt/rustwide/target/debug/deps/libglob-7748687a416caec7.rlib --extern hash32=/opt/rustwide/target/debug/deps/libhash32-844f09427076463e.rlib --extern hash_hasher=/opt/rustwide/target/debug/deps/libhash_hasher-62762b0ee43f7855.rlib --extern hashbrown=/opt/rustwide/target/debug/deps/libhashbrown-6168cce8b8972809.rlib --extern hex=/opt/rustwide/target/debug/deps/libhex-13e08b3b00984ab7.rlib --extern hex_slice=/opt/rustwide/target/debug/deps/libhex_slice-074157d194fa97b7.rlib --extern html_escape=/opt/rustwide/target/debug/deps/libhtml_escape-97f8c4839c92b8e0.rlib --extern hyper=/opt/rustwide/target/debug/deps/libhyper-e3324cc3fa518bd5.rlib --extern indoc=/opt/rustwide/target/debug/deps/libindoc-4b5291e93ee93d8f.so --extern inetnum=/opt/rustwide/target/debug/deps/libinetnum-e10e942f745edfe2.rlib --extern insta=/opt/rustwide/target/debug/deps/libinsta-676c3bcf35990230.rlib --extern layout=/opt/rustwide/target/debug/deps/liblayout-3005a9231c5e4741.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-28ade3d6717210f3.rlib --extern log_reroute=/opt/rustwide/target/debug/deps/liblog_reroute-d430b120edc10f9b.rlib --extern memmap2=/opt/rustwide/target/debug/deps/libmemmap2-39408bbcb45371f9.rlib --extern micromap=/opt/rustwide/target/debug/deps/libmicromap-df71529cf48d1207.rlib --extern non_empty_vec=/opt/rustwide/target/debug/deps/libnon_empty_vec-513f52cf4e11740d.rlib --extern paste=/opt/rustwide/target/debug/deps/libpaste-8ce5605c29654631.so --extern percent_encoding=/opt/rustwide/target/debug/deps/libpercent_encoding-fa055ecaa1e57cfa.rlib --extern pin_project_lite=/opt/rustwide/target/debug/deps/libpin_project_lite-72bf04572caa1c84.rlib --extern prometheus_parse=/opt/rustwide/target/debug/deps/libprometheus_parse-6a72a0b20d656661.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-eddb2496da3717a3.rlib --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-4ac413b785ccc11d.rlib --extern roto=/opt/rustwide/target/debug/deps/libroto-a9f398603c19e70e.rlib --extern rotonda_store=/opt/rustwide/target/debug/deps/librotonda_store-9556dbaace679ec7.rlib --extern routecore=/opt/rustwide/target/debug/deps/libroutecore-ac664458b6937f05.rlib --extern rpki=/opt/rustwide/target/debug/deps/librpki-d78e033be5804ec3.rlib --extern rshtml=/opt/rustwide/target/debug/deps/librshtml-a5efc16d4f7df572.rlib --extern mqtt=/opt/rustwide/target/debug/deps/librumqttc-c667f8aed40c0680.rlib --extern rumqttd=/opt/rustwide/target/debug/deps/librumqttd-c28a6961f633c1e9.rlib --extern sanitise_file_name=/opt/rustwide/target/debug/deps/libsanitise_file_name-f5a7a938753d2c9c.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-28624df29c121683.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-52e3611f967511c6.rlib --extern serde_qs=/opt/rustwide/target/debug/deps/libserde_qs-66ca7ceaa8207ea8.rlib --extern serde_with=/opt/rustwide/target/debug/deps/libserde_with-0b4063b745c3f1db.rlib --extern sha2=/opt/rustwide/target/debug/deps/libsha2-64678149fba7e08e.rlib --extern slab=/opt/rustwide/target/debug/deps/libslab-5629529544b2a983.rlib --extern smallvec=/opt/rustwide/target/debug/deps/libsmallvec-6c6c590a496f6ac5.rlib --extern syslog=/opt/rustwide/target/debug/deps/libsyslog-d7cd4bb98ab0c45f.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-1422c8e68b129695.rlib --extern tokio_metrics=/opt/rustwide/target/debug/deps/libtokio_metrics-ed48b221b724db50.rlib --extern toml=/opt/rustwide/target/debug/deps/libtoml-912177bcf0b0b5d4.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-481ac6d3357cfd76.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-e5e2a5ee06be7f3b.rlib --cap-lints=warn -L native=/opt/rustwide/target/debug/build/bzip2-sys-7a16f0f9e0262d74/out/lib -L native=/opt/rustwide/target/debug/build/capstone-sys-da73f0e4d8f5f571/out -L native=/opt/rustwide/target/debug/build/ring-eccb05cff142729a/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6bb14db24c78139dec62f28306a690cedbdc35ba5b69d1cc1aae0e1c0dee9d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bb14db24c78139dec62f28306a690cedbdc35ba5b69d1cc1aae0e1c0dee9d7b", kill_on_drop: false }` [INFO] [stdout] 6bb14db24c78139dec62f28306a690cedbdc35ba5b69d1cc1aae0e1c0dee9d7b