[INFO] fetching crate hreq-h2 0.2.7... [INFO] checking hreq-h2-0.2.7 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate hreq-h2 0.2.7 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hreq-h2 0.2.7 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ba1538015ba65850085bd3a80818016a6bc2e829bada73bdcc61b1549cffc4f [INFO] running `Command { std: "docker" "start" "-a" "2ba1538015ba65850085bd3a80818016a6bc2e829bada73bdcc61b1549cffc4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ba1538015ba65850085bd3a80818016a6bc2e829bada73bdcc61b1549cffc4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ba1538015ba65850085bd3a80818016a6bc2e829bada73bdcc61b1549cffc4f", kill_on_drop: false }` [INFO] [stdout] 2ba1538015ba65850085bd3a80818016a6bc2e829bada73bdcc61b1549cffc4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 765eb04fbcdb3a67b154bf59249f4a6a6818f627cdb7b92c995d55d77cbcf50a [INFO] running `Command { std: "docker" "start" "-a" "765eb04fbcdb3a67b154bf59249f4a6a6818f627cdb7b92c995d55d77cbcf50a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [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] Checking once_cell v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking pin-project-lite v0.1.5 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking same-file v0.1.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking walkdir v1.0.7 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling ring v0.16.13 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking quickcheck v0.4.1 [INFO] [stderr] Checking serde_json v1.0.53 [INFO] [stderr] Checking webpki v0.21.2 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking webpki-roots v0.17.0 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking pin-project v0.4.17 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tokio-rustls v0.12.3 [INFO] [stderr] Checking 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] 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] 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] 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] 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] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hpack/header.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn name(&self) -> Name { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn name(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 78 | fn resolve(&mut self, key: Key) -> Ptr<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 91 | pub fn find_mut(&mut self, id: &StreamId) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 106 | pub fn insert(&mut self, id: StreamId, val: Stream) -> Ptr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 119 | pub fn find_entry(&mut self, id: StreamId) -> Entry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 166 | fn resolve(&mut self, key: Key) -> Ptr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 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] [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] [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] 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] [stderr] error: could not compile `hreq-h2` (example "server") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hreq-h2` (example "akamai") due to 1 previous error [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] [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] [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 `Clone` and `Debug`, 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] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hpack/header.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn name(&self) -> Name { [INFO] [stdout] | ^^^^^ ---- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn name(&self) -> Name<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is 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 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] 78 | fn resolve(&mut self, key: Key) -> Ptr<'_>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is 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 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] 91 | pub fn find_mut(&mut self, id: &StreamId) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is 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 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] 106 | pub fn insert(&mut self, id: StreamId, val: Stream) -> Ptr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is 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 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] 119 | pub fn find_entry(&mut self, id: StreamId) -> Entry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is 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 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] 166 | fn resolve(&mut self, key: Key) -> Ptr<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is 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 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] 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" "765eb04fbcdb3a67b154bf59249f4a6a6818f627cdb7b92c995d55d77cbcf50a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "765eb04fbcdb3a67b154bf59249f4a6a6818f627cdb7b92c995d55d77cbcf50a", kill_on_drop: false }` [INFO] [stdout] 765eb04fbcdb3a67b154bf59249f4a6a6818f627cdb7b92c995d55d77cbcf50a