[INFO] cloning repository https://github.com/dbr/vidl-rs [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbr%2Fvidl-rs'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f99b1c47469505fd6c0cf34d1c4c2255de2d2477 [INFO] testing dbr/vidl-rs against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbr%2Fvidl-rs" "/workspace/builds/worker-7-tc2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dbr/vidl-rs on toolchain 1.101.0-beta.1 [INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"` [INFO] crate git repo https://github.com/dbr/vidl-rs already has a lockfile, it will not be regenerated [INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"` [INFO] [stdout] e5cd2e250bc6ceca1c2b43c4a12c63a51706cb425aaac48d9728ec8c0b5e58c2 [INFO] running `"docker" "start" "e5cd2e250bc6ceca1c2b43c4a12c63a51706cb425aaac48d9728ec8c0b5e58c2"` [INFO] running `"docker" "inspect" "e5cd2e250bc6ceca1c2b43c4a12c63a51706cb425aaac48d9728ec8c0b5e58c2"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e5cd2e250bc6ceca1c2b43c4a12c63a51706cb425aaac48d9728ec8c0b5e58c2" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"` [INFO] running `"docker" "inspect" "e5cd2e250bc6ceca1c2b43c4a12c63a51706cb425aaac48d9728ec8c0b5e58c2"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e5cd2e250bc6ceca1c2b43c4a12c63a51706cb425aaac48d9728ec8c0b5e58c2" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling snapbox-macros v0.3.10 [INFO] [stderr] Compiling gzip-header v1.0.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling tiny_http v0.12.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling os_pipe v1.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling evmap v6.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling libsqlite3-sys v0.26.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling snapbox v0.4.17 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling nonzero_ext v0.1.5 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling ratelimit_meter v5.0.0 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling fern v0.6.2 [INFO] [stderr] Compiling multipart v0.18.0 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling serde v1.0.219 [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_properties v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [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 toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling humantime-serde v1.1.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling attohttpc v0.26.1 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Compiling rouille v3.6.2 [INFO] [stderr] Compiling trycmd v0.14.21 [INFO] [stderr] Compiling askama v0.12.1 [INFO] [stderr] Compiling rusqlite v0.29.0 [INFO] [stderr] Compiling vidl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::i64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/backup.rs:141:53 [INFO] [stdout] | [INFO] [stdout] 141 | let vids = crate::db::all_videos(&db, std::i64::MAX, 0, None)?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type [INFO] [stdout] --> src/libmig.rs:86:76 [INFO] [stdout] | [INFO] [stdout] 86 | .skip_while(|x| x.get_version() <= cur_ver.unwrap_or(std::i64::MIN)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::i64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/worker.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 228 | std::i64::MAX, [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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is 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 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] 146 | pub fn get_migrator(db: &rusqlite::Connection) -> Migrator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/source/invidious.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(chan_id: &YoutubeID) -> YoutubeQuery { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(chan_id: &YoutubeID) -> YoutubeQuery<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `trycmd` [INFO] [stderr] --> Cargo.toml:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | trycmd = "0.14.17" [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `trycmd` [INFO] [stderr] warning: `vidl` (manifest) generated 1 warning [INFO] [stderr] Finished `release` profile [optimized] target(s) in 2m 50s [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 5` [INFO] running `"docker" "inspect" "e5cd2e250bc6ceca1c2b43c4a12c63a51706cb425aaac48d9728ec8c0b5e58c2"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e5cd2e250bc6ceca1c2b43c4a12c63a51706cb425aaac48d9728ec8c0b5e58c2" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"` [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stdout] warning: use of deprecated constant `std::i64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/backup.rs:141:53 [INFO] [stdout] | [INFO] [stdout] 141 | let vids = crate::db::all_videos(&db, std::i64::MAX, 0, None)?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type [INFO] [stdout] --> src/libmig.rs:86:76 [INFO] [stdout] | [INFO] [stdout] 86 | .skip_while(|x| x.get_version() <= cur_ver.unwrap_or(std::i64::MIN)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::i64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/worker.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 228 | std::i64::MAX, [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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is 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 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] 146 | pub fn get_migrator(db: &rusqlite::Connection) -> Migrator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/source/invidious.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(chan_id: &YoutubeID) -> YoutubeQuery { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(chan_id: &YoutubeID) -> YoutubeQuery<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling mockito v0.32.5 [INFO] [stderr] Compiling vidl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::i64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/backup.rs:141:53 [INFO] [stdout] | [INFO] [stdout] 141 | let vids = crate::db::all_videos(&db, std::i64::MAX, 0, None)?; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type [INFO] [stdout] --> src/libmig.rs:86:76 [INFO] [stdout] | [INFO] [stdout] 86 | .skip_while(|x| x.get_version() <= cur_ver.unwrap_or(std::i64::MIN)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [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] [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 constant `std::i64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/worker.rs:228:19 [INFO] [stdout] | [INFO] [stdout] 228 | std::i64::MAX, [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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is 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 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] 146 | pub fn get_migrator(db: &rusqlite::Connection) -> Migrator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/source/invidious.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(chan_id: &YoutubeID) -> YoutubeQuery { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn new(chan_id: &YoutubeID) -> YoutubeQuery<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 53.31s [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 5` [INFO] running `"docker" "inspect" "e5cd2e250bc6ceca1c2b43c4a12c63a51706cb425aaac48d9728ec8c0b5e58c2"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e5cd2e250bc6ceca1c2b43c4a12c63a51706cb425aaac48d9728ec8c0b5e58c2" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"` [INFO] [stderr] warning: use of deprecated constant `std::i64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/backup.rs:141:53 [INFO] [stderr] | [INFO] [stderr] 141 | let vids = crate::db::all_videos(&db, std::i64::MAX, 0, None)?; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::i64::MIN`: replaced by the `MIN` associated constant on this type [INFO] [stderr] --> src/libmig.rs:86:76 [INFO] [stderr] | [INFO] [stderr] 86 | .skip_while(|x| x.get_version() <= cur_ver.unwrap_or(std::i64::MIN)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::i64::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/worker.rs:228:19 [INFO] [stderr] | [INFO] [stderr] 228 | std::i64::MAX, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead [INFO] [stderr] --> src/source/invidious.rs:189:47 [INFO] [stderr] | [INFO] [stderr] 189 | published_at: chrono::Utc.timestamp(d.published, 0), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stderr] --> src/web.rs:261:45 [INFO] [stderr] | [INFO] [stderr] 261 | let timestamp = v.info.published_at.date().format("%Y-%m-%d").to_string(); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `num_workers` is never read [INFO] [stderr] --> src/config.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Config { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 11 | pub num_workers: usize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `date_added` is never read [INFO] [stderr] --> src/db.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct DBVideoInfo { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 40 | pub date_added: chrono::DateTime, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DBVideoInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `get_name` is never used [INFO] [stderr] --> src/libmig.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub trait Migration: std::fmt::Debug { [INFO] [stderr] | --------- method in this trait [INFO] [stderr] 14 | fn get_version(&self) -> i64; [INFO] [stderr] 15 | fn get_name(&self) -> &str; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `description` is never read [INFO] [stderr] --> src/source/base.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct ChannelMetadata { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | pub description: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ChannelMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/db_migration.rs:146:25 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn get_migrator(db: &rusqlite::Connection) -> Migrator { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 146 | pub fn get_migrator(db: &rusqlite::Connection) -> Migrator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/source/invidious.rs:112:25 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn new(chan_id: &YoutubeID) -> YoutubeQuery { [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 112 | pub fn new(chan_id: &YoutubeID) -> YoutubeQuery<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `vidl` (bin "vidl") generated 11 warnings (run `cargo fix --bin "vidl" -p vidl` to apply 2 suggestions) [INFO] [stderr] warning: use of deprecated function `mockito::server_url`: Use `Server::url` instead [INFO] [stderr] --> src/source/invidious.rs:15:35 [INFO] [stderr] | [INFO] [stderr] 15 | let prefix: String = mockito::server_url(); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `mockito::mock`: Use `Server::mock` instead [INFO] [stderr] --> src/source/invidious.rs:344:28 [INFO] [stderr] | [INFO] [stderr] 344 | let _m1 = mockito::mock("GET", "/api/v1/channels/thegreatsd") [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `mockito::mock`: Use `Server::mock` instead [INFO] [stderr] --> src/source/invidious.rs:347:28 [INFO] [stderr] | [INFO] [stderr] 347 | let _m2 = mockito::mock("GET", "/api/v1/channels/UCUBfKCp83QT19JCUekEdxOQ") [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `mockito::mock`: Use `Server::mock` instead [INFO] [stderr] --> src/source/invidious.rs:364:32 [INFO] [stderr] | [INFO] [stderr] 364 | let mock_p1 = mockito::mock( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `mockito::mock`: Use `Server::mock` instead [INFO] [stderr] --> src/source/invidious.rs:371:32 [INFO] [stderr] | [INFO] [stderr] 371 | let mock_p2 = mockito::mock( [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `mockito::mock`: Use `Server::mock` instead [INFO] [stderr] --> src/source/invidious.rs:409:32 [INFO] [stderr] | [INFO] [stderr] 409 | let mock_p1 = mockito::mock("GET", "/api/v1/channels/UCOYYX1Ucvx87A7CSy5M99yw?page=1") [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `mockito::mock`: Use `Server::mock` instead [INFO] [stderr] --> src/source/invidious.rs:426:28 [INFO] [stderr] | [INFO] [stderr] 426 | let _m1 = mockito::mock("GET", "/api/v1/channels/UCUBfKCp83QT19JCUekEdxOQ") [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `vidl` (bin "vidl" test) generated 18 warnings (11 duplicates) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.25s [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 5` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/build/vidl/c452b95e27850978/out/vidl-c452b95e27850978) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test libmig::test_migration ... ok [INFO] [stdout] test db::tests::test_list_channels ... ok [INFO] [stdout] test db::tests::test_deleting ... ok [INFO] [stdout] test db::tests::test_filter ... ok [INFO] [stdout] test source::invidious::test::test_metadata ... FAILED [INFO] [stdout] test source::invidious::test_basic ... FAILED [INFO] [stdout] test source::invidious::test::test_video_list ... FAILED [INFO] [stdout] test source::invidious::test::test_video_list_error ... ok [INFO] [stdout] test source::invidious::test::test_basic_find ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- source::invidious::test::test_metadata stdout ---- [INFO] [stdout] Error: Failed to parse response from http://127.0.0.1:40049/api/v1/channels/UCUBfKCp83QT19JCUekEdxOQ?fields=author,authorId,description,authorThumbnails,authorBanners [INFO] [stdout] [INFO] [stdout] Caused by: [INFO] [stdout] EOF while parsing a value at line 1 column 0 [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: ::ext_context:: [INFO] [stdout] 1: ::get_metadata [INFO] [stdout] 2: >::call_once [INFO] [stdout] 3: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] 4: test::run_test::{closure#0} [INFO] [stdout] 5: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 6: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 7: ::new::thread_start [INFO] [stdout] 8: [INFO] [stdout] 9: clone [INFO] [stdout] [INFO] [stdout] ---- source::invidious::test_basic stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'source::invidious::test_basic' (2915) panicked at src/source/invidious.rs:314:55: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Failed to find any of ["https://www.youtube.com/@onceuponaclimb", "https://www.youtube.com/user/onceuponaclimb", "https://www.youtube.com/c/onceuponaclimb"] [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: ::msg:: [INFO] [stdout] 1: vidl::source::invidious::find_channel_id_workaround [INFO] [stdout] 2: >::call_once [INFO] [stdout] 3: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] 4: test::run_test::{closure#0} [INFO] [stdout] 5: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 6: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 7: ::new::thread_start [INFO] [stdout] 8: [INFO] [stdout] 9: clone [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x638c4861da31 - <::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt [INFO] [stdout] 1: 0x638c4863580a - core[5c14b8d5a259cc4e]::fmt::write [INFO] [stdout] 2: 0x638c486229fc - as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x638c485f8516 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x638c486154a9 - std[218a0f7bb9a8af32]::panicking::default_hook [INFO] [stdout] 5: 0x638c483f98a0 - test[2df5162924bba3e2]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x638c486157d2 - std[218a0f7bb9a8af32]::panicking::panic_with_hook [INFO] [stdout] 7: 0x638c485f85c2 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x638c485f0369 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x638c485f94cd - __rustc[abc93889656912e2]::rust_begin_unwind [INFO] [stdout] 10: 0x638c4863660c - core[5c14b8d5a259cc4e]::panicking::panic_fmt [INFO] [stdout] 11: 0x638c4863b472 - core[5c14b8d5a259cc4e]::result::unwrap_failed::unwrap_failed_inner [INFO] [stdout] 12: 0x638c4820acef - core[5c14b8d5a259cc4e]::result::unwrap_failed:: [INFO] [stdout] 13: 0x638c4821046f - >::call_once [INFO] [stdout] 14: 0x638c483ec70b - test[2df5162924bba3e2]::__rust_begin_short_backtrace::, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>> [INFO] [stdout] 15: 0x638c483f9ec5 - test[2df5162924bba3e2]::run_test::{closure#0} [INFO] [stdout] 16: 0x638c483f3314 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 17: 0x638c483fce52 - ::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 18: 0x638c4861cc0f - ::new::thread_start [INFO] [stdout] 19: 0x74324d298dfa - [INFO] [stdout] 20: 0x74324d32c3d4 - clone [INFO] [stdout] 21: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- source::invidious::test::test_video_list stdout ---- [INFO] [stdout] [src/source/invidious.rs:389:9] &result = [] [INFO] [stdout] [INFO] [stdout] thread 'source::invidious::test::test_video_list' (2913) panicked at src/source/invidious.rs:391:26: [INFO] [stdout] index out of bounds: the len is 0 but the index is 0 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x638c4861da31 - <::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt [INFO] [stdout] 1: 0x638c4863580a - core[5c14b8d5a259cc4e]::fmt::write [INFO] [stdout] 2: 0x638c486229fc - as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt [INFO] [stdout] 3: 0x638c485f8516 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x638c486154a9 - std[218a0f7bb9a8af32]::panicking::default_hook [INFO] [stdout] 5: 0x638c483f98a0 - test[2df5162924bba3e2]::test_main_inner::{closure#0} [INFO] [stdout] 6: 0x638c486157d2 - std[218a0f7bb9a8af32]::panicking::panic_with_hook [INFO] [stdout] 7: 0x638c485f85c2 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x638c485f0369 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x638c485f94cd - __rustc[abc93889656912e2]::rust_begin_unwind [INFO] [stdout] 10: 0x638c4863660c - core[5c14b8d5a259cc4e]::panicking::panic_fmt [INFO] [stdout] 11: 0x638c48636416 - core[5c14b8d5a259cc4e]::panicking::panic_bounds_check [INFO] [stdout] 12: 0x638c48217abe - >::call_once [INFO] [stdout] 13: 0x638c483ec70b - test[2df5162924bba3e2]::__rust_begin_short_backtrace::, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>> [INFO] [stdout] 14: 0x638c483f9ec5 - test[2df5162924bba3e2]::run_test::{closure#0} [INFO] [stdout] 15: 0x638c483f3314 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x638c483fce52 - ::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x638c4861cc0f - ::new::thread_start [INFO] [stdout] 18: 0x74324d298dfa - [INFO] [stdout] 19: 0x74324d32c3d4 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- source::invidious::test::test_basic_find stdout ---- [INFO] [stdout] Error: Failed to find any of ["https://www.youtube.com/@thegreatsd", "https://www.youtube.com/user/thegreatsd", "https://www.youtube.com/c/thegreatsd"] [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: ::msg:: [INFO] [stdout] 1: vidl::source::invidious::find_channel_id_workaround [INFO] [stdout] 2: >::call_once [INFO] [stdout] 3: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] 4: test::run_test::{closure#0} [INFO] [stdout] 5: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 6: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 7: ::new::thread_start [INFO] [stdout] 8: [INFO] [stdout] 9: clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] source::invidious::test::test_basic_find [INFO] [stdout] source::invidious::test::test_metadata [INFO] [stdout] source::invidious::test::test_video_list [INFO] [stdout] source::invidious::test_basic [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin vidl` [INFO] running `"docker" "inspect" "e5cd2e250bc6ceca1c2b43c4a12c63a51706cb425aaac48d9728ec8c0b5e58c2"` [INFO] running `"docker" "rm" "-f" "e5cd2e250bc6ceca1c2b43c4a12c63a51706cb425aaac48d9728ec8c0b5e58c2"` [INFO] [stdout] e5cd2e250bc6ceca1c2b43c4a12c63a51706cb425aaac48d9728ec8c0b5e58c2