[INFO] fetching crate nacos-api 0.2.1... [INFO] testing nacos-api-0.2.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate nacos-api 0.2.1 into /workspace/builds/worker-89/source [INFO] validating manifest of crates.io crate nacos-api 0.2.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nacos-api 0.2.1 [INFO] finished tweaking crates.io crate nacos-api 0.2.1 [INFO] tweaked toml for crates.io crate nacos-api 0.2.1 written to /workspace/builds/worker-89/source/Cargo.toml [INFO] crate crates.io crate nacos-api 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90dc99bee774f91b87b35048184f52de697fb2360605f2c14571cdaed35936f1 [INFO] running `Command { std: "docker" "start" "-a" "90dc99bee774f91b87b35048184f52de697fb2360605f2c14571cdaed35936f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90dc99bee774f91b87b35048184f52de697fb2360605f2c14571cdaed35936f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90dc99bee774f91b87b35048184f52de697fb2360605f2c14571cdaed35936f1", kill_on_drop: false }` [INFO] [stdout] 90dc99bee774f91b87b35048184f52de697fb2360605f2c14571cdaed35936f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bd2377d095e0dc59ce5a350781fbfc7dd7148c5080c316a60c11d420c1df87a [INFO] running `Command { std: "docker" "start" "-a" "3bd2377d095e0dc59ce5a350781fbfc7dd7148c5080c316a60c11d420c1df87a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling httpdate v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling nacos-api_macro v0.1.0 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling hyper v0.14.7 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Compiling nacos-api v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `reason` [INFO] [stdout] --> src/model/err.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `NacosError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/err.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "3bd2377d095e0dc59ce5a350781fbfc7dd7148c5080c316a60c11d420c1df87a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bd2377d095e0dc59ce5a350781fbfc7dd7148c5080c316a60c11d420c1df87a", kill_on_drop: false }` [INFO] [stdout] 3bd2377d095e0dc59ce5a350781fbfc7dd7148c5080c316a60c11d420c1df87a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a275f8a3aa033c5833f9dd169c493ec23ea558ae4e5b4b46608af2fb79e38b9 [INFO] running `Command { std: "docker" "start" "-a" "1a275f8a3aa033c5833f9dd169c493ec23ea558ae4e5b4b46608af2fb79e38b9", kill_on_drop: false }` [INFO] [stderr] Compiling nacos-api v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `reason` [INFO] [stdout] --> src/model/err.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `NacosError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/err.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reason` [INFO] [stdout] --> src/model/err.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `NacosError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/model/err.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.34s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/nacos_api-ecffd4a39ecb62ff) [INFO] running `Command { std: "docker" "inspect" "1a275f8a3aa033c5833f9dd169c493ec23ea558ae4e5b4b46608af2fb79e38b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a275f8a3aa033c5833f9dd169c493ec23ea558ae4e5b4b46608af2fb79e38b9", kill_on_drop: false }` [INFO] [stdout] 1a275f8a3aa033c5833f9dd169c493ec23ea558ae4e5b4b46608af2fb79e38b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-89/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ca1fa468abbb89d2c7982799c03d4f792651906fd543a9d7201594589285c35b [INFO] running `Command { std: "docker" "start" "-a" "ca1fa468abbb89d2c7982799c03d4f792651906fd543a9d7201594589285c35b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: field is never read: `reason` [INFO] [stderr] --> src/model/err.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | reason: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `NacosError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/model/err.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `nacos-api` (lib) generated 1 warning [INFO] [stderr] warning: `nacos-api` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nacos_api-ecffd4a39ecb62ff) [INFO] [stderr] Doc-tests nacos-api [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] [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[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/integration/configs.rs:33:2 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 13 | ).await; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/integration/service.rs - integration::service::NacosClient::register (line 42) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/integration/service.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 15 | client.register(&None).await; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/service.rs - api::service::NacosServiceApi::get_operator_servers (line 181) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api/service.rs:186:66 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 8 | 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:74 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 12 | 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 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [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[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/integration/service.rs:76:42 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 12 | let addr = client.get_addr_simple("test").await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/integration/service.rs:76:48 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_integration_service_rs_67_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use nacos_api::{NacosClient,NacosConfig, ServerConfig}; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let nacos = NacosConfig::new("http", "192.168.0.132", 8848); [INFO] [stdout] ... | [INFO] [stdout] 12 | | let addr = client.get_addr_simple("test").await?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 13 | | assert!("http://127.0.0.1:8080", addr.as_str()); [INFO] [stdout] 14 | | } _doctest_main_src_integration_service_rs_67_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `&'static str` [INFO] [stdout] --> src/integration/service.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 13 | 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 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0600, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/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.17s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "ca1fa468abbb89d2c7982799c03d4f792651906fd543a9d7201594589285c35b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca1fa468abbb89d2c7982799c03d4f792651906fd543a9d7201594589285c35b", kill_on_drop: false }` [INFO] [stdout] ca1fa468abbb89d2c7982799c03d4f792651906fd543a9d7201594589285c35b