[INFO] fetching crate hreq-h2 0.2.7... [INFO] testing hreq-h2-0.2.7 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate hreq-h2 0.2.7 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate hreq-h2 0.2.7 [INFO] finished tweaking crates.io crate hreq-h2 0.2.7 [INFO] tweaked toml for crates.io crate hreq-h2 0.2.7 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hreq-h2 0.2.7 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hreq-h2 0.2.7 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.62 [INFO] [stderr] Downloaded webpki v0.21.2 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.62 [INFO] [stderr] Downloaded hex v0.2.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.62 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.62 [INFO] [stderr] Downloaded quickcheck v0.4.1 [INFO] [stderr] Downloaded tokio-rustls v0.12.3 [INFO] [stderr] Downloaded js-sys v0.3.39 [INFO] [stderr] Downloaded proc-macro2 v1.0.15 [INFO] [stderr] Downloaded bumpalo v3.3.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.62 [INFO] [stderr] Downloaded syn v1.0.23 [INFO] [stderr] Downloaded web-sys v0.3.39 [INFO] [stderr] Downloaded ring v0.16.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d8ef818771ba854da7af575cb2b267fbbe765f6a1cdf2538a22dd6e0a4e3bc9 [INFO] running `Command { std: "docker" "start" "-a" "4d8ef818771ba854da7af575cb2b267fbbe765f6a1cdf2538a22dd6e0a4e3bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d8ef818771ba854da7af575cb2b267fbbe765f6a1cdf2538a22dd6e0a4e3bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d8ef818771ba854da7af575cb2b267fbbe765f6a1cdf2538a22dd6e0a4e3bc9", kill_on_drop: false }` [INFO] [stdout] 4d8ef818771ba854da7af575cb2b267fbbe765f6a1cdf2538a22dd6e0a4e3bc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d9b1b101304389d2e20f1a42bcbd124478b34e303aa121717d0428aa39d57b21 [INFO] running `Command { std: "docker" "start" "-a" "d9b1b101304389d2e20f1a42bcbd124478b34e303aa121717d0428aa39d57b21", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.15 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.23 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling pin-project v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling hreq-h2 v0.2.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: named argument `flow` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 270 | "recv_stream_window_update; stream={:?}; state={:?}; inc={}; flow={:?}", [INFO] [stdout] | ---- this formatting argument uses named argument `flow` by position [INFO] [stdout] ... [INFO] [stdout] 274 | flow = stream.send_flow [INFO] [stdout] | ^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(named_arguments_used_positionally)]` on by default [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 270 | "recv_stream_window_update; stream={:?}; state={:?}; inc={}; flow={flow:?}", [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `buffered` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 387 | "try_assign_capacity; stream={:?}, requested={}; additional={}; buffered={}; window={}; conn={}", [INFO] [stdout] | -- this formatting argument uses named argument `buffered` by position [INFO] [stdout] ... [INFO] [stdout] 391 | buffered = stream.buffered_send_data, [INFO] [stdout] | ^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 387 | "try_assign_capacity; stream={:?}, requested={}; additional={}; buffered={buffered}; window={}; conn={}", [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `window` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 387 | "try_assign_capacity; stream={:?}, requested={}; additional={}; buffered={}; window={}; conn={}", [INFO] [stdout] | -- this formatting argument uses named argument `window` by position [INFO] [stdout] ... [INFO] [stdout] 392 | window = stream.send_flow.window_size(), [INFO] [stdout] | ^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 387 | "try_assign_capacity; stream={:?}, requested={}; additional={}; buffered={}; window={window}; conn={}", [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `conn` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 387 | "try_assign_capacity; stream={:?}, requested={}; additional={}; buffered={}; window={}; conn={}", [INFO] [stdout] | -- this formatting argument uses named argument `conn` by position [INFO] [stdout] ... [INFO] [stdout] 393 | conn = self.flow.available() [INFO] [stdout] | ^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 387 | "try_assign_capacity; stream={:?}, requested={}; additional={}; buffered={}; window={}; conn={conn}", [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `eos` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:683:33 [INFO] [stdout] | [INFO] [stdout] 679 | ... " --> data frame; stream={:?}; sz={}; eos={:?}; window={}; \ [INFO] [stdout] | ---- this formatting argument uses named argument `eos` by position [INFO] [stdout] ... [INFO] [stdout] 683 | ... eos = frame.is_end_stream(), [INFO] [stdout] | ^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 679 | " --> data frame; stream={:?}; sz={}; eos={eos:?}; window={}; \ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `window` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:684:33 [INFO] [stdout] | [INFO] [stdout] 679 | ... " --> data frame; stream={:?}; sz={}; eos={:?}; window={}; \ [INFO] [stdout] | -- this formatting argument uses named argument `window` by position [INFO] [stdout] ... [INFO] [stdout] 684 | ... window = stream_capacity, [INFO] [stdout] | ^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 679 | " --> data frame; stream={:?}; sz={}; eos={:?}; window={window}; \ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `available` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:685:33 [INFO] [stdout] | [INFO] [stdout] 680 | ... available={}; requested={}; buffered={};", [INFO] [stdout] | -- this formatting argument uses named argument `available` by position [INFO] [stdout] ... [INFO] [stdout] 685 | ... available = stream.send_flow.available(), [INFO] [stdout] | ^^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 680 | available={available}; requested={}; buffered={};", [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `requested` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:686:33 [INFO] [stdout] | [INFO] [stdout] 680 | ... available={}; requested={}; buffered={};", [INFO] [stdout] | -- this formatting argument uses named argument `requested` by position [INFO] [stdout] ... [INFO] [stdout] 686 | ... requested = stream.requested_send_capacity, [INFO] [stdout] | ^^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 680 | available={}; requested={requested}; buffered={};", [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `buffered` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:687:33 [INFO] [stdout] | [INFO] [stdout] 680 | ... available={}; requested={}; buffered={};", [INFO] [stdout] | -- this formatting argument uses named argument `buffered` by position [INFO] [stdout] ... [INFO] [stdout] 687 | ... buffered = stream.buffered_send_data, [INFO] [stdout] | ^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 680 | available={}; requested={}; buffered={buffered};", [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::bytes_codec::BytesCodec` [INFO] [stdout] --> src/tokio_codec/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use self::bytes_codec::BytesCodec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FramedParts` [INFO] [stdout] --> src/tokio_codec/mod.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | pub use self::framed::{Framed, FramedParts}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LinesCodecError` and `LinesCodec` [INFO] [stdout] --> src/tokio_codec/mod.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | pub use self::lines_codec::{LinesCodec, LinesCodecError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAX_INITIAL_WINDOW_SIZE` [INFO] [stdout] --> src/frame/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | MAX_INITIAL_WINDOW_SIZE, MAX_MAX_FRAME_SIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/server.rs:1356:10 [INFO] [stdout] | [INFO] [stdout] 1356 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_escape]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/frame/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[macro_escape] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/proto/ping_pong.rs:214:33 [INFO] [stdout] | [INFO] [stdout] 214 | let prev = self.0.state.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/proto/ping_pong.rs:237:33 [INFO] [stdout] | [INFO] [stdout] 237 | let prev = self.0.state.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/proto/ping_pong.rs:255:33 [INFO] [stdout] | [INFO] [stdout] 255 | let prev = self.0.state.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `NAME` is never used [INFO] [stdout] --> src/proto/peer.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) trait Peer { [INFO] [stdout] | ---- associated constant in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | const NAME: &'static str; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Indices` is never constructed [INFO] [stdout] --> src/proto/streams/recv.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | struct Indices { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Indices` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hpack/header.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn name(&self) -> Name { [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] 112 | pub fn name(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proto/streams/store.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | fn resolve(&mut self, key: Key) -> Ptr; [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] 78 | fn resolve(&mut self, key: Key) -> Ptr<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proto/streams/store.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn find_mut(&mut self, id: &StreamId) -> Option { [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] 91 | pub fn find_mut(&mut self, id: &StreamId) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proto/streams/store.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn insert(&mut self, id: StreamId, val: Stream) -> Ptr { [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] 106 | pub fn insert(&mut self, id: StreamId, val: Stream) -> Ptr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proto/streams/store.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn find_entry(&mut self, id: StreamId) -> Entry { [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] 119 | pub fn find_entry(&mut self, id: StreamId) -> Entry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proto/streams/store.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | fn resolve(&mut self, key: Key) -> Ptr { [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] 166 | fn resolve(&mut self, key: Key) -> Ptr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proto/streams/store.rs:357:16 [INFO] [stdout] | [INFO] [stdout] 357 | fn resolve(&mut self, key: Key) -> Ptr { [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] 357 | fn resolve(&mut self, key: Key) -> Ptr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tokio_codec/framed_impl.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pin_project! { [INFO] [stdout] 17 | | #[derive(Debug)] [INFO] [stdout] 18 | | pub(crate) struct FramedImpl { [INFO] [stdout] 19 | | #[pin] [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::pin_project` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tokio_codec/framed.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pin_project! { [INFO] [stdout] 17 | | /// A unified [`Stream`] and [`Sink`] interface to an underlying I/O object, using [INFO] [stdout] 18 | | /// the `Encoder` and `Decoder` traits to encode and decode frames. [INFO] [stdout] 19 | | /// [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::pin_project` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tokio_codec/framed_read.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / pin_project! { [INFO] [stdout] 15 | | /// A [`Stream`] of messages decoded from an [`AsyncRead`]. [INFO] [stdout] 16 | | /// [INFO] [stdout] 17 | | /// [`Stream`]: tokio::stream::Stream [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::pin_project` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tokio_codec/framed_write.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / pin_project! { [INFO] [stdout] 15 | | /// A [`Sink`] of frames encoded to an `AsyncWrite`. [INFO] [stdout] 16 | | /// [INFO] [stdout] 17 | | /// [`Sink`]: futures_sink::Sink [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::pin_project` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.88s [INFO] running `Command { std: "docker" "inspect" "d9b1b101304389d2e20f1a42bcbd124478b34e303aa121717d0428aa39d57b21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9b1b101304389d2e20f1a42bcbd124478b34e303aa121717d0428aa39d57b21", kill_on_drop: false }` [INFO] [stdout] d9b1b101304389d2e20f1a42bcbd124478b34e303aa121717d0428aa39d57b21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 73030d339b5c73b05f9579fe1686a42b1e0b845aa0fab6245a446c11186153c3 [INFO] running `Command { std: "docker" "start" "-a" "73030d339b5c73b05f9579fe1686a42b1e0b845aa0fab6245a446c11186153c3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stdout] warning: named argument `flow` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 270 | "recv_stream_window_update; stream={:?}; state={:?}; inc={}; flow={:?}", [INFO] [stdout] | ---- this formatting argument uses named argument `flow` by position [INFO] [stdout] ... [INFO] [stdout] 274 | flow = stream.send_flow [INFO] [stdout] | ^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(named_arguments_used_positionally)]` on by default [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 270 | "recv_stream_window_update; stream={:?}; state={:?}; inc={}; flow={flow:?}", [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `buffered` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 387 | "try_assign_capacity; stream={:?}, requested={}; additional={}; buffered={}; window={}; conn={}", [INFO] [stdout] | -- this formatting argument uses named argument `buffered` by position [INFO] [stdout] ... [INFO] [stdout] 391 | buffered = stream.buffered_send_data, [INFO] [stdout] | ^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 387 | "try_assign_capacity; stream={:?}, requested={}; additional={}; buffered={buffered}; window={}; conn={}", [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `window` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 387 | "try_assign_capacity; stream={:?}, requested={}; additional={}; buffered={}; window={}; conn={}", [INFO] [stdout] | -- this formatting argument uses named argument `window` by position [INFO] [stdout] ... [INFO] [stdout] 392 | window = stream.send_flow.window_size(), [INFO] [stdout] | ^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 387 | "try_assign_capacity; stream={:?}, requested={}; additional={}; buffered={}; window={window}; conn={}", [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `conn` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 387 | "try_assign_capacity; stream={:?}, requested={}; additional={}; buffered={}; window={}; conn={}", [INFO] [stdout] | -- this formatting argument uses named argument `conn` by position [INFO] [stdout] ... [INFO] [stdout] 393 | conn = self.flow.available() [INFO] [stdout] | ^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 387 | "try_assign_capacity; stream={:?}, requested={}; additional={}; buffered={}; window={}; conn={conn}", [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `eos` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:683:33 [INFO] [stdout] | [INFO] [stdout] 679 | ... " --> data frame; stream={:?}; sz={}; eos={:?}; window={}; \ [INFO] [stdout] | ---- this formatting argument uses named argument `eos` by position [INFO] [stdout] ... [INFO] [stdout] 683 | ... eos = frame.is_end_stream(), [INFO] [stdout] | ^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 679 | " --> data frame; stream={:?}; sz={}; eos={eos:?}; window={}; \ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `window` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:684:33 [INFO] [stdout] | [INFO] [stdout] 679 | ... " --> data frame; stream={:?}; sz={}; eos={:?}; window={}; \ [INFO] [stdout] | -- this formatting argument uses named argument `window` by position [INFO] [stdout] ... [INFO] [stdout] 684 | ... window = stream_capacity, [INFO] [stdout] | ^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 679 | " --> data frame; stream={:?}; sz={}; eos={:?}; window={window}; \ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `available` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:685:33 [INFO] [stdout] | [INFO] [stdout] 680 | ... available={}; requested={}; buffered={};", [INFO] [stdout] | -- this formatting argument uses named argument `available` by position [INFO] [stdout] ... [INFO] [stdout] 685 | ... available = stream.send_flow.available(), [INFO] [stdout] | ^^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 680 | available={available}; requested={}; buffered={};", [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `requested` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:686:33 [INFO] [stdout] | [INFO] [stdout] 680 | ... available={}; requested={}; buffered={};", [INFO] [stdout] | -- this formatting argument uses named argument `requested` by position [INFO] [stdout] ... [INFO] [stdout] 686 | ... requested = stream.requested_send_capacity, [INFO] [stdout] | ^^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 680 | available={}; requested={requested}; buffered={};", [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `buffered` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:687:33 [INFO] [stdout] | [INFO] [stdout] 680 | ... available={}; requested={}; buffered={};", [INFO] [stdout] | -- this formatting argument uses named argument `buffered` by position [INFO] [stdout] ... [INFO] [stdout] 687 | ... buffered = stream.buffered_send_data, [INFO] [stdout] | ^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 680 | available={}; requested={}; buffered={buffered};", [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::bytes_codec::BytesCodec` [INFO] [stdout] --> src/tokio_codec/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use self::bytes_codec::BytesCodec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FramedParts` [INFO] [stdout] --> src/tokio_codec/mod.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | pub use self::framed::{Framed, FramedParts}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LinesCodecError` and `LinesCodec` [INFO] [stdout] --> src/tokio_codec/mod.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | pub use self::lines_codec::{LinesCodec, LinesCodecError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MAX_INITIAL_WINDOW_SIZE` [INFO] [stdout] --> src/frame/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | MAX_INITIAL_WINDOW_SIZE, MAX_MAX_FRAME_SIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/server.rs:1356:10 [INFO] [stdout] | [INFO] [stdout] 1356 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_escape]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/frame/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[macro_escape] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/proto/ping_pong.rs:214:33 [INFO] [stdout] | [INFO] [stdout] 214 | let prev = self.0.state.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/proto/ping_pong.rs:237:33 [INFO] [stdout] | [INFO] [stdout] 237 | let prev = self.0.state.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/proto/ping_pong.rs:255:33 [INFO] [stdout] | [INFO] [stdout] 255 | let prev = self.0.state.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `NAME` is never used [INFO] [stdout] --> src/proto/peer.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) trait Peer { [INFO] [stdout] | ---- associated constant in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | const NAME: &'static str; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Indices` is never constructed [INFO] [stdout] --> src/proto/streams/recv.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | struct Indices { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Indices` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hpack/header.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn name(&self) -> Name { [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] 112 | pub fn name(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proto/streams/store.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | fn resolve(&mut self, key: Key) -> Ptr; [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] 78 | fn resolve(&mut self, key: Key) -> Ptr<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proto/streams/store.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn find_mut(&mut self, id: &StreamId) -> Option { [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] 91 | pub fn find_mut(&mut self, id: &StreamId) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proto/streams/store.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn insert(&mut self, id: StreamId, val: Stream) -> Ptr { [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] 106 | pub fn insert(&mut self, id: StreamId, val: Stream) -> Ptr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proto/streams/store.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn find_entry(&mut self, id: StreamId) -> Entry { [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] 119 | pub fn find_entry(&mut self, id: StreamId) -> Entry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proto/streams/store.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | fn resolve(&mut self, key: Key) -> Ptr { [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] 166 | fn resolve(&mut self, key: Key) -> Ptr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proto/streams/store.rs:357:16 [INFO] [stdout] | [INFO] [stdout] 357 | fn resolve(&mut self, key: Key) -> Ptr { [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] 357 | fn resolve(&mut self, key: Key) -> Ptr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tokio_codec/framed_impl.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pin_project! { [INFO] [stdout] 17 | | #[derive(Debug)] [INFO] [stdout] 18 | | pub(crate) struct FramedImpl { [INFO] [stdout] 19 | | #[pin] [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::pin_project` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tokio_codec/framed.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pin_project! { [INFO] [stdout] 17 | | /// A unified [`Stream`] and [`Sink`] interface to an underlying I/O object, using [INFO] [stdout] 18 | | /// the `Encoder` and `Decoder` traits to encode and decode frames. [INFO] [stdout] 19 | | /// [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::pin_project` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tokio_codec/framed_read.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / pin_project! { [INFO] [stdout] 15 | | /// A [`Stream`] of messages decoded from an [`AsyncRead`]. [INFO] [stdout] 16 | | /// [INFO] [stdout] 17 | | /// [`Stream`]: tokio::stream::Stream [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::pin_project` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tokio_codec/framed_write.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / pin_project! { [INFO] [stdout] 15 | | /// A [`Sink`] of frames encoded to an `AsyncWrite`. [INFO] [stdout] 16 | | /// [INFO] [stdout] 17 | | /// [`Sink`]: futures_sink::Sink [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::pin_project` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling ring v0.16.13 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling quickcheck v0.4.1 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling webpki v0.21.2 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling webpki-roots v0.17.0 [INFO] [stderr] Compiling tokio-rustls v0.12.3 [INFO] [stderr] Compiling hreq-h2 v0.2.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `h2` [INFO] [stdout] --> examples/akamai.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use h2::client; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `h2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `h2`, use `cargo add h2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `h2` [INFO] [stdout] --> examples/server.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use h2::server; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `h2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `h2`, use `cargo add h2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `h2` [INFO] [stdout] --> examples/client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use h2::client; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `h2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `h2`, use `cargo add h2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hreq-h2` (example "akamai") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hreq-h2` (example "client") due to 1 previous error [INFO] [stderr] error: could not compile `hreq-h2` (example "server") due to 1 previous error [INFO] [stdout] error: named argument `flow` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 270 | "recv_stream_window_update; stream={:?}; state={:?}; inc={}; flow={:?}", [INFO] [stdout] | ---- this formatting argument uses named argument `flow` by position [INFO] [stdout] ... [INFO] [stdout] 274 | flow = stream.send_flow [INFO] [stdout] | ^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(named_arguments_used_positionally)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 270 | "recv_stream_window_update; stream={:?}; state={:?}; inc={}; flow={flow:?}", [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: named argument `buffered` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 387 | "try_assign_capacity; stream={:?}, requested={}; additional={}; buffered={}; window={}; conn={}", [INFO] [stdout] | -- this formatting argument uses named argument `buffered` by position [INFO] [stdout] ... [INFO] [stdout] 391 | buffered = stream.buffered_send_data, [INFO] [stdout] | ^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 387 | "try_assign_capacity; stream={:?}, requested={}; additional={}; buffered={buffered}; window={}; conn={}", [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: named argument `window` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 387 | "try_assign_capacity; stream={:?}, requested={}; additional={}; buffered={}; window={}; conn={}", [INFO] [stdout] | -- this formatting argument uses named argument `window` by position [INFO] [stdout] ... [INFO] [stdout] 392 | window = stream.send_flow.window_size(), [INFO] [stdout] | ^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 387 | "try_assign_capacity; stream={:?}, requested={}; additional={}; buffered={}; window={window}; conn={}", [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: named argument `conn` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 387 | "try_assign_capacity; stream={:?}, requested={}; additional={}; buffered={}; window={}; conn={}", [INFO] [stdout] | -- this formatting argument uses named argument `conn` by position [INFO] [stdout] ... [INFO] [stdout] 393 | conn = self.flow.available() [INFO] [stdout] | ^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 387 | "try_assign_capacity; stream={:?}, requested={}; additional={}; buffered={}; window={}; conn={conn}", [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: named argument `eos` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:683:33 [INFO] [stdout] | [INFO] [stdout] 679 | ... " --> data frame; stream={:?}; sz={}; eos={:?}; window={}; \ [INFO] [stdout] | ---- this formatting argument uses named argument `eos` by position [INFO] [stdout] ... [INFO] [stdout] 683 | ... eos = frame.is_end_stream(), [INFO] [stdout] | ^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 679 | " --> data frame; stream={:?}; sz={}; eos={eos:?}; window={}; \ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: named argument `window` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:684:33 [INFO] [stdout] | [INFO] [stdout] 679 | ... " --> data frame; stream={:?}; sz={}; eos={:?}; window={}; \ [INFO] [stdout] | -- this formatting argument uses named argument `window` by position [INFO] [stdout] ... [INFO] [stdout] 684 | ... window = stream_capacity, [INFO] [stdout] | ^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 679 | " --> data frame; stream={:?}; sz={}; eos={:?}; window={window}; \ [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: named argument `available` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:685:33 [INFO] [stdout] | [INFO] [stdout] 680 | ... available={}; requested={}; buffered={};", [INFO] [stdout] | -- this formatting argument uses named argument `available` by position [INFO] [stdout] ... [INFO] [stdout] 685 | ... available = stream.send_flow.available(), [INFO] [stdout] | ^^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 680 | available={available}; requested={}; buffered={};", [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: named argument `requested` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:686:33 [INFO] [stdout] | [INFO] [stdout] 680 | ... available={}; requested={}; buffered={};", [INFO] [stdout] | -- this formatting argument uses named argument `requested` by position [INFO] [stdout] ... [INFO] [stdout] 686 | ... requested = stream.requested_send_capacity, [INFO] [stdout] | ^^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 680 | available={}; requested={requested}; buffered={};", [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: named argument `buffered` is not used by name [INFO] [stdout] --> src/proto/streams/prioritize.rs:687:33 [INFO] [stdout] | [INFO] [stdout] 680 | ... available={}; requested={}; buffered={};", [INFO] [stdout] | -- this formatting argument uses named argument `buffered` by position [INFO] [stdout] ... [INFO] [stdout] 687 | ... buffered = stream.buffered_send_data, [INFO] [stdout] | ^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 680 | available={}; requested={}; buffered={buffered};", [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `self::bytes_codec::BytesCodec` [INFO] [stdout] --> src/tokio_codec/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub use self::bytes_codec::BytesCodec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `FramedParts` [INFO] [stdout] --> src/tokio_codec/mod.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | pub use self::framed::{Framed, FramedParts}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused imports: `LinesCodecError` and `LinesCodec` [INFO] [stdout] --> src/tokio_codec/mod.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | pub use self::lines_codec::{LinesCodec, LinesCodecError}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `MAX_INITIAL_WINDOW_SIZE` [INFO] [stdout] --> src/frame/mod.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | MAX_INITIAL_WINDOW_SIZE, MAX_MAX_FRAME_SIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/server.rs:1356:10 [INFO] [stdout] | [INFO] [stdout] 1356 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(redundant_semicolons)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[macro_escape]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/frame/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[macro_escape] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_attributes)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/proto/ping_pong.rs:214:33 [INFO] [stdout] | [INFO] [stdout] 214 | let prev = self.0.state.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/proto/ping_pong.rs:237:33 [INFO] [stdout] | [INFO] [stdout] 237 | let prev = self.0.state.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/proto/ping_pong.rs:255:33 [INFO] [stdout] | [INFO] [stdout] 255 | let prev = self.0.state.compare_and_swap( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: fields `seed` and `reduced` are never read [INFO] [stdout] --> src/hpack/test/fuzz.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 38 | struct FuzzHpack { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 39 | // The magic seed that makes the test case reproducible [INFO] [stdout] 40 | seed: [usize; 4], [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | reduced: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuzzHpack` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated constant `NAME` is never used [INFO] [stdout] --> src/proto/peer.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) trait Peer { [INFO] [stdout] | ---- associated constant in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | const NAME: &'static str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `Indices` is never constructed [INFO] [stdout] --> src/proto/streams/recv.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | struct Indices { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Indices` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hpack/header.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn name(&self) -> Name { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn name(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proto/streams/store.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | fn resolve(&mut self, key: Key) -> Ptr; [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] 78 | fn resolve(&mut self, key: Key) -> Ptr<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proto/streams/store.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn find_mut(&mut self, id: &StreamId) -> Option { [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] 91 | pub fn find_mut(&mut self, id: &StreamId) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proto/streams/store.rs:106:19 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn insert(&mut self, id: StreamId, val: Stream) -> Ptr { [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] 106 | pub fn insert(&mut self, id: StreamId, val: Stream) -> Ptr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proto/streams/store.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn find_entry(&mut self, id: StreamId) -> Entry { [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] 119 | pub fn find_entry(&mut self, id: StreamId) -> Entry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proto/streams/store.rs:166:16 [INFO] [stdout] | [INFO] [stdout] 166 | fn resolve(&mut self, key: Key) -> Ptr { [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] 166 | fn resolve(&mut self, key: Key) -> Ptr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/proto/streams/store.rs:357:16 [INFO] [stdout] | [INFO] [stdout] 357 | fn resolve(&mut self, key: Key) -> Ptr { [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] 357 | fn resolve(&mut self, key: Key) -> Ptr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused borrow that must be used [INFO] [stdout] --> src/tokio_codec/framed_impl.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pin_project! { [INFO] [stdout] 17 | | #[derive(Debug)] [INFO] [stdout] 18 | | pub(crate) struct FramedImpl { [INFO] [stdout] 19 | | #[pin] [INFO] [stdout] ... | [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_must_use)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the macro `$crate::pin_project` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused borrow that must be used [INFO] [stdout] --> src/tokio_codec/framed.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / pin_project! { [INFO] [stdout] 17 | | /// A unified [`Stream`] and [`Sink`] interface to an underlying I/O object, using [INFO] [stdout] 18 | | /// the `Encoder` and `Decoder` traits to encode and decode frames. [INFO] [stdout] 19 | | /// [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] | |_^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::pin_project` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused borrow that must be used [INFO] [stdout] --> src/tokio_codec/framed_read.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / pin_project! { [INFO] [stdout] 15 | | /// A [`Stream`] of messages decoded from an [`AsyncRead`]. [INFO] [stdout] 16 | | /// [INFO] [stdout] 17 | | /// [`Stream`]: tokio::stream::Stream [INFO] [stdout] ... | [INFO] [stdout] 23 | | } [INFO] [stdout] | |_^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::pin_project` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused borrow that must be used [INFO] [stdout] --> src/tokio_codec/framed_write.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / pin_project! { [INFO] [stdout] 15 | | /// A [`Sink`] of frames encoded to an `AsyncWrite`. [INFO] [stdout] 16 | | /// [INFO] [stdout] 17 | | /// [`Sink`]: futures_sink::Sink [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::pin_project` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hreq-h2` (lib test) due to 32 previous errors [INFO] running `Command { std: "docker" "inspect" "73030d339b5c73b05f9579fe1686a42b1e0b845aa0fab6245a446c11186153c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73030d339b5c73b05f9579fe1686a42b1e0b845aa0fab6245a446c11186153c3", kill_on_drop: false }` [INFO] [stdout] 73030d339b5c73b05f9579fe1686a42b1e0b845aa0fab6245a446c11186153c3