[INFO] fetching crate http_data 0.9.1... [INFO] testing http_data-0.9.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate http_data 0.9.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate http_data 0.9.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate http_data 0.9.1 [INFO] tweaked toml for crates.io crate http_data 0.9.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate http_data 0.9.1 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] crate crates.io crate http_data 0.9.1 already has a lockfile, it will not be regenerated [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ab2b11c74c52c8d9d9e2e44199e6d475a6fbbd687c01e5c631394b1202566742 [INFO] running `Command { std: "docker" "start" "-a" "ab2b11c74c52c8d9d9e2e44199e6d475a6fbbd687c01e5c631394b1202566742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab2b11c74c52c8d9d9e2e44199e6d475a6fbbd687c01e5c631394b1202566742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab2b11c74c52c8d9d9e2e44199e6d475a6fbbd687c01e5c631394b1202566742", kill_on_drop: false }` [INFO] [stdout] ab2b11c74c52c8d9d9e2e44199e6d475a6fbbd687c01e5c631394b1202566742 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 64c0de12fada667de6401257cb4c7a2e422130ed0c4d1dcacd3439b8fdf752e4 [INFO] running `Command { std: "docker" "start" "-a" "64c0de12fada667de6401257cb4c7a2e422130ed0c4d1dcacd3439b8fdf752e4", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling enumflags2_derive v0.7.11 [INFO] [stderr] Compiling enumflags2 v0.7.11 [INFO] [stderr] Compiling http_data v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/providers.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | fn provide_preferred_headers(&self, prefs: &DataKindPreference) -> Option { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | fn provide_preferred_headers(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/providers.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | fn provide_sockets(&self, dk: DataKind) -> Option; [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] 26 | fn provide_sockets(&self, dk: DataKind) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/providers.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | fn provide_preferred_socket(&self, prefs: &DataKindPreference) -> Option { [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] 28 | fn provide_preferred_socket(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/providers.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | fn provide_preferred_method(&self, prefs: &DataKindPreference) -> Option { [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 | fn provide_preferred_method(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/providers.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | fn provide_preferred_uri(&self, prefs: &DataKindPreference) -> Option { [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] 54 | fn provide_preferred_uri(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/providers.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | fn provide_preferred_headers(&self, prefs: &DataKindPreference) -> Option { [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] 59 | fn provide_preferred_headers(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.06s [INFO] running `Command { std: "docker" "inspect" "64c0de12fada667de6401257cb4c7a2e422130ed0c4d1dcacd3439b8fdf752e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64c0de12fada667de6401257cb4c7a2e422130ed0c4d1dcacd3439b8fdf752e4", kill_on_drop: false }` [INFO] [stdout] 64c0de12fada667de6401257cb4c7a2e422130ed0c4d1dcacd3439b8fdf752e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 358423504bfc0a064d25895e34175f6127b890ce9d0d716dd28643f10fd8f56c [INFO] running `Command { std: "docker" "start" "-a" "358423504bfc0a064d25895e34175f6127b890ce9d0d716dd28643f10fd8f56c", kill_on_drop: false }` [INFO] [stderr] Compiling http_data v0.9.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/providers.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | fn provide_preferred_headers(&self, prefs: &DataKindPreference) -> Option { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | fn provide_preferred_headers(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/providers.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | fn provide_sockets(&self, dk: DataKind) -> Option; [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] 26 | fn provide_sockets(&self, dk: DataKind) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/providers.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | fn provide_preferred_socket(&self, prefs: &DataKindPreference) -> Option { [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] 28 | fn provide_preferred_socket(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/providers.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | fn provide_preferred_method(&self, prefs: &DataKindPreference) -> Option { [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 | fn provide_preferred_method(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/providers.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | fn provide_preferred_uri(&self, prefs: &DataKindPreference) -> Option { [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] 54 | fn provide_preferred_uri(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/providers.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | fn provide_preferred_headers(&self, prefs: &DataKindPreference) -> Option { [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] 59 | fn provide_preferred_headers(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/providers.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | fn provide_preferred_headers(&self, prefs: &DataKindPreference) -> Option { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 15 | fn provide_preferred_headers(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/providers.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | fn provide_sockets(&self, dk: DataKind) -> Option; [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] 26 | fn provide_sockets(&self, dk: DataKind) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/providers.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | fn provide_preferred_socket(&self, prefs: &DataKindPreference) -> Option { [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] 28 | fn provide_preferred_socket(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/providers.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | fn provide_preferred_method(&self, prefs: &DataKindPreference) -> Option { [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 | fn provide_preferred_method(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/providers.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | fn provide_preferred_uri(&self, prefs: &DataKindPreference) -> Option { [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] 54 | fn provide_preferred_uri(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/providers.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | fn provide_preferred_headers(&self, prefs: &DataKindPreference) -> Option { [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] 59 | fn provide_preferred_headers(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/one.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | fn provide_method(&self, dk: DataKind) -> Option { [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] 67 | fn provide_method(&self, dk: DataKind) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "358423504bfc0a064d25895e34175f6127b890ce9d0d716dd28643f10fd8f56c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "358423504bfc0a064d25895e34175f6127b890ce9d0d716dd28643f10fd8f56c", kill_on_drop: false }` [INFO] [stdout] 358423504bfc0a064d25895e34175f6127b890ce9d0d716dd28643f10fd8f56c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a0a819331420ea0d5f94db3a35710a3cee6e92e64e8fc5118660bf653f5f4320 [INFO] running `Command { std: "docker" "start" "-a" "a0a819331420ea0d5f94db3a35710a3cee6e92e64e8fc5118660bf653f5f4320", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] [INFO] [stderr] --> src/providers.rs:15:34 [INFO] [stdout] running 3 tests [INFO] [stderr] | [INFO] [stdout] test data_kinds::test::test_top_best ... ok [INFO] [stderr] 15 | fn provide_preferred_headers(&self, prefs: &DataKindPreference) -> Option { [INFO] [stdout] test data_kinds::test::test_top_missing ... ok [INFO] [stderr] | ^^^^^ the lifetime is elided here ---------- the same lifetime is hidden here [INFO] [stdout] test data_kinds::test::test_top_worst ... ok [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 15 | fn provide_preferred_headers(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/providers.rs:26:24 [INFO] [stderr] | [INFO] [stderr] 26 | fn provide_sockets(&self, dk: DataKind) -> Option; [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] 26 | fn provide_sockets(&self, dk: DataKind) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/providers.rs:28:33 [INFO] [stderr] | [INFO] [stderr] 28 | fn provide_preferred_socket(&self, prefs: &DataKindPreference) -> Option { [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] 28 | fn provide_preferred_socket(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/providers.rs:49:33 [INFO] [stderr] | [INFO] [stderr] 49 | fn provide_preferred_method(&self, prefs: &DataKindPreference) -> Option { [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 | fn provide_preferred_method(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/providers.rs:54:30 [INFO] [stderr] | [INFO] [stderr] 54 | fn provide_preferred_uri(&self, prefs: &DataKindPreference) -> Option { [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] 54 | fn provide_preferred_uri(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/providers.rs:59:34 [INFO] [stderr] | [INFO] [stderr] 59 | fn provide_preferred_headers(&self, prefs: &DataKindPreference) -> Option { [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] 59 | fn provide_preferred_headers(&self, prefs: &DataKindPreference) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `http_data` (lib) generated 6 warnings (run `cargo fix --lib -p http_data` to apply 6 suggestions) [INFO] [stderr] warning: `http_data` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> examples/one.rs:67:23 [INFO] [stderr] | [INFO] [stderr] 67 | fn provide_method(&self, dk: DataKind) -> Option { [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] 67 | fn provide_method(&self, dk: DataKind) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `http_data` (example "one") generated 1 warning (run `cargo fix --example "one"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/http_data-0b39ea713440abaf) [INFO] [stderr] Doc-tests http_data [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/data/mod.rs - data::HeaderData (line 26) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/data/mod.rs - data::HeaderData (line 26) stdout ---- [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/data/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 3 | / fn provide_headers<'s, IS, IB, IP>(&'s self, dk: DataKinds) -> Option> [INFO] [stdout] 4 | | where IS: Iterator, [INFO] [stdout] 5 | | IB: Iterator, [INFO] [stdout] 6 | | IP: Iterator; [INFO] [stdout] | | ^ help: provide a definition for the function: `{ }` [INFO] [stdout] | |_____________________________________________________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/data/mod.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 3 | fn provide_headers<'s, IS, IB, IP>(&'s self, dk: DataKinds) -> Option> [INFO] [stdout] | ^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DataKinds` in this scope [INFO] [stdout] --> src/data/mod.rs:27:50 [INFO] [stdout] | [INFO] [stdout] 3 | fn provide_headers<'s, IS, IB, IP>(&'s self, dk: DataKinds) -> Option> [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use http_data::DataKinds; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderData` in this scope [INFO] [stdout] --> src/data/mod.rs:27:71 [INFO] [stdout] | [INFO] [stdout] 3 | fn provide_headers<'s, IS, IB, IP>(&'s self, dk: DataKinds) -> Option> [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use http_data::HeaderData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/data/mod.rs - data::HeaderData (line 26) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a0a819331420ea0d5f94db3a35710a3cee6e92e64e8fc5118660bf653f5f4320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0a819331420ea0d5f94db3a35710a3cee6e92e64e8fc5118660bf653f5f4320", kill_on_drop: false }` [INFO] [stdout] a0a819331420ea0d5f94db3a35710a3cee6e92e64e8fc5118660bf653f5f4320