[INFO] fetching crate scr 1.0.2... [INFO] building scr-1.0.2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate scr 1.0.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate scr 1.0.2 [INFO] finished tweaking crates.io crate scr 1.0.2 [INFO] tweaked toml for crates.io crate scr 1.0.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scr 1.0.2 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 205 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding scraper v0.17.1 (available: v0.24.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scraper v0.17.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b8f2b87fdb4b3933a58d9e56af390b64ceab6d5441b43bc721292059a81a0ff [INFO] running `Command { std: "docker" "start" "-a" "9b8f2b87fdb4b3933a58d9e56af390b64ceab6d5441b43bc721292059a81a0ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b8f2b87fdb4b3933a58d9e56af390b64ceab6d5441b43bc721292059a81a0ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b8f2b87fdb4b3933a58d9e56af390b64ceab6d5441b43bc721292059a81a0ff", kill_on_drop: false }` [INFO] [stdout] 9b8f2b87fdb4b3933a58d9e56af390b64ceab6d5441b43bc721292059a81a0ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e412e0a9d66c9e5b80486277f33d38243345f183a5d4cd8db939b96644414a96 [INFO] running `Command { std: "docker" "start" "-a" "e412e0a9d66c9e5b80486277f33d38243345f183a5d4cd8db939b96644414a96", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling ego-tree v0.6.3 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling scraper v0.17.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling scr v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scraping.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn from_fragment(fragment: &str) -> Result { [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] 46 | pub fn from_fragment(fragment: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/scraping.rs:51:62 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_els<'a>(&'a self, sel: &'a str) -> Result, ScrapingErrorKind> { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_els<'a>(&'a self, sel: &'a str) -> Result>, ScrapingErrorKind> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/scraping.rs:62:57 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn get_el<'a>(&'a self, sel: &'a str) -> Result { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 62 | pub fn get_el<'a>(&'a self, sel: &'a str) -> Result, ScrapingErrorKind> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/scraping.rs:132:79 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn get_attr_once<'a>(&'a self, sel: &'a str, attr: &'a str) -> Result<&str, ScrapingErrorKind> { [INFO] [stdout] | -- -- -- ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 132 | pub fn get_attr_once<'a>(&'a self, sel: &'a str, attr: &'a str) -> Result<&'a str, ScrapingErrorKind> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/scraping.rs:157:79 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get_all_attr<'a>(&'a self, sel: &'a str, attr: &str) -> Result, SelectorErrorKind> { [INFO] [stdout] | -- -- ^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | the lifetime is named here the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get_all_attr<'a>(&'a self, sel: &'a str, attr: &str) -> Result, SelectorErrorKind<'a>> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "e412e0a9d66c9e5b80486277f33d38243345f183a5d4cd8db939b96644414a96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e412e0a9d66c9e5b80486277f33d38243345f183a5d4cd8db939b96644414a96", kill_on_drop: false }` [INFO] [stdout] e412e0a9d66c9e5b80486277f33d38243345f183a5d4cd8db939b96644414a96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c2a76f17c88a9eb909cdbb1f998081a258d80cce96c70501637f4c762cbf680 [INFO] running `Command { std: "docker" "start" "-a" "7c2a76f17c88a9eb909cdbb1f998081a258d80cce96c70501637f4c762cbf680", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scraping.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn from_fragment(fragment: &str) -> Result { [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] 46 | pub fn from_fragment(fragment: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/scraping.rs:51:62 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_els<'a>(&'a self, sel: &'a str) -> Result, ScrapingErrorKind> { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_els<'a>(&'a self, sel: &'a str) -> Result>, ScrapingErrorKind> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/scraping.rs:62:57 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn get_el<'a>(&'a self, sel: &'a str) -> Result { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 62 | pub fn get_el<'a>(&'a self, sel: &'a str) -> Result, ScrapingErrorKind> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/scraping.rs:132:79 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn get_attr_once<'a>(&'a self, sel: &'a str, attr: &'a str) -> Result<&str, ScrapingErrorKind> { [INFO] [stdout] | -- -- -- ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 132 | pub fn get_attr_once<'a>(&'a self, sel: &'a str, attr: &'a str) -> Result<&'a str, ScrapingErrorKind> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/scraping.rs:157:79 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get_all_attr<'a>(&'a self, sel: &'a str, attr: &str) -> Result, SelectorErrorKind> { [INFO] [stdout] | -- -- ^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | the lifetime is named here the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get_all_attr<'a>(&'a self, sel: &'a str, attr: &str) -> Result, SelectorErrorKind<'a>> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling scr v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scraping.rs:46:36 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn from_fragment(fragment: &str) -> Result { [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] 46 | pub fn from_fragment(fragment: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/scraping.rs:51:62 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_els<'a>(&'a self, sel: &'a str) -> Result, ScrapingErrorKind> { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_els<'a>(&'a self, sel: &'a str) -> Result>, ScrapingErrorKind> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/scraping.rs:62:57 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn get_el<'a>(&'a self, sel: &'a str) -> Result { [INFO] [stdout] | -- -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 62 | pub fn get_el<'a>(&'a self, sel: &'a str) -> Result, ScrapingErrorKind> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/scraping.rs:132:79 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn get_attr_once<'a>(&'a self, sel: &'a str, attr: &'a str) -> Result<&str, ScrapingErrorKind> { [INFO] [stdout] | -- -- -- ^^^^ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetime is named here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 132 | pub fn get_attr_once<'a>(&'a self, sel: &'a str, attr: &'a str) -> Result<&'a str, ScrapingErrorKind> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding or eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/scraping.rs:157:79 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get_all_attr<'a>(&'a self, sel: &'a str, attr: &str) -> Result, SelectorErrorKind> { [INFO] [stdout] | -- -- ^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | the lifetime is named here the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 157 | pub fn get_all_attr<'a>(&'a self, sel: &'a str, attr: &str) -> Result, SelectorErrorKind<'a>> { [INFO] [stdout] | ++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "7c2a76f17c88a9eb909cdbb1f998081a258d80cce96c70501637f4c762cbf680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c2a76f17c88a9eb909cdbb1f998081a258d80cce96c70501637f4c762cbf680", kill_on_drop: false }` [INFO] [stdout] 7c2a76f17c88a9eb909cdbb1f998081a258d80cce96c70501637f4c762cbf680