[INFO] fetching crate progscrape-scrapers 0.0.2... [INFO] testing progscrape-scrapers-0.0.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate progscrape-scrapers 0.0.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate progscrape-scrapers 0.0.2 [INFO] finished tweaking crates.io crate progscrape-scrapers 0.0.2 [INFO] tweaked toml for crates.io crate progscrape-scrapers 0.0.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate progscrape-scrapers 0.0.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate progscrape-scrapers 0.0.2 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tl v0.7.8 [INFO] [stderr] Downloaded urlnorm v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8e76032ce0764b17545d0a976a4c81323110b0cf0eb40ac693b7f4bc72c2f30 [INFO] running `Command { std: "docker" "start" "-a" "e8e76032ce0764b17545d0a976a4c81323110b0cf0eb40ac693b7f4bc72c2f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8e76032ce0764b17545d0a976a4c81323110b0cf0eb40ac693b7f4bc72c2f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8e76032ce0764b17545d0a976a4c81323110b0cf0eb40ac693b7f4bc72c2f30", kill_on_drop: false }` [INFO] [stdout] e8e76032ce0764b17545d0a976a4c81323110b0cf0eb40ac693b7f4bc72c2f30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a445fe9b590af9fb420ed927e2fc529639c90c3dd4b073b485288b4f73d2d2a0 [INFO] running `Command { std: "docker" "start" "-a" "a445fe9b590af9fb420ed927e2fc529639c90c3dd4b073b485288b4f73d2d2a0", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling roxmltree v0.20.0 [INFO] [stderr] Compiling tl v0.7.8 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling urlnorm v0.1.6 [INFO] [stderr] Compiling progscrape-scrapers v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/backends/feed.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | args: &Self::Config, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/backends/mod.rs:136:35 [INFO] [stdout] | [INFO] [stdout] 136 | pub(crate) fn extract(&self, config: &ScrapeConfig) -> ScrapeCore { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 350 | / scrapers! { [INFO] [stdout] 351 | | hacker_news::HackerNews, [INFO] [stdout] 352 | | slashdot::Slashdot, [INFO] [stdout] 353 | | lobsters::Lobsters, [INFO] [stdout] 354 | | reddit::Reddit, [INFO] [stdout] 355 | | feed::Feed, [INFO] [stdout] 356 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `scrapers` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 136 | pub(crate) fn extract(&self, config: &ScrapeConfig) -> ScrapeCore<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/datasci/titletrimmer.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn trim_title(mut title: &str, ideal_length: usize, awkward_length: usize) -> Cow { [INFO] [stdout] | ^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn trim_title(mut title: &str, ideal_length: usize, awkward_length: usize) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.23s [INFO] running `Command { std: "docker" "inspect" "a445fe9b590af9fb420ed927e2fc529639c90c3dd4b073b485288b4f73d2d2a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a445fe9b590af9fb420ed927e2fc529639c90c3dd4b073b485288b4f73d2d2a0", kill_on_drop: false }` [INFO] [stdout] a445fe9b590af9fb420ed927e2fc529639c90c3dd4b073b485288b4f73d2d2a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ca3f9f9ae0bff9f92a0db47fad3d559235c9b593387cd15455e3221949361aed [INFO] running `Command { std: "docker" "start" "-a" "ca3f9f9ae0bff9f92a0db47fad3d559235c9b593387cd15455e3221949361aed", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling rstest v0.25.0 [INFO] [stderr] Compiling progscrape-scrapers v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/backends/feed.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | args: &Self::Config, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/backends/mod.rs:136:35 [INFO] [stdout] | [INFO] [stdout] 136 | pub(crate) fn extract(&self, config: &ScrapeConfig) -> ScrapeCore { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 350 | / scrapers! { [INFO] [stdout] 351 | | hacker_news::HackerNews, [INFO] [stdout] 352 | | slashdot::Slashdot, [INFO] [stdout] 353 | | lobsters::Lobsters, [INFO] [stdout] 354 | | reddit::Reddit, [INFO] [stdout] 355 | | feed::Feed, [INFO] [stdout] 356 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `scrapers` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 136 | pub(crate) fn extract(&self, config: &ScrapeConfig) -> ScrapeCore<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/datasci/titletrimmer.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn trim_title(mut title: &str, ideal_length: usize, awkward_length: usize) -> Cow { [INFO] [stdout] | ^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn trim_title(mut title: &str, ideal_length: usize, awkward_length: usize) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/backends/feed.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | args: &Self::Config, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/backends/mod.rs:136:35 [INFO] [stdout] | [INFO] [stdout] 136 | pub(crate) fn extract(&self, config: &ScrapeConfig) -> ScrapeCore { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 350 | / scrapers! { [INFO] [stdout] 351 | | hacker_news::HackerNews, [INFO] [stdout] 352 | | slashdot::Slashdot, [INFO] [stdout] 353 | | lobsters::Lobsters, [INFO] [stdout] 354 | | reddit::Reddit, [INFO] [stdout] 355 | | feed::Feed, [INFO] [stdout] 356 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `scrapers` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 136 | pub(crate) fn extract(&self, config: &ScrapeConfig) -> ScrapeCore<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/datasci/titletrimmer.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn trim_title(mut title: &str, ideal_length: usize, awkward_length: usize) -> Cow { [INFO] [stdout] | ^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn trim_title(mut title: &str, ideal_length: usize, awkward_length: usize) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.66s [INFO] running `Command { std: "docker" "inspect" "ca3f9f9ae0bff9f92a0db47fad3d559235c9b593387cd15455e3221949361aed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca3f9f9ae0bff9f92a0db47fad3d559235c9b593387cd15455e3221949361aed", kill_on_drop: false }` [INFO] [stdout] ca3f9f9ae0bff9f92a0db47fad3d559235c9b593387cd15455e3221949361aed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 76aaf2362c87da8b86f9a360b287deee4dc2663766eb706e56dd5c3f354d8a6b [INFO] running `Command { std: "docker" "start" "-a" "76aaf2362c87da8b86f9a360b287deee4dc2663766eb706e56dd5c3f354d8a6b", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/backends/feed.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 66 | args: &Self::Config, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/backends/mod.rs:136:35 [INFO] [stderr] | [INFO] [stderr] 136 | pub(crate) fn extract(&self, config: &ScrapeConfig) -> ScrapeCore { [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 350 | / scrapers! { [INFO] [stderr] 351 | | hacker_news::HackerNews, [INFO] [stderr] 352 | | slashdot::Slashdot, [INFO] [stderr] 353 | | lobsters::Lobsters, [INFO] [stderr] 354 | | reddit::Reddit, [INFO] [stderr] 355 | | feed::Feed, [INFO] [stderr] 356 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] = note: this warning originates in the macro `scrapers` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 136 | pub(crate) fn extract(&self, config: &ScrapeConfig) -> ScrapeCore<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/datasci/titletrimmer.rs:16:30 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn trim_title(mut title: &str, ideal_length: usize, awkward_length: usize) -> Cow { [INFO] [stderr] | ^^^^ this lifetime flows to the output -------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 16 | pub fn trim_title(mut title: &str, ideal_length: usize, awkward_length: usize) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `progscrape-scrapers` (lib) generated 3 warnings (run `cargo fix --lib -p progscrape-scrapers` to apply 2 suggestions) [INFO] [stderr] warning: `progscrape-scrapers` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/progscrape_scrapers-24b241f026ebb0ed) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test backends::slashdot::test::test_date_parse::case_1 ... ok [INFO] [stdout] test backends::slashdot::test::test_date_parse::case_4 ... ok [INFO] [stdout] test backends::utils::html::test::test_bad_escape::case_2 ... ok [INFO] [stdout] test backends::utils::html::test::test_unescape::case_1 ... ok [INFO] [stdout] test backends::utils::html::test::test_unescape::case_2 ... ok [INFO] [stdout] test backends::slashdot::test::test_date_parse::case_2 ... ok [INFO] [stdout] test backends::slashdot::test::test_extract_topic::case_1 ... ok [INFO] [stdout] test backends::slashdot::test::test_extract_topic::case_2 ... ok [INFO] [stdout] test backends::utils::html::test::test_unescape::case_4 ... ok [INFO] [stdout] test backends::slashdot::test::test_date_parse::case_5 ... ok [INFO] [stdout] test datasci::titletrimmer::test::test_remove_tags::case_2 ... ok [INFO] [stdout] test datasci::titletrimmer::test::test_remove_tags::case_4 ... ok [INFO] [stdout] test backends::utils::html::test::test_unescape::case_3 ... ok [INFO] [stdout] test backends::utils::html::test::test_unescape::case_5 ... ok [INFO] [stdout] test datasci::titletrimmer::test::test_remove_tags::case_5 ... ok [INFO] [stdout] test backends::slashdot::test::test_extract_topic::case_3 ... ok [INFO] [stdout] test datasci::titletrimmer::test::test_remove_tags::case_1 ... ok [INFO] [stdout] test datasci::titletrimmer::test::test_reddit_samples ... ok [INFO] [stdout] test datasci::titletrimmer::test::test_remove_tags::case_6 ... ok [INFO] [stdout] test datasci::titletrimmer::test::test_remove_tags::case_3 ... ok [INFO] [stdout] test backends::utils::html::test::test_bad_escape::case_1 ... ok [INFO] [stdout] test backends::utils::html::test::test_bad_escape::case_3 ... ok [INFO] [stdout] test backends::slashdot::test::test_date_parse::case_3 ... ok [INFO] [stdout] test datasci::titletrimmer::test::test_remove_tags::case_7 ... ok [INFO] [stdout] test types::date::test::test_parse_from_rfc3339_loose ... ok [INFO] [stdout] test types::date::test::test_serialize ... ok [INFO] [stdout] test backends::test::test_scrape_all ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "76aaf2362c87da8b86f9a360b287deee4dc2663766eb706e56dd5c3f354d8a6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76aaf2362c87da8b86f9a360b287deee4dc2663766eb706e56dd5c3f354d8a6b", kill_on_drop: false }` [INFO] [stdout] 76aaf2362c87da8b86f9a360b287deee4dc2663766eb706e56dd5c3f354d8a6b