[INFO] fetching crate qbittorrent_rust 0.1.3... [INFO] testing qbittorrent_rust-0.1.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate qbittorrent_rust 0.1.3 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate qbittorrent_rust 0.1.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc_macros_qbittorrent_rust v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fedd8ddb91533d956872b06e6575210565c248374fa2b86d1985116978385081 [INFO] running `Command { std: "docker" "start" "-a" "fedd8ddb91533d956872b06e6575210565c248374fa2b86d1985116978385081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fedd8ddb91533d956872b06e6575210565c248374fa2b86d1985116978385081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fedd8ddb91533d956872b06e6575210565c248374fa2b86d1985116978385081", kill_on_drop: false }` [INFO] [stdout] fedd8ddb91533d956872b06e6575210565c248374fa2b86d1985116978385081 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 418d134c0ec61befdb582c9050b794594749feaab12040e783d0b5450f23ee72 [INFO] running `Command { std: "docker" "start" "-a" "418d134c0ec61befdb582c9050b794594749feaab12040e783d0b5450f23ee72", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [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 zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.4.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 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 tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [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 35.53s [INFO] running `Command { std: "docker" "inspect" "418d134c0ec61befdb582c9050b794594749feaab12040e783d0b5450f23ee72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "418d134c0ec61befdb582c9050b794594749feaab12040e783d0b5450f23ee72", kill_on_drop: false }` [INFO] [stdout] 418d134c0ec61befdb582c9050b794594749feaab12040e783d0b5450f23ee72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86fa98d01b3a0c59a47a1aa34d8fecc47ef14bd140602880835d1fccddde123f [INFO] running `Command { std: "docker" "start" "-a" "86fa98d01b3a0c59a47a1aa34d8fecc47ef14bd140602880835d1fccddde123f", kill_on_drop: false }` [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 2.29s [INFO] running `Command { std: "docker" "inspect" "86fa98d01b3a0c59a47a1aa34d8fecc47ef14bd140602880835d1fccddde123f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86fa98d01b3a0c59a47a1aa34d8fecc47ef14bd140602880835d1fccddde123f", kill_on_drop: false }` [INFO] [stdout] 86fa98d01b3a0c59a47a1aa34d8fecc47ef14bd140602880835d1fccddde123f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 41a1a4cd1caa9959a1ea59d34b20fe8399cf09339bdc064f4b60f645301be7c8 [INFO] running `Command { std: "docker" "start" "-a" "41a1a4cd1caa9959a1ea59d34b20fe8399cf09339bdc064f4b60f645301be7c8", 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.13s [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.10s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "41a1a4cd1caa9959a1ea59d34b20fe8399cf09339bdc064f4b60f645301be7c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41a1a4cd1caa9959a1ea59d34b20fe8399cf09339bdc064f4b60f645301be7c8", kill_on_drop: false }` [INFO] [stdout] 41a1a4cd1caa9959a1ea59d34b20fe8399cf09339bdc064f4b60f645301be7c8