[INFO] fetching crate proxy-header 0.1.2... [INFO] testing proxy-header-0.1.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate proxy-header 0.1.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate proxy-header 0.1.2 [INFO] finished tweaking crates.io crate proxy-header 0.1.2 [INFO] tweaked toml for crates.io crate proxy-header 0.1.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate proxy-header 0.1.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 94 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.4.0 (available: v0.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80f6685ab3429bf50d96ee213094bee5ce9fdf880995fc5084b1b5eba94b411a [INFO] running `Command { std: "docker" "start" "-a" "80f6685ab3429bf50d96ee213094bee5ce9fdf880995fc5084b1b5eba94b411a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80f6685ab3429bf50d96ee213094bee5ce9fdf880995fc5084b1b5eba94b411a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80f6685ab3429bf50d96ee213094bee5ce9fdf880995fc5084b1b5eba94b411a", kill_on_drop: false }` [INFO] [stdout] 80f6685ab3429bf50d96ee213094bee5ce9fdf880995fc5084b1b5eba94b411a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 839e169568423ef48f8810e08bb15eb5a993eebe73131651362c90d1a42e9d34 [INFO] running `Command { std: "docker" "start" "-a" "839e169568423ef48f8810e08bb15eb5a993eebe73131651362c90d1a42e9d34", kill_on_drop: false }` [INFO] [stderr] Compiling proxy-header v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn decode_inner(buf: &[u8]) -> Result<(ProxyHeader, usize), Error> { [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] 57 | fn decode_inner(buf: &[u8]) -> Result<(ProxyHeader<'_>, usize), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn decode(buf: &[u8]) -> Result<(ProxyHeader, usize), Error> { [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] 99 | pub fn decode(buf: &[u8]) -> Result<(ProxyHeader<'_>, usize), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v2.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn decode(buf: &[u8], config: ParseConfig) -> Result<(ProxyHeader, usize), Error> { [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] 49 | pub fn decode(buf: &[u8], config: ParseConfig) -> Result<(ProxyHeader<'_>, usize), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/io.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn proxy_header(&self) -> &ProxyHeader { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 104 | pub fn proxy_header(&self) -> &ProxyHeader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "839e169568423ef48f8810e08bb15eb5a993eebe73131651362c90d1a42e9d34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "839e169568423ef48f8810e08bb15eb5a993eebe73131651362c90d1a42e9d34", kill_on_drop: false }` [INFO] [stdout] 839e169568423ef48f8810e08bb15eb5a993eebe73131651362c90d1a42e9d34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b7f675672798594851054917f7646f0ed4f858bcdb5f2b122430270b7a4f224 [INFO] running `Command { std: "docker" "start" "-a" "6b7f675672798594851054917f7646f0ed4f858bcdb5f2b122430270b7a4f224", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn decode_inner(buf: &[u8]) -> Result<(ProxyHeader, usize), Error> { [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] 57 | fn decode_inner(buf: &[u8]) -> Result<(ProxyHeader<'_>, usize), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn decode(buf: &[u8]) -> Result<(ProxyHeader, usize), Error> { [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] 99 | pub fn decode(buf: &[u8]) -> Result<(ProxyHeader<'_>, usize), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v2.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn decode(buf: &[u8], config: ParseConfig) -> Result<(ProxyHeader, usize), Error> { [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] 49 | pub fn decode(buf: &[u8], config: ParseConfig) -> Result<(ProxyHeader<'_>, usize), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/io.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn proxy_header(&self) -> &ProxyHeader { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 104 | pub fn proxy_header(&self) -> &ProxyHeader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.4.0 [INFO] [stderr] Compiling proxy-header v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn decode_inner(buf: &[u8]) -> Result<(ProxyHeader, usize), Error> { [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] 57 | fn decode_inner(buf: &[u8]) -> Result<(ProxyHeader<'_>, usize), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v1.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn decode(buf: &[u8]) -> Result<(ProxyHeader, usize), Error> { [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] 99 | pub fn decode(buf: &[u8]) -> Result<(ProxyHeader<'_>, usize), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/v2.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn decode(buf: &[u8], config: ParseConfig) -> Result<(ProxyHeader, usize), Error> { [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] 49 | pub fn decode(buf: &[u8], config: ParseConfig) -> Result<(ProxyHeader<'_>, usize), Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/io.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn proxy_header(&self) -> &ProxyHeader { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 104 | pub fn proxy_header(&self) -> &ProxyHeader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 23.14s [INFO] running `Command { std: "docker" "inspect" "6b7f675672798594851054917f7646f0ed4f858bcdb5f2b122430270b7a4f224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b7f675672798594851054917f7646f0ed4f858bcdb5f2b122430270b7a4f224", kill_on_drop: false }` [INFO] [stdout] 6b7f675672798594851054917f7646f0ed4f858bcdb5f2b122430270b7a4f224 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6d56922b8f2a05a96100a79b9d0ffb9441e4897a48ac9a1920b47d95962285c6 [INFO] running `Command { std: "docker" "start" "-a" "6d56922b8f2a05a96100a79b9d0ffb9441e4897a48ac9a1920b47d95962285c6", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/v1.rs:57:22 [INFO] [stderr] | [INFO] [stderr] 57 | fn decode_inner(buf: &[u8]) -> Result<(ProxyHeader, usize), Error> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 57 | fn decode_inner(buf: &[u8]) -> Result<(ProxyHeader<'_>, usize), Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/v1.rs:99:20 [INFO] [stderr] | [INFO] [stderr] 99 | pub fn decode(buf: &[u8]) -> Result<(ProxyHeader, usize), Error> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 99 | pub fn decode(buf: &[u8]) -> Result<(ProxyHeader<'_>, usize), Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/v2.rs:49:20 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn decode(buf: &[u8], config: ParseConfig) -> Result<(ProxyHeader, usize), Error> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 49 | pub fn decode(buf: &[u8], config: ParseConfig) -> Result<(ProxyHeader<'_>, usize), Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/io.rs:104:25 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn proxy_header(&self) -> &ProxyHeader { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 104 | pub fn proxy_header(&self) -> &ProxyHeader<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `proxy-header` (lib) generated 4 warnings (run `cargo fix --lib -p proxy-header` to apply 4 suggestions) [INFO] [stderr] warning: `proxy-header` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/proxy_header-dd1169da5131e2d3) [INFO] [stdout] running 17 tests [INFO] [stdout] test io::tests::test_sync ... ok [INFO] [stdout] test tests::test_parse_proxy_header_v1 ... ok [INFO] [stdout] test tests::test_parse_proxy_header_too_short ... ok [INFO] [stdout] test tests::test_parse_proxy_header_with_tlvs ... ok [INFO] [stdout] test v1::tests::test_encode_ipv4 ... ok [INFO] [stdout] test v1::tests::test_family_mismatch ... ok [INFO] [stdout] test v1::tests::test_encode_ipv6 ... ok [INFO] [stdout] test tests::test_parse_proxy_header_v2 ... ok [INFO] [stdout] test v1::tests::test_tlvs ... ok [INFO] [stdout] test tests::test_parse_proxy_header_v1_unterminated ... ok [INFO] [stdout] test v2::tests::test_encode_local ... ok [INFO] [stdout] test v2::tests::test_family_mismatch ... ok [INFO] [stdout] test v2::tests::test_encode_ipv6 ... ok [INFO] [stdout] test v1::tests::test_buffer_too_short ... ok [INFO] [stdout] test v2::tests::test_tlvs ... ok [INFO] [stdout] test v2::tests::test_encode_ipv4 ... ok [INFO] [stderr] Doc-tests proxy_header [INFO] [stdout] test v1::tests::test_encode_local ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/io.rs - io (line 14) - compile ... FAILED [INFO] [stdout] test src/lib.rs - ProxyHeader<'a>::with_tlvs (line 561) ... ok [INFO] [stdout] test src/lib.rs - (line 76) ... ok [INFO] [stdout] test src/lib.rs - (line 47) ... ok [INFO] [stdout] test src/lib.rs - (line 20) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/io.rs - io (line 14) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `create_from_tokio` found for struct `ProxiedStream` in the current scope [INFO] [stdout] --> src/io.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | let mut socket = ProxiedStream::create_from_tokio(socket, Default::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ function or associated item not found in `ProxiedStream<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ProxiedStream<_>` consider using one of the following associated functions: [INFO] [stdout] ProxiedStream::::unproxied [INFO] [stdout] ProxiedStream::::create_from_std [INFO] [stdout] --> /opt/rustwide/workdir/src/io.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn unproxied(io: IO) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn create_from_std(mut io: IO, config: ParseConfig) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `create_from_std` with a similar name [INFO] [stdout] | [INFO] [stdout] 27 - let mut socket = ProxiedStream::create_from_tokio(socket, Default::default()) [INFO] [stdout] 27 + let mut socket = ProxiedStream::create_from_std(socket, Default::default()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/io.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | let mut socket = ProxiedStream::create_from_tokio(socket, Default::default()) [INFO] [stdout] | __________________________^ [INFO] [stdout] 28 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/io.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let n = socket.read(&mut buf).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/io.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | socket.write_all(&buf[0..n]).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/io.rs - io (line 14) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.47s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6d56922b8f2a05a96100a79b9d0ffb9441e4897a48ac9a1920b47d95962285c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d56922b8f2a05a96100a79b9d0ffb9441e4897a48ac9a1920b47d95962285c6", kill_on_drop: false }` [INFO] [stdout] 6d56922b8f2a05a96100a79b9d0ffb9441e4897a48ac9a1920b47d95962285c6