[INFO] fetching crate ant-quic 0.8.13... [INFO] testing ant-quic-0.8.13 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate ant-quic 0.8.13 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate ant-quic 0.8.13 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ant-quic 0.8.13 [INFO] tweaked toml for crates.io crate ant-quic 0.8.13 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ant-quic 0.8.13 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ant-quic 0.8.13 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-signal v0.2.12 [INFO] [stderr] Downloaded async-process v2.4.0 [INFO] [stderr] Downloaded derive_arbitrary v1.4.2 [INFO] [stderr] Downloaded qlog v0.13.0 [INFO] [stderr] Downloaded arbitrary v1.4.2 [INFO] [stderr] Downloaded protobuf-support v3.7.2 [INFO] [stderr] Downloaded rustls-platform-verifier v0.6.1 [INFO] [stderr] Downloaded proptest-derive v0.5.1 [INFO] [stderr] Downloaded hickory-resolver v0.24.4 [INFO] [stderr] Downloaded prometheus v0.14.0 [INFO] [stderr] Downloaded quickcheck_macros v1.1.0 [INFO] [stderr] Downloaded aws-lc-rs v1.13.3 [INFO] [stderr] Downloaded saorsa-pqc v0.3.8 [INFO] [stderr] Downloaded protobuf v3.7.2 [INFO] [stderr] Downloaded hickory-proto v0.24.4 [INFO] [stderr] Downloaded fips203 v0.4.3 [INFO] [stderr] Downloaded fips204 v0.4.6 [INFO] [stderr] Downloaded hpke v0.13.0 [INFO] [stderr] Downloaded fips205 v0.4.1 [INFO] [stderr] Downloaded aws-lc-sys v0.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3edb2c4e7bf7487dab9ff11525a2cedcdbfb3ab57b6976f14908065dd8c199b2 [INFO] running `Command { std: "docker" "start" "-a" "3edb2c4e7bf7487dab9ff11525a2cedcdbfb3ab57b6976f14908065dd8c199b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3edb2c4e7bf7487dab9ff11525a2cedcdbfb3ab57b6976f14908065dd8c199b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3edb2c4e7bf7487dab9ff11525a2cedcdbfb3ab57b6976f14908065dd8c199b2", kill_on_drop: false }` [INFO] [stdout] 3edb2c4e7bf7487dab9ff11525a2cedcdbfb3ab57b6976f14908065dd8c199b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 310006926a40e407bb8f624a2af24035b0169bae60f487384ef90e2f1259a42f [INFO] running `Command { std: "docker" "start" "-a" "310006926a40e407bb8f624a2af24035b0169bae60f487384ef90e2f1259a42f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling quinn-udp v0.5.13 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling hickory-proto v0.24.4 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling resolv-conf v0.7.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling hickory-resolver v0.24.4 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling rcgen v0.14.3 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling lru-slab v0.1.2 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.1 [INFO] [stderr] Compiling ant-quic v0.8.13 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `validate_linux_network_capabilities` is never used [INFO] [stdout] --> src/config/validation.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn validate_linux_network_capabilities() -> ValidationResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | #![warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hardware_address` and `last_updated` are never read [INFO] [stdout] --> src/candidate_discovery/linux.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct LinuxInterface { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 58 | hardware_address: Option<[u8; 6]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | last_updated: Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinuxInterface` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `supports_multicast` and `supports_broadcast` are never read [INFO] [stdout] --> src/candidate_discovery/linux.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 92 | struct InterfaceFlags { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 102 | supports_multicast: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | /// Interface supports broadcast [INFO] [stdout] 104 | supports_broadcast: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceFlags` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unknown`, `NotPresent`, `LowerLayerDown`, `Testing`, and `Dormant` are never constructed [INFO] [stdout] --> src/candidate_discovery/linux.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 111 | enum InterfaceState { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 112 | /// Unknown state [INFO] [stdout] 113 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 114 | /// Interface is not present [INFO] [stdout] 115 | NotPresent, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | LowerLayerDown, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 120 | /// Interface is testing [INFO] [stdout] 121 | Testing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 122 | /// Interface is dormant [INFO] [stdout] 123 | Dormant, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sequence_number` and `process_id` are never read [INFO] [stdout] --> src/candidate_discovery/linux.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 142 | struct NetlinkSocket { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 146 | sequence_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | /// Process ID for netlink messages [INFO] [stdout] 148 | process_id: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GetLink` and `GetAddress` are never constructed [INFO] [stdout] --> src/candidate_discovery/linux.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 201 | enum NetlinkMessageType { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 202 | /// Get link information [INFO] [stdout] 203 | GetLink, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 204 | /// Get address information [INFO] [stdout] 205 | GetAddress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetlinkMessageType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `flags`, `sequence`, and `payload` are never read [INFO] [stdout] --> src/candidate_discovery/linux.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 216 | struct NetlinkMessage { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 220 | flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 221 | /// Message sequence number [INFO] [stdout] 222 | sequence: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 223 | /// Message payload [INFO] [stdout] 224 | payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetlinkMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `trace_id` and `start_time` are never read [INFO] [stdout] --> src/tracing/context.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TraceContext { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 15 | /// Unique trace identifier [INFO] [stdout] 16 | pub trace_id: TraceId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | /// Start time of the trace [INFO] [stdout] 18 | pub start_time: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraceContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `debug` and `app_initiated` are never read [INFO] [stdout] --> src/tracing/context.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct TraceFlags { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | /// Whether trace was initiated by application [INFO] [stdout] 31 | pub app_initiated: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraceFlags` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_flags` and `trace_id` are never used [INFO] [stdout] --> src/tracing/context.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl TraceContext { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn with_flags(trace_id: TraceId, flags: TraceFlags) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn trace_id(&self) -> TraceId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_bytes` are never used [INFO] [stdout] --> src/tracing/event.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl TraceId { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 49 | /// Create a new random trace ID [INFO] [stdout] 50 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn from_bytes(bytes: [u8; 16]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `endpoint_bytes` and `addr_type` are never read [INFO] [stdout] --> src/tracing/event.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 87 | ConnInit { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 88 | /// Endpoint bytes (ip:port serialized) [INFO] [stdout] 89 | endpoint_bytes: [u8; 18], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 90 | /// Address type discriminator [INFO] [stdout] 91 | addr_type: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `packet_num` are never read [INFO] [stdout] --> src/tracing/event.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 111 | PacketSent { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 112 | /// Size in bytes [INFO] [stdout] 113 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 114 | /// Packet number [INFO] [stdout] 115 | packet_num: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `packet_num` are never read [INFO] [stdout] --> src/tracing/event.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 118 | PacketReceived { [INFO] [stdout] | -------------- fields in this variant [INFO] [stdout] 119 | /// Size in bytes [INFO] [stdout] 120 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 121 | /// Packet number [INFO] [stdout] 122 | packet_num: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `category`, `code`, and `data` are never read [INFO] [stdout] --> src/tracing/event.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 172 | Custom { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 173 | category: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 174 | code: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 175 | data: [u8; 44], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/tracing/event.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub enum EventData { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 94 | ConnEstablished { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | StreamOpened { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | StreamClosed { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | PacketLost { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | CandidateDiscovered { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | HolePunchingStarted { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | HolePunchingSucceeded { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | ObservedAddressSent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | ObservedAddressReceived { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TraceQuery` is never constructed [INFO] [stdout] --> src/tracing/query.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | pub(super) struct TraceQuery; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tracing/query.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 139 | impl TraceQuery { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 140 | pub(super) fn new(_log: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub(super) fn get_trace(&self, _trace_id: TraceId) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub(super) fn recent(&self, _count: usize) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub(super) fn time_range(&self, _start: u64, _end: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub(super) fn event_count(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub(super) fn analyze_connection(&self, _trace_id: TraceId) -> ConnectionAnalysis { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub(super) fn find_problematic_traces(&self, _recent_count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionAnalysis` is never constructed [INFO] [stdout] --> src/tracing/query.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | pub(super) struct ConnectionAnalysis { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `BUFFER_MASK` is never used [INFO] [stdout] --> src/tracing/ring_buffer.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 21 | impl TraceConfig { [INFO] [stdout] | ---------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub const BUFFER_MASK: usize = Self::BUFFER_SIZE - 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventLog` is never constructed [INFO] [stdout] --> src/tracing/ring_buffer.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct EventLog { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tracing/ring_buffer.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl EventLog { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 54 | /// Create a new event log [INFO] [stdout] 55 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn log(&self, mut event: Event) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn recent_events(&self, count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub(super) fn query_trace(&self, trace_id: TraceId) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub(super) fn query_time_range(&self, start: u64, end: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub(super) fn event_count(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn get_events_by_trace(&self, trace_id: TraceId) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub(super) fn get_recent_events(&self, count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub(super) fn get_events_in_range(&self, start: u64, end: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `refresh_cache_if_needed` is never used [INFO] [stdout] --> src/discovery/linux.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl LinuxDiscovery { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | fn refresh_cache_if_needed(&mut self) -> Result<(), DiscoveryError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/tracing/mod.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn timestamp_now() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | #![cfg_attr(not(fuzzing), warn(missing_docs))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/tracing/mod.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/tracing/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/tracing/mod.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn log(&self, _event: Event) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/tracing/mod.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn recent_events(&self, _count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/tracing/mod.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get_events_by_trace(&self, _trace_id: TraceId) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/tracing/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(_trace_id: TraceId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/tracing/mod.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn trace_id(&self) -> TraceId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 32s [INFO] running `Command { std: "docker" "inspect" "310006926a40e407bb8f624a2af24035b0169bae60f487384ef90e2f1259a42f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "310006926a40e407bb8f624a2af24035b0169bae60f487384ef90e2f1259a42f", kill_on_drop: false }` [INFO] [stdout] 310006926a40e407bb8f624a2af24035b0169bae60f487384ef90e2f1259a42f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d66f0aea031ad67311feaa82c0a9685be4f8f34de526cb1963f28fad7612f1a6 [INFO] running `Command { std: "docker" "start" "-a" "d66f0aea031ad67311feaa82c0a9685be4f8f34de526cb1963f28fad7612f1a6", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling hickory-proto v0.24.4 [INFO] [stderr] Compiling quinn-udp v0.5.13 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling hickory-resolver v0.24.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling quickcheck_macros v1.1.0 [INFO] [stderr] Compiling proptest-derive v0.5.1 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling ant-quic v0.8.13 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `validate_linux_network_capabilities` is never used [INFO] [stdout] --> src/config/validation.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn validate_linux_network_capabilities() -> ValidationResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | #![warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hardware_address` and `last_updated` are never read [INFO] [stdout] --> src/candidate_discovery/linux.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct LinuxInterface { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 58 | hardware_address: Option<[u8; 6]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | last_updated: Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinuxInterface` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `supports_multicast` and `supports_broadcast` are never read [INFO] [stdout] --> src/candidate_discovery/linux.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 92 | struct InterfaceFlags { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 102 | supports_multicast: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | /// Interface supports broadcast [INFO] [stdout] 104 | supports_broadcast: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceFlags` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unknown`, `NotPresent`, `LowerLayerDown`, `Testing`, and `Dormant` are never constructed [INFO] [stdout] --> src/candidate_discovery/linux.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 111 | enum InterfaceState { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 112 | /// Unknown state [INFO] [stdout] 113 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 114 | /// Interface is not present [INFO] [stdout] 115 | NotPresent, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | LowerLayerDown, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 120 | /// Interface is testing [INFO] [stdout] 121 | Testing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 122 | /// Interface is dormant [INFO] [stdout] 123 | Dormant, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sequence_number` and `process_id` are never read [INFO] [stdout] --> src/candidate_discovery/linux.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 142 | struct NetlinkSocket { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 146 | sequence_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | /// Process ID for netlink messages [INFO] [stdout] 148 | process_id: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GetLink` and `GetAddress` are never constructed [INFO] [stdout] --> src/candidate_discovery/linux.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 201 | enum NetlinkMessageType { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 202 | /// Get link information [INFO] [stdout] 203 | GetLink, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 204 | /// Get address information [INFO] [stdout] 205 | GetAddress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetlinkMessageType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `flags`, `sequence`, and `payload` are never read [INFO] [stdout] --> src/candidate_discovery/linux.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 216 | struct NetlinkMessage { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 220 | flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 221 | /// Message sequence number [INFO] [stdout] 222 | sequence: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 223 | /// Message payload [INFO] [stdout] 224 | payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetlinkMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `trace_id` and `start_time` are never read [INFO] [stdout] --> src/tracing/context.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TraceContext { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 15 | /// Unique trace identifier [INFO] [stdout] 16 | pub trace_id: TraceId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | /// Start time of the trace [INFO] [stdout] 18 | pub start_time: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraceContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `debug` and `app_initiated` are never read [INFO] [stdout] --> src/tracing/context.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct TraceFlags { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | /// Whether trace was initiated by application [INFO] [stdout] 31 | pub app_initiated: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraceFlags` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_flags` and `trace_id` are never used [INFO] [stdout] --> src/tracing/context.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl TraceContext { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn with_flags(trace_id: TraceId, flags: TraceFlags) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn trace_id(&self) -> TraceId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `from_bytes` are never used [INFO] [stdout] --> src/tracing/event.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl TraceId { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 49 | /// Create a new random trace ID [INFO] [stdout] 50 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn from_bytes(bytes: [u8; 16]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `endpoint_bytes` and `addr_type` are never read [INFO] [stdout] --> src/tracing/event.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 87 | ConnInit { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 88 | /// Endpoint bytes (ip:port serialized) [INFO] [stdout] 89 | endpoint_bytes: [u8; 18], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 90 | /// Address type discriminator [INFO] [stdout] 91 | addr_type: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `packet_num` are never read [INFO] [stdout] --> src/tracing/event.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 111 | PacketSent { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 112 | /// Size in bytes [INFO] [stdout] 113 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 114 | /// Packet number [INFO] [stdout] 115 | packet_num: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `packet_num` are never read [INFO] [stdout] --> src/tracing/event.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 118 | PacketReceived { [INFO] [stdout] | -------------- fields in this variant [INFO] [stdout] 119 | /// Size in bytes [INFO] [stdout] 120 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 121 | /// Packet number [INFO] [stdout] 122 | packet_num: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `category`, `code`, and `data` are never read [INFO] [stdout] --> src/tracing/event.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 172 | Custom { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 173 | category: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 174 | code: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 175 | data: [u8; 44], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/tracing/event.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub enum EventData { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 94 | ConnEstablished { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | StreamOpened { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | StreamClosed { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | PacketLost { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | CandidateDiscovered { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | HolePunchingStarted { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | HolePunchingSucceeded { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | ObservedAddressSent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | ObservedAddressReceived { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TraceQuery` is never constructed [INFO] [stdout] --> src/tracing/query.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | pub(super) struct TraceQuery; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tracing/query.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 139 | impl TraceQuery { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 140 | pub(super) fn new(_log: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub(super) fn get_trace(&self, _trace_id: TraceId) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub(super) fn recent(&self, _count: usize) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub(super) fn time_range(&self, _start: u64, _end: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub(super) fn event_count(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub(super) fn analyze_connection(&self, _trace_id: TraceId) -> ConnectionAnalysis { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub(super) fn find_problematic_traces(&self, _recent_count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionAnalysis` is never constructed [INFO] [stdout] --> src/tracing/query.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | pub(super) struct ConnectionAnalysis { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `BUFFER_MASK` is never used [INFO] [stdout] --> src/tracing/ring_buffer.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 21 | impl TraceConfig { [INFO] [stdout] | ---------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub const BUFFER_MASK: usize = Self::BUFFER_SIZE - 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventLog` is never constructed [INFO] [stdout] --> src/tracing/ring_buffer.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct EventLog { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tracing/ring_buffer.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl EventLog { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 54 | /// Create a new event log [INFO] [stdout] 55 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn log(&self, mut event: Event) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn recent_events(&self, count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub(super) fn query_trace(&self, trace_id: TraceId) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub(super) fn query_time_range(&self, start: u64, end: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub(super) fn event_count(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn get_events_by_trace(&self, trace_id: TraceId) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub(super) fn get_recent_events(&self, count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub(super) fn get_events_in_range(&self, start: u64, end: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `refresh_cache_if_needed` is never used [INFO] [stdout] --> src/discovery/linux.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl LinuxDiscovery { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | fn refresh_cache_if_needed(&mut self) -> Result<(), DiscoveryError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/tracing/mod.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn timestamp_now() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | #![cfg_attr(not(fuzzing), warn(missing_docs))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/tracing/mod.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/tracing/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/tracing/mod.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn log(&self, _event: Event) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/tracing/mod.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn recent_events(&self, _count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/tracing/mod.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get_events_by_trace(&self, _trace_id: TraceId) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/tracing/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(_trace_id: TraceId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/tracing/mod.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn trace_id(&self) -> TraceId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_linux_network_capabilities` is never used [INFO] [stdout] --> src/config/validation.rs:183:4 [INFO] [stdout] | [INFO] [stdout] 183 | fn validate_linux_network_capabilities() -> ValidationResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | #![warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hardware_address` and `last_updated` are never read [INFO] [stdout] --> src/candidate_discovery/linux.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct LinuxInterface { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 58 | hardware_address: Option<[u8; 6]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | last_updated: Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinuxInterface` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `supports_multicast` and `supports_broadcast` are never read [INFO] [stdout] --> src/candidate_discovery/linux.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 92 | struct InterfaceFlags { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 102 | supports_multicast: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | /// Interface supports broadcast [INFO] [stdout] 104 | supports_broadcast: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceFlags` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unknown`, `NotPresent`, `LowerLayerDown`, `Testing`, and `Dormant` are never constructed [INFO] [stdout] --> src/candidate_discovery/linux.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 111 | enum InterfaceState { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 112 | /// Unknown state [INFO] [stdout] 113 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 114 | /// Interface is not present [INFO] [stdout] 115 | NotPresent, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | LowerLayerDown, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 120 | /// Interface is testing [INFO] [stdout] 121 | Testing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 122 | /// Interface is dormant [INFO] [stdout] 123 | Dormant, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InterfaceState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sequence_number` and `process_id` are never read [INFO] [stdout] --> src/candidate_discovery/linux.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 142 | struct NetlinkSocket { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 146 | sequence_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | /// Process ID for netlink messages [INFO] [stdout] 148 | process_id: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GetLink` and `GetAddress` are never constructed [INFO] [stdout] --> src/candidate_discovery/linux.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 201 | enum NetlinkMessageType { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 202 | /// Get link information [INFO] [stdout] 203 | GetLink, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 204 | /// Get address information [INFO] [stdout] 205 | GetAddress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetlinkMessageType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `flags`, `sequence`, and `payload` are never read [INFO] [stdout] --> src/candidate_discovery/linux.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 216 | struct NetlinkMessage { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 220 | flags: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 221 | /// Message sequence number [INFO] [stdout] 222 | sequence: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 223 | /// Message payload [INFO] [stdout] 224 | payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NetlinkMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_time` is never read [INFO] [stdout] --> src/tracing/context.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct TraceContext { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub start_time: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TraceContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_bytes` is never used [INFO] [stdout] --> src/tracing/event.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl TraceId { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn from_bytes(bytes: [u8; 16]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `endpoint_bytes` and `addr_type` are never read [INFO] [stdout] --> src/tracing/event.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 87 | ConnInit { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 88 | /// Endpoint bytes (ip:port serialized) [INFO] [stdout] 89 | endpoint_bytes: [u8; 18], [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 90 | /// Address type discriminator [INFO] [stdout] 91 | addr_type: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `packet_num` are never read [INFO] [stdout] --> src/tracing/event.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 111 | PacketSent { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 112 | /// Size in bytes [INFO] [stdout] 113 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 114 | /// Packet number [INFO] [stdout] 115 | packet_num: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `packet_num` are never read [INFO] [stdout] --> src/tracing/event.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 118 | PacketReceived { [INFO] [stdout] | -------------- fields in this variant [INFO] [stdout] 119 | /// Size in bytes [INFO] [stdout] 120 | size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 121 | /// Packet number [INFO] [stdout] 122 | packet_num: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `category`, `code`, and `data` are never read [INFO] [stdout] --> src/tracing/event.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 172 | Custom { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 173 | category: u16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 174 | code: u16, [INFO] [stdout] | ^^^^ [INFO] [stdout] 175 | data: [u8; 44], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/tracing/event.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 85 | pub enum EventData { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 94 | ConnEstablished { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | StreamOpened { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | StreamClosed { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | PacketLost { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | CandidateDiscovered { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | HolePunchingStarted { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | HolePunchingSucceeded { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | ObservedAddressSent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | ObservedAddressReceived { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `time_range`, `analyze_connection`, and `find_problematic_traces` are never used [INFO] [stdout] --> src/tracing/query.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 139 | impl TraceQuery { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 152 | pub(super) fn time_range(&self, _start: u64, _end: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub(super) fn analyze_connection(&self, _trace_id: TraceId) -> ConnectionAnalysis { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub(super) fn find_problematic_traces(&self, _recent_count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionAnalysis` is never constructed [INFO] [stdout] --> src/tracing/query.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | pub(super) struct ConnectionAnalysis { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `BUFFER_MASK` is never used [INFO] [stdout] --> src/tracing/ring_buffer.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 21 | impl TraceConfig { [INFO] [stdout] | ---------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub const BUFFER_MASK: usize = Self::BUFFER_SIZE - 1; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventLog` is never constructed [INFO] [stdout] --> src/tracing/ring_buffer.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct EventLog { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/tracing/ring_buffer.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl EventLog { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 54 | /// Create a new event log [INFO] [stdout] 55 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn log(&self, mut event: Event) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn recent_events(&self, count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub(super) fn query_trace(&self, trace_id: TraceId) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub(super) fn query_time_range(&self, start: u64, end: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | pub(super) fn event_count(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn get_events_by_trace(&self, trace_id: TraceId) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub(super) fn get_recent_events(&self, count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub(super) fn get_events_in_range(&self, start: u64, end: u64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `refresh_cache_if_needed` is never used [INFO] [stdout] --> src/discovery/linux.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl LinuxDiscovery { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | fn refresh_cache_if_needed(&mut self) -> Result<(), DiscoveryError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ant-quic` (lib); 31 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/bin/rustc --crate-name ant_quic --edition=2024 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 '--allow=clippy::restriction' '--allow=clippy::pedantic' '--warn=clippy::all' --warn=unexpected_cfgs '--warn=clippy::suspicious' '--warn=clippy::perf' '--deny=clippy::correctness' '--warn=clippy::complexity' '--allow=clippy::unwrap_used' '--allow=clippy::print_stdout' '--allow=clippy::print_stderr' '--allow=clippy::must_use_candidate' '--allow=clippy::module_name_repetitions' '--allow=clippy::missing_panics_doc' '--allow=clippy::missing_errors_doc' '--allow=clippy::indexing_slicing' '--allow=clippy::expect_used' '--allow=clippy::excessive_nesting' '--allow=clippy::enum_variant_names' '--allow=clippy::arithmetic_side_effects' --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(wasm_browser)' --check-cfg 'cfg(feature, values("arbitrary", "__qlog", "bloom", "low_memory", "prometheus", "security_validation_not_yet_implemented"))' --cfg 'feature="default"' --cfg 'feature="network-discovery"' --cfg 'feature="platform-verifier"' --cfg 'feature="ring"' --cfg 'feature="runtime-tokio"' --cfg 'feature="rustls-ring"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("__qlog", "arbitrary", "aws-lc-rs", "bloom", "default", "docker-tests", "fuzzing", "linux-tests", "log", "low_memory", "macos-tests", "network-discovery", "platform-tests", "platform-verifier", "pqc", "prometheus", "property_testing", "proptest", "proptest-derive", "ring", "runtime-async-std", "runtime-tokio", "rustls-aws-lc-rs", "rustls-ring", "saorsa-pqc", "security_validation_not_yet_implemented", "smol", "test-utils", "trace", "trace-app", "trace-full", "trace-index", "windows-tests"))' -C metadata=22709d464066523f -C extra-filename=-c87bf48dc3917053 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-10a36eb0bac46197.so --extern bytes=/opt/rustwide/target/debug/deps/libbytes-bfe11088fe358bd1.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-2ebd1783a85d0da6.rmeta --extern clap=/opt/rustwide/target/debug/deps/libclap-187ea0115e25bb52.rmeta --extern dashmap=/opt/rustwide/target/debug/deps/libdashmap-83f5eefefd2312e3.rmeta --extern ed25519_dalek=/opt/rustwide/target/debug/deps/libed25519_dalek-fac1ff7296949a1a.rmeta --extern futures_util=/opt/rustwide/target/debug/deps/libfutures_util-a06086c5e6b746e4.rmeta --extern hex=/opt/rustwide/target/debug/deps/libhex-28742b4ca144387c.rmeta --extern hickory_resolver=/opt/rustwide/target/debug/deps/libhickory_resolver-dd1c2642492fa206.rmeta --extern indexmap=/opt/rustwide/target/debug/deps/libindexmap-2e054a1745df31ca.rmeta --extern lru_slab=/opt/rustwide/target/debug/deps/liblru_slab-82bbb7047f4de357.rmeta --extern nix=/opt/rustwide/target/debug/deps/libnix-c505e8e114b691ad.rmeta --extern once_cell=/opt/rustwide/target/debug/deps/libonce_cell-0ba6aecba7086d38.rmeta --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-91adfcd77f31170a.rmeta --extern pin_project_lite=/opt/rustwide/target/debug/deps/libpin_project_lite-bedc6e0acd72ff2a.rmeta --extern quinn_udp=/opt/rustwide/target/debug/deps/libquinn_udp-5dd0fcd7c86e91f6.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-c89afce3c04e94c6.rmeta --extern rcgen=/opt/rustwide/target/debug/deps/librcgen-19e03db30f1a9c56.rmeta --extern regex=/opt/rustwide/target/debug/deps/libregex-56d08bf64ae36d66.rmeta --extern ring=/opt/rustwide/target/debug/deps/libring-473459b40dbfec81.rmeta --extern rustc_hash=/opt/rustwide/target/debug/deps/librustc_hash-d7c9c021d0487117.rmeta --extern rustls=/opt/rustwide/target/debug/deps/librustls-25ec2cdde78dce0f.rmeta --extern rustls_native_certs=/opt/rustwide/target/debug/deps/librustls_native_certs-596d88c8e9ce5de0.rmeta --extern rustls_pemfile=/opt/rustwide/target/debug/deps/librustls_pemfile-9d52904cf3ad3716.rmeta --extern rustls_platform_verifier=/opt/rustwide/target/debug/deps/librustls_platform_verifier-ceb4bdabd62b1c35.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-252b8121f1de3433.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-99a429c1fa9466bb.rmeta --extern serde_yaml=/opt/rustwide/target/debug/deps/libserde_yaml-8c47f8d587420cd5.rmeta --extern sha2=/opt/rustwide/target/debug/deps/libsha2-6612c54f412ba715.rmeta --extern slab=/opt/rustwide/target/debug/deps/libslab-8c0cbfb396425d81.rmeta --extern socket2=/opt/rustwide/target/debug/deps/libsocket2-2bcf63f009068879.rmeta --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-a5b43eced34587fb.rmeta --extern time=/opt/rustwide/target/debug/deps/libtime-5e13292d1177e88a.rmeta --extern tinyvec=/opt/rustwide/target/debug/deps/libtinyvec-2583def413d04980.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-5f78c768c2150962.rmeta --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-c91ec950c1b51327.rmeta --extern tracing=/opt/rustwide/target/debug/deps/libtracing-5ff29e03346ba12c.rmeta --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-14adb82d0fff9b7e.rmeta --extern unicode_width=/opt/rustwide/target/debug/deps/libunicode_width-d12f1dd14779f44c.rmeta --extern uuid=/opt/rustwide/target/debug/deps/libuuid-8071e7cbb211f8ad.rmeta --extern x25519_dalek=/opt/rustwide/target/debug/deps/libx25519_dalek-79ac50b1276cbedd.rmeta --extern zeroize=/opt/rustwide/target/debug/deps/libzeroize-af3800bb37774007.rmeta --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/ring-9361da87da2c0962/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/tracing/mod.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn timestamp_now() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | #![cfg_attr(not(fuzzing), warn(missing_docs))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/tracing/mod.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/tracing/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/tracing/mod.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn log(&self, _event: Event) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/tracing/mod.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn recent_events(&self, _count: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/tracing/mod.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get_events_by_trace(&self, _trace_id: TraceId) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/tracing/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new(_trace_id: TraceId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/tracing/mod.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn trace_id(&self) -> TraceId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d66f0aea031ad67311feaa82c0a9685be4f8f34de526cb1963f28fad7612f1a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d66f0aea031ad67311feaa82c0a9685be4f8f34de526cb1963f28fad7612f1a6", kill_on_drop: false }` [INFO] [stdout] d66f0aea031ad67311feaa82c0a9685be4f8f34de526cb1963f28fad7612f1a6