[INFO] fetching crate hreq-h2 0.2.7... [INFO] checking hreq-h2-0.2.7 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate hreq-h2 0.2.7 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate hreq-h2 0.2.7 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.62 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.62 [INFO] [stderr] Downloaded tokio-rustls v0.12.3 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.62 [INFO] [stderr] Downloaded hex v0.2.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.62 [INFO] [stderr] Downloaded pin-project-internal v0.4.17 [INFO] [stderr] Downloaded js-sys v0.3.39 [INFO] [stderr] Downloaded webpki v0.21.2 [INFO] [stderr] Downloaded pin-project v0.4.17 [INFO] [stderr] Downloaded bumpalo v3.3.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.15 [INFO] [stderr] Downloaded wasm-bindgen v0.2.62 [INFO] [stderr] Downloaded pin-project-lite v0.1.5 [INFO] [stderr] Downloaded web-sys v0.3.39 [INFO] [stderr] Downloaded ring v0.16.13 [INFO] [stderr] Downloaded webpki-roots v0.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c45a2171e2eccd80ddfa1914dbafdf8f666b8ef17ee9c421b2cf3be60b979191 [INFO] running `Command { std: "docker" "start" "-a" "c45a2171e2eccd80ddfa1914dbafdf8f666b8ef17ee9c421b2cf3be60b979191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c45a2171e2eccd80ddfa1914dbafdf8f666b8ef17ee9c421b2cf3be60b979191", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c45a2171e2eccd80ddfa1914dbafdf8f666b8ef17ee9c421b2cf3be60b979191", kill_on_drop: false }` [INFO] [stdout] c45a2171e2eccd80ddfa1914dbafdf8f666b8ef17ee9c421b2cf3be60b979191 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ee5c1c9b20dd32500b107594da0c2da339dcdb393ad9149ba4f77e31f1e95e9 [INFO] running `Command { std: "docker" "start" "-a" "6ee5c1c9b20dd32500b107594da0c2da339dcdb393ad9149ba4f77e31f1e95e9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling proc-macro2 v1.0.15 [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] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Checking pin-project-lite v0.1.5 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking same-file v0.1.3 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Checking walkdir v1.0.7 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling ring v0.16.13 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking mio v0.6.22 [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] 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] 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: `#[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: struct `Indices` is never constructed [INFO] [stdout] --> src/proto/streams/recv.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | struct Indices { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 23 | | } [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] 30 | | } [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] 22 | | } [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] 21 | | } [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] warning: 23 warnings emitted [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 undeclared crate or module `h2` [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 undeclared crate or module `h2` [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 undeclared crate or module `h2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [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 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [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 "server") due to 2 previous errors [INFO] [stderr] error: could not compile `hreq-h2` (example "akamai") due to 2 previous errors [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: 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: 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] 23 | | } [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] 30 | | } [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] 22 | | } [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] 21 | | } [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] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hreq-h2` (lib test) due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "6ee5c1c9b20dd32500b107594da0c2da339dcdb393ad9149ba4f77e31f1e95e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ee5c1c9b20dd32500b107594da0c2da339dcdb393ad9149ba4f77e31f1e95e9", kill_on_drop: false }` [INFO] [stdout] 6ee5c1c9b20dd32500b107594da0c2da339dcdb393ad9149ba4f77e31f1e95e9