[INFO] fetching crate monitor_client 1.13.3... [INFO] testing monitor_client-1.13.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate monitor_client 1.13.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate monitor_client 1.13.3 [INFO] finished tweaking crates.io crate monitor_client 1.13.3 [INFO] tweaked toml for crates.io crate monitor_client 1.13.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate monitor_client 1.13.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 349 packages to latest compatible versions [INFO] [stderr] Adding bollard v0.17.1 (available: v0.19.2) [INFO] [stderr] Adding bson v2.15.0 (available: v3.0.0) [INFO] [stderr] Adding resolver_api v1.1.1 (available: v3.0.0) [INFO] [stderr] Adding serror v0.4.8 (available: v0.5.0) [INFO] [stderr] Adding strum v0.26.3 (available: v0.27.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding tokio-tungstenite v0.23.1 (available: v0.27.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mongodb-internal-macros v3.2.5 [INFO] [stderr] Downloaded derive-where v1.6.0 [INFO] [stderr] Downloaded async_timing_util v1.0.0 [INFO] [stderr] Downloaded serror v0.4.8 [INFO] [stderr] Downloaded derive_variants v1.0.0 [INFO] [stderr] Downloaded mongo_indexed v2.0.2 [INFO] [stderr] Downloaded resolver_api_derive v1.1.0 [INFO] [stderr] Downloaded resolver_api v1.1.1 [INFO] [stderr] Downloaded derive_variants_derive v1.0.0 [INFO] [stderr] Downloaded derive_default_builder_derive v0.1.8 [INFO] [stderr] Downloaded derive_default_builder v0.1.8 [INFO] [stderr] Downloaded derive_empty_traits v0.1.0 [INFO] [stderr] Downloaded mongo_indexed_derive v2.0.2 [INFO] [stderr] Downloaded partial_derive2 v0.4.3 [INFO] [stderr] Downloaded mongodb v3.2.5 [INFO] [stderr] Downloaded partial_derive2_derive v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9fb994b27a0546876e385503e5b99f52c515be9205a1583550f03c36f6b6aaf [INFO] running `Command { std: "docker" "start" "-a" "b9fb994b27a0546876e385503e5b99f52c515be9205a1583550f03c36f6b6aaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9fb994b27a0546876e385503e5b99f52c515be9205a1583550f03c36f6b6aaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9fb994b27a0546876e385503e5b99f52c515be9205a1583550f03c36f6b6aaf", kill_on_drop: false }` [INFO] [stdout] b9fb994b27a0546876e385503e5b99f52c515be9205a1583550f03c36f6b6aaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91d1977e11835fe946bb17ad17859a60f1381b0c051f43236321dd363a49f989 [INFO] running `Command { std: "docker" "start" "-a" "91d1977e11835fe946bb17ad17859a60f1381b0c051f43236321dd363a49f989", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling resolver_api_derive v1.1.0 [INFO] [stderr] Compiling derive_variants_derive v1.0.0 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling partial_derive2_derive v0.4.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling derive_default_builder_derive v0.1.8 [INFO] [stderr] Compiling typeshare-annotation v1.0.4 [INFO] [stderr] Compiling partial_derive2 v0.4.3 [INFO] [stderr] Compiling derive_empty_traits v0.1.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling derive_default_builder v0.1.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tungstenite v0.23.0 [INFO] [stderr] Compiling derive_variants v1.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling async_timing_util v1.0.0 [INFO] [stderr] Compiling tokio-tungstenite v0.23.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling typeshare v1.0.4 [INFO] [stderr] Compiling serror v0.4.8 [INFO] [stderr] Compiling resolver_api v1.1.1 [INFO] [stderr] Compiling bson v2.15.0 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling monitor_client v1.13.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "91d1977e11835fe946bb17ad17859a60f1381b0c051f43236321dd363a49f989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91d1977e11835fe946bb17ad17859a60f1381b0c051f43236321dd363a49f989", kill_on_drop: false }` [INFO] [stdout] 91d1977e11835fe946bb17ad17859a60f1381b0c051f43236321dd363a49f989 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b858963dc58b8be2b254798bfa1c366bb5ec2b2ff60862c9678ab69352c07f5b [INFO] running `Command { std: "docker" "start" "-a" "b858963dc58b8be2b254798bfa1c366bb5ec2b2ff60862c9678ab69352c07f5b", kill_on_drop: false }` [INFO] [stderr] Compiling monitor_client v1.13.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.83s [INFO] running `Command { std: "docker" "inspect" "b858963dc58b8be2b254798bfa1c366bb5ec2b2ff60862c9678ab69352c07f5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b858963dc58b8be2b254798bfa1c366bb5ec2b2ff60862c9678ab69352c07f5b", kill_on_drop: false }` [INFO] [stdout] b858963dc58b8be2b254798bfa1c366bb5ec2b2ff60862c9678ab69352c07f5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 16d6077cb891e7b109820a04440c0085dddbdd7fcee929a69b2b672196af1326 [INFO] running `Command { std: "docker" "start" "-a" "16d6077cb891e7b109820a04440c0085dddbdd7fcee929a69b2b672196af1326", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/monitor_client-5f758127f78e4bbc) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests monitor_client [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 7 tests [INFO] [stdout] test src/entities/build.rs - entities::build::BuildConfig::secret_args (line 232) ... FAILED [INFO] [stdout] test src/entities/build.rs - entities::build::BuildConfigBuilder::secret_args (line 232) ... FAILED [INFO] [stdout] test src/api/mod.rs - api (line 44) ... FAILED [INFO] [stdout] test src/entities/build.rs - entities::build::BuildConfigBuilder::secret_args (line 232) ... FAILED [INFO] [stdout] test src/api/mod.rs - api (line 20) ... FAILED [INFO] [stdout] test src/api/read/alert.rs - api::read::alert::ListAlerts::query (line 22) ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/entities/build.rs - entities::build::BuildConfig::secret_args (line 232) stdout ---- [INFO] [stdout] error: unknown start of token: \ [INFO] [stdout] --> src/entities/build.rs:233:39 [INFO] [stdout] | [INFO] [stdout] 1 | RUN --mount=type=secret,id=SECRET_KEY \ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `-` [INFO] [stdout] --> src/entities/build.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 1 | RUN --mount=type=secret,id=SECRET_KEY \ [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/entities/build.rs - entities::build::BuildConfigBuilder::secret_args (line 232) stdout ---- [INFO] [stdout] error: unknown start of token: \ [INFO] [stdout] --> src/entities/build.rs:233:39 [INFO] [stdout] | [INFO] [stdout] 1 | RUN --mount=type=secret,id=SECRET_KEY \ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `-` [INFO] [stdout] --> src/entities/build.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 1 | RUN --mount=type=secret,id=SECRET_KEY \ [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/mod.rs - api (line 44) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `:` [INFO] [stdout] --> src/api/mod.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 4 | "error": "top level error message", [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/entities/build.rs - entities::build::BuildConfigBuilder::secret_args (line 232) stdout ---- [INFO] [stdout] error: unknown start of token: \ [INFO] [stdout] --> src/entities/build.rs:233:39 [INFO] [stdout] | [INFO] [stdout] 1 | RUN --mount=type=secret,id=SECRET_KEY \ [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `-` [INFO] [stdout] --> src/entities/build.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 1 | RUN --mount=type=secret,id=SECRET_KEY \ [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/mod.rs - api (line 20) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `:` [INFO] [stdout] --> src/api/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 4 | "type": "GetDeployment", [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/api/read/alert.rs - api::read::alert::ListAlerts::query (line 22) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `:` [INFO] [stdout] --> src/api/read/alert.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 4 | "resolved": "false", [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 18) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 12 | let update = client.execute [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 13 | } _doctest_main_src_lib_rs_18_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MonitorClient` [INFO] [stdout] --> src/lib.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 5 | let client = MonitorClient::new_from_env()?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `MonitorClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use monitor_client::MonitorClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ListDeployments` [INFO] [stdout] --> src/lib.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 8 | let deployments = client.read(ListDeployments::default()).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ListDeployments` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use monitor_client::api::read::ListDeployments; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:24:59 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_18_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | let deployments = client.read(ListDeployments::default()).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dotenvy` [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 3 | dotenvy::dotenv().ok(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `dotenvy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dotenvy`, use `cargo add dotenvy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/api/mod.rs - api (line 20) [INFO] [stdout] src/api/mod.rs - api (line 44) [INFO] [stdout] src/api/read/alert.rs - api::read::alert::ListAlerts::query (line 22) [INFO] [stdout] src/entities/build.rs - entities::build::BuildConfig::secret_args (line 232) [INFO] [stdout] src/entities/build.rs - entities::build::BuildConfigBuilder::secret_args (line 232) [INFO] [stdout] src/entities/build.rs - entities::build::BuildConfigBuilder::secret_args (line 232) [INFO] [stdout] src/lib.rs - (line 18) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "16d6077cb891e7b109820a04440c0085dddbdd7fcee929a69b2b672196af1326", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16d6077cb891e7b109820a04440c0085dddbdd7fcee929a69b2b672196af1326", kill_on_drop: false }` [INFO] [stdout] 16d6077cb891e7b109820a04440c0085dddbdd7fcee929a69b2b672196af1326