[INFO] fetching crate otel-opamp-rs 0.0.14... [INFO] testing otel-opamp-rs-0.0.14 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate otel-opamp-rs 0.0.14 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate otel-opamp-rs 0.0.14 [INFO] finished tweaking crates.io crate otel-opamp-rs 0.0.14 [INFO] tweaked toml for crates.io crate otel-opamp-rs 0.0.14 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate otel-opamp-rs 0.0.14 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate otel-opamp-rs 0.0.14 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5984a5a49bc4f86a0d73292cf003b59662618e853fd03e7008aeb9d26b094cd7 [INFO] running `Command { std: "docker" "start" "-a" "5984a5a49bc4f86a0d73292cf003b59662618e853fd03e7008aeb9d26b094cd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5984a5a49bc4f86a0d73292cf003b59662618e853fd03e7008aeb9d26b094cd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5984a5a49bc4f86a0d73292cf003b59662618e853fd03e7008aeb9d26b094cd7", kill_on_drop: false }` [INFO] [stdout] 5984a5a49bc4f86a0d73292cf003b59662618e853fd03e7008aeb9d26b094cd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c610e8a88736eef4af29e1fe41250534e10339d8b0b16b711a6a4386758d2751 [INFO] running `Command { std: "docker" "start" "-a" "c610e8a88736eef4af29e1fe41250534e10339d8b0b16b711a6a4386758d2751", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling libdeflate-sys v0.14.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_32 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-s390_64 v3.2.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_64 v3.2.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling protoc-bin-vendored-linux-ppcle_64 v3.2.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling protoc-bin-vendored-linux-aarch_64 v3.2.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling protoc-bin-vendored-macos-aarch_64 v3.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-win32 v3.2.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-macos-x86_64 v3.2.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling protoc-bin-vendored v3.2.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling otel-opamp-rs v0.0.14 (/opt/rustwide/workdir) [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling simple_logger v4.3.3 [INFO] [stderr] Compiling ulid v1.2.1 [INFO] [stderr] Compiling libdeflater v0.14.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling sysinfo v0.29.11 [INFO] [stderr] Compiling hyper v0.14.32 [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 2m 09s [INFO] running `Command { std: "docker" "inspect" "c610e8a88736eef4af29e1fe41250534e10339d8b0b16b711a6a4386758d2751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c610e8a88736eef4af29e1fe41250534e10339d8b0b16b711a6a4386758d2751", kill_on_drop: false }` [INFO] [stdout] c610e8a88736eef4af29e1fe41250534e10339d8b0b16b711a6a4386758d2751 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37f9e3be0736154cf3bf5d3287e5deea6daf57e688b90177eb14ca77d1e58797 [INFO] running `Command { std: "docker" "start" "-a" "37f9e3be0736154cf3bf5d3287e5deea6daf57e688b90177eb14ca77d1e58797", kill_on_drop: false }` [INFO] [stderr] Compiling otel-opamp-rs v0.0.14 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.41s [INFO] running `Command { std: "docker" "inspect" "37f9e3be0736154cf3bf5d3287e5deea6daf57e688b90177eb14ca77d1e58797", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37f9e3be0736154cf3bf5d3287e5deea6daf57e688b90177eb14ca77d1e58797", kill_on_drop: false }` [INFO] [stdout] 37f9e3be0736154cf3bf5d3287e5deea6daf57e688b90177eb14ca77d1e58797 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a72505ed79f1bf518de3143d77160c8ee63723e29df4cc6276a2d95ba60cdab0 [INFO] running `Command { std: "docker" "start" "-a" "a72505ed79f1bf518de3143d77160c8ee63723e29df4cc6276a2d95ba60cdab0", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/otel_opamp_rs-bcd6a09395bea698) [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] 73 | 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] 69 + 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] 82 | 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] 69 + use otel_opamp_rs::api::Api; [INFO] [stdout] | [INFO] [stdout] 69 + 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] 83 | ConnectionSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 69 + 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] 84 | 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] 85 | 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] 86 | debugmode: args.options.debugmode, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + 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] 78 | pub fn run() { [INFO] [stdout] | --- this function doesn't have a `self` parameter [INFO] [stdout] ... [INFO] [stdout] 88 | }, 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] 78 | 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] 93 | 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] 132 | async fn connect(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 127 + 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] 132 | async fn connect(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 127 + 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] 133 | async fn handshake(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 127 + 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] 133 | async fn handshake(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 127 + 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] 134 | async fn poll(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 127 + 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] 134 | async fn poll(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 127 + 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] 135 | async fn send(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 127 + 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] 135 | async fn send(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 127 + 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] 136 | async fn wait(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 127 + 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] 136 | async fn wait(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 127 + 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] 37 | fn get_configuration(&mut self) -> Result, ApiClientError>; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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] 37 | fn get_configuration(&mut self) -> Result, ApiClientError>; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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] 39 | fn on_loop(&mut self) -> Result, ApiClientError>; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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] 39 | fn on_loop(&mut self) -> Result, ApiClientError>; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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] 42 | inbound: &ServerToAgent, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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] 46 | inbound: &ServerToAgent, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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] 47 | ) -> Result, ApiClientError>; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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] 47 | ) -> Result, ApiClientError>; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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] 50 | inbound: &ServerToAgent, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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] 51 | ) -> Result, ApiClientError>; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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] 51 | ) -> Result, ApiClientError>; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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] 54 | inbound: &ServerToAgent, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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] 55 | ) -> Result, ApiClientError>; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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] 55 | ) -> Result, ApiClientError>; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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] 58 | inbound: &ServerToAgent, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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] 59 | ) -> Result, ApiClientError>; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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] 59 | ) -> Result, ApiClientError>; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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] 62 | inbound: &ServerToAgent, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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] 63 | ) -> Result, ApiClientError>; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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] 63 | ) -> Result, ApiClientError>; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 35 + 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.36s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a72505ed79f1bf518de3143d77160c8ee63723e29df4cc6276a2d95ba60cdab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a72505ed79f1bf518de3143d77160c8ee63723e29df4cc6276a2d95ba60cdab0", kill_on_drop: false }` [INFO] [stdout] a72505ed79f1bf518de3143d77160c8ee63723e29df4cc6276a2d95ba60cdab0