[INFO] fetching crate hreq-h2 0.2.7... [INFO] testing hreq-h2-0.2.7 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate hreq-h2 0.2.7 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hreq-h2 0.2.7 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.62 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.62 [INFO] [stderr] Downloaded same-file v0.1.3 [INFO] [stderr] Downloaded hex v0.2.0 [INFO] [stderr] Downloaded quickcheck v0.4.1 [INFO] [stderr] Downloaded tokio-rustls v0.12.3 [INFO] [stderr] Downloaded hermit-abi v0.1.13 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded bytes v0.5.4 [INFO] [stderr] Downloaded pin-project v0.4.17 [INFO] [stderr] Downloaded serde v1.0.110 [INFO] [stderr] Downloaded js-sys v0.3.39 [INFO] [stderr] Downloaded serde_json v1.0.53 [INFO] [stderr] Downloaded bumpalo v3.3.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.62 [INFO] [stderr] Downloaded cc v1.0.54 [INFO] [stderr] Downloaded syn v1.0.23 [INFO] [stderr] Downloaded webpki-roots v0.17.0 [INFO] [stderr] Downloaded webpki v0.21.2 [INFO] [stderr] Downloaded pin-project-internal v0.4.17 [INFO] [stderr] Downloaded ryu v1.0.4 [INFO] [stderr] Downloaded rustls v0.16.0 [INFO] [stderr] Downloaded walkdir v1.0.7 [INFO] [stderr] Downloaded once_cell v1.4.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.15 [INFO] [stderr] Downloaded tokio v0.2.21 [INFO] [stderr] Downloaded quote v1.0.6 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.62 [INFO] [stderr] Downloaded libc v0.2.70 [INFO] [stderr] Downloaded net2 v0.2.34 [INFO] [stderr] Downloaded web-sys v0.3.39 [INFO] [stderr] Downloaded pin-project-lite v0.1.5 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.62 [INFO] [stderr] Downloaded ring v0.16.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8e84f835719e5e58ce585677e528c5df63dbbe0a2e0c91d4da1544f3b70cea5 [INFO] running `Command { std: "docker" "start" "-a" "d8e84f835719e5e58ce585677e528c5df63dbbe0a2e0c91d4da1544f3b70cea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8e84f835719e5e58ce585677e528c5df63dbbe0a2e0c91d4da1544f3b70cea5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8e84f835719e5e58ce585677e528c5df63dbbe0a2e0c91d4da1544f3b70cea5", kill_on_drop: false }` [INFO] [stdout] d8e84f835719e5e58ce585677e528c5df63dbbe0a2e0c91d4da1544f3b70cea5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6852a7dc0a015c2b0711e454fe1d72f816ef7a6da85bc68c4a11b0c4f56f15a [INFO] running `Command { std: "docker" "start" "-a" "d6852a7dc0a015c2b0711e454fe1d72f816ef7a6da85bc68c4a11b0c4f56f15a", 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 autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling http v0.2.1 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_escape]` attribute cannot be used on macro defs [INFO] [stdout] --> src/frame/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[macro_escape] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_escape]` can be applied to crates, extern crates, and modules [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 18.67s [INFO] running `Command { std: "docker" "inspect" "d6852a7dc0a015c2b0711e454fe1d72f816ef7a6da85bc68c4a11b0c4f56f15a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6852a7dc0a015c2b0711e454fe1d72f816ef7a6da85bc68c4a11b0c4f56f15a", kill_on_drop: false }` [INFO] [stdout] d6852a7dc0a015c2b0711e454fe1d72f816ef7a6da85bc68c4a11b0c4f56f15a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 491efeb82eb19e74468f7fc1a0159098408312bcb94664482716b93e0247067e [INFO] running `Command { std: "docker" "start" "-a" "491efeb82eb19e74468f7fc1a0159098408312bcb94664482716b93e0247067e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling same-file v0.1.3 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling walkdir v1.0.7 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling hex v0.2.0 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_escape]` attribute cannot be used on macro defs [INFO] [stdout] --> src/frame/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[macro_escape] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_escape]` can be applied to crates, extern crates, and modules [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 base64 v0.10.1 [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 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 serde_json v1.0.53 [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/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[E0282]: type annotations needed [INFO] [stdout] --> examples/server.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut connection = server::handshake(socket).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | while let Some(result) = connection.accept().await { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `connection` an explicit type [INFO] [stdout] | [INFO] [stdout] 27 | let mut connection: /* Type */ = server::handshake(socket).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/server.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let (request, mut respond) = result?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | let mut send = respond.send_response(response, false)?; [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 31 | let (request, mut respond): (_, _) = result?; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hreq-h2` (example "server") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/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[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/client.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let (mut client, h2) = client::handshake(tcp).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | let (response, mut stream) = client.send_request(request, false).unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 13 | let (mut client, h2): (_, _) = client::handshake(tcp).await?; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/client.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | stream.send_trailers(trailers).unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/client.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let response = response.await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | let mut body = response.into_body(); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 37 | let response: /* Type */ = response.await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hreq-h2` (example "client") due to 4 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/akamai.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let (mut client, h2) = client::handshake(tls).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | let (response, other) = client.send_request(request, true).unwrap(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 50 | let (mut client, h2): (_, _) = client::handshake(tls).await?; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/akamai.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let (_, mut body) = response.await?.into_parts(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/akamai.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | while let Some(chunk) = body.data().await { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hreq-h2` (example "akamai") due to 4 previous errors [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]` attribute cannot be used on macro defs [INFO] [stdout] --> src/frame/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[macro_escape] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_escape]` can be applied to crates, extern crates, and modules [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 `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" "491efeb82eb19e74468f7fc1a0159098408312bcb94664482716b93e0247067e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "491efeb82eb19e74468f7fc1a0159098408312bcb94664482716b93e0247067e", kill_on_drop: false }` [INFO] [stdout] 491efeb82eb19e74468f7fc1a0159098408312bcb94664482716b93e0247067e