[INFO] fetching crate onvif-cam-rs 0.2.1...
[INFO] testing onvif-cam-rs-0.2.1 against nightly-2025-01-18+rustflags=-Zrandomize-layout for randomize-layout-2
[INFO] extracting crate onvif-cam-rs 0.2.1 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate onvif-cam-rs 0.2.1 on toolchain nightly-2025-01-18
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate onvif-cam-rs 0.2.1
[INFO] finished tweaking crates.io crate onvif-cam-rs 0.2.1
[INFO] tweaked toml for crates.io crate onvif-cam-rs 0.2.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 160 packages to latest compatible versions
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.12.12)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2025-01-18" "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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 833489cb5e8626c245d2bbe30125a203ad518af2684f5e5feda283886cf83ca8
[INFO] running `Command { std: "docker" "start" "-a" "833489cb5e8626c245d2bbe30125a203ad518af2684f5e5feda283886cf83ca8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "833489cb5e8626c245d2bbe30125a203ad518af2684f5e5feda283886cf83ca8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "833489cb5e8626c245d2bbe30125a203ad518af2684f5e5feda283886cf83ca8", kill_on_drop: false }`
[INFO] [stdout] 833489cb5e8626c245d2bbe30125a203ad518af2684f5e5feda283886cf83ca8
[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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9168b933ab0c1f4a53554424624b42ee7182fd45ee4ef978a1674bb427911f37
[INFO] running `Command { std: "docker" "start" "-a" "9168b933ab0c1f4a53554424624b42ee7182fd45ee4ef978a1674bb427911f37", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling writeable v0.5.5
[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 icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling cc v1.2.10
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling bitflags v2.8.0
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling log v0.4.25
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling anyhow v1.0.95
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling indexmap v2.7.1
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling xml-rs v0.8.25
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling tokio v1.43.0
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling tokio-util v0.7.13
[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 zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.85
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[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 uuid v1.12.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[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 reqwest v0.11.27
[INFO] [stderr]    Compiling onvif-cam-rs v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `success`
[INFO] [stdout]   --> src/client/mod.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let success = udp_client.send_to(msg_discover.as_ref(), addr_send).await?;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.75s
[INFO] running `Command { std: "docker" "inspect" "9168b933ab0c1f4a53554424624b42ee7182fd45ee4ef978a1674bb427911f37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9168b933ab0c1f4a53554424624b42ee7182fd45ee4ef978a1674bb427911f37", kill_on_drop: false }`
[INFO] [stdout] 9168b933ab0c1f4a53554424624b42ee7182fd45ee4ef978a1674bb427911f37
[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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 63473b71220ad91af3bb29bfd352c5669cbedbf5b5419bcc3da79f6b8a1ed0b8
[INFO] running `Command { std: "docker" "start" "-a" "63473b71220ad91af3bb29bfd352c5669cbedbf5b5419bcc3da79f6b8a1ed0b8", kill_on_drop: false }`
[INFO] [stderr]    Compiling onvif-cam-rs v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `success`
[INFO] [stdout]   --> src/client/mod.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let success = udp_client.send_to(msg_discover.as_ref(), addr_send).await?;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `success`
[INFO] [stdout]   --> src/client/mod.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |         let success = udp_client.send_to(msg_discover.as_ref(), addr_send).await?;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s
[INFO] running `Command { std: "docker" "inspect" "63473b71220ad91af3bb29bfd352c5669cbedbf5b5419bcc3da79f6b8a1ed0b8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63473b71220ad91af3bb29bfd352c5669cbedbf5b5419bcc3da79f6b8a1ed0b8", kill_on_drop: false }`
[INFO] [stdout] 63473b71220ad91af3bb29bfd352c5669cbedbf5b5419bcc3da79f6b8a1ed0b8
[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 -Zrandomize-layout" "-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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2025-01-18" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1d852131303def8fe77dfa22a08a5836218b3f4cbb56f294c00bb68d34afa307
[INFO] running `Command { std: "docker" "start" "-a" "1d852131303def8fe77dfa22a08a5836218b3f4cbb56f294c00bb68d34afa307", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `success`
[INFO] [stderr]   --> src/client/mod.rs:88:13
[INFO] [stderr]    |
[INFO] [stderr] 88 |         let success = udp_client.send_to(msg_discover.as_ref(), addr_send).await?;
[INFO] [stderr]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `onvif-cam-rs` (lib) generated 1 warning
[INFO] [stderr] warning: `onvif-cam-rs` (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/onvif_cam_rs-2ddf5b7f729d6909)
[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 onvif_cam_rs
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/client/mod.rs - client::discover (line 47) ... FAILED
[INFO] [stdout] test src/client/mod.rs - client::send (line 159) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/client/mod.rs - client::discover (line 47) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `client`
[INFO] [stdout]  --> src/client/mod.rs:49:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut devices = client::discover().await?;
[INFO] [stdout]   |                   ^^^^^^ use of undeclared crate or module `client`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 3 + use onvif_cam_rs::client;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Camera` in this scope
[INFO] [stdout]  --> src/client/mod.rs:50:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | let mut cameras: Vec<Camera> = Vec::new();
[INFO] [stdout]   |                      ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use onvif_cam_rs::device::camera::Camera;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/client/mod.rs:49:38
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_mod_rs_47_0() {
[INFO] [stdout]   |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] 4 | let mut devices = client::discover().await?;
[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: E0412, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client/mod.rs - client::send (line 159) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `client`
[INFO] [stdout]  --> src/client/mod.rs:160:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut devices = client::discover().await?;
[INFO] [stdout]   |                   ^^^^^^ use of undeclared crate or module `client`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use onvif_cam_rs::client;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `client`
[INFO] [stdout]  --> src/client/mod.rs:163:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | let response = client::send(onvif_url, Messages::GetStreamURI).await?;
[INFO] [stdout]   |                ^^^^^^ use of undeclared crate or module `client`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use onvif_cam_rs::client;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Messages`
[INFO] [stdout]  --> src/client/mod.rs:163:40
[INFO] [stdout]   |
[INFO] [stdout] 6 | let response = client::send(onvif_url, Messages::GetStreamURI).await?;
[INFO] [stdout]   |                                        ^^^^^^^^ use of undeclared type `Messages`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::os::unix::net::Messages;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use onvif_cam_rs::client::Messages;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/client/mod.rs:160:38
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_mod_rs_159_0() {
[INFO] [stdout]   |                                      ------------------------------------------ this is not `async`
[INFO] [stdout] 3 | let mut devices = client::discover().await?;
[INFO] [stdout]   |                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/client/mod.rs:163:64
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_mod_rs_159_0() {
[INFO] [stdout]   |                                      ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 | let response = client::send(onvif_url, Messages::GetStreamURI).await?;
[INFO] [stdout]   |                                                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/client/mod.rs - client::discover (line 47)
[INFO] [stdout]     src/client/mod.rs - client::send (line 159)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "1d852131303def8fe77dfa22a08a5836218b3f4cbb56f294c00bb68d34afa307", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d852131303def8fe77dfa22a08a5836218b3f4cbb56f294c00bb68d34afa307", kill_on_drop: false }`
[INFO] [stdout] 1d852131303def8fe77dfa22a08a5836218b3f4cbb56f294c00bb68d34afa307
