[INFO] fetching crate qbittorrent_rust 0.1.3... [INFO] testing qbittorrent_rust-0.1.3 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate qbittorrent_rust 0.1.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate qbittorrent_rust 0.1.3 [INFO] finished tweaking crates.io crate qbittorrent_rust 0.1.3 [INFO] tweaked toml for crates.io crate qbittorrent_rust 0.1.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate qbittorrent_rust 0.1.3 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate qbittorrent_rust 0.1.3 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.47 [INFO] [stderr] Downloaded proc_macros_qbittorrent_rust v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4aec8aeebbb8f51b1cc3be3dc2c5c3559eeb30685fac92625f62b03c6e5c201b [INFO] running `Command { std: "docker" "start" "-a" "4aec8aeebbb8f51b1cc3be3dc2c5c3559eeb30685fac92625f62b03c6e5c201b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4aec8aeebbb8f51b1cc3be3dc2c5c3559eeb30685fac92625f62b03c6e5c201b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aec8aeebbb8f51b1cc3be3dc2c5c3559eeb30685fac92625f62b03c6e5c201b", kill_on_drop: false }` [INFO] [stdout] 4aec8aeebbb8f51b1cc3be3dc2c5c3559eeb30685fac92625f62b03c6e5c201b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89519c0fcbc7a3f0c0410f3793501123fcbae4d2f5fad54cb5ed57d70340436c [INFO] running `Command { std: "docker" "start" "-a" "89519c0fcbc7a3f0c0410f3793501123fcbae4d2f5fad54cb5ed57d70340436c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling proc_macros_qbittorrent_rust v0.1.5 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling qbittorrent_rust v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/api_fns/torrents/torrent_managing_misc.rs:219:25 [INFO] [stdout] | [INFO] [stdout] 219 | .filter(|c| (*c == '0' || *c == '1' || *c == '2')) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 219 - .filter(|c| (*c == '0' || *c == '1' || *c == '2')) [INFO] [stdout] 219 + .filter(|c| *c == '0' || *c == '1' || *c == '2' ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "89519c0fcbc7a3f0c0410f3793501123fcbae4d2f5fad54cb5ed57d70340436c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89519c0fcbc7a3f0c0410f3793501123fcbae4d2f5fad54cb5ed57d70340436c", kill_on_drop: false }` [INFO] [stdout] 89519c0fcbc7a3f0c0410f3793501123fcbae4d2f5fad54cb5ed57d70340436c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de82f742bc16b7debcf358c14de0b29ace9d027a132bc021a17797db7f2da68d [INFO] running `Command { std: "docker" "start" "-a" "de82f742bc16b7debcf358c14de0b29ace9d027a132bc021a17797db7f2da68d", kill_on_drop: false }` [INFO] [stderr] Compiling qbittorrent_rust v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/api_fns/torrents/torrent_managing_misc.rs:219:25 [INFO] [stdout] | [INFO] [stdout] 219 | .filter(|c| (*c == '0' || *c == '1' || *c == '2')) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 219 - .filter(|c| (*c == '0' || *c == '1' || *c == '2')) [INFO] [stdout] 219 + .filter(|c| *c == '0' || *c == '1' || *c == '2' ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/api_fns/torrents/torrent_managing_misc.rs:219:25 [INFO] [stdout] | [INFO] [stdout] 219 | .filter(|c| (*c == '0' || *c == '1' || *c == '2')) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 219 - .filter(|c| (*c == '0' || *c == '1' || *c == '2')) [INFO] [stdout] 219 + .filter(|c| *c == '0' || *c == '1' || *c == '2' ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.01s [INFO] running `Command { std: "docker" "inspect" "de82f742bc16b7debcf358c14de0b29ace9d027a132bc021a17797db7f2da68d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de82f742bc16b7debcf358c14de0b29ace9d027a132bc021a17797db7f2da68d", kill_on_drop: false }` [INFO] [stdout] de82f742bc16b7debcf358c14de0b29ace9d027a132bc021a17797db7f2da68d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7cb398f0619cba581446d300be4db31d65db4b46895ed6d13d83793b7b8c9c8d [INFO] running `Command { std: "docker" "start" "-a" "7cb398f0619cba581446d300be4db31d65db4b46895ed6d13d83793b7b8c9c8d", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/api_fns/torrents/torrent_managing_misc.rs:219:25 [INFO] [stderr] | [INFO] [stderr] 219 | .filter(|c| (*c == '0' || *c == '1' || *c == '2')) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 219 - .filter(|c| (*c == '0' || *c == '1' || *c == '2')) [INFO] [stderr] 219 + .filter(|c| *c == '0' || *c == '1' || *c == '2' ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `qbittorrent_rust` (lib) generated 1 warning (run `cargo fix --lib -p qbittorrent_rust` to apply 1 suggestion) [INFO] [stderr] warning: `qbittorrent_rust` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/qbittorrent_rust-71600575ad67ecc5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests qbittorrent_rust [INFO] [stderr] warning: unnecessary parentheses around closure body [INFO] [stderr] --> src/api_fns/torrents/torrent_managing_misc.rs:219:25 [INFO] [stderr] | [INFO] [stderr] 219 | .filter(|c| (*c == '0' || *c == '1' || *c == '2')) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 219 - .filter(|c| (*c == '0' || *c == '1' || *c == '2')) [INFO] [stderr] 219 + .filter(|c| *c == '0' || *c == '1' || *c == '2' ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/api_fns/torrents/torrent_managing_misc.rs - api_fns::torrents::torrent_managing_misc::QbitApi::torrents_get_all_categories (line 854) ... FAILED [INFO] [stdout] test src/api_fns/torrents/torrent_managing_misc.rs - api_fns::torrents::torrent_managing_misc::QbitApi::torrents_get_all_categories_raw (line 826) ... FAILED [INFO] [stdout] test src/core/api.rs - core::api::QbitApi::new (line 44) ... FAILED [INFO] [stdout] test src/api_fns/application/app_preferences.rs - api_fns::application::app_preferences::ScanDirs (line 14) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/api_fns/torrents/torrent_managing_misc.rs - api_fns::torrents::torrent_managing_misc::QbitApi::torrents_get_all_categories (line 854) stdout ---- [INFO] [stdout] error: expected item, found `"Video"` [INFO] [stdout] --> src/api_fns/torrents/torrent_managing_misc.rs:855:1 [INFO] [stdout] | [INFO] [stdout] 1 | "Video": { [INFO] [stdout] | ^^^^^^^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api_fns/torrents/torrent_managing_misc.rs - api_fns::torrents::torrent_managing_misc::QbitApi::torrents_get_all_categories_raw (line 826) stdout ---- [INFO] [stdout] error: expected item, found `"Video"` [INFO] [stdout] --> src/api_fns/torrents/torrent_managing_misc.rs:827:1 [INFO] [stdout] | [INFO] [stdout] 1 | "Video": { [INFO] [stdout] | ^^^^^^^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/core/api.rs - core::api::QbitApi::new (line 44) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `QbitApi` [INFO] [stdout] --> src/core/api.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 3 | let qbit_api = QbitApi::new("http://localhost:6011/", Credentials::new("user_name", "password")).await.unwrap(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `QbitApi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use qbittorrent_rust::core::api::QbitApi; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Credentials` [INFO] [stdout] --> src/core/api.rs:45:55 [INFO] [stdout] | [INFO] [stdout] 3 | let qbit_api = QbitApi::new("http://localhost:6011/", Credentials::new("user_name", "password")).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Credentials` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use qbittorrent_rust::core::creds::Credentials; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/core/api.rs:45:98 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_api_rs_44_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] 3 | let qbit_api = QbitApi::new("http://localhost:6011/", Credentials::new("user_name", "password")).await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api_fns/application/app_preferences.rs - api_fns::application::app_preferences::ScanDirs (line 14) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MultipleScanDirs` [INFO] [stdout] --> src/api_fns/application/app_preferences.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 3 | let multiple_scan_dirs = MultipleScanDirs::new(vec![("folder_path", ScanDirValue::DownloadToCustomPath("./custom/path/here".to_string()))... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `MultipleScanDirs` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScanDirValue` [INFO] [stdout] --> src/api_fns/application/app_preferences.rs:15:69 [INFO] [stdout] | [INFO] [stdout] 3 | let multiple_scan_dirs = MultipleScanDirs::new(vec![("folder_path", ScanDirValue::DownloadToCustomPath("./custom/path/here".to_string()))... [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ScanDirValue` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScanDirValue` [INFO] [stdout] --> src/api_fns/application/app_preferences.rs:15:158 [INFO] [stdout] | [INFO] [stdout] 3 | ...th/here".to_string())), ("folder_path_2", ScanDirValue::DownloadToDefaultPath)]); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ScanDirValue` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/api_fns/application/app_preferences.rs - api_fns::application::app_preferences::ScanDirs (line 14) [INFO] [stdout] src/api_fns/torrents/torrent_managing_misc.rs - api_fns::torrents::torrent_managing_misc::QbitApi::torrents_get_all_categories (line 854) [INFO] [stdout] src/api_fns/torrents/torrent_managing_misc.rs - api_fns::torrents::torrent_managing_misc::QbitApi::torrents_get_all_categories_raw (line 826) [INFO] [stdout] src/core/api.rs - core::api::QbitApi::new (line 44) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7cb398f0619cba581446d300be4db31d65db4b46895ed6d13d83793b7b8c9c8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cb398f0619cba581446d300be4db31d65db4b46895ed6d13d83793b7b8c9c8d", kill_on_drop: false }` [INFO] [stdout] 7cb398f0619cba581446d300be4db31d65db4b46895ed6d13d83793b7b8c9c8d