[INFO] fetching crate proxy-header 0.1.2... [INFO] testing proxy-header-0.1.2 against 1.91.0 for beta-1.92-2 [INFO] extracting crate proxy-header 0.1.2 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate proxy-header 0.1.2 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "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" "+1.91.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c8fab15822525e3b7bdc5cbc885c80d30e4cf6777b6b6744b8ce7a5591d9fd9 [INFO] running `Command { std: "docker" "start" "-a" "9c8fab15822525e3b7bdc5cbc885c80d30e4cf6777b6b6744b8ce7a5591d9fd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c8fab15822525e3b7bdc5cbc885c80d30e4cf6777b6b6744b8ce7a5591d9fd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c8fab15822525e3b7bdc5cbc885c80d30e4cf6777b6b6744b8ce7a5591d9fd9", kill_on_drop: false }` [INFO] [stdout] 9c8fab15822525e3b7bdc5cbc885c80d30e4cf6777b6b6744b8ce7a5591d9fd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f6bdec0d161a291316d53964f879f9202d124ee9467ab68d252bca14adb0136 [INFO] running `Command { std: "docker" "start" "-a" "3f6bdec0d161a291316d53964f879f9202d124ee9467ab68d252bca14adb0136", 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.45s [INFO] running `Command { std: "docker" "inspect" "3f6bdec0d161a291316d53964f879f9202d124ee9467ab68d252bca14adb0136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f6bdec0d161a291316d53964f879f9202d124ee9467ab68d252bca14adb0136", kill_on_drop: false }` [INFO] [stdout] 3f6bdec0d161a291316d53964f879f9202d124ee9467ab68d252bca14adb0136 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81822f2ed5fe81a606cc6facce29cb89d6b3ee19f661700b290eb327e62e4a70 [INFO] running `Command { std: "docker" "start" "-a" "81822f2ed5fe81a606cc6facce29cb89d6b3ee19f661700b290eb327e62e4a70", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling serde_json v1.0.145 [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_lex v0.2.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling regex v1.12.2 [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 serde v1.0.228 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [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 15.51s [INFO] running `Command { std: "docker" "inspect" "81822f2ed5fe81a606cc6facce29cb89d6b3ee19f661700b290eb327e62e4a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81822f2ed5fe81a606cc6facce29cb89d6b3ee19f661700b290eb327e62e4a70", kill_on_drop: false }` [INFO] [stdout] 81822f2ed5fe81a606cc6facce29cb89d6b3ee19f661700b290eb327e62e4a70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d128e80dbb1f51a25c62931e81fafd4d12688d7e0f64b22f24b297ef20228e82 [INFO] running `Command { std: "docker" "start" "-a" "d128e80dbb1f51a25c62931e81fafd4d12688d7e0f64b22f24b297ef20228e82", 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] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/proxy_header-5f7d43f55354f5eb) [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_v1_unterminated ... ok [INFO] [stdout] test tests::test_parse_proxy_header_with_tlvs ... ok [INFO] [stdout] test tests::test_parse_proxy_header_v2 ... ok [INFO] [stdout] test v1::tests::test_buffer_too_short ... ok [INFO] [stdout] test v1::tests::test_encode_ipv4 ... ok [INFO] [stderr] Doc-tests proxy_header [INFO] [stdout] test v1::tests::test_encode_ipv6 ... 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_ipv6 ... 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] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [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 - (line 20) ... ok [INFO] [stdout] test src/lib.rs - ProxyHeader<'a>::with_tlvs (line 561) ... ok [INFO] [stdout] test src/lib.rs - (line 47) ... 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.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d128e80dbb1f51a25c62931e81fafd4d12688d7e0f64b22f24b297ef20228e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d128e80dbb1f51a25c62931e81fafd4d12688d7e0f64b22f24b297ef20228e82", kill_on_drop: false }` [INFO] [stdout] d128e80dbb1f51a25c62931e81fafd4d12688d7e0f64b22f24b297ef20228e82