[INFO] cloning repository https://github.com/Aleinto97/hydrogene-stremio-addon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aleinto97/hydrogene-stremio-addon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAleinto97%2Fhydrogene-stremio-addon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAleinto97%2Fhydrogene-stremio-addon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e74d82d280f1bda8393149e3383ec8fb02e9b65c [INFO] checking Aleinto97/hydrogene-stremio-addon against try#8a2f6fe57adadb246778b8d41925d3dc46d468cb for pr-158320 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAleinto97%2Fhydrogene-stremio-addon" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Aleinto97/hydrogene-stremio-addon [INFO] finished tweaking git repo https://github.com/Aleinto97/hydrogene-stremio-addon [INFO] tweaked toml for git repo https://github.com/Aleinto97/hydrogene-stremio-addon written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Aleinto97/hydrogene-stremio-addon on toolchain 8a2f6fe57adadb246778b8d41925d3dc46d468cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Aleinto97/hydrogene-stremio-addon 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" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 097d8b8067d4c99b5c9ba7e2a0861fea9558c9355cb52508fc09a250dfaf41d9 [INFO] running `Command { std: "docker" "start" "097d8b8067d4c99b5c9ba7e2a0861fea9558c9355cb52508fc09a250dfaf41d9", kill_on_drop: false }` [INFO] running `Command { std: "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" "097d8b8067d4c99b5c9ba7e2a0861fea9558c9355cb52508fc09a250dfaf41d9" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "097d8b8067d4c99b5c9ba7e2a0861fea9558c9355cb52508fc09a250dfaf41d9", kill_on_drop: false }` [INFO] running `Command { std: "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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "097d8b8067d4c99b5c9ba7e2a0861fea9558c9355cb52508fc09a250dfaf41d9" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking ring v0.17.14 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking siphasher v1.0.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Checking dtoa v1.0.11 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking dtoa-short v0.3.5 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Compiling tempfile v3.26.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Checking string_cache v0.8.9 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking compression-core v0.4.31 [INFO] [stderr] Checking publicsuffix v2.3.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking compression-codecs v0.4.37 [INFO] [stderr] Checking cssparser v0.31.2 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking getopts v0.2.24 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking cookie_store v0.20.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking async-compression v0.4.41 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Checking csv-core v0.1.13 [INFO] [stderr] Checking ego-tree v0.6.3 [INFO] [stderr] Checking csv v1.4.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking scraper v0.18.1 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking quick-xml v0.31.0 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking hydrogene v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `uri` is never read [INFO] [stdout] --> src/debrid.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct RDTorrentResponse { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 15 | id: String, [INFO] [stdout] 16 | uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RDTorrentResponse` 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: multiple fields are never read [INFO] [stdout] --> src/debrid.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct RDTorrentInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 21 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | original_filename: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | hash: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | bytes: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | original_bytes: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | split: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | added: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | ended: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RDTorrentInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selected` is never read [INFO] [stdout] --> src/debrid.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 38 | struct RDFile { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | selected: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RDFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/debrid.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct RDUnrestrictResponse { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 47 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 48 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | #[serde(rename = "mimeType")] [INFO] [stdout] 50 | pub mime_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | link: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | chunks: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | crc: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | download: String, [INFO] [stdout] 56 | streamable: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RDUnrestrictResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TMDBSearchResult` is never constructed [INFO] [stdout] --> src/metadata.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct TMDBSearchResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TMDBMovie` is never constructed [INFO] [stdout] --> src/metadata.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct TMDBMovie { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EZTV_SITE` is never used [INFO] [stdout] --> src/scrapers/eztv.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const EZTV_SITE: &str = "https://eztv.re"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_files`, `date_added`, `status`, and `imdb_id` are never read [INFO] [stdout] --> src/scrapers/tpb.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct TPBResult { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | num_files: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | date_added: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | #[serde(rename = "imdb")] [INFO] [stdout] 25 | imdb_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TPBResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> src/scrapers/x1337.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct FlareSolverrSolution { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 33 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FlareSolverrSolution` 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 `title`, `year`, and `imdb_code` are never read [INFO] [stdout] --> src/scrapers/yts.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct YtsMovie { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 28 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | year: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | #[serde(rename = "imdb_code")] [INFO] [stdout] 33 | imdb_code: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YtsMovie` 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 `url`, `torrent_type`, and `size` are never read [INFO] [stdout] --> src/scrapers/yts.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | struct YtsTorrent { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 39 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | torrent_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | size: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YtsTorrent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uri` is never read [INFO] [stdout] --> src/debrid.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct RDTorrentResponse { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 15 | id: String, [INFO] [stdout] 16 | uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RDTorrentResponse` 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: multiple fields are never read [INFO] [stdout] --> src/debrid.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct RDTorrentInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 21 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | original_filename: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | hash: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | bytes: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | original_bytes: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | split: i64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | added: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | ended: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RDTorrentInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selected` is never read [INFO] [stdout] --> src/debrid.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 38 | struct RDFile { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | selected: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RDFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/debrid.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct RDUnrestrictResponse { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 47 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 48 | filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | #[serde(rename = "mimeType")] [INFO] [stdout] 50 | pub mime_type: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | link: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | chunks: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 54 | crc: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] 55 | download: String, [INFO] [stdout] 56 | streamable: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RDUnrestrictResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TMDBSearchResult` is never constructed [INFO] [stdout] --> src/metadata.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct TMDBSearchResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TMDBMovie` is never constructed [INFO] [stdout] --> src/metadata.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct TMDBMovie { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EZTV_SITE` is never used [INFO] [stdout] --> src/scrapers/eztv.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const EZTV_SITE: &str = "https://eztv.re"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_files`, `date_added`, `status`, and `imdb_id` are never read [INFO] [stdout] --> src/scrapers/tpb.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct TPBResult { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | num_files: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | date_added: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | #[serde(rename = "imdb")] [INFO] [stdout] 25 | imdb_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TPBResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `url` is never read [INFO] [stdout] --> src/scrapers/x1337.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct FlareSolverrSolution { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 33 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FlareSolverrSolution` 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 `title`, `year`, and `imdb_code` are never read [INFO] [stdout] --> src/scrapers/yts.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct YtsMovie { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 28 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | year: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | #[serde(rename = "imdb_code")] [INFO] [stdout] 33 | imdb_code: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YtsMovie` 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 `url`, `torrent_type`, and `size` are never read [INFO] [stdout] --> src/scrapers/yts.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | struct YtsTorrent { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 39 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | torrent_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | size: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `YtsTorrent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> examples/test_cache_resolve.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Scraper` [INFO] [stdout] --> examples/test_full_local.rs:2:43 [INFO] [stdout] | [INFO] [stdout] 2 | use hydrogene::scrapers::{ScrapedTorrent, Scraper, ScraperManager}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, and `warn` [INFO] [stdout] --> examples/test_full_local.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::{error, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `check_batch_cache` found for struct `Arc` in the current scope [INFO] [stdout] --> examples/test_cache_resolve.rs:116:51 [INFO] [stdout] | [INFO] [stdout] 116 | let cached_torrents = match debrid_client.check_batch_cache(&torrents_to_check).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `resolve_anime_title` found for struct `Arc` in the current scope [INFO] [stdout] --> examples/test_full_local.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 55 | match metadata_client [INFO] [stdout] | ___________________- [INFO] [stdout] 56 | | .resolve_anime_title(&format!("anilist:{}", anime_id)) [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^ method not found in `Arc` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> examples/test_cache_resolve.rs:180:29 [INFO] [stdout] | [INFO] [stdout] 180 | match debrid_client.resolve_magnet(&test_torrent.info_hash).await { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------- two arguments of type `Option` and `Option` are missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/debrid.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | pub async fn resolve_magnet( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 180 | match debrid_client.resolve_magnet(&test_torrent.info_hash, /* Option */, /* Option */).await { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/test_full_local.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 102 | let mut _query_used = String::new(); [INFO] [stdout] | ------------- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 111 | _query_used = query.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ expected `String`, found `&str` [INFO] [stdout] | [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 111 - _query_used = query.clone(); [INFO] [stdout] 111 + _query_used = query.to_string(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hydrogene` (example "test_cache_resolve") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hydrogene` (example "test_full_local") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "097d8b8067d4c99b5c9ba7e2a0861fea9558c9355cb52508fc09a250dfaf41d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "097d8b8067d4c99b5c9ba7e2a0861fea9558c9355cb52508fc09a250dfaf41d9", kill_on_drop: false }` [INFO] [stdout] 097d8b8067d4c99b5c9ba7e2a0861fea9558c9355cb52508fc09a250dfaf41d9