[INFO] fetching crate proxy-header 0.1.2... [INFO] testing proxy-header-0.1.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate proxy-header 0.1.2 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate proxy-header 0.1.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 111 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35e0ba29e35bd389da29d6a6837ece0a69ec63fc8f81b07831522b0b476519c4 [INFO] running `Command { std: "docker" "start" "-a" "35e0ba29e35bd389da29d6a6837ece0a69ec63fc8f81b07831522b0b476519c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35e0ba29e35bd389da29d6a6837ece0a69ec63fc8f81b07831522b0b476519c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35e0ba29e35bd389da29d6a6837ece0a69ec63fc8f81b07831522b0b476519c4", kill_on_drop: false }` [INFO] [stdout] 35e0ba29e35bd389da29d6a6837ece0a69ec63fc8f81b07831522b0b476519c4 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7245612f1b3d193f3072f5ce5ddbde88188a6713bc3a9cb675dc0e7cb46d406 [INFO] running `Command { std: "docker" "start" "-a" "f7245612f1b3d193f3072f5ce5ddbde88188a6713bc3a9cb675dc0e7cb46d406", 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.50s [INFO] running `Command { std: "docker" "inspect" "f7245612f1b3d193f3072f5ce5ddbde88188a6713bc3a9cb675dc0e7cb46d406", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7245612f1b3d193f3072f5ce5ddbde88188a6713bc3a9cb675dc0e7cb46d406", kill_on_drop: false }` [INFO] [stdout] f7245612f1b3d193f3072f5ce5ddbde88188a6713bc3a9cb675dc0e7cb46d406 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 363c2ff1f0e1674284f8e20bb360d30d6a9fa5ebf4b2c2e94023f61bade438a5 [INFO] running `Command { std: "docker" "start" "-a" "363c2ff1f0e1674284f8e20bb360d30d6a9fa5ebf4b2c2e94023f61bade438a5", kill_on_drop: false }` [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling parking_lot v0.12.4 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [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 21.32s [INFO] running `Command { std: "docker" "inspect" "363c2ff1f0e1674284f8e20bb360d30d6a9fa5ebf4b2c2e94023f61bade438a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "363c2ff1f0e1674284f8e20bb360d30d6a9fa5ebf4b2c2e94023f61bade438a5", kill_on_drop: false }` [INFO] [stdout] 363c2ff1f0e1674284f8e20bb360d30d6a9fa5ebf4b2c2e94023f61bade438a5 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8cad9dedc27e20f9b5d158f91ade637f690726beb67dd5dd5ea75a88eff2fed3 [INFO] running `Command { std: "docker" "start" "-a" "8cad9dedc27e20f9b5d158f91ade637f690726beb67dd5dd5ea75a88eff2fed3", 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.10s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/proxy_header-323f1fe4d2839a65) [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_v2 ... ok [INFO] [stdout] test v1::tests::test_buffer_too_short ... ok [INFO] [stdout] test tests::test_parse_proxy_header_v1_unterminated ... 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_encode_ipv6 ... ok [INFO] [stdout] test v1::tests::test_family_mismatch ... ok [INFO] [stdout] test v1::tests::test_encode_local ... ok [INFO] [stdout] test v2::tests::test_encode_ipv6 ... ok [INFO] [stdout] test v2::tests::test_encode_ipv4 ... ok [INFO] [stdout] test v1::tests::test_tlvs ... 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_tlvs ... ok [INFO] [stdout] test tests::test_parse_proxy_header_too_short ... ok [INFO] [stderr] Doc-tests proxy_header [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 76) ... ok [INFO] [stdout] test src/io.rs - io (line 14) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 47) ... ok [INFO] [stdout] test src/lib.rs - ProxyHeader<'a>::with_tlvs (line 561) ... ok [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [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.83s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8cad9dedc27e20f9b5d158f91ade637f690726beb67dd5dd5ea75a88eff2fed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cad9dedc27e20f9b5d158f91ade637f690726beb67dd5dd5ea75a88eff2fed3", kill_on_drop: false }` [INFO] [stdout] 8cad9dedc27e20f9b5d158f91ade637f690726beb67dd5dd5ea75a88eff2fed3