[INFO] fetching crate otel-opamp-rs 0.0.10...
[INFO] testing otel-opamp-rs-0.0.10 against nightly-2024-10-28 for randomize-layout
[INFO] extracting crate otel-opamp-rs 0.0.10 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate otel-opamp-rs 0.0.10 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate otel-opamp-rs 0.0.10
[INFO] finished tweaking crates.io crate otel-opamp-rs 0.0.10
[INFO] tweaked toml for crates.io crate otel-opamp-rs 0.0.10 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 215 packages to latest compatible versions
[INFO] [stderr]       Adding libdeflater v0.14.0 (available: v1.22.0)
[INFO] [stderr]       Adding prost v0.11.9 (available: v0.13.3)
[INFO] [stderr]       Adding prost-build v0.11.9 (available: v0.13.3)
[INFO] [stderr]       Adding prost-types v0.11.9 (available: v0.13.3)
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.12.9)
[INFO] [stderr]       Adding simple_logger v4.3.3 (available: v5.0.0)
[INFO] [stderr]       Adding sysinfo v0.29.11 (available: v0.32.0)
[INFO] [stderr]       Adding tokio-tungstenite v0.19.0 (available: v0.24.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ulid v1.1.3
[INFO] [stderr]   Downloaded tokio-tungstenite v0.19.0
[INFO] [stderr]   Downloaded tungstenite v0.19.0
[INFO] [stderr]   Downloaded libdeflater v0.14.0
[INFO] [stderr]   Downloaded libdeflate-sys v0.14.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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 68722637e1c1c14a715024fef56698bd3c2c8dbebf29ad69d83239305496ead3
[INFO] running `Command { std: "docker" "start" "-a" "68722637e1c1c14a715024fef56698bd3c2c8dbebf29ad69d83239305496ead3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "68722637e1c1c14a715024fef56698bd3c2c8dbebf29ad69d83239305496ead3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68722637e1c1c14a715024fef56698bd3c2c8dbebf29ad69d83239305496ead3", kill_on_drop: false }`
[INFO] [stdout] 68722637e1c1c14a715024fef56698bd3c2c8dbebf29ad69d83239305496ead3
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 530bbda5ceb4af2b220550817d34cb8c7f5e0d0be03b01a4e8898f188e43d0f9
[INFO] running `Command { std: "docker" "start" "-a" "530bbda5ceb4af2b220550817d34cb8c7f5e0d0be03b01a4e8898f188e43d0f9", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling bytes v1.8.0
[INFO] [stderr]    Compiling anyhow v1.0.92
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling rustix v0.38.38
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling prettyplease v0.1.25
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tokio v1.41.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling fastrand v2.1.1
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling libdeflate-sys v0.14.0
[INFO] [stderr]    Compiling protoc-bin-vendored-win32 v3.1.0
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling protoc-bin-vendored-linux-x86_64 v3.1.0
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling protoc-bin-vendored-linux-x86_32 v3.1.0
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.17
[INFO] [stderr]    Compiling protoc-bin-vendored-linux-ppcle_64 v3.1.0
[INFO] [stderr]    Compiling protoc-bin-vendored-macos-x86_64 v3.1.0
[INFO] [stderr]    Compiling protoc-bin-vendored-linux-aarch_64 v3.1.0
[INFO] [stderr]    Compiling protoc-bin-vendored-macos-aarch_64 v3.1.0
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling protoc-bin-vendored v3.1.0
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling colored v2.1.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling ipnet v2.10.1
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling tempfile v3.13.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling sysinfo v0.29.11
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling ulid v1.1.3
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling simple_logger v4.3.3
[INFO] [stderr]    Compiling libdeflater v0.14.0
[INFO] [stderr]    Compiling prost-derive v0.11.9
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling prost v0.11.9
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling prost-types v0.11.9
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling prost-build v0.11.9
[INFO] [stderr]    Compiling otel-opamp-rs v0.0.10 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling hyper v0.14.31
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.33s
[INFO] running `Command { std: "docker" "inspect" "530bbda5ceb4af2b220550817d34cb8c7f5e0d0be03b01a4e8898f188e43d0f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "530bbda5ceb4af2b220550817d34cb8c7f5e0d0be03b01a4e8898f188e43d0f9", kill_on_drop: false }`
[INFO] [stdout] 530bbda5ceb4af2b220550817d34cb8c7f5e0d0be03b01a4e8898f188e43d0f9
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bff7f215611329dba889e900b89f0dc77cccb0846f41fb126ae2af4bb12b993f
[INFO] running `Command { std: "docker" "start" "-a" "bff7f215611329dba889e900b89f0dc77cccb0846f41fb126ae2af4bb12b993f", kill_on_drop: false }`
[INFO] [stderr]    Compiling otel-opamp-rs v0.0.10 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.98s
[INFO] running `Command { std: "docker" "inspect" "bff7f215611329dba889e900b89f0dc77cccb0846f41fb126ae2af4bb12b993f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bff7f215611329dba889e900b89f0dc77cccb0846f41fb126ae2af4bb12b993f", kill_on_drop: false }`
[INFO] [stdout] bff7f215611329dba889e900b89f0dc77cccb0846f41fb126ae2af4bb12b993f
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 55bd7722c024f0e6038e17ef9989a57bc44a3bf96c8a15ce604a43f839b3fd7f
[INFO] running `Command { std: "docker" "start" "-a" "55bd7722c024f0e6038e17ef9989a57bc44a3bf96c8a15ce604a43f839b3fd7f", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/otel_opamp_rs-da49056b7d676a20)
[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 otel_opamp_rs
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - (line 69) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 127) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 35) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 69) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `ApiCallbacks` in this scope
[INFO] [stdout]  --> src/lib.rs:73:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl ApiCallbacks for &mut Supervisor {
[INFO] [stdout]   |      ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use otel_opamp_rs::api::ApiCallbacks;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Api`
[INFO] [stdout]   --> src/lib.rs:82:26
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let mut handle = Api::new(
[INFO] [stdout]    |                          ^^^ use of undeclared type `Api`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::api::Api;
[INFO] [stdout]    |
[INFO] [stdout] 2  + use prost_types::Api;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ConnectionSettings` in this scope
[INFO] [stdout]   --> src/lib.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 16 |            ConnectionSettings {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::api::ConnectionSettings;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `server` in this scope
[INFO] [stdout]   --> src/lib.rs:84:33
[INFO] [stdout]    |
[INFO] [stdout] 17 |                server_endpoint: server.endpoint,
[INFO] [stdout]    |                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `server` in this scope
[INFO] [stdout]   --> src/lib.rs:85:25
[INFO] [stdout]    |
[INFO] [stdout] 18 |                api_key: server.api_key.clone(),
[INFO] [stdout]    |                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/lib.rs:86:27
[INFO] [stdout]    |
[INFO] [stdout] 19 |                debugmode: args.options.debugmode,
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0424]: expected value, found module `self`
[INFO] [stdout]   --> src/lib.rs:88:28
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn run() {
[INFO] [stdout]    |            --- this function doesn't have a `self` parameter
[INFO] [stdout] ...
[INFO] [stdout] 21 |                }, Box::new(self),
[INFO] [stdout]    |                            ^^^^ `self` value is a keyword only available in methods with a `self` parameter
[INFO] [stdout]    |
[INFO] [stdout] help: add a `self` receiver parameter to make the associated `fn` a method
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn run(&self) {
[INFO] [stdout]    |                +++++
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:93:27
[INFO] [stdout]    |
[INFO] [stdout] 26 |             handle.poll().await;
[INFO] [stdout]    |                           ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0422, E0424, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 127) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `StateResponse` in this scope
[INFO] [stdout]  --> src/lib.rs:132:43
[INFO] [stdout]   |
[INFO] [stdout] 7 |     async fn connect(&mut self) -> Result<StateResponse, ApiClientError>;
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use otel_opamp_rs::state::StateResponse;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ApiClientError` in this scope
[INFO] [stdout]  --> src/lib.rs:132:58
[INFO] [stdout]   |
[INFO] [stdout] 7 |     async fn connect(&mut self) -> Result<StateResponse, ApiClientError>;
[INFO] [stdout]   |                                                          ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use otel_opamp_rs::api::ApiClientError;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StateResponse` in this scope
[INFO] [stdout]  --> src/lib.rs:133:45
[INFO] [stdout]   |
[INFO] [stdout] 8 |     async fn handshake(&mut self) -> Result<StateResponse, ApiClientError>;
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use otel_opamp_rs::state::StateResponse;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ApiClientError` in this scope
[INFO] [stdout]  --> src/lib.rs:133:60
[INFO] [stdout]   |
[INFO] [stdout] 8 |     async fn handshake(&mut self) -> Result<StateResponse, ApiClientError>;
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use otel_opamp_rs::api::ApiClientError;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StateResponse` in this scope
[INFO] [stdout]  --> src/lib.rs:134:40
[INFO] [stdout]   |
[INFO] [stdout] 9 |     async fn poll(&mut self) -> Result<StateResponse, ApiClientError>;
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]   |
[INFO] [stdout] 2 + use otel_opamp_rs::state::StateResponse;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ApiClientError` in this scope
[INFO] [stdout]  --> src/lib.rs:134:55
[INFO] [stdout]   |
[INFO] [stdout] 9 |     async fn poll(&mut self) -> Result<StateResponse, ApiClientError>;
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use otel_opamp_rs::api::ApiClientError;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StateResponse` in this scope
[INFO] [stdout]   --> src/lib.rs:135:40
[INFO] [stdout]    |
[INFO] [stdout] 10 |     async fn send(&mut self) -> Result<StateResponse, ApiClientError>;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::state::StateResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ApiClientError` in this scope
[INFO] [stdout]   --> src/lib.rs:135:55
[INFO] [stdout]    |
[INFO] [stdout] 10 |     async fn send(&mut self) -> Result<StateResponse, ApiClientError>;
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::api::ApiClientError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `StateResponse` in this scope
[INFO] [stdout]   --> src/lib.rs:136:40
[INFO] [stdout]    |
[INFO] [stdout] 11 |     async fn wait(&mut self) -> Result<StateResponse, ApiClientError>;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::state::StateResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ApiClientError` in this scope
[INFO] [stdout]   --> src/lib.rs:136:55
[INFO] [stdout]    |
[INFO] [stdout] 11 |     async fn wait(&mut self) -> Result<StateResponse, ApiClientError>;
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::api::ApiClientError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 35) stdout ----
[INFO] [stdout] error[E0412]: cannot find type `AgentConfigMap` in this scope
[INFO] [stdout]  --> src/lib.rs:37:54
[INFO] [stdout]   |
[INFO] [stdout] 4 |     fn get_configuration(&mut self) -> Result<Option<AgentConfigMap>, ApiClientError>;
[INFO] [stdout]   |                                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use otel_opamp_rs::opamp::spec::AgentConfigMap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ApiClientError` in this scope
[INFO] [stdout]  --> src/lib.rs:37:71
[INFO] [stdout]   |
[INFO] [stdout] 4 |     fn get_configuration(&mut self) -> Result<Option<AgentConfigMap>, ApiClientError>;
[INFO] [stdout]   |                                                                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use otel_opamp_rs::api::ApiClientError;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AgentToServer` in this scope
[INFO] [stdout]  --> src/lib.rs:39:44
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn on_loop(&mut self) -> Result<Option<AgentToServer>, ApiClientError>;
[INFO] [stdout]   |                                            ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use otel_opamp_rs::opamp::spec::AgentToServer;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ApiClientError` in this scope
[INFO] [stdout]  --> src/lib.rs:39:60
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn on_loop(&mut self) -> Result<Option<AgentToServer>, ApiClientError>;
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use otel_opamp_rs::api::ApiClientError;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ServerToAgent` in this scope
[INFO] [stdout]  --> src/lib.rs:42:19
[INFO] [stdout]   |
[INFO] [stdout] 9 |         inbound: &ServerToAgent,
[INFO] [stdout]   |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use otel_opamp_rs::opamp::spec::ServerToAgent;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ServerToAgent` in this scope
[INFO] [stdout]   --> src/lib.rs:46:19
[INFO] [stdout]    |
[INFO] [stdout] 13 |         inbound: &ServerToAgent,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::opamp::spec::ServerToAgent;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AgentToServer` in this scope
[INFO] [stdout]   --> src/lib.rs:47:24
[INFO] [stdout]    |
[INFO] [stdout] 14 |     ) -> Result<Option<AgentToServer>, ApiClientError>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::opamp::spec::AgentToServer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ApiClientError` in this scope
[INFO] [stdout]   --> src/lib.rs:47:40
[INFO] [stdout]    |
[INFO] [stdout] 14 |     ) -> Result<Option<AgentToServer>, ApiClientError>;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::api::ApiClientError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ServerToAgent` in this scope
[INFO] [stdout]   --> src/lib.rs:50:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |         inbound: &ServerToAgent,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::opamp::spec::ServerToAgent;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AgentToServer` in this scope
[INFO] [stdout]   --> src/lib.rs:51:24
[INFO] [stdout]    |
[INFO] [stdout] 18 |     ) -> Result<Option<AgentToServer>, ApiClientError>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::opamp::spec::AgentToServer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ApiClientError` in this scope
[INFO] [stdout]   --> src/lib.rs:51:40
[INFO] [stdout]    |
[INFO] [stdout] 18 |     ) -> Result<Option<AgentToServer>, ApiClientError>;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::api::ApiClientError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ServerToAgent` in this scope
[INFO] [stdout]   --> src/lib.rs:54:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |         inbound: &ServerToAgent,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::opamp::spec::ServerToAgent;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AgentToServer` in this scope
[INFO] [stdout]   --> src/lib.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 22 |     ) -> Result<Option<AgentToServer>, ApiClientError>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::opamp::spec::AgentToServer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ApiClientError` in this scope
[INFO] [stdout]   --> src/lib.rs:55:40
[INFO] [stdout]    |
[INFO] [stdout] 22 |     ) -> Result<Option<AgentToServer>, ApiClientError>;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::api::ApiClientError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ServerToAgent` in this scope
[INFO] [stdout]   --> src/lib.rs:58:19
[INFO] [stdout]    |
[INFO] [stdout] 25 |         inbound: &ServerToAgent,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::opamp::spec::ServerToAgent;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AgentToServer` in this scope
[INFO] [stdout]   --> src/lib.rs:59:24
[INFO] [stdout]    |
[INFO] [stdout] 26 |     ) -> Result<Option<AgentToServer>, ApiClientError>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::opamp::spec::AgentToServer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ApiClientError` in this scope
[INFO] [stdout]   --> src/lib.rs:59:40
[INFO] [stdout]    |
[INFO] [stdout] 26 |     ) -> Result<Option<AgentToServer>, ApiClientError>;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::api::ApiClientError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ServerToAgent` in this scope
[INFO] [stdout]   --> src/lib.rs:62:19
[INFO] [stdout]    |
[INFO] [stdout] 29 |         inbound: &ServerToAgent,
[INFO] [stdout]    |                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::opamp::spec::ServerToAgent;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AgentToServer` in this scope
[INFO] [stdout]   --> src/lib.rs:63:24
[INFO] [stdout]    |
[INFO] [stdout] 30 |     ) -> Result<Option<AgentToServer>, ApiClientError>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::opamp::spec::AgentToServer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ApiClientError` in this scope
[INFO] [stdout]   --> src/lib.rs:63:40
[INFO] [stdout]    |
[INFO] [stdout] 30 |     ) -> Result<Option<AgentToServer>, ApiClientError>;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use otel_opamp_rs::api::ApiClientError;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 20 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 127)
[INFO] [stdout]     src/lib.rs - (line 35)
[INFO] [stdout]     src/lib.rs - (line 69)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "55bd7722c024f0e6038e17ef9989a57bc44a3bf96c8a15ce604a43f839b3fd7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55bd7722c024f0e6038e17ef9989a57bc44a3bf96c8a15ce604a43f839b3fd7f", kill_on_drop: false }`
[INFO] [stdout] 55bd7722c024f0e6038e17ef9989a57bc44a3bf96c8a15ce604a43f839b3fd7f
