[INFO] fetching crate hue-bridge 0.1.0-alpha.2...
[INFO] testing hue-bridge-0.1.0-alpha.2 against 1.62.0 for beta-1.63-1
[INFO] extracting crate hue-bridge 0.1.0-alpha.2 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate hue-bridge 0.1.0-alpha.2 on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate hue-bridge 0.1.0-alpha.2
[INFO] finished tweaking crates.io crate hue-bridge 0.1.0-alpha.2
[INFO] tweaked toml for crates.io crate hue-bridge 0.1.0-alpha.2 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate crates.io crate hue-bridge 0.1.0-alpha.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ipnet v2.4.0
[INFO] [stderr]   Downloaded h2 v0.3.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5aa9c6f9c25fc3f2300d28064ecab02c52c584ab9cc3069d32ab97f340a78acf
[INFO] running `Command { std: "docker" "start" "-a" "5aa9c6f9c25fc3f2300d28064ecab02c52c584ab9cc3069d32ab97f340a78acf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5aa9c6f9c25fc3f2300d28064ecab02c52c584ab9cc3069d32ab97f340a78acf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5aa9c6f9c25fc3f2300d28064ecab02c52c584ab9cc3069d32ab97f340a78acf", kill_on_drop: false }`
[INFO] [stdout] 5aa9c6f9c25fc3f2300d28064ecab02c52c584ab9cc3069d32ab97f340a78acf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cd9a318f26551fab96c8c860a667d09532afb6a81a12f89c8163d513c3dabc02
[INFO] running `Command { std: "docker" "start" "-a" "cd9a318f26551fab96c8c860a667d09532afb6a81a12f89c8163d513c3dabc02", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.120
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.89
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling httparse v1.6.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling ipnet v2.4.0
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]    Compiling tracing-core v0.1.23
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling tracing v0.1.32
[INFO] [stderr]    Compiling quote v1.0.16
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling mio v0.8.2
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling tokio v1.17.0
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling tokio-util v0.6.9
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling h2 v0.3.12
[INFO] [stderr]    Compiling hyper v0.14.17
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.10
[INFO] [stderr]    Compiling hue-bridge v0.1.0-alpha.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: missing documentation for a module
[INFO] [stdout]   --> src/api/mod.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | pub mod resources;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | #![warn(missing_docs)]
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a module
[INFO] [stdout]  --> src/api/resources/mod.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod bridge;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a module
[INFO] [stdout]  --> src/api/resources/mod.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod device;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a module
[INFO] [stdout]  --> src/api/resources/mod.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub mod items;
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a module
[INFO] [stdout]  --> src/api/resources/mod.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub mod light;
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 22.31s
[INFO] running `Command { std: "docker" "inspect" "cd9a318f26551fab96c8c860a667d09532afb6a81a12f89c8163d513c3dabc02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd9a318f26551fab96c8c860a667d09532afb6a81a12f89c8163d513c3dabc02", kill_on_drop: false }`
[INFO] [stdout] cd9a318f26551fab96c8c860a667d09532afb6a81a12f89c8163d513c3dabc02
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 77c58ad08afeeceaaaa68e169f303cfb9f606ac507147d811d1233bcdffe47b1
[INFO] running `Command { std: "docker" "start" "-a" "77c58ad08afeeceaaaa68e169f303cfb9f606ac507147d811d1233bcdffe47b1", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.89
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling tokio v1.17.0
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling tokio-util v0.6.9
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling h2 v0.3.12
[INFO] [stderr]    Compiling hyper v0.14.17
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.10
[INFO] [stderr]    Compiling hue-bridge v0.1.0-alpha.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: missing documentation for a module
[INFO] [stdout]   --> src/api/mod.rs:1:1
[INFO] [stdout]    |
[INFO] [stdout] 1  | pub mod resources;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/lib.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 | #![warn(missing_docs)]
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a module
[INFO] [stdout]  --> src/api/resources/mod.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod bridge;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a module
[INFO] [stdout]  --> src/api/resources/mod.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod device;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a module
[INFO] [stdout]  --> src/api/resources/mod.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub mod items;
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: missing documentation for a module
[INFO] [stdout]  --> src/api/resources/mod.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub mod light;
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 30.94s
[INFO] [stderr]   Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/hue_bridge-656f19043cb1848f)
[INFO] running `Command { std: "docker" "inspect" "77c58ad08afeeceaaaa68e169f303cfb9f606ac507147d811d1233bcdffe47b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77c58ad08afeeceaaaa68e169f303cfb9f606ac507147d811d1233bcdffe47b1", kill_on_drop: false }`
[INFO] [stdout] 77c58ad08afeeceaaaa68e169f303cfb9f606ac507147d811d1233bcdffe47b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a1d1f91c597f63e0665b23296be88d8d9f7f82504fcb4627c89df4751c3d9766
[INFO] running `Command { std: "docker" "start" "-a" "a1d1f91c597f63e0665b23296be88d8d9f7f82504fcb4627c89df4751c3d9766", kill_on_drop: false }`
[INFO] [stderr] warning: missing documentation for a module
[INFO] [stderr]   --> src/api/mod.rs:1:1
[INFO] [stderr]    |
[INFO] [stderr] 1  | pub mod resources;
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]   --> src/lib.rs:15:9
[INFO] [stderr]    |
[INFO] [stderr] 15 | #![warn(missing_docs)]
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing documentation for a module
[INFO] [stderr]  --> src/api/resources/mod.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub mod bridge;
[INFO] [stderr]   | ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing documentation for a module
[INFO] [stderr]  --> src/api/resources/mod.rs:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub mod device;
[INFO] [stderr]   | ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing documentation for a module
[INFO] [stderr]  --> src/api/resources/mod.rs:3:1
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub mod items;
[INFO] [stderr]   | ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: missing documentation for a module
[INFO] [stderr]  --> src/api/resources/mod.rs:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub mod light;
[INFO] [stderr]   | ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `hue-bridge` (lib) generated 5 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hue_bridge-656f19043cb1848f)
[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 hue-bridge
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/huebridge.rs - huebridge::HueBridge::new (line 36) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 27) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 36) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/huebridge.rs - huebridge::HueBridge::new (line 36) stdout ----
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]  --> src/huebridge.rs:39:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | .await?
[INFO] [stdout]   |        ^ help: add `;` here
[INFO] [stdout] 6 | } _doctest_main_src_huebridge_rs_36_0() }
[INFO] [stdout]   | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HueBridge`
[INFO] [stdout]  --> src/huebridge.rs:37:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let client = HueBridge::new("https://my-local-bridge.local")
[INFO] [stdout]   |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hue_bridge::HueBridge;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/huebridge.rs:38:45
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_huebridge_rs_36_0() {
[INFO] [stdout]   |                                           ----------------------------------- this is not `async`
[INFO] [stdout] 3 |   let client = HueBridge::new("https://my-local-bridge.local")
[INFO] [stdout] 4 |   .with_ca_pem("./path/to/hue/bridge/root-ca")
[INFO] [stdout]   |  _____________________________________________^
[INFO] [stdout] 5 | | .await?
[INFO] [stdout]   | |______^ only allowed inside `async` functions and blocks
[INFO] [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/huebridge.rs:39:7
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_huebridge_rs_36_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let client = HueBridge::new("https://my-local-bridge.local")
[INFO] [stdout] 4 | | .with_ca_pem("./path/to/hue/bridge/root-ca")
[INFO] [stdout] 5 | | .await?
[INFO] [stdout]   | |       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 6 | | } _doctest_main_src_huebridge_rs_36_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 27) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HueBridge`
[INFO] [stdout]  --> src/lib.rs:28:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let client = HueBridge::new("https://hue-bridge.local")
[INFO] [stdout]   |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hue_bridge::HueBridge;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:31:30
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_27_0() {
[INFO] [stdout]   |                                           ----------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 6 |       .register("hue-bindings")
[INFO] [stdout]   |  ______________________________^
[INFO] [stdout] 7 | |     .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/lib.rs:29:47
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_27_0() {
[INFO] [stdout]   |                                           ----------------------------- this is not `async`
[INFO] [stdout] 3 |   let client = HueBridge::new("https://hue-bridge.local")
[INFO] [stdout] 4 |       .with_ca_pem("/path/to/hue-bridge-ca.pem")
[INFO] [stdout]   |  _______________________________________________^
[INFO] [stdout] 5 | |     .await?
[INFO] [stdout]   | |__________^ only allowed inside `async` functions and blocks
[INFO] [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:30:11
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_27_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let client = HueBridge::new("https://hue-bridge.local")
[INFO] [stdout] 4 | |     .with_ca_pem("/path/to/hue-bridge-ca.pem")
[INFO] [stdout] 5 | |     .await?
[INFO] [stdout]   | |           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 6 | |     .register("hue-bindings")
[INFO] [stdout] 7 | |     .await?;
[INFO] [stdout] 8 | | } _doctest_main_src_lib_rs_27_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [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:32:11
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_27_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let client = HueBridge::new("https://hue-bridge.local")
[INFO] [stdout] 4 | |     .with_ca_pem("/path/to/hue-bridge-ca.pem")
[INFO] [stdout] 5 | |     .await?
[INFO] [stdout] 6 | |     .register("hue-bindings")
[INFO] [stdout] 7 | |     .await?;
[INFO] [stdout]   | |           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 8 | | } _doctest_main_src_lib_rs_27_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 36) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HueBridge`
[INFO] [stdout]  --> src/lib.rs:37:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | let client = HueBridge::new("https:://my-hue-bridge")
[INFO] [stdout]   |              ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hue_bridge::HueBridge;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/lib.rs:39:54
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_36_0() {
[INFO] [stdout]   |                                           ----------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 5 |        .with_username("my-randomly-generated-username")
[INFO] [stdout]   |  ______________________________________________________^
[INFO] [stdout] 6 | |      .await?;
[INFO] [stdout]   | |___________^ only allowed inside `async` functions and blocks
[INFO] [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:40:12
[INFO] [stdout]   |
[INFO] [stdout] 2 |   fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_36_0() {
[INFO] [stdout]   |  ______________________________________-
[INFO] [stdout] 3 | | let client = HueBridge::new("https:://my-hue-bridge")
[INFO] [stdout] 4 | |      .with_ca_pem("/path/to/hue-bridge-ca.pem")
[INFO] [stdout] 5 | |      .with_username("my-randomly-generated-username")
[INFO] [stdout] 6 | |      .await?;
[INFO] [stdout]   | |            ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 7 | | } _doctest_main_src_lib_rs_36_0() }
[INFO] [stdout]   | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `FromResidual<_>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/huebridge.rs - huebridge::HueBridge::new (line 36)
[INFO] [stdout]     src/lib.rs - (line 27)
[INFO] [stdout]     src/lib.rs - (line 36)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "a1d1f91c597f63e0665b23296be88d8d9f7f82504fcb4627c89df4751c3d9766", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1d1f91c597f63e0665b23296be88d8d9f7f82504fcb4627c89df4751c3d9766", kill_on_drop: false }`
[INFO] [stdout] a1d1f91c597f63e0665b23296be88d8d9f7f82504fcb4627c89df4751c3d9766
