[INFO] cloning repository https://github.com/gkbrk/rustls-async-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gkbrk/rustls-async-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgkbrk%2Frustls-async-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgkbrk%2Frustls-async-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f9866b7512a49435fb1af115891ff96f678841ed [INFO] checking gkbrk/rustls-async-test against try#fafe42c59556a4233f03dd0d900b575a9afeece8 for pr-143764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgkbrk%2Frustls-async-test" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gkbrk/rustls-async-test [INFO] finished tweaking git repo https://github.com/gkbrk/rustls-async-test [INFO] tweaked toml for git repo https://github.com/gkbrk/rustls-async-test written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gkbrk/rustls-async-test on toolchain fafe42c59556a4233f03dd0d900b575a9afeece8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gkbrk/rustls-async-test 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" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded json v0.12.4 [INFO] [stderr] Downloaded webpki-roots v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c98e421af8cf92b71ef8d367432c3356ce5dd8fbbbb5059986ae22229f94cae0 [INFO] running `Command { std: "docker" "start" "-a" "c98e421af8cf92b71ef8d367432c3356ce5dd8fbbbb5059986ae22229f94cae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c98e421af8cf92b71ef8d367432c3356ce5dd8fbbbb5059986ae22229f94cae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c98e421af8cf92b71ef8d367432c3356ce5dd8fbbbb5059986ae22229f94cae0", kill_on_drop: false }` [INFO] [stdout] c98e421af8cf92b71ef8d367432c3356ce5dd8fbbbb5059986ae22229f94cae0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd92d626ed9b357722d8b428d47e83336e68226d60d87f673296130871d14021 [INFO] running `Command { std: "docker" "start" "-a" "dd92d626ed9b357722d8b428d47e83336e68226d60d87f673296130871d14021", kill_on_drop: false }` [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling aws-lc-rs v1.13.1 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking webpki-roots v1.0.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling aws-lc-sys v0.29.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking rustls-webpki v0.103.3 [INFO] [stderr] Checking rustls-async-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/metrics.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let y = self.buf.write(&read_buf[..n])?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/metrics.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let y = self.buf.write(&read_buf[..n])?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/metrics.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 208 | / loop { [INFO] [stdout] 209 | | if let Err(x) = leo_async::fd_wait_readable(&socket).await { [INFO] [stdout] 210 | | error!("fd_wait_readable failed: {}", x); [INFO] [stdout] 211 | | continue; [INFO] [stdout] ... | [INFO] [stdout] 229 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 230 | [INFO] [stdout] 231 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/metrics.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 208 | / loop { [INFO] [stdout] 209 | | if let Err(x) = leo_async::fd_wait_readable(&socket).await { [INFO] [stdout] 210 | | error!("fd_wait_readable failed: {}", x); [INFO] [stdout] 211 | | continue; [INFO] [stdout] ... | [INFO] [stdout] 229 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 230 | [INFO] [stdout] 231 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fd_check_nonblocking` is never used [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn fd_check_nonblocking(fd: &ArcFd) -> DSSResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fd_check_nonblocking` is never used [INFO] [stdout] --> src/main.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn fd_check_nonblocking(fd: &ArcFd) -> DSSResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rsv1`, `rsv2`, `rsv3`, and `mask` are never read [INFO] [stdout] --> src/main.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 325 | struct WebsocketFrameHeader { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 326 | pub fin: bool, [INFO] [stdout] 327 | pub rsv1: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 328 | pub rsv2: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 329 | pub rsv3: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 330 | pub opcode: u8, [INFO] [stdout] 331 | pub mask: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebsocketFrameHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `modify`, `set`, and `replace` are never used [INFO] [stdout] --> src/cowboy.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Cowboy { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn modify(&self, f: F) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn set(&self, value: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn replace(&self, value: T) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_cloned` is never used [INFO] [stdout] --> src/cowboy.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Cowboy { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 58 | pub fn get_cloned(&self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rsv1`, `rsv2`, `rsv3`, and `mask` are never read [INFO] [stdout] --> src/main.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 325 | struct WebsocketFrameHeader { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 326 | pub fin: bool, [INFO] [stdout] 327 | pub rsv1: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 328 | pub rsv2: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 329 | pub rsv3: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 330 | pub opcode: u8, [INFO] [stdout] 331 | pub mask: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WebsocketFrameHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Join2Futures` is never constructed [INFO] [stdout] --> src/leo_async/mod.rs:761:8 [INFO] [stdout] | [INFO] [stdout] 761 | struct Join2Futures [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `join2` is never used [INFO] [stdout] --> src/leo_async/mod.rs:809:15 [INFO] [stdout] | [INFO] [stdout] 809 | pub(super) fn join2(future1: F1, future2: F2) -> impl Future [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fused` is never used [INFO] [stdout] --> src/leo_async/mod.rs:983:15 [INFO] [stdout] | [INFO] [stdout] 983 | pub(super) fn fused(future: impl Future + Unpin) -> impl Future { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `modify`, `set`, and `replace` are never used [INFO] [stdout] --> src/cowboy.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Cowboy { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn modify(&self, f: F) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn set(&self, value: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn replace(&self, value: T) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_nodelay` is never used [INFO] [stdout] --> src/leo_async/mod.rs:518:12 [INFO] [stdout] | [INFO] [stdout] 518 | pub fn set_nodelay(fd: &ArcFd) -> DSSResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEBUG_ENABLED` is never used [INFO] [stdout] --> src/log.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | pub(super) const DEBUG_ENABLED: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_cloned` is never used [INFO] [stdout] --> src/cowboy.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Cowboy { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] 58 | pub fn get_cloned(&self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/metrics.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) trait AtomicU64Metric { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 15 | fn get(&self) -> u64; [INFO] [stdout] 16 | fn set(&self, n: u64); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Join2Futures` is never constructed [INFO] [stdout] --> src/leo_async/mod.rs:761:8 [INFO] [stdout] | [INFO] [stdout] 761 | struct Join2Futures [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/metrics.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl AsyncBufWriter { [INFO] [stdout] | ------------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | fn write(&mut self, buf: &[u8]) -> DSSResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `join2` is never used [INFO] [stdout] --> src/leo_async/mod.rs:809:15 [INFO] [stdout] | [INFO] [stdout] 809 | pub(super) fn join2(future1: F1, future2: F2) -> impl Future [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fused` is never used [INFO] [stdout] --> src/leo_async/mod.rs:983:15 [INFO] [stdout] | [INFO] [stdout] 983 | pub(super) fn fused(future: impl Future + Unpin) -> impl Future { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_nodelay` is never used [INFO] [stdout] --> src/leo_async/mod.rs:518:12 [INFO] [stdout] | [INFO] [stdout] 518 | pub fn set_nodelay(fd: &ArcFd) -> DSSResult<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEBUG_ENABLED` is never used [INFO] [stdout] --> src/log.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | pub(super) const DEBUG_ENABLED: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/metrics.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) trait AtomicU64Metric { [INFO] [stdout] | --------------- method in this trait [INFO] [stdout] 15 | fn get(&self) -> u64; [INFO] [stdout] 16 | fn set(&self, n: u64); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/metrics.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 121 | impl AsyncBufWriter { [INFO] [stdout] | ------------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | fn write(&mut self, buf: &[u8]) -> DSSResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cowboy.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn read(&self) -> std::sync::RwLockReadGuard { [INFO] [stdout] | ^^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn read(&self) -> std::sync::RwLockReadGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cowboy.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn write(&self) -> std::sync::RwLockWriteGuard { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 18 | pub fn write(&self) -> std::sync::RwLockWriteGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cowboy.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn r(&self) -> std::sync::RwLockReadGuard { [INFO] [stdout] | ^^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn r(&self) -> std::sync::RwLockReadGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cowboy.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn read(&self) -> std::sync::RwLockReadGuard { [INFO] [stdout] | ^^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn read(&self) -> std::sync::RwLockReadGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cowboy.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn w(&self) -> std::sync::RwLockWriteGuard { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn w(&self) -> std::sync::RwLockWriteGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cowboy.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn write(&self) -> std::sync::RwLockWriteGuard { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 18 | pub fn write(&self) -> std::sync::RwLockWriteGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cowboy.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn r(&self) -> std::sync::RwLockReadGuard { [INFO] [stdout] | ^^^^^ ----------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn r(&self) -> std::sync::RwLockReadGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/cowboy.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn w(&self) -> std::sync::RwLockWriteGuard { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 26 | pub fn w(&self) -> std::sync::RwLockWriteGuard<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.00s [INFO] running `Command { std: "docker" "inspect" "dd92d626ed9b357722d8b428d47e83336e68226d60d87f673296130871d14021", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd92d626ed9b357722d8b428d47e83336e68226d60d87f673296130871d14021", kill_on_drop: false }` [INFO] [stdout] dd92d626ed9b357722d8b428d47e83336e68226d60d87f673296130871d14021