[INFO] cloning repository https://github.com/dbr/vidl-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dbr/vidl-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbr%2Fvidl-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbr%2Fvidl-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f99b1c47469505fd6c0cf34d1c4c2255de2d2477 [INFO] checking dbr/vidl-rs against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbr%2Fvidl-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dbr/vidl-rs [INFO] finished tweaking git repo https://github.com/dbr/vidl-rs [INFO] tweaked toml for git repo https://github.com/dbr/vidl-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dbr/vidl-rs on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dbr/vidl-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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded snapbox v0.4.17 [INFO] [stderr] Downloaded mockito v0.32.5 [INFO] [stderr] Downloaded attohttpc v0.26.1 [INFO] [stderr] Downloaded rouille v3.6.2 [INFO] [stderr] Downloaded trycmd v0.14.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e318a0dec1453aaefcda55bbf847ed152e4f516c5e6a2a62ef6c216bcc47e131 [INFO] running `Command { std: "docker" "start" "-a" "e318a0dec1453aaefcda55bbf847ed152e4f516c5e6a2a62ef6c216bcc47e131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e318a0dec1453aaefcda55bbf847ed152e4f516c5e6a2a62ef6c216bcc47e131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e318a0dec1453aaefcda55bbf847ed152e4f516c5e6a2a62ef6c216bcc47e131", kill_on_drop: false }` [INFO] [stdout] e318a0dec1453aaefcda55bbf847ed152e4f516c5e6a2a62ef6c216bcc47e131 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f89880906ff738b4672e0b3a998b2da82d734dcd3b6b32d24cef5174b478e230 [INFO] running `Command { std: "docker" "start" "-a" "f89880906ff738b4672e0b3a998b2da82d734dcd3b6b32d24cef5174b478e230", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempfile v3.19.1 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking snapbox-macros v0.3.10 [INFO] [stderr] Checking gzip-header v1.0.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking os_pipe v1.2.1 [INFO] [stderr] Checking content_inspector v0.2.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking dunce v1.0.5 [INFO] [stderr] Checking winnow v0.7.10 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking toml_write v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking hashbrown v0.5.0 [INFO] [stderr] Checking chunked_transfer v1.5.0 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking snapbox v0.4.17 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking evmap v6.0.1 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking multipart v0.18.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking nonzero_ext v0.1.5 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking ratelimit_meter v5.0.0 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking fern v0.6.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking regex-automata v0.4.9 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking attohttpc v0.26.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking rusqlite v0.29.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.9 [INFO] [stderr] Checking humantime-serde v1.1.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_edit v0.22.26 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Checking rouille v3.6.2 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Checking trycmd v0.14.21 [INFO] [stderr] Checking askama v0.12.1 [INFO] [stderr] Checking vidl v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/source/invidious.rs:189:47 [INFO] [stdout] | [INFO] [stdout] 189 | published_at: chrono::Utc.timestamp(d.published, 0), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/web.rs:261:45 [INFO] [stdout] | [INFO] [stdout] 261 | let timestamp = v.info.published_at.date().format("%Y-%m-%d").to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_workers` is never read [INFO] [stdout] --> src/config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub num_workers: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `date_added` is never read [INFO] [stdout] --> src/db.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct DBVideoInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub date_added: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DBVideoInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/libmig.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Migration: std::fmt::Debug { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 14 | fn get_version(&self) -> i64; [INFO] [stdout] 15 | fn get_name(&self) -> &str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/source/base.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ChannelMetadata { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db_migration.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_migrator(db: &rusqlite::Connection) -> Migrator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_migrator(db: &rusqlite::Connection) -> Migrator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/source/invidious.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(chan_id: &YoutubeID) -> YoutubeQuery { [INFO] [stdout] | ^^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 112 | pub fn new(chan_id: &YoutubeID) -> YoutubeQuery<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking mockito v0.32.5 [INFO] [stdout] warning: use of deprecated function `mockito::server_url`: Use `Server::url` instead [INFO] [stdout] --> src/source/invidious.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | let prefix: String = mockito::server_url(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `mockito::mock`: Use `Server::mock` instead [INFO] [stdout] --> src/source/invidious.rs:344:28 [INFO] [stdout] | [INFO] [stdout] 344 | let _m1 = mockito::mock("GET", "/api/v1/channels/thegreatsd") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `mockito::mock`: Use `Server::mock` instead [INFO] [stdout] --> src/source/invidious.rs:347:28 [INFO] [stdout] | [INFO] [stdout] 347 | let _m2 = mockito::mock("GET", "/api/v1/channels/UCUBfKCp83QT19JCUekEdxOQ") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `mockito::mock`: Use `Server::mock` instead [INFO] [stdout] --> src/source/invidious.rs:364:32 [INFO] [stdout] | [INFO] [stdout] 364 | let mock_p1 = mockito::mock( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `mockito::mock`: Use `Server::mock` instead [INFO] [stdout] --> src/source/invidious.rs:371:32 [INFO] [stdout] | [INFO] [stdout] 371 | let mock_p2 = mockito::mock( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `mockito::mock`: Use `Server::mock` instead [INFO] [stdout] --> src/source/invidious.rs:409:32 [INFO] [stdout] | [INFO] [stdout] 409 | let mock_p1 = mockito::mock("GET", "/api/v1/channels/UCOYYX1Ucvx87A7CSy5M99yw?page=1") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `mockito::mock`: Use `Server::mock` instead [INFO] [stdout] --> src/source/invidious.rs:426:28 [INFO] [stdout] | [INFO] [stdout] 426 | let _m1 = mockito::mock("GET", "/api/v1/channels/UCUBfKCp83QT19JCUekEdxOQ") [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stdout] --> src/source/invidious.rs:189:47 [INFO] [stdout] | [INFO] [stdout] 189 | published_at: chrono::Utc.timestamp(d.published, 0), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/web.rs:261:45 [INFO] [stdout] | [INFO] [stdout] 261 | let timestamp = v.info.published_at.date().format("%Y-%m-%d").to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num_workers` is never read [INFO] [stdout] --> src/config.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub num_workers: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `date_added` is never read [INFO] [stdout] --> src/db.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct DBVideoInfo { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | pub date_added: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DBVideoInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_name` is never used [INFO] [stdout] --> src/libmig.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Migration: std::fmt::Debug { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 14 | fn get_version(&self) -> i64; [INFO] [stdout] 15 | fn get_name(&self) -> &str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/source/base.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ChannelMetadata { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db_migration.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_migrator(db: &rusqlite::Connection) -> Migrator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 146 | pub fn get_migrator(db: &rusqlite::Connection) -> Migrator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/source/invidious.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(chan_id: &YoutubeID) -> YoutubeQuery { [INFO] [stdout] | ^^^^^^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [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] 112 | pub fn new(chan_id: &YoutubeID) -> YoutubeQuery<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.81s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.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" "f89880906ff738b4672e0b3a998b2da82d734dcd3b6b32d24cef5174b478e230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f89880906ff738b4672e0b3a998b2da82d734dcd3b6b32d24cef5174b478e230", kill_on_drop: false }` [INFO] [stdout] f89880906ff738b4672e0b3a998b2da82d734dcd3b6b32d24cef5174b478e230