[INFO] fetching crate virustotal3 3.0.2...
[INFO] testing virustotal3-3.0.2 against beta-2024-12-08 for beta-1.84.0-4-retry
[INFO] extracting crate virustotal3 3.0.2 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate virustotal3 3.0.2 on toolchain beta-2024-12-08
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate virustotal3 3.0.2
[INFO] finished tweaking crates.io crate virustotal3 3.0.2
[INFO] tweaked toml for crates.io crate virustotal3 3.0.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 151 packages to latest compatible versions
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.12.9)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-12-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 37ba528d7a71e7bc49b7b719518c07933ad1c4a0f2fdb1e0498043ead4631b26
[INFO] running `Command { std: "docker" "start" "-a" "37ba528d7a71e7bc49b7b719518c07933ad1c4a0f2fdb1e0498043ead4631b26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "37ba528d7a71e7bc49b7b719518c07933ad1c4a0f2fdb1e0498043ead4631b26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37ba528d7a71e7bc49b7b719518c07933ad1c4a0f2fdb1e0498043ead4631b26", kill_on_drop: false }`
[INFO] [stdout] 37ba528d7a71e7bc49b7b719518c07933ad1c4a0f2fdb1e0498043ead4631b26
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7e84e65310f39ba756ed48a1be49576dda8a8750e84cc062bb283f9da43a9c3a
[INFO] running `Command { std: "docker" "start" "-a" "7e84e65310f39ba756ed48a1be49576dda8a8750e84cc062bb283f9da43a9c3a", 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.168
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling bytes v1.9.0
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling cc v1.2.4
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling serde v1.0.216
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling unicase v2.8.0
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling serde_json v1.0.133
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling anyhow v1.0.94
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling tokio v1.42.0
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling h2 v0.3.26
[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 openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.216
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling hyper v0.14.31
[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 tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[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 reqwest v0.11.27
[INFO] [stderr]    Compiling virustotal3 v3.0.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.60s
[INFO] running `Command { std: "docker" "inspect" "7e84e65310f39ba756ed48a1be49576dda8a8750e84cc062bb283f9da43a9c3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e84e65310f39ba756ed48a1be49576dda8a8750e84cc062bb283f9da43a9c3a", kill_on_drop: false }`
[INFO] [stdout] 7e84e65310f39ba756ed48a1be49576dda8a8750e84cc062bb283f9da43a9c3a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2b78de922ebf60a6d8dd1b6a84d70d921ee11168cea96e725ce2e04315653f1c
[INFO] running `Command { std: "docker" "start" "-a" "2b78de922ebf60a6d8dd1b6a84d70d921ee11168cea96e725ce2e04315653f1c", kill_on_drop: false }`
[INFO] [stderr]    Compiling virustotal3 v3.0.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.13s
[INFO] running `Command { std: "docker" "inspect" "2b78de922ebf60a6d8dd1b6a84d70d921ee11168cea96e725ce2e04315653f1c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b78de922ebf60a6d8dd1b6a84d70d921ee11168cea96e725ce2e04315653f1c", kill_on_drop: false }`
[INFO] [stdout] 2b78de922ebf60a6d8dd1b6a84d70d921ee11168cea96e725ce2e04315653f1c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-12-08" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9203959b1d59c4cfbf1da57006d445367e35106d8aecd652edbf454afe52cca8
[INFO] running `Command { std: "docker" "start" "-a" "9203959b1d59c4cfbf1da57006d445367e35106d8aecd652edbf454afe52cca8", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/virustotal3-3ed5a23ab21dd562)
[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 virustotal3
[INFO] [stdout] 
[INFO] [stdout] running 21 tests
[INFO] [stdout] test src/ip/mod.rs - ip::VtClient<'a>::report_ip_address (line 12) ... FAILED
[INFO] [stdout] test src/comment/mod.rs - comment::VtClient<'a>::delete_comment (line 105) ... FAILED
[INFO] [stdout] test src/lib.rs - comment (line 122) ... FAILED
[INFO] [stdout] test src/file/mod.rs - file::VtClient<'a>::scan_file (line 12) ... FAILED
[INFO] [stdout] test src/lib.rs - ip (line 69) ... FAILED
[INFO] [stdout] test src/lib.rs - file (line 97) ... FAILED
[INFO] [stdout] test src/domain/mod.rs - domain::VtClient<'a>::report_domain (line 12) ... FAILED
[INFO] [stdout] test src/comment/mod.rs - comment::VtClient<'a>::put_comment (line 12) ... FAILED
[INFO] [stdout] test src/file/mod.rs - file::VtClient<'a>::get_report_file (line 42) ... FAILED
[INFO] [stdout] test src/url/mod.rs - url::VtClient<'a>::scan_url (line 12) ... FAILED
[INFO] [stdout] test src/url/mod.rs - url::VtClient<'a>::report_url (line 40) ... FAILED
[INFO] [stdout] test src/comment/mod.rs - comment::VtClient<'a>::get_comment (line 67) ... FAILED
[INFO] [stdout] test src/file/mod.rs - file::VtClient<'a>::rescan_file (line 65) ... FAILED
[INFO] [stdout] test src/lib.rs - file (line 107) ... FAILED
[INFO] [stdout] test src/lib.rs - comment (line 145) ... FAILED
[INFO] [stdout] test src/lib.rs - file (line 87) ... FAILED
[INFO] [stdout] test src/lib.rs - domain (line 54) ... FAILED
[INFO] [stdout] test src/lib.rs - comment (line 134) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 13) ... FAILED
[INFO] [stdout] test src/lib.rs - url (line 39) ... FAILED
[INFO] [stdout] test src/lib.rs - url (line 29) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/ip/mod.rs - ip::VtClient<'a>::report_ip_address (line 12) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/ip/mod.rs:17:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_ip_mod_rs_12_0() {
[INFO] [stdout]   |                                      ------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | vt.report_ip_address("192.168.2.1").await?;
[INFO] [stdout]   |                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/comment/mod.rs - comment::VtClient<'a>::delete_comment (line 105) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/comment/mod.rs:111:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_comment_mod_rs_105_0() {
[INFO] [stdout]   |                                      ------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | vt.delete_comment(&resource).await;
[INFO] [stdout]   |                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - comment (line 122) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:130:46
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_122_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | vt.put_comment(resource, &comment, &vt_type).await?;
[INFO] [stdout]    |                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/file/mod.rs - file::VtClient<'a>::scan_file (line 12) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/file/mod.rs:18:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_file_mod_rs_12_0() {
[INFO] [stdout]   |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 9 | vt.scan_file("eicar.txt")?;
[INFO] [stdout]   |                          ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_file_mod_rs_12_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use virustotal3::VtClient;
[INFO] [stdout] ...
[INFO] [stdout] 9 | vt.scan_file("eicar.txt")?;
[INFO] [stdout] 10+     Ok(())
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - ip (line 69) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:75:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_69_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | vt.report_ip_address(&ip).await?;
[INFO] [stdout]   |                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - file (line 97) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:103:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_97_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | vt.get_report_file(&hash).await?;
[INFO] [stdout]   |                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/domain/mod.rs - domain::VtClient<'a>::report_domain (line 12) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/domain/mod.rs:17:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_domain_mod_rs_12_0() {
[INFO] [stdout]   |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | vt.report_domain("example.com").await?;
[INFO] [stdout]   |                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/comment/mod.rs - comment::VtClient<'a>::put_comment (line 12) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/comment/mod.rs:20:47
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_comment_mod_rs_12_0() {
[INFO] [stdout]    |                                      ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | vt.put_comment(&resource, &comment, &vt_type).await?;
[INFO] [stdout]    |                                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/file/mod.rs - file::VtClient<'a>::get_report_file (line 42) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/file/mod.rs:47:66
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_file_mod_rs_42_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | vt.get_report_file("SHA-256, SHA-1 or MD5 identifying the file").await?;
[INFO] [stdout]   |                                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/url/mod.rs - url::VtClient<'a>::scan_url (line 12) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/url/mod.rs:18:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_url_mod_rs_12_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | vt.scan_url(url).await?;
[INFO] [stdout]   |                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/url/mod.rs - url::VtClient<'a>::report_url (line 40) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/url/mod.rs:46:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_url_mod_rs_40_0() {
[INFO] [stdout]   |                                      -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | vt.report_url(resource).await?;
[INFO] [stdout]   |                         ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/comment/mod.rs - comment::VtClient<'a>::get_comment (line 67) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/comment/mod.rs:74:37
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_comment_mod_rs_67_0() {
[INFO] [stdout]    |                                      ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | vt.get_comment(&resource, &vt_type).await?;
[INFO] [stdout]    |                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/file/mod.rs - file::VtClient<'a>::rescan_file (line 65) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/file/mod.rs:70:62
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_file_mod_rs_65_0() {
[INFO] [stdout]   |                                      --------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 8 | vt.rescan_file("SHA-256, SHA-1 or MD5 identifying the file").await?;
[INFO] [stdout]   |                                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - file (line 107) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:113:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_107_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | vt.rescan_file(resource).await?;
[INFO] [stdout]   |                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - comment (line 145) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:151:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_145_0() {
[INFO] [stdout]   |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | vt.delete_comment(&resource).await?;
[INFO] [stdout]   |                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - file (line 87) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]  --> src/lib.rs:93:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_87_0() {
[INFO] [stdout]   |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 9 | vt.scan_file(&filename)?;
[INFO] [stdout]   |                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<Result<Infallible, anyhow::Error>>` is not implemented for `()`
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]   |
[INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_87_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use virustotal3::VtClient;
[INFO] [stdout] ...
[INFO] [stdout] 9 | vt.scan_file(&filename)?;
[INFO] [stdout] 10+     Ok(())
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - domain (line 54) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:60:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_54_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | vt.report_domain(&domain).await?;
[INFO] [stdout]   |                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - comment (line 134) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:141:37
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_134_0() {
[INFO] [stdout]    |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 10 | vt.get_comment(&resource, &vt_type).await?;
[INFO] [stdout]    |                                     ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 13) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:19:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_13_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | vt.scan_url(&url).await?;
[INFO] [stdout]   |                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - url (line 39) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:45:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_39_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | vt.report_url(&resource).await?;
[INFO] [stdout]   |                          ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - url (line 29) stdout ----
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:35:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_29_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 9 | vt.scan_url(&url).await?;
[INFO] [stdout]   |                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/comment/mod.rs - comment::VtClient<'a>::delete_comment (line 105)
[INFO] [stdout]     src/comment/mod.rs - comment::VtClient<'a>::get_comment (line 67)
[INFO] [stdout]     src/comment/mod.rs - comment::VtClient<'a>::put_comment (line 12)
[INFO] [stdout]     src/domain/mod.rs - domain::VtClient<'a>::report_domain (line 12)
[INFO] [stdout]     src/file/mod.rs - file::VtClient<'a>::get_report_file (line 42)
[INFO] [stdout]     src/file/mod.rs - file::VtClient<'a>::rescan_file (line 65)
[INFO] [stdout]     src/file/mod.rs - file::VtClient<'a>::scan_file (line 12)
[INFO] [stdout]     src/ip/mod.rs - ip::VtClient<'a>::report_ip_address (line 12)
[INFO] [stdout]     src/lib.rs - (line 13)
[INFO] [stdout]     src/lib.rs - comment (line 122)
[INFO] [stdout]     src/lib.rs - comment (line 134)
[INFO] [stdout]     src/lib.rs - comment (line 145)
[INFO] [stdout]     src/lib.rs - domain (line 54)
[INFO] [stdout]     src/lib.rs - file (line 107)
[INFO] [stdout]     src/lib.rs - file (line 87)
[INFO] [stdout]     src/lib.rs - file (line 97)
[INFO] [stdout]     src/lib.rs - ip (line 69)
[INFO] [stdout]     src/lib.rs - url (line 29)
[INFO] [stdout]     src/lib.rs - url (line 39)
[INFO] [stdout]     src/url/mod.rs - url::VtClient<'a>::report_url (line 40)
[INFO] [stdout]     src/url/mod.rs - url::VtClient<'a>::scan_url (line 12)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 21 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "9203959b1d59c4cfbf1da57006d445367e35106d8aecd652edbf454afe52cca8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9203959b1d59c4cfbf1da57006d445367e35106d8aecd652edbf454afe52cca8", kill_on_drop: false }`
[INFO] [stdout] 9203959b1d59c4cfbf1da57006d445367e35106d8aecd652edbf454afe52cca8
