[INFO] fetching crate otel-opamp-rs 0.0.10... [INFO] testing otel-opamp-rs-0.0.10 against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] extracting crate otel-opamp-rs 0.0.10 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate otel-opamp-rs 0.0.10 on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 236 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.4) [INFO] [stderr] Adding prost-build v0.11.9 (available: v0.13.4) [INFO] [stderr] Adding prost-types v0.11.9 (available: v0.13.4) [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.33.0) [INFO] [stderr] Adding tokio-tungstenite v0.19.0 (available: v0.26.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sysinfo v0.29.11 [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-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d162cbe42e95085b263a2eb1b722114a1730122fd57ff3fcbfa19e9b8b85e0f [INFO] running `Command { std: "docker" "start" "-a" "4d162cbe42e95085b263a2eb1b722114a1730122fd57ff3fcbfa19e9b8b85e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d162cbe42e95085b263a2eb1b722114a1730122fd57ff3fcbfa19e9b8b85e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d162cbe42e95085b263a2eb1b722114a1730122fd57ff3fcbfa19e9b8b85e0f", kill_on_drop: false }` [INFO] [stdout] 4d162cbe42e95085b263a2eb1b722114a1730122fd57ff3fcbfa19e9b8b85e0f [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] feb6ac8eb1bf5e27cc6595769a40aa38aee3326b364f4361ab2302fd515ffea4 [INFO] running `Command { std: "docker" "start" "-a" "feb6ac8eb1bf5e27cc6595769a40aa38aee3326b364f4361ab2302fd515ffea4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling libdeflate-sys v0.14.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_32 v3.1.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling protoc-bin-vendored-macos-aarch_64 v3.1.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-ppcle_64 v3.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling protoc-bin-vendored-linux-aarch_64 v3.1.0 [INFO] [stderr] Compiling protoc-bin-vendored-linux-x86_64 v3.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling protoc-bin-vendored-macos-x86_64 v3.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling protoc-bin-vendored-win32 v3.1.0 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling protoc-bin-vendored v3.1.0 [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 crossbeam-deque v0.8.6 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling libdeflater v0.14.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling simple_logger v4.3.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Compiling sysinfo v0.29.11 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling prost v0.11.9 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling prost-types v0.11.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling prost-build v0.11.9 [INFO] [stderr] Compiling ulid v1.1.3 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling otel-opamp-rs v0.0.10 (/opt/rustwide/workdir) [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [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 1m 13s [INFO] running `Command { std: "docker" "inspect" "feb6ac8eb1bf5e27cc6595769a40aa38aee3326b364f4361ab2302fd515ffea4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feb6ac8eb1bf5e27cc6595769a40aa38aee3326b364f4361ab2302fd515ffea4", kill_on_drop: false }` [INFO] [stdout] feb6ac8eb1bf5e27cc6595769a40aa38aee3326b364f4361ab2302fd515ffea4 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bf4117dbcca6eb01bec0a804a40235c1b3bb5706f6eaf84114f06c808102394 [INFO] running `Command { std: "docker" "start" "-a" "3bf4117dbcca6eb01bec0a804a40235c1b3bb5706f6eaf84114f06c808102394", 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 5.70s [INFO] running `Command { std: "docker" "inspect" "3bf4117dbcca6eb01bec0a804a40235c1b3bb5706f6eaf84114f06c808102394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bf4117dbcca6eb01bec0a804a40235c1b3bb5706f6eaf84114f06c808102394", kill_on_drop: false }` [INFO] [stdout] 3bf4117dbcca6eb01bec0a804a40235c1b3bb5706f6eaf84114f06c808102394 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 90368566c2027026b754602c3404639134ceacf59b64a39fbf2b83011fb9198e [INFO] running `Command { std: "docker" "start" "-a" "90368566c2027026b754602c3404639134ceacf59b64a39fbf2b83011fb9198e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/otel_opamp_rs-051a5571df42bdbd) [INFO] [stderr] Doc-tests otel_opamp_rs [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 3 tests [INFO] [stdout] test src/lib.rs - (line 35) ... FAILED [INFO] [stdout] test src/lib.rs - (line 127) ... FAILED [INFO] [stdout] test src/lib.rs - (line 69) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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] ---- 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; [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; [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; [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; [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; [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; [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; [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; [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; [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; [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 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] [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.45s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "90368566c2027026b754602c3404639134ceacf59b64a39fbf2b83011fb9198e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90368566c2027026b754602c3404639134ceacf59b64a39fbf2b83011fb9198e", kill_on_drop: false }` [INFO] [stdout] 90368566c2027026b754602c3404639134ceacf59b64a39fbf2b83011fb9198e