[INFO] fetching crate clia-nacos-api 0.2.2...
[INFO] testing clia-nacos-api-0.2.2 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate clia-nacos-api 0.2.2 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate clia-nacos-api 0.2.2 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "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-5-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" "+1871252fc8bb672d40787e67404e6eaae7059369" "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 unicode-segmentation v1.9.0
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.34.0
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.34.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_gnu v0.34.0
[INFO] [stderr]   Downloaded nacos-api_macro v0.1.0
[INFO] [stderr]   Downloaded tokio-util v0.7.1
[INFO] [stderr]   Downloaded httparse v1.6.0
[INFO] [stderr]   Downloaded tracing-attributes v0.1.20
[INFO] [stderr]   Downloaded tracing-core v0.1.24
[INFO] [stderr]   Downloaded tracing v0.1.32
[INFO] [stderr]   Downloaded hyper v0.14.18
[INFO] [stderr]   Downloaded ipnet v2.4.0
[INFO] [stderr]   Downloaded reqwest v0.11.10
[INFO] [stderr]   Downloaded serde_derive v1.0.136
[INFO] [stderr]   Downloaded serde v1.0.136
[INFO] [stderr]   Downloaded windows-sys v0.34.0
[INFO] [stderr]   Downloaded serde_json v1.0.79
[INFO] [stderr]   Downloaded log v0.4.16
[INFO] [stderr]   Downloaded mio v0.8.2
[INFO] [stderr]   Downloaded parking_lot_core v0.9.2
[INFO] [stderr]   Downloaded syn v1.0.90
[INFO] [stderr]   Downloaded tokio v1.17.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a5207b9aed716acdbfc3f3bb834d6c36f3b1c6a35bb4f788b517ae82b787e52e
[INFO] running `Command { std: "docker" "start" "-a" "a5207b9aed716acdbfc3f3bb834d6c36f3b1c6a35bb4f788b517ae82b787e52e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a5207b9aed716acdbfc3f3bb834d6c36f3b1c6a35bb4f788b517ae82b787e52e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5207b9aed716acdbfc3f3bb834d6c36f3b1c6a35bb4f788b517ae82b787e52e", kill_on_drop: false }`
[INFO] [stdout] a5207b9aed716acdbfc3f3bb834d6c36f3b1c6a35bb4f788b517ae82b787e52e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7fa3cc1761a38525a29ab16293c0a9dfe5aa72a4e1cfbda80df2f42f8b710d4e
[INFO] running `Command { std: "docker" "start" "-a" "7fa3cc1761a38525a29ab16293c0a9dfe5aa72a4e1cfbda80df2f42f8b710d4e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling autocfg v1.1.0
[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 cc v1.0.73
[INFO] [stderr]    Compiling quote v1.0.17
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling futures-task v0.3.21
[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 fnv v1.0.7
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling mio v0.8.2
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling parking_lot v0.12.0
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling httparse v1.6.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[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 unicode-bidi v0.3.7
[INFO] [stderr]    Compiling http-body v0.4.4
[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 heck v0.3.3
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ipnet v2.4.0
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling url v2.2.2
[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` profile [unoptimized + debuginfo] target(s) in 56.76s
[INFO] running `Command { std: "docker" "inspect" "7fa3cc1761a38525a29ab16293c0a9dfe5aa72a4e1cfbda80df2f42f8b710d4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7fa3cc1761a38525a29ab16293c0a9dfe5aa72a4e1cfbda80df2f42f8b710d4e", kill_on_drop: false }`
[INFO] [stdout] 7fa3cc1761a38525a29ab16293c0a9dfe5aa72a4e1cfbda80df2f42f8b710d4e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 961d52d42d8a771ca783136c1db3a515cd8635aadf1d3314ed29e5d892f4235a
[INFO] running `Command { std: "docker" "start" "-a" "961d52d42d8a771ca783136c1db3a515cd8635aadf1d3314ed29e5d892f4235a", 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` profile [unoptimized + debuginfo] target(s) in 2.47s
[INFO] running `Command { std: "docker" "inspect" "961d52d42d8a771ca783136c1db3a515cd8635aadf1d3314ed29e5d892f4235a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "961d52d42d8a771ca783136c1db3a515cd8635aadf1d3314ed29e5d892f4235a", kill_on_drop: false }`
[INFO] [stdout] 961d52d42d8a771ca783136c1db3a515cd8635aadf1d3314ed29e5d892f4235a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f265706cf804bdf6cd0829b04e7b02f65b0dd6e1ffc982f3e395ff94cd21adec
[INFO] running `Command { std: "docker" "start" "-a" "f265706cf804bdf6cd0829b04e7b02f65b0dd6e1ffc982f3e395ff94cd21adec", 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` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/clia_nacos_api-e8c3f87dc628dd0e)
[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/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] test src/integration/service.rs - integration::service::NacosClient::get_addr_simple (line 67) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] ---- 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.24s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "f265706cf804bdf6cd0829b04e7b02f65b0dd6e1ffc982f3e395ff94cd21adec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f265706cf804bdf6cd0829b04e7b02f65b0dd6e1ffc982f3e395ff94cd21adec", kill_on_drop: false }`
[INFO] [stdout] f265706cf804bdf6cd0829b04e7b02f65b0dd6e1ffc982f3e395ff94cd21adec
[INFO] testing clia-nacos-api-0.2.2 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate clia-nacos-api 0.2.2 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate clia-nacos-api 0.2.2 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "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-5-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" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7a621264d733133741d031433ecbbd3cd314ef85b784700569c7cd1558acdc93
[INFO] running `Command { std: "docker" "start" "-a" "7a621264d733133741d031433ecbbd3cd314ef85b784700569c7cd1558acdc93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7a621264d733133741d031433ecbbd3cd314ef85b784700569c7cd1558acdc93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a621264d733133741d031433ecbbd3cd314ef85b784700569c7cd1558acdc93", kill_on_drop: false }`
[INFO] [stdout] 7a621264d733133741d031433ecbbd3cd314ef85b784700569c7cd1558acdc93
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aa3081a34f76da9ffd62acf5fef23bfc6217bd5f42f9c72f0789ad21269a688e
[INFO] running `Command { std: "docker" "start" "-a" "aa3081a34f76da9ffd62acf5fef23bfc6217bd5f42f9c72f0789ad21269a688e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling syn v1.0.90
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling parking_lot_core v0.9.2
[INFO] [stderr]    Compiling quote v1.0.17
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling tracing-core v0.1.24
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling mio v0.8.2
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling parking_lot v0.12.0
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling serde_derive v1.0.136
[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 futures-sink v0.3.21
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling httparse v1.6.0
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[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 encoding_rs v0.8.30
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling ryu v1.0.9
[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 rand_core v0.6.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling ipnet v2.4.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling heck v0.3.3
[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` profile [unoptimized + debuginfo] target(s) in 56.65s
[INFO] running `Command { std: "docker" "inspect" "aa3081a34f76da9ffd62acf5fef23bfc6217bd5f42f9c72f0789ad21269a688e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa3081a34f76da9ffd62acf5fef23bfc6217bd5f42f9c72f0789ad21269a688e", kill_on_drop: false }`
[INFO] [stdout] aa3081a34f76da9ffd62acf5fef23bfc6217bd5f42f9c72f0789ad21269a688e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 99562be54d66d1a694f0c96d46d5dc3563fb509e0a4f8abb6f6d66a004dbfae1
[INFO] running `Command { std: "docker" "start" "-a" "99562be54d66d1a694f0c96d46d5dc3563fb509e0a4f8abb6f6d66a004dbfae1", 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` profile [unoptimized + debuginfo] target(s) in 2.79s
[INFO] running `Command { std: "docker" "inspect" "99562be54d66d1a694f0c96d46d5dc3563fb509e0a4f8abb6f6d66a004dbfae1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99562be54d66d1a694f0c96d46d5dc3563fb509e0a4f8abb6f6d66a004dbfae1", kill_on_drop: false }`
[INFO] [stdout] 99562be54d66d1a694f0c96d46d5dc3563fb509e0a4f8abb6f6d66a004dbfae1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 498016d338a9c38b8a293f1e597afabac91c4c818e123bc2530758e4c9aaba61
[INFO] running `Command { std: "docker" "start" "-a" "498016d338a9c38b8a293f1e597afabac91c4c818e123bc2530758e4c9aaba61", 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` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/clia_nacos_api-e8c3f87dc628dd0e)
[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/api/service.rs - api::service::NacosServiceApi::get_operator_servers (line 181) ... FAILED
[INFO] [stdout] test src/integration/service.rs - integration::service::NacosClient::register (line 42) ... FAILED
[INFO] [stdout] test src/integration/configs.rs - integration::configs::NacosConfigClient::listen_config (line 23) ... 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/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/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/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] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[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.25s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "498016d338a9c38b8a293f1e597afabac91c4c818e123bc2530758e4c9aaba61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "498016d338a9c38b8a293f1e597afabac91c4c818e123bc2530758e4c9aaba61", kill_on_drop: false }`
[INFO] [stdout] 498016d338a9c38b8a293f1e597afabac91c4c818e123bc2530758e4c9aaba61
