[INFO] cloning repository https://github.com/NekoFluff/hololive-livestream-notifier-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NekoFluff/hololive-livestream-notifier-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNekoFluff%2Fhololive-livestream-notifier-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNekoFluff%2Fhololive-livestream-notifier-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bdb083b0cb56679b87961c9c8327d853ab50b0b6 [INFO] building NekoFluff/hololive-livestream-notifier-rs against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNekoFluff%2Fhololive-livestream-notifier-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NekoFluff/hololive-livestream-notifier-rs [INFO] finished tweaking git repo https://github.com/NekoFluff/hololive-livestream-notifier-rs [INFO] tweaked toml for git repo https://github.com/NekoFluff/hololive-livestream-notifier-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NekoFluff/hololive-livestream-notifier-rs 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] crate git repo https://github.com/NekoFluff/hololive-livestream-notifier-rs 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-tungstenite v0.17.2 [INFO] [stderr] Downloaded async-once-cell v0.5.3 [INFO] [stderr] Downloaded poise_macros v0.5.7 [INFO] [stderr] Downloaded tungstenite v0.17.3 [INFO] [stderr] Downloaded poise v0.5.7 [INFO] [stderr] Downloaded tokio-cron-scheduler v0.9.4 [INFO] [stderr] Downloaded serenity v0.11.7 [INFO] [stderr] Downloaded mongodb v2.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3fa6ec124fb71da1a4b3c40f477ee6bd8dd4dd0074d7c8af183edef5d4e9364a [INFO] running `Command { std: "docker" "start" "-a" "3fa6ec124fb71da1a4b3c40f477ee6bd8dd4dd0074d7c8af183edef5d4e9364a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fa6ec124fb71da1a4b3c40f477ee6bd8dd4dd0074d7c8af183edef5d4e9364a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fa6ec124fb71da1a4b3c40f477ee6bd8dd4dd0074d7c8af183edef5d4e9364a", kill_on_drop: false }` [INFO] [stdout] 3fa6ec124fb71da1a4b3c40f477ee6bd8dd4dd0074d7c8af183edef5d4e9364a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1a4a69e705bf414dde16cfe68228ffc3d2700495cba853412fe419f1b356e75e [INFO] running `Command { std: "docker" "start" "-a" "1a4a69e705bf414dde16cfe68228ffc3d2700495cba853412fe419f1b356e75e", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling serenity v0.11.7 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling servo_arc v0.3.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling tokio-cron-scheduler v0.9.4 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling async-once-cell v0.5.3 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.207 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling poise_macros v0.5.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling tungstenite v0.17.3 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling async-tungstenite v0.17.2 [INFO] [stderr] Compiling scraper v0.17.1 [INFO] [stderr] Compiling cron v0.12.1 [INFO] [stderr] Compiling bson v2.11.0 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling mongodb v2.8.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling poise v0.5.7 [INFO] [stderr] Compiling hololive-livestream-notifier-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `hub` and `topic` are never read [INFO] [stdout] --> src/pubsub.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Subscription { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 82 | hub: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | topic: reqwest::Url, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Subscription` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/data.rs:160:37 [INFO] [stdout] | [INFO] [stdout] 160 | Ok(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/data.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/main.rs:354:33 [INFO] [stdout] | [INFO] [stdout] 354 | let date = DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/main.rs:355:24 [INFO] [stdout] | [INFO] [stdout] 355 | NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/main.rs:418:43 [INFO] [stdout] | [INFO] [stdout] 418 | let mst_dt = DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/main.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scraper` is never constructed [INFO] [stdout] --> src/data.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct Scraper { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, and `get_stream_dt` are never used [INFO] [stdout] --> src/data.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl Scraper { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 132 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | async fn get(&self, url: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub async fn get_stream_dt( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Username` is never constructed [INFO] [stdout] --> src/data/models.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Username(String); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Email` is never constructed [INFO] [stdout] --> src/data/models.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Email(String); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `group` and `generation` are never read [INFO] [stdout] --> src/data/models.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Feed { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | pub group: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 55 | #[serde(default)] [INFO] [stdout] 56 | pub generation: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Feed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `channel_id` are never read [INFO] [stdout] --> src/youtube.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct VideoMetadata { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 4 | pub title: String, [INFO] [stdout] 5 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | pub channel_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VideoMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 47s [INFO] running `Command { std: "docker" "inspect" "1a4a69e705bf414dde16cfe68228ffc3d2700495cba853412fe419f1b356e75e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a4a69e705bf414dde16cfe68228ffc3d2700495cba853412fe419f1b356e75e", kill_on_drop: false }` [INFO] [stdout] 1a4a69e705bf414dde16cfe68228ffc3d2700495cba853412fe419f1b356e75e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 06397ffabe2489ca56b2d0e5bc6d1de74084a8351b85a04a4ccfe37557e783cd [INFO] running `Command { std: "docker" "start" "-a" "06397ffabe2489ca56b2d0e5bc6d1de74084a8351b85a04a4ccfe37557e783cd", kill_on_drop: false }` [INFO] [stdout] warning: fields `hub` and `topic` are never read [INFO] [stdout] --> src/pubsub.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Subscription { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 82 | hub: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | topic: reqwest::Url, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Subscription` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hololive-livestream-notifier-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `hub` and `topic` are never read [INFO] [stdout] --> src/pubsub.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct Subscription { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 82 | hub: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 83 | topic: reqwest::Url, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Subscription` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/data.rs:160:37 [INFO] [stdout] | [INFO] [stdout] 160 | Ok(DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/data.rs:161:36 [INFO] [stdout] | [INFO] [stdout] 161 | NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/main.rs:354:33 [INFO] [stdout] | [INFO] [stdout] 354 | let date = DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/main.rs:355:24 [INFO] [stdout] | [INFO] [stdout] 355 | NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/main.rs:418:43 [INFO] [stdout] | [INFO] [stdout] 418 | let mst_dt = DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/main.rs:419:24 [INFO] [stdout] | [INFO] [stdout] 419 | NaiveDateTime::from_timestamp_opt(timestamp, 0).unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scraper` is never constructed [INFO] [stdout] --> src/data.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct Scraper { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, and `get_stream_dt` are never used [INFO] [stdout] --> src/data.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl Scraper { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 132 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | async fn get(&self, url: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub async fn get_stream_dt( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Username` is never constructed [INFO] [stdout] --> src/data/models.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Username(String); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Email` is never constructed [INFO] [stdout] --> src/data/models.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Email(String); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `group` and `generation` are never read [INFO] [stdout] --> src/data/models.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Feed { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | pub group: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 55 | #[serde(default)] [INFO] [stdout] 56 | pub generation: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Feed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `channel_id` are never read [INFO] [stdout] --> src/youtube.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct VideoMetadata { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 4 | pub title: String, [INFO] [stdout] 5 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | pub channel_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VideoMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.21s [INFO] running `Command { std: "docker" "inspect" "06397ffabe2489ca56b2d0e5bc6d1de74084a8351b85a04a4ccfe37557e783cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06397ffabe2489ca56b2d0e5bc6d1de74084a8351b85a04a4ccfe37557e783cd", kill_on_drop: false }` [INFO] [stdout] 06397ffabe2489ca56b2d0e5bc6d1de74084a8351b85a04a4ccfe37557e783cd