[INFO] fetching crate lambda-otel-utils 0.3.1... [INFO] testing lambda-otel-utils-0.3.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate lambda-otel-utils 0.3.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate lambda-otel-utils 0.3.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate lambda-otel-utils 0.3.1 [INFO] tweaked toml for crates.io crate lambda-otel-utils 0.3.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lambda-otel-utils 0.3.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lambda-otel-utils 0.3.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7033e046fcc59fd8e9d0f301c146469cf8232c447fc3f7475219e734368917a0 [INFO] running `Command { std: "docker" "start" "-a" "7033e046fcc59fd8e9d0f301c146469cf8232c447fc3f7475219e734368917a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7033e046fcc59fd8e9d0f301c146469cf8232c447fc3f7475219e734368917a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7033e046fcc59fd8e9d0f301c146469cf8232c447fc3f7475219e734368917a0", kill_on_drop: false }` [INFO] [stdout] 7033e046fcc59fd8e9d0f301c146469cf8232c447fc3f7475219e734368917a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 738f9b4222afb9b4946c15bfcfd520b6963f8e48732639682e64d851f195c72d [INFO] running `Command { std: "docker" "start" "-a" "738f9b4222afb9b4946c15bfcfd520b6963f8e48732639682e64d851f195c72d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling itoa v1.0.13 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.28.0 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling prost-derive v0.13.3 [INFO] [stderr] Compiling opentelemetry v0.28.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling prost v0.13.3 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling http-serde v2.1.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling opentelemetry_sdk v0.28.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [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 reqwest v0.12.9 [INFO] [stderr] Compiling lambda_runtime_api_client v0.11.1 [INFO] [stderr] Compiling lambda_runtime v0.11.3 [INFO] [stderr] Compiling opentelemetry-http v0.28.0 [INFO] [stderr] Compiling opentelemetry-proto v0.28.0 [INFO] [stderr] Compiling tracing-opentelemetry v0.29.0 [INFO] [stderr] Compiling opentelemetry-aws v0.16.0 [INFO] [stderr] Compiling opentelemetry-otlp v0.28.0 [INFO] [stderr] Compiling otlp-stdout-client v0.4.1 [INFO] [stderr] Compiling lambda-otel-utils v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "738f9b4222afb9b4946c15bfcfd520b6963f8e48732639682e64d851f195c72d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "738f9b4222afb9b4946c15bfcfd520b6963f8e48732639682e64d851f195c72d", kill_on_drop: false }` [INFO] [stdout] 738f9b4222afb9b4946c15bfcfd520b6963f8e48732639682e64d851f195c72d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 853f989de2cddf40802624f751cba721f46efe2b9a4f4f30ebae915dfd1aaf78 [INFO] running `Command { std: "docker" "start" "-a" "853f989de2cddf40802624f751cba721f46efe2b9a4f4f30ebae915dfd1aaf78", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling sealed_test_derive v1.1.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling rusty-forkfork v0.4.0 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling query_map v0.7.0 [INFO] [stderr] Compiling sealed_test v1.1.0 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling prost v0.13.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-serde v2.1.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling aws_lambda_events v0.15.1 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling opentelemetry_sdk v0.28.0 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling opentelemetry-proto v0.28.0 [INFO] [stderr] Compiling tracing-opentelemetry v0.29.0 [INFO] [stderr] Compiling opentelemetry-aws v0.16.0 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling lambda_runtime_api_client v0.11.1 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling lambda_runtime v0.11.3 [INFO] [stderr] Compiling opentelemetry-http v0.28.0 [INFO] [stderr] Compiling opentelemetry-otlp v0.28.0 [INFO] [stderr] Compiling otlp-stdout-client v0.4.1 [INFO] [stderr] Compiling lambda-otel-utils v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "853f989de2cddf40802624f751cba721f46efe2b9a4f4f30ebae915dfd1aaf78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "853f989de2cddf40802624f751cba721f46efe2b9a4f4f30ebae915dfd1aaf78", kill_on_drop: false }` [INFO] [stdout] 853f989de2cddf40802624f751cba721f46efe2b9a4f4f30ebae915dfd1aaf78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc7a66d7d2b75e7281515781e16ee4795abc22294cc2de508fd49ebcb0863e0d [INFO] running `Command { std: "docker" "start" "-a" "fc7a66d7d2b75e7281515781e16ee4795abc22294cc2de508fd49ebcb0863e0d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lambda_otel_utils-5a79523220581fe4) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test http_meter_provider::tests::test_http_meter_provider_builder_customization ... ok [INFO] [stdout] test http_tracer_provider::tests::test_default_builder ... ok [INFO] [stdout] test http_meter_provider::tests::test_http_meter_provider_builder_default ... ok [INFO] [stdout] {"__otel_otlp_stdout":"otlp-stdout-client@0.4.1","source":"unknown-service","endpoint":"http://localhost:4318/v1/traces","method":"POST","payload":{"resourceSpans":[{"resource":{"attributes":[{"key":"service.name","value":{"stringValue":"unknown_service"}},{"key":"telemetry.sdk.language","value":{"stringValue":"rust"}},{"key":"telemetry.sdk.name","value":{"stringValue":"opentelemetry"}},{"key":"telemetry.sdk.version","value":{"stringValue":"0.28.0"}}],"droppedAttributesCount":0},"schemaUrl":"","scopeSpans":[{"schemaUrl":"","scope":{"attributes":[],"droppedAttributesCount":0,"name":"test","version":""},"spans":[{"attributes":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"endTimeUnixNano":"1775812126909131750","events":[],"flags":1,"kind":1,"links":[],"name":"test_span","parentSpanId":"","spanId":"53dabf62064a2f1b","startTimeUnixNano":"1775812126909128010","status":{"code":0,"message":""},"traceId":"69d8be1e85bb0edc82aec39f036c508e","traceState":""}]}]}]},"headers":{"user-agent":"OTel OTLP Exporter Rust/0.28.0","content-type":"application/json"},"content-type":"application/json","base64":false} [INFO] [stdout] test http_tracer_provider::tests::test_custom_id_generator ... ok [INFO] [stdout] {"__otel_otlp_stdout":"otlp-stdout-client@0.4.1","source":"unknown-service","endpoint":"http://localhost:4318/v1/traces","method":"POST","payload":{"resourceSpans":[{"resource":{"attributes":[{"key":"service.name","value":{"stringValue":"unknown_service"}},{"key":"telemetry.sdk.language","value":{"stringValue":"rust"}},{"key":"telemetry.sdk.name","value":{"stringValue":"opentelemetry"}},{"key":"telemetry.sdk.version","value":{"stringValue":"0.28.0"}}],"droppedAttributesCount":0},"schemaUrl":"","scopeSpans":[{"schemaUrl":"","scope":{"attributes":[],"droppedAttributesCount":0,"name":"test","version":""},"spans":[{"attributes":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"endTimeUnixNano":"1775812126910116580","events":[],"flags":1,"kind":1,"links":[],"name":"test_span","parentSpanId":"","spanId":"f71328e5f5fb2a50","startTimeUnixNano":"1775812126910114850","status":{"code":0,"message":""},"traceId":"e94b1fa4e8880f3c40964edd95ddf979","traceState":""}]}]}]},"headers":{"user-agent":"OTel OTLP Exporter Rust/0.28.0","content-type":"application/json"},"content-type":"application/json","base64":false} [INFO] [stdout] {"__otel_otlp_stdout":"otlp-stdout-client@0.4.1","source":"unknown-service","endpoint":"http://localhost:4318/v1/traces","method":"POST","payload":{"resourceSpans":[{"resource":{"attributes":[{"key":"service.name","value":{"stringValue":"unknown_service"}},{"key":"telemetry.sdk.language","value":{"stringValue":"rust"}},{"key":"telemetry.sdk.name","value":{"stringValue":"opentelemetry"}},{"key":"telemetry.sdk.version","value":{"stringValue":"0.28.0"}}],"droppedAttributesCount":0},"schemaUrl":"","scopeSpans":[{"schemaUrl":"","scope":{"attributes":[],"droppedAttributesCount":0,"name":"test","version":""},"spans":[{"attributes":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"endTimeUnixNano":"1775812126910095020","events":[],"flags":1,"kind":1,"links":[],"name":"test_span","parentSpanId":"","spanId":"74def5f8dba71442","startTimeUnixNano":"1775812126910093070","status":{"code":0,"message":""},"traceId":"d009030ad4f3f53b6cabc36d5d791435","traceState":""}]}]}]},"headers":{"content-type":"application/json","user-agent":"OTel OTLP Exporter Rust/0.28.0"},"content-type":"application/json","base64":false} [INFO] [stdout] test http_tracer_provider::tests::test_successful_build ... ok [INFO] [stderr] Doc-tests lambda_otel_utils [INFO] [stdout] test http_tracer_provider::tests::test_multiple_propagators ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider (line 20) ... FAILED [INFO] [stdout] test src/http_meter_provider.rs - http_meter_provider::HttpMeterProviderBuilder (line 30) ... FAILED [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::with_http_client (line 169) - compile ... ok [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::with_default_text_map_propagator (line 226) ... ok [INFO] [stdout] test src/http_meter_provider.rs - http_meter_provider::HttpMeterProviderBuilder::enable_global (line 103) ... ok [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::with_batch_exporter (line 328) ... ok [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::enable_global (line 343) ... ok [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::new (line 108) ... ok [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::with_default_id_generator (line 285) ... ok [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::with_simple_exporter (line 313) ... ok [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::with_text_map_propagator (line 197) ... ok [INFO] [stdout] test src/lib.rs - readme (line 224) ... ignored [INFO] [stdout] test src/lib.rs - readme (line 246) ... ignored [INFO] [stdout] test src/lib.rs - readme (line 266) ... ignored [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::with_id_generator (line 257) ... ok [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::with_xray_id_generator (line 299) ... ok [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::with_stdout_client (line 148) ... ok [INFO] [stdout] test src/subscriber.rs - subscriber (line 37) - compile ... ok [INFO] [stdout] test src/subscriber.rs - subscriber (line 10) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 25) - compile ... FAILED [INFO] [stdout] test src/lib.rs - readme (line 126) - compile ... FAILED [INFO] [stdout] test src/subscriber.rs - subscriber::create_otel_metrics_layer (line 136) - compile ... ok [INFO] [stdout] test src/subscriber.rs - subscriber::OpenTelemetrySubscriberBuilder (line 170) - compile ... ok [INFO] [stdout] test src/subscriber.rs - subscriber::OpenTelemetrySubscriberBuilder::with_env_filter_string (line 249) - compile ... ok [INFO] [stdout] test src/subscriber.rs - subscriber::init_otel_subscriber (line 338) - compile ... ok [INFO] [stdout] test src/subscriber.rs - subscriber::create_otel_tracing_layer (line 92) - compile ... ok [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::with_xray_text_map_propagator (line 242) ... ok [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder (line 80) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/http_tracer_provider.rs - http_tracer_provider (line 20) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `opentelemetry_sdk::trace::TracerProvider` [INFO] [stdout] --> src/http_tracer_provider.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | use opentelemetry_sdk::trace::{TracerProvider, Tracer}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `TracerProvider` in `trace` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these traits instead: [INFO] [stdout] lambda_otel_utils::TracerProvider [INFO] [stdout] opentelemetry::trace::TracerProvider [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 23 | use opentelemetry_sdk::trace::{SdkTracerProvider, Tracer}; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/http_meter_provider.rs - http_meter_provider::HttpMeterProviderBuilder (line 30) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `Error` in module `opentelemetry_sdk::error` [INFO] [stdout] --> src/http_meter_provider.rs:36:57 [INFO] [stdout] | [INFO] [stdout] 36 | async fn main() -> Result<(), opentelemetry_sdk::error::Error> { [INFO] [stdout] | ^^^^^ not found in `opentelemetry_sdk::error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 32 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 32 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 32 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 32 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 9 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 36 - async fn main() -> Result<(), opentelemetry_sdk::error::Error> { [INFO] [stdout] 36 + async fn main() -> Result<(), Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 25) stdout ---- [INFO] [stdout] error[E0432]: unresolved imports `lambda_runtime::layers::OpenTelemetryLayer`, `lambda_runtime::layers::OpenTelemetryFaasTrigger` [INFO] [stdout] --> src/lib.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | use lambda_runtime::layers::{OpenTelemetryLayer, OpenTelemetryFaasTrigger}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ no `OpenTelemetryFaasTrigger` in `layers` [INFO] [stdout] | | [INFO] [stdout] | no `OpenTelemetryLayer` in `layers` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] lambda_otel_utils::OpenTelemetryLayer [INFO] [stdout] tracing_opentelemetry::OpenTelemetryLayer [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] lambda_otel_utils::OpenTelemetryFaasTrigger [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - readme (line 126) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `TracerProvider` in module `opentelemetry_sdk::trace` [INFO] [stdout] --> src/lib.rs:204:49 [INFO] [stdout] | [INFO] [stdout] 204 | tracer_provider: &opentelemetry_sdk::trace::TracerProvider, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry_sdk-0.28.0/src/trace/provider.rs:154:1 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct SdkTracerProvider { [INFO] [stdout] | ---------------------------- similarly named struct `SdkTracerProvider` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 204 | tracer_provider: &opentelemetry_sdk::trace::SdkTracerProvider, [INFO] [stdout] | +++ [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 128 + use lambda_otel_utils::TracerProvider; [INFO] [stdout] | [INFO] [stdout] 128 + use opentelemetry::trace::TracerProvider; [INFO] [stdout] | [INFO] [stdout] help: if you import `TracerProvider`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 204 - tracer_provider: &opentelemetry_sdk::trace::TracerProvider, [INFO] [stdout] 204 + tracer_provider: &TracerProvider, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:193:16 [INFO] [stdout] | [INFO] [stdout] 193 | if let Err(e) = result { [INFO] [stdout] | ^^^^^^ ------ this expression has type `()` [INFO] [stdout] | | [INFO] [stdout] | expected `()`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/http_meter_provider.rs - http_meter_provider::HttpMeterProviderBuilder (line 30) [INFO] [stdout] src/http_tracer_provider.rs - http_tracer_provider (line 20) [INFO] [stdout] src/lib.rs - (line 25) [INFO] [stdout] src/lib.rs - readme (line 126) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 21 passed; 4 failed; 3 ignored; 0 measured; 0 filtered out; finished in 11.61s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "fc7a66d7d2b75e7281515781e16ee4795abc22294cc2de508fd49ebcb0863e0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc7a66d7d2b75e7281515781e16ee4795abc22294cc2de508fd49ebcb0863e0d", kill_on_drop: false }` [INFO] [stdout] fc7a66d7d2b75e7281515781e16ee4795abc22294cc2de508fd49ebcb0863e0d