[INFO] fetching crate qbittorrent_rust 0.1.3... [INFO] testing qbittorrent_rust-0.1.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate qbittorrent_rust 0.1.3 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate qbittorrent_rust 0.1.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4da83d30e7b281f0c90fa53a7edb641f5234907eccdb2c13215180a01295e3b [INFO] running `Command { std: "docker" "start" "-a" "d4da83d30e7b281f0c90fa53a7edb641f5234907eccdb2c13215180a01295e3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4da83d30e7b281f0c90fa53a7edb641f5234907eccdb2c13215180a01295e3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4da83d30e7b281f0c90fa53a7edb641f5234907eccdb2c13215180a01295e3b", kill_on_drop: false }` [INFO] [stdout] d4da83d30e7b281f0c90fa53a7edb641f5234907eccdb2c13215180a01295e3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 193c609f3d79571ea8b775671e508585f8906cd37017093c83addcef6ffd099a [INFO] running `Command { std: "docker" "start" "-a" "193c609f3d79571ea8b775671e508585f8906cd37017093c83addcef6ffd099a", 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 autocfg v1.4.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [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 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 zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [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 icu_normalizer v1.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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 43.67s [INFO] running `Command { std: "docker" "inspect" "193c609f3d79571ea8b775671e508585f8906cd37017093c83addcef6ffd099a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "193c609f3d79571ea8b775671e508585f8906cd37017093c83addcef6ffd099a", kill_on_drop: false }` [INFO] [stdout] 193c609f3d79571ea8b775671e508585f8906cd37017093c83addcef6ffd099a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5d04340e2b5d13cecce0dab1e3d3cd21587fcda484d59e67fd0702ec8f08b49 [INFO] running `Command { std: "docker" "start" "-a" "a5d04340e2b5d13cecce0dab1e3d3cd21587fcda484d59e67fd0702ec8f08b49", 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.03s [INFO] running `Command { std: "docker" "inspect" "a5d04340e2b5d13cecce0dab1e3d3cd21587fcda484d59e67fd0702ec8f08b49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5d04340e2b5d13cecce0dab1e3d3cd21587fcda484d59e67fd0702ec8f08b49", kill_on_drop: false }` [INFO] [stdout] a5d04340e2b5d13cecce0dab1e3d3cd21587fcda484d59e67fd0702ec8f08b49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 221ad34a928de2d3267d8cb9d4fb39431f7212da951bb08a32edb290bade123b [INFO] running `Command { std: "docker" "start" "-a" "221ad34a928de2d3267d8cb9d4fb39431f7212da951bb08a32edb290bade123b", 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.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/qbittorrent_rust-71600575ad67ecc5) [INFO] [stdout] [INFO] [stderr] Doc-tests qbittorrent_rust [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] 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_raw (line 826) ... FAILED [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/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_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] 827 | "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 (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] 855 | "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] 45 | 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] 44 + 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] 45 | 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] 44 + 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] 44 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_core_api_rs_44_0() { [INFO] [stdout] | --------------------------------------- this is not `async` [INFO] [stdout] 45 | 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] 15 | let multiple_scan_dirs = MultipleScanDirs::new(vec![("folder_path", ScanDirValue::DownloadToCustomPath("./custom/path/here".to_strin... [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] 15 | let multiple_scan_dirs = MultipleScanDirs::new(vec![("folder_path", ScanDirValue::DownloadToCustomPath("./custom/path/here".to_strin... [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] 15 | ...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.29s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "221ad34a928de2d3267d8cb9d4fb39431f7212da951bb08a32edb290bade123b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "221ad34a928de2d3267d8cb9d4fb39431f7212da951bb08a32edb290bade123b", kill_on_drop: false }` [INFO] [stdout] 221ad34a928de2d3267d8cb9d4fb39431f7212da951bb08a32edb290bade123b