[INFO] fetching crate article-date-extractor 0.1.1... [INFO] checking article-date-extractor-0.1.1 against try#09ea730c380b8b9acb96ff87b724c45df920f793 for pr-134272 [INFO] extracting crate article-date-extractor 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate article-date-extractor 0.1.1 on toolchain 09ea730c380b8b9acb96ff87b724c45df920f793 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate article-date-extractor 0.1.1 [INFO] finished tweaking crates.io crate article-date-extractor 0.1.1 [INFO] tweaked toml for crates.io crate article-date-extractor 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "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 87 packages to latest compatible versions [INFO] [stderr] Adding chrono v0.3.0 (available: v0.4.39) [INFO] [stderr] Adding error-chain v0.10.0 (available: v0.12.4) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding regex v0.2.11 (available: v1.11.1) [INFO] [stderr] Adding select v0.4.3 (available: v0.6.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] daa18f2db2642783fc6f94207fee6c62da6b871b8bc359e3edd6342e3ebeefb0 [INFO] running `Command { std: "docker" "start" "-a" "daa18f2db2642783fc6f94207fee6c62da6b871b8bc359e3edd6342e3ebeefb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "daa18f2db2642783fc6f94207fee6c62da6b871b8bc359e3edd6342e3ebeefb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daa18f2db2642783fc6f94207fee6c62da6b871b8bc359e3edd6342e3ebeefb0", kill_on_drop: false }` [INFO] [stdout] daa18f2db2642783fc6f94207fee6c62da6b871b8bc359e3edd6342e3ebeefb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b4b5c711d09afb44b085897d9540c7f1b8a4c54ac50a775a5ed79f0a48ffb89 [INFO] running `Command { std: "docker" "start" "-a" "8b4b5c711d09afb44b085897d9540c7f1b8a4c54ac50a775a5ed79f0a48ffb89", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking miniz_oxide v0.8.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking chrono v0.3.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Compiling markup5ever v0.8.1 [INFO] [stderr] Compiling html5ever v0.23.0 [INFO] [stderr] Checking select v0.4.3 [INFO] [stderr] Checking article-date-extractor v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/extract_date.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / lazy_static! { [INFO] [stdout] 23 | | // Regex by Newspaper3k - https://github.com/codelucas/newspaper/blob/master/newspaper/urls.py [INFO] [stdout] 24 | | static ref RE: Regex = [INFO] [stdout] 25 | | Regex::new(r"([\./\-_]{0,1}(19|20)\d{2})[\./\-_]{0,1}(([0-3]{0,1}[0-9][\./\-_])|(\w{3,5}[\./\-_]))([0-3]{0,1}[0-9][\./\-]{0,1})")... [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/extract_date.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | / lazy_static! { [INFO] [stdout] 165 | | static ref TAG_RE: Regex = [INFO] [stdout] 166 | | Regex::new(r"(?i)publishdate|pubdate|timestamp|article_date|articledate|date").unwrap(); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/extract_date.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 258 | assert_eq!(Some(("2015-11-30 23:50:48".to_string())), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 258 - assert_eq!(Some(("2015-11-30 23:50:48".to_string())), [INFO] [stdout] 258 + assert_eq!(Some("2015-11-30 23:50:48".to_string()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/extract_date.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / lazy_static! { [INFO] [stdout] 23 | | // Regex by Newspaper3k - https://github.com/codelucas/newspaper/blob/master/newspaper/urls.py [INFO] [stdout] 24 | | static ref RE: Regex = [INFO] [stdout] 25 | | Regex::new(r"([\./\-_]{0,1}(19|20)\d{2})[\./\-_]{0,1}(([0-3]{0,1}[0-9][\./\-_])|(\w{3,5}[\./\-_]))([0-3]{0,1}[0-9][\./\-]{0,1})")... [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/extract_date.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | / lazy_static! { [INFO] [stdout] 165 | | static ref TAG_RE: Regex = [INFO] [stdout] 166 | | Regex::new(r"(?i)publishdate|pubdate|timestamp|article_date|articledate|date").unwrap(); [INFO] [stdout] 167 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.23.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8b4b5c711d09afb44b085897d9540c7f1b8a4c54ac50a775a5ed79f0a48ffb89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b4b5c711d09afb44b085897d9540c7f1b8a4c54ac50a775a5ed79f0a48ffb89", kill_on_drop: false }` [INFO] [stdout] 8b4b5c711d09afb44b085897d9540c7f1b8a4c54ac50a775a5ed79f0a48ffb89