[INFO] fetching crate clia-nacos-api 0.2.2...
[INFO] testing clia-nacos-api-0.2.2 against 1.76.0 for beta-1.77-1
[INFO] extracting crate clia-nacos-api 0.2.2 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate clia-nacos-api 0.2.2 on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate clia-nacos-api 0.2.2
[INFO] finished tweaking crates.io crate clia-nacos-api 0.2.2
[INFO] tweaked toml for crates.io crate clia-nacos-api 0.2.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate crates.io crate clia-nacos-api 0.2.2 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" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quote v1.0.17
[INFO] [stderr]   Downloaded ipnet v2.4.0
[INFO] [stderr]   Downloaded native-tls v0.2.10
[INFO] [stderr]   Downloaded parking_lot_core v0.9.2
[INFO] [stderr]   Downloaded log v0.4.16
[INFO] [stderr]   Downloaded tracing-attributes v0.1.20
[INFO] [stderr]   Downloaded tracing-core v0.1.24
[INFO] [stderr]   Downloaded mio v0.8.2
[INFO] [stderr]   Downloaded hyper v0.14.18
[INFO] [stderr]   Downloaded tokio v1.17.0
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.34.0
[INFO] [stderr]   Downloaded windows-sys v0.34.0
[INFO] [stderr]   Downloaded nacos-api_macro v0.1.0
[INFO] [stderr]   Downloaded windows_i686_gnu v0.34.0
[INFO] [stderr]   Downloaded windows_i686_msvc v0.34.0
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.34.0
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.34.0
[INFO] [stderr]   Downloaded libc v0.2.121
[INFO] [stderr]   Downloaded reqwest v0.11.10
[INFO] [stderr]   Downloaded syn v1.0.90
[INFO] [stderr]   Downloaded tracing v0.1.32
[INFO] [stderr]   Downloaded tokio-util v0.7.1
[INFO] [stderr]   Downloaded once_cell v1.10.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5e4577ebdc854c492447ab1cb586d6453877bb1394de208facf701a7c5059319
[INFO] running `Command { std: "docker" "start" "-a" "5e4577ebdc854c492447ab1cb586d6453877bb1394de208facf701a7c5059319", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5e4577ebdc854c492447ab1cb586d6453877bb1394de208facf701a7c5059319", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e4577ebdc854c492447ab1cb586d6453877bb1394de208facf701a7c5059319", kill_on_drop: false }`
[INFO] [stdout] 5e4577ebdc854c492447ab1cb586d6453877bb1394de208facf701a7c5059319
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 70b17c5e51b0707af2a516dac3dad6097f635bfc78d2cadf0277bf1569a6d2a6
[INFO] running `Command { std: "docker" "start" "-a" "70b17c5e51b0707af2a516dac3dad6097f635bfc78d2cadf0277bf1569a6d2a6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.90
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling parking_lot_core v0.9.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling quote v1.0.17
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling parking_lot v0.12.0
[INFO] [stderr]    Compiling mio v0.8.2
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling tracing-core v0.1.24
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling httparse v1.6.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling ipnet v2.4.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.20
[INFO] [stderr]    Compiling nacos-api_macro v0.1.0
[INFO] [stderr]    Compiling tokio v1.17.0
[INFO] [stderr]    Compiling tracing v0.1.32
[INFO] [stderr]    Compiling tokio-util v0.7.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling h2 v0.3.13
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper v0.14.18
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.10
[INFO] [stderr]    Compiling clia-nacos-api v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `reason` is never read
[INFO] [stdout]  --> src/model/err.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct NacosError {
[INFO] [stdout]   |            ---------- field in this struct
[INFO] [stdout] 7 |     reason: String,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `NacosError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 12.97s
[INFO] running `Command { std: "docker" "inspect" "70b17c5e51b0707af2a516dac3dad6097f635bfc78d2cadf0277bf1569a6d2a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70b17c5e51b0707af2a516dac3dad6097f635bfc78d2cadf0277bf1569a6d2a6", kill_on_drop: false }`
[INFO] [stdout] 70b17c5e51b0707af2a516dac3dad6097f635bfc78d2cadf0277bf1569a6d2a6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9e0f7b4cd97d0e66b3a49eb9e8f91307dcc6c8e3a9981db8a9a23f10e9ee221d
[INFO] running `Command { std: "docker" "start" "-a" "9e0f7b4cd97d0e66b3a49eb9e8f91307dcc6c8e3a9981db8a9a23f10e9ee221d", kill_on_drop: false }`
[INFO] [stdout] warning: field `reason` is never read
[INFO] [stdout]  --> src/model/err.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct NacosError {
[INFO] [stdout]   |            ---------- field in this struct
[INFO] [stdout] 7 |     reason: String,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `NacosError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling clia-nacos-api v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `reason` is never read
[INFO] [stdout]  --> src/model/err.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct NacosError {
[INFO] [stdout]   |            ---------- field in this struct
[INFO] [stdout] 7 |     reason: String,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `NacosError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.33s
[INFO] running `Command { std: "docker" "inspect" "9e0f7b4cd97d0e66b3a49eb9e8f91307dcc6c8e3a9981db8a9a23f10e9ee221d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e0f7b4cd97d0e66b3a49eb9e8f91307dcc6c8e3a9981db8a9a23f10e9ee221d", kill_on_drop: false }`
[INFO] [stdout] 9e0f7b4cd97d0e66b3a49eb9e8f91307dcc6c8e3a9981db8a9a23f10e9ee221d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 27218c4a9e156fbc15c7dc2b5399373e3c986df934f5cafa535c8dee6acce61b
[INFO] running `Command { std: "docker" "start" "-a" "27218c4a9e156fbc15c7dc2b5399373e3c986df934f5cafa535c8dee6acce61b", kill_on_drop: false }`
[INFO] [stderr] warning: field `reason` is never read
[INFO] [stderr]  --> src/model/err.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct NacosError {
[INFO] [stderr]   |            ---------- field in this struct
[INFO] [stderr] 7 |     reason: String,
[INFO] [stderr]   |     ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `NacosError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `clia-nacos-api` (lib) generated 1 warning
[INFO] [stderr] warning: `clia-nacos-api` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/clia_nacos_api-3a2b937da25275f9)
[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 clia-nacos-api
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/api/service.rs - api::service::NacosServiceApi::get_operator_servers (line 181) ... FAILED
[INFO] [stdout] test src/integration/configs.rs - integration::configs::NacosConfigClient::listen_config (line 23) ... FAILED
[INFO] [stdout] test src/integration/service.rs - integration::service::NacosClient::register (line 42) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/integration/service.rs - integration::service::NacosClient::get_addr_simple (line 67) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/api/service.rs - api::service::NacosServiceApi::get_operator_servers (line 181) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `nacos_api`
[INFO] [stdout]  --> src/api/service.rs:182:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use nacos_api::{NacosServiceApi, NacosConfig, NacosClient, ServerConfig};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `nacos_api`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/api/service.rs:186:67
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_service_rs_181_0() {
[INFO] [stdout]   |                                         -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let result = NacosServiceApi::get_operator_servers(&nacos_config).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/api/service.rs:190:75
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_service_rs_181_0() {
[INFO] [stdout]    |                                         -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | let result = NacosServiceApi::get_operator_servers(client.nacos_config()).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: E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/integration/configs.rs - integration::configs::NacosConfigClient::listen_config (line 23) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `nacos_api`
[INFO] [stdout]  --> src/integration/configs.rs:24:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use nacos_api::{NacosConfigClient, NacosConfigApi, DeployConfig, NacosConfig};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `nacos_api`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/integration/configs.rs:33:3
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_integration_configs_rs_23_0() {
[INFO] [stdout]    |                                         --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 | ).await;
[INFO] [stdout]    |   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/integration/service.rs - integration::service::NacosClient::register (line 42) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `nacos_api`
[INFO] [stdout]  --> src/integration/service.rs:43:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use nacos_api::{NacosClient,NacosConfig, ServerConfig};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `nacos_api`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/integration/service.rs:54:24
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_integration_service_rs_42_0() {
[INFO] [stdout]    |                                         --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 14 | client.register(&None).await;
[INFO] [stdout]    |                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/integration/service.rs - integration::service::NacosClient::get_addr_simple (line 67) stdout ----
[INFO] [stdout] error: format argument must be a string literal
[INFO] [stdout]   --> src/integration/service.rs:77:34
[INFO] [stdout]    |
[INFO] [stdout] 12 | assert!("http://127.0.0.1:8080", addr.as_str());
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a string literal to format with
[INFO] [stdout]    |
[INFO] [stdout] 12 | assert!("http://127.0.0.1:8080", "{}", addr.as_str());
[INFO] [stdout]    |                                  +++++
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nacos_api`
[INFO] [stdout]  --> src/integration/service.rs:68:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use nacos_api::{NacosClient,NacosConfig, ServerConfig};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `nacos_api`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/integration/service.rs:76:43
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_integration_service_rs_67_0() {
[INFO] [stdout]    |                                         --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | let addr = client.get_addr_simple("test").await?;
[INFO] [stdout]    |                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `&'static str`
[INFO] [stdout]   --> src/integration/service.rs:77:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | assert!("http://127.0.0.1:8080", addr.as_str());
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot apply unary operator `!`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0600, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/api/service.rs - api::service::NacosServiceApi::get_operator_servers (line 181)
[INFO] [stdout]     src/integration/configs.rs - integration::configs::NacosConfigClient::listen_config (line 23)
[INFO] [stdout]     src/integration/service.rs - integration::service::NacosClient::get_addr_simple (line 67)
[INFO] [stdout]     src/integration/service.rs - integration::service::NacosClient::register (line 42)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "27218c4a9e156fbc15c7dc2b5399373e3c986df934f5cafa535c8dee6acce61b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "27218c4a9e156fbc15c7dc2b5399373e3c986df934f5cafa535c8dee6acce61b", kill_on_drop: false }`
[INFO] [stdout] 27218c4a9e156fbc15c7dc2b5399373e3c986df934f5cafa535c8dee6acce61b
[INFO] testing clia-nacos-api-0.2.2 against beta-2024-02-10 for beta-1.77-1
[INFO] extracting crate clia-nacos-api 0.2.2 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate clia-nacos-api 0.2.2 on toolchain beta-2024-02-10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate clia-nacos-api 0.2.2
[INFO] finished tweaking crates.io crate clia-nacos-api 0.2.2
[INFO] tweaked toml for crates.io crate clia-nacos-api 0.2.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate crates.io crate clia-nacos-api 0.2.2 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" "+beta-2024-02-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e028315e3e81ebee81831b677ca5131f328e6c22fb509e31b8eb40d6cf898fc1
[INFO] running `Command { std: "docker" "start" "-a" "e028315e3e81ebee81831b677ca5131f328e6c22fb509e31b8eb40d6cf898fc1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e028315e3e81ebee81831b677ca5131f328e6c22fb509e31b8eb40d6cf898fc1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e028315e3e81ebee81831b677ca5131f328e6c22fb509e31b8eb40d6cf898fc1", kill_on_drop: false }`
[INFO] [stdout] e028315e3e81ebee81831b677ca5131f328e6c22fb509e31b8eb40d6cf898fc1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 34cf91422f10a4575345aa66060e2bba9b722c626c643d81e609f8ca41ccb93a
[INFO] running `Command { std: "docker" "start" "-a" "34cf91422f10a4575345aa66060e2bba9b722c626c643d81e609f8ca41ccb93a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.90
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling parking_lot_core v0.9.2
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling quote v1.0.17
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling parking_lot v0.12.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[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 futures-task v0.3.21
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling tracing-core v0.1.24
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling httparse v1.6.0
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling ipnet v2.4.0
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling md5 v0.7.0
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.20
[INFO] [stderr]    Compiling nacos-api_macro v0.1.0
[INFO] [stderr]    Compiling tokio v1.17.0
[INFO] [stderr]    Compiling tracing v0.1.32
[INFO] [stderr]    Compiling tokio-util v0.7.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling h2 v0.3.13
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper v0.14.18
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.10
[INFO] [stderr]    Compiling clia-nacos-api v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `reason` is never read
[INFO] [stdout]  --> src/model/err.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct NacosError {
[INFO] [stdout]   |            ---------- field in this struct
[INFO] [stdout] 7 |     reason: String,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `NacosError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 16.59s
[INFO] running `Command { std: "docker" "inspect" "34cf91422f10a4575345aa66060e2bba9b722c626c643d81e609f8ca41ccb93a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34cf91422f10a4575345aa66060e2bba9b722c626c643d81e609f8ca41ccb93a", kill_on_drop: false }`
[INFO] [stdout] 34cf91422f10a4575345aa66060e2bba9b722c626c643d81e609f8ca41ccb93a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9a43664405092175165923f7619e5f4b6e5a9a3145100698451da754191f02cb
[INFO] running `Command { std: "docker" "start" "-a" "9a43664405092175165923f7619e5f4b6e5a9a3145100698451da754191f02cb", kill_on_drop: false }`
[INFO] [stdout] warning: field `reason` is never read
[INFO] [stdout]  --> src/model/err.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct NacosError {
[INFO] [stdout]   |            ---------- field in this struct
[INFO] [stdout] 7 |     reason: String,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `NacosError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling clia-nacos-api v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `reason` is never read
[INFO] [stdout]  --> src/model/err.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct NacosError {
[INFO] [stdout]   |            ---------- field in this struct
[INFO] [stdout] 7 |     reason: String,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `NacosError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.20s
[INFO] running `Command { std: "docker" "inspect" "9a43664405092175165923f7619e5f4b6e5a9a3145100698451da754191f02cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a43664405092175165923f7619e5f4b6e5a9a3145100698451da754191f02cb", kill_on_drop: false }`
[INFO] [stdout] 9a43664405092175165923f7619e5f4b6e5a9a3145100698451da754191f02cb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-02-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b34d41f7349e7b57112474ad659e7c404cbaba4ee3a94c389f6d7f4fe603088d
[INFO] running `Command { std: "docker" "start" "-a" "b34d41f7349e7b57112474ad659e7c404cbaba4ee3a94c389f6d7f4fe603088d", kill_on_drop: false }`
[INFO] [stderr] warning: field `reason` is never read
[INFO] [stderr]  --> src/model/err.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct NacosError {
[INFO] [stderr]   |            ---------- field in this struct
[INFO] [stderr] 7 |     reason: String,
[INFO] [stderr]   |     ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `NacosError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `clia-nacos-api` (lib) generated 1 warning
[INFO] [stderr] warning: `clia-nacos-api` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/clia_nacos_api-d7e3c563d2199e22)
[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 clia-nacos-api
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/integration/service.rs - integration::service::NacosClient::get_addr_simple (line 67) ... FAILED
[INFO] [stdout] test src/integration/configs.rs - integration::configs::NacosConfigClient::listen_config (line 23) ... FAILED
[INFO] [stdout] test src/integration/service.rs - integration::service::NacosClient::register (line 42) ... FAILED
[INFO] [stdout] test src/api/service.rs - api::service::NacosServiceApi::get_operator_servers (line 181) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/integration/service.rs - integration::service::NacosClient::get_addr_simple (line 67) stdout ----
[INFO] [stdout] error: format argument must be a string literal
[INFO] [stdout]   --> src/integration/service.rs:77:34
[INFO] [stdout]    |
[INFO] [stdout] 12 | assert!("http://127.0.0.1:8080", addr.as_str());
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a string literal to format with
[INFO] [stdout]    |
[INFO] [stdout] 12 | assert!("http://127.0.0.1:8080", "{}", addr.as_str());
[INFO] [stdout]    |                                  +++++
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nacos_api`
[INFO] [stdout]  --> src/integration/service.rs:68:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use nacos_api::{NacosClient,NacosConfig, ServerConfig};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `nacos_api`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/integration/service.rs:76:43
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_integration_service_rs_67_0() {
[INFO] [stdout]    |                                         --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | let addr = client.get_addr_simple("test").await?;
[INFO] [stdout]    |                                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `&'static str`
[INFO] [stdout]   --> src/integration/service.rs:77:1
[INFO] [stdout]    |
[INFO] [stdout] 12 | assert!("http://127.0.0.1:8080", addr.as_str());
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot apply unary operator `!`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `assert` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0600, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/integration/configs.rs - integration::configs::NacosConfigClient::listen_config (line 23) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `nacos_api`
[INFO] [stdout]  --> src/integration/configs.rs:24:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use nacos_api::{NacosConfigClient, NacosConfigApi, DeployConfig, NacosConfig};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `nacos_api`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/integration/configs.rs:33:3
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_integration_configs_rs_23_0() {
[INFO] [stdout]    |                                         --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 | ).await;
[INFO] [stdout]    |   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/integration/service.rs - integration::service::NacosClient::register (line 42) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `nacos_api`
[INFO] [stdout]  --> src/integration/service.rs:43:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use nacos_api::{NacosClient,NacosConfig, ServerConfig};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `nacos_api`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/integration/service.rs:54:24
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_integration_service_rs_42_0() {
[INFO] [stdout]    |                                         --------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 14 | client.register(&None).await;
[INFO] [stdout]    |                        ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/service.rs - api::service::NacosServiceApi::get_operator_servers (line 181) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `nacos_api`
[INFO] [stdout]  --> src/api/service.rs:182:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use nacos_api::{NacosServiceApi, NacosConfig, NacosClient, ServerConfig};
[INFO] [stdout]   |     ^^^^^^^^^ use of undeclared crate or module `nacos_api`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]  --> src/api/service.rs:186:67
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_service_rs_181_0() {
[INFO] [stdout]   |                                         -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 7 | let result = NacosServiceApi::get_operator_servers(&nacos_config).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/api/service.rs:190:75
[INFO] [stdout]    |
[INFO] [stdout] 2  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_service_rs_181_0() {
[INFO] [stdout]    |                                         -------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 | let result = NacosServiceApi::get_operator_servers(client.nacos_config()).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: E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/api/service.rs - api::service::NacosServiceApi::get_operator_servers (line 181)
[INFO] [stdout]     src/integration/configs.rs - integration::configs::NacosConfigClient::listen_config (line 23)
[INFO] [stdout]     src/integration/service.rs - integration::service::NacosClient::get_addr_simple (line 67)
[INFO] [stdout]     src/integration/service.rs - integration::service::NacosClient::register (line 42)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "b34d41f7349e7b57112474ad659e7c404cbaba4ee3a94c389f6d7f4fe603088d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b34d41f7349e7b57112474ad659e7c404cbaba4ee3a94c389f6d7f4fe603088d", kill_on_drop: false }`
[INFO] [stdout] b34d41f7349e7b57112474ad659e7c404cbaba4ee3a94c389f6d7f4fe603088d
