[INFO] fetching crate srt-protocol 0.4.4... [INFO] checking srt-protocol-0.4.4 against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] extracting crate srt-protocol 0.4.4 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate srt-protocol 0.4.4 [INFO] finished tweaking crates.io crate srt-protocol 0.4.4 [INFO] tweaked toml for crates.io crate srt-protocol 0.4.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate srt-protocol 0.4.4 on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 143 packages to latest compatible versions [INFO] [stderr] Adding cipher v0.4.4 (available: v0.5.0) [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.1.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding rand v0.8.5 (available: v0.10.0) [INFO] [stderr] Adding rand_distr v0.4.3 (available: v0.5.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.18) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07435e1ac27f1f36b3f9ad033eaa5386a9638f4d1df8d4c3c2cd1687751c5007 [INFO] running `Command { std: "docker" "start" "-a" "07435e1ac27f1f36b3f9ad033eaa5386a9638f4d1df8d4c3c2cd1687751c5007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07435e1ac27f1f36b3f9ad033eaa5386a9638f4d1df8d4c3c2cd1687751c5007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07435e1ac27f1f36b3f9ad033eaa5386a9638f4d1df8d4c3c2cd1687751c5007", kill_on_drop: false }` [INFO] [stdout] 07435e1ac27f1f36b3f9ad033eaa5386a9638f4d1df8d4c3c2cd1687751c5007 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c06fb89e73e5364426790d35a889de4551958f35979a936cdec2876a4550760 [INFO] running `Command { std: "docker" "start" "-a" "9c06fb89e73e5364426790d35a889de4551958f35979a936cdec2876a4550760", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.23 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling libc v0.2.181 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking humantime v2.3.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking take-until v0.2.0 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking keyed_priority_queue v0.4.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking streaming-stats v0.2.3 [INFO] [stderr] Checking tempfile v3.25.0 [INFO] [stderr] Checking rusty-fork v0.3.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking proptest v1.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking srt-protocol v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `SrtUri` is never constructed [INFO] [stdout] --> src/options/uri.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct SrtUri(BindOptions); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SrtUriError` is never used [INFO] [stdout] --> src/options/uri.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum SrtUriError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SrtUrlMode` is never used [INFO] [stdout] --> src/options/uri.rs:117:6 [INFO] [stdout] | [INFO] [stdout] 117 | enum SrtUrlMode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QueryPairs` is never used [INFO] [stdout] --> src/options/uri.rs:124:6 [INFO] [stdout] | [INFO] [stdout] 124 | type QueryPairs<'a> = ( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `parse_query_pairs`, `parse_host`, and `parse_int_param` are never used [INFO] [stdout] --> src/options/uri.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 131 | impl SrtUri { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 132 | fn parse_query_pairs(url: &Url) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | fn parse_host(url: &Url) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 345 | fn parse_int_param(key: &'static str, value: Cow) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `variance` is never read [INFO] [stdout] --> src/protocol/sender/congestion_control.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RateEstimate { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 12 | pub mean: u64, [INFO] [stdout] 13 | pub variance: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateEstimate` 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 `messages` is never read [INFO] [stdout] --> src/protocol/sender/congestion_control.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct InputRateEstimate { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 57 | pub messages: RateEstimate, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputRateEstimate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/connection/mod.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn handle_input(&mut self, now: Instant, input: Input) -> Action { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^ 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn handle_input(&mut self, now: Instant, input: Input) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/connection/mod.rs:394:15 [INFO] [stdout] | [INFO] [stdout] 394 | fn sender(&mut self) -> SenderContext { [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] 394 | fn sender(&mut self) -> SenderContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/connection/mod.rs:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | fn receiver(&mut self) -> ReceiverContext { [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] 404 | fn receiver(&mut self) -> ReceiverContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn handle_input(&mut self, now: Instant, input: Input) -> Action { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^ 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] 39 | pub fn handle_input(&mut self, now: Instant, input: Input) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | fn handle_input_packet(&mut self, now: Instant, packet: ReceivePacketResult) -> Action { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^ 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] 49 | fn handle_input_packet(&mut self, now: Instant, packet: ReceivePacketResult) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 60 | ) -> Action { [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] 60 | ) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | fn handle_packet(&mut self, now: Instant, packet: (Packet, SocketAddr)) -> Action { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^ 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] 69 | fn handle_packet(&mut self, now: Instant, packet: (Packet, SocketAddr)) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | fn handle_packet_receive_error(&mut self, now: Instant, error: ReceivePacketError) -> Action { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^ 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] 80 | fn handle_packet_receive_error(&mut self, now: Instant, error: ReceivePacketError) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 97 | ) -> Action { [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] 97 | ) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | fn handle_timer(&mut self, now: Instant) -> Action { [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] 104 | fn handle_timer(&mut self, now: Instant) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | fn handle_success(&mut self, _now: Instant, result_of: ResultOf) -> Action { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^ 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] 114 | fn handle_success(&mut self, _now: Instant, result_of: ResultOf) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | fn handle_failure(&mut self, now: Instant, result_of: ResultOf) -> Action { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^ 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] 142 | fn handle_failure(&mut self, now: Instant, result_of: ResultOf) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | fn handle_close(&mut self) -> Action { [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] 153 | fn handle_close(&mut self) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/session.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 31 | ) -> Action { [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] 31 | ) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/session.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 49 | ) -> Action { [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] 49 | ) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/session.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 82 | ) -> Action { [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] 82 | ) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/session.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | fn reject(&mut self, session_id: SessionId, packet: Option<(Packet, SocketAddr)>) -> Action { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^ 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] 99 | fn reject(&mut self, session_id: SessionId, packet: Option<(Packet, SocketAddr)>) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/session.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | fn drop(&mut self, session_id: SessionId) -> Action { [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] 106 | fn drop(&mut self, session_id: SessionId) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/session.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 118 | ) -> Action { [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] 118 | ) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/options/uri.rs:132:31 [INFO] [stdout] | [INFO] [stdout] 132 | fn parse_query_pairs(url: &Url) -> Result { [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] 132 | fn parse_query_pairs(url: &Url) -> Result, SrtUriError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/options/validation.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 34 | impl Deref for Valid { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 35 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn into_value(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/options/validation.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 34 | impl Deref for Valid { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 35 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn set(self, set_fn: impl FnOnce(&mut T)) -> Result::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/options/validation.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 34 | impl Deref for Valid { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 35 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn with(self, options: F) -> Result::Error> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/options/validation.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 34 | impl Deref for Valid { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 35 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn with2(self, options1: F1, options2: F2) -> Result::Error> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/options/validation.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 34 | impl Deref for Valid { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 35 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 78 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `srt-protocol` (lib) due to 5 previous errors; 27 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `variance` is never read [INFO] [stdout] --> src/protocol/sender/congestion_control.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct RateEstimate { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 12 | pub mean: u64, [INFO] [stdout] 13 | pub variance: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateEstimate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `messages` is never read [INFO] [stdout] --> src/protocol/sender/congestion_control.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct InputRateEstimate { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 57 | pub messages: RateEstimate, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputRateEstimate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/connection/mod.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn handle_input(&mut self, now: Instant, input: Input) -> Action { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^ 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 135 | pub fn handle_input(&mut self, now: Instant, input: Input) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/connection/mod.rs:394:15 [INFO] [stdout] | [INFO] [stdout] 394 | fn sender(&mut self) -> SenderContext { [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] 394 | fn sender(&mut self) -> SenderContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/connection/mod.rs:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | fn receiver(&mut self) -> ReceiverContext { [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] 404 | fn receiver(&mut self) -> ReceiverContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn handle_input(&mut self, now: Instant, input: Input) -> Action { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^ 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] 39 | pub fn handle_input(&mut self, now: Instant, input: Input) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | fn handle_input_packet(&mut self, now: Instant, packet: ReceivePacketResult) -> Action { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^ 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] 49 | fn handle_input_packet(&mut self, now: Instant, packet: ReceivePacketResult) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 60 | ) -> Action { [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] 60 | ) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | fn handle_packet(&mut self, now: Instant, packet: (Packet, SocketAddr)) -> Action { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^ 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] 69 | fn handle_packet(&mut self, now: Instant, packet: (Packet, SocketAddr)) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:80:36 [INFO] [stdout] | [INFO] [stdout] 80 | fn handle_packet_receive_error(&mut self, now: Instant, error: ReceivePacketError) -> Action { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^ 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] 80 | fn handle_packet_receive_error(&mut self, now: Instant, error: ReceivePacketError) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 97 | ) -> Action { [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] 97 | ) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | fn handle_timer(&mut self, now: Instant) -> Action { [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] 104 | fn handle_timer(&mut self, now: Instant) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:114:23 [INFO] [stdout] | [INFO] [stdout] 114 | fn handle_success(&mut self, _now: Instant, result_of: ResultOf) -> Action { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^ 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] 114 | fn handle_success(&mut self, _now: Instant, result_of: ResultOf) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | fn handle_failure(&mut self, now: Instant, result_of: ResultOf) -> Action { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^ 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] 142 | fn handle_failure(&mut self, now: Instant, result_of: ResultOf) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/mod.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | fn handle_close(&mut self) -> Action { [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] 153 | fn handle_close(&mut self) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/session.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 31 | ) -> Action { [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] 31 | ) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/session.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 49 | ) -> Action { [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] 49 | ) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/session.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 82 | ) -> Action { [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] 82 | ) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/session.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | fn reject(&mut self, session_id: SessionId, packet: Option<(Packet, SocketAddr)>) -> Action { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^ 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] 99 | fn reject(&mut self, session_id: SessionId, packet: Option<(Packet, SocketAddr)>) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/session.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | fn drop(&mut self, session_id: SessionId) -> Action { [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] 106 | fn drop(&mut self, session_id: SessionId) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/listener/session.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 118 | ) -> Action { [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] 118 | ) -> Action<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/options/uri.rs:132:31 [INFO] [stdout] | [INFO] [stdout] 132 | fn parse_query_pairs(url: &Url) -> Result { [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] 132 | fn parse_query_pairs(url: &Url) -> Result, SrtUriError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/options/validation.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 34 | impl Deref for Valid { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 35 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn into_value(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/options/validation.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 34 | impl Deref for Valid { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 35 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn set(self, set_fn: impl FnOnce(&mut T)) -> Result::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/options/validation.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 34 | impl Deref for Valid { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 35 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn with(self, options: F) -> Result::Error> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/options/validation.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 34 | impl Deref for Valid { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 35 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn with2(self, options1: F1, options2: F2) -> Result::Error> [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/options/validation.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 34 | impl Deref for Valid { [INFO] [stdout] | -------------------------------------- trait implemented here [INFO] [stdout] 35 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] ... [INFO] [stdout] 78 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `srt-protocol` (lib test) due to 5 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9c06fb89e73e5364426790d35a889de4551958f35979a936cdec2876a4550760", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c06fb89e73e5364426790d35a889de4551958f35979a936cdec2876a4550760", kill_on_drop: false }` [INFO] [stdout] 9c06fb89e73e5364426790d35a889de4551958f35979a936cdec2876a4550760