[INFO] fetching crate proxy-header 0.1.2... [INFO] testing proxy-header-0.1.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate proxy-header 0.1.2 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate proxy-header 0.1.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 103 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19455f27fe76d82f7d94f37e0586f52c8f739e69e26dcdb8a79dd47ea4a8440e [INFO] running `Command { std: "docker" "start" "-a" "19455f27fe76d82f7d94f37e0586f52c8f739e69e26dcdb8a79dd47ea4a8440e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19455f27fe76d82f7d94f37e0586f52c8f739e69e26dcdb8a79dd47ea4a8440e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19455f27fe76d82f7d94f37e0586f52c8f739e69e26dcdb8a79dd47ea4a8440e", kill_on_drop: false }` [INFO] [stdout] 19455f27fe76d82f7d94f37e0586f52c8f739e69e26dcdb8a79dd47ea4a8440e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd5d3052fdfcba0c587edb1596ac83896eb9a77b0763319ee6a989c8a22e47b3 [INFO] running `Command { std: "docker" "start" "-a" "dd5d3052fdfcba0c587edb1596ac83896eb9a77b0763319ee6a989c8a22e47b3", 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.61s [INFO] running `Command { std: "docker" "inspect" "dd5d3052fdfcba0c587edb1596ac83896eb9a77b0763319ee6a989c8a22e47b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd5d3052fdfcba0c587edb1596ac83896eb9a77b0763319ee6a989c8a22e47b3", kill_on_drop: false }` [INFO] [stdout] dd5d3052fdfcba0c587edb1596ac83896eb9a77b0763319ee6a989c8a22e47b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d139d31cbe3eeac95292950e0f9c0e37da6cfb747a2b6d62b16ffa6cab5eca7 [INFO] running `Command { std: "docker" "start" "-a" "0d139d31cbe3eeac95292950e0f9c0e37da6cfb747a2b6d62b16ffa6cab5eca7", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling atty v0.2.14 [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 v3.2.25 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.47.1 [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 49.21s [INFO] running `Command { std: "docker" "inspect" "0d139d31cbe3eeac95292950e0f9c0e37da6cfb747a2b6d62b16ffa6cab5eca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d139d31cbe3eeac95292950e0f9c0e37da6cfb747a2b6d62b16ffa6cab5eca7", kill_on_drop: false }` [INFO] [stdout] 0d139d31cbe3eeac95292950e0f9c0e37da6cfb747a2b6d62b16ffa6cab5eca7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ca6bcecd50ff9c3650b3497b8f3defe9b74d4b1d718f5a8c5a8b102b3e54229b [INFO] running `Command { std: "docker" "start" "-a" "ca6bcecd50ff9c3650b3497b8f3defe9b74d4b1d718f5a8c5a8b102b3e54229b", 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.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/proxy_header-38884f5124ea1781) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test io::tests::test_sync ... ok [INFO] [stdout] test tests::test_parse_proxy_header_too_short ... ok [INFO] [stdout] test tests::test_parse_proxy_header_v1 ... ok [INFO] [stdout] test tests::test_parse_proxy_header_with_tlvs ... ok [INFO] [stdout] test tests::test_parse_proxy_header_v1_unterminated ... ok [INFO] [stdout] test tests::test_parse_proxy_header_v2 ... ok [INFO] [stdout] test v2::tests::test_encode_ipv4 ... ok [INFO] [stdout] test v2::tests::test_encode_ipv6 ... ok [INFO] [stdout] test v1::tests::test_tlvs ... ok [INFO] [stdout] test v1::tests::test_family_mismatch ... ok [INFO] [stdout] test v2::tests::test_family_mismatch ... ok [INFO] [stdout] test v2::tests::test_tlvs ... ok [INFO] [stdout] test v1::tests::test_buffer_too_short ... ok [INFO] [stdout] test v1::tests::test_encode_ipv4 ... ok [INFO] [stdout] test v1::tests::test_encode_ipv6 ... ok [INFO] [stdout] test v1::tests::test_encode_local ... ok [INFO] [stdout] test v2::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.00s [INFO] [stdout] [INFO] [stderr] Doc-tests proxy_header [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/io.rs - io (line 14) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 76) ... ok [INFO] [stdout] test src/lib.rs - (line 47) ... ok [INFO] [stdout] test src/lib.rs - ProxyHeader<'a>::with_tlvs (line 561) ... 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] 15 | 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] 15 - let mut socket = ProxiedStream::create_from_tokio(socket, Default::default()) [INFO] [stdout] 15 + let mut socket = ProxiedStream::create_from_std(socket, Default::default()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [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.65s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ca6bcecd50ff9c3650b3497b8f3defe9b74d4b1d718f5a8c5a8b102b3e54229b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca6bcecd50ff9c3650b3497b8f3defe9b74d4b1d718f5a8c5a8b102b3e54229b", kill_on_drop: false }` [INFO] [stdout] ca6bcecd50ff9c3650b3497b8f3defe9b74d4b1d718f5a8c5a8b102b3e54229b