[INFO] fetching crate proxy-header 0.1.2... [INFO] testing proxy-header-0.1.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-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 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded criterion v0.4.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af107d8948ae1bd605098f1a7b13ee4fd519ff088bb88bb5b819e543b5e98b76 [INFO] running `Command { std: "docker" "start" "-a" "af107d8948ae1bd605098f1a7b13ee4fd519ff088bb88bb5b819e543b5e98b76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af107d8948ae1bd605098f1a7b13ee4fd519ff088bb88bb5b819e543b5e98b76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af107d8948ae1bd605098f1a7b13ee4fd519ff088bb88bb5b819e543b5e98b76", kill_on_drop: false }` [INFO] [stdout] af107d8948ae1bd605098f1a7b13ee4fd519ff088bb88bb5b819e543b5e98b76 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18fba472c318e73ba98fc438df159eff541b711cb63987cea46c8a69963609e6 [INFO] running `Command { std: "docker" "start" "-a" "18fba472c318e73ba98fc438df159eff541b711cb63987cea46c8a69963609e6", 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.48s [INFO] running `Command { std: "docker" "inspect" "18fba472c318e73ba98fc438df159eff541b711cb63987cea46c8a69963609e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18fba472c318e73ba98fc438df159eff541b711cb63987cea46c8a69963609e6", kill_on_drop: false }` [INFO] [stdout] 18fba472c318e73ba98fc438df159eff541b711cb63987cea46c8a69963609e6 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e5d0def6ae56b9196024cf98f6e5b81f3a57107703a36b7f3d78655f38c4202 [INFO] running `Command { std: "docker" "start" "-a" "7e5d0def6ae56b9196024cf98f6e5b81f3a57107703a36b7f3d78655f38c4202", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling clap v3.2.25 [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 regex v1.11.3 [INFO] [stderr] Compiling serde_json v1.0.145 [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 39.33s [INFO] running `Command { std: "docker" "inspect" "7e5d0def6ae56b9196024cf98f6e5b81f3a57107703a36b7f3d78655f38c4202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e5d0def6ae56b9196024cf98f6e5b81f3a57107703a36b7f3d78655f38c4202", kill_on_drop: false }` [INFO] [stdout] 7e5d0def6ae56b9196024cf98f6e5b81f3a57107703a36b7f3d78655f38c4202 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d7fb3846553e83a0665da78b64312a270236ab1aff3dbcf044fc72f9707be876 [INFO] running `Command { std: "docker" "start" "-a" "d7fb3846553e83a0665da78b64312a270236ab1aff3dbcf044fc72f9707be876", 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 v1::tests::test_encode_ipv4 ... ok [INFO] [stdout] test tests::test_parse_proxy_header_v1_unterminated ... ok [INFO] [stdout] test tests::test_parse_proxy_header_v1 ... ok [INFO] [stdout] test v1::tests::test_encode_local ... ok [INFO] [stdout] test v1::tests::test_family_mismatch ... ok [INFO] [stdout] test v1::tests::test_tlvs ... ok [INFO] [stdout] test v2::tests::test_encode_ipv4 ... 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 v2::tests::test_encode_ipv6 ... ok [INFO] [stdout] test v1::tests::test_encode_ipv6 ... ok [INFO] [stdout] test tests::test_parse_proxy_header_v2 ... ok [INFO] [stdout] test tests::test_parse_proxy_header_with_tlvs ... ok [INFO] [stdout] test v1::tests::test_buffer_too_short ... 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] [stderr] Doc-tests proxy_header [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 47) ... ok [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 20) ... ok [INFO] [stdout] test src/lib.rs - (line 76) ... 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.60s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d7fb3846553e83a0665da78b64312a270236ab1aff3dbcf044fc72f9707be876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7fb3846553e83a0665da78b64312a270236ab1aff3dbcf044fc72f9707be876", kill_on_drop: false }` [INFO] [stdout] d7fb3846553e83a0665da78b64312a270236ab1aff3dbcf044fc72f9707be876