[INFO] fetching crate lambda-otel-utils 0.3.1... [INFO] testing lambda-otel-utils-0.3.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate lambda-otel-utils 0.3.1 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lambda-otel-utils 0.3.1 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 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e56bab6d8efcfc35c9e2fb83aacdc8ad520664e972629c2290b5e98e10d4d39b [INFO] running `Command { std: "docker" "start" "-a" "e56bab6d8efcfc35c9e2fb83aacdc8ad520664e972629c2290b5e98e10d4d39b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e56bab6d8efcfc35c9e2fb83aacdc8ad520664e972629c2290b5e98e10d4d39b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e56bab6d8efcfc35c9e2fb83aacdc8ad520664e972629c2290b5e98e10d4d39b", kill_on_drop: false }` [INFO] [stdout] e56bab6d8efcfc35c9e2fb83aacdc8ad520664e972629c2290b5e98e10d4d39b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c4b69fd1f9073fe1367e7b3a677eed9cd5dde49e00e9874b1885120ec5bff03f [INFO] running `Command { std: "docker" "start" "-a" "c4b69fd1f9073fe1367e7b3a677eed9cd5dde49e00e9874b1885120ec5bff03f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling itoa v1.0.13 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling once_cell v1.20.2 [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 serde v1.0.215 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.28.0 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling matchers v0.1.0 [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 tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [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 zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling prost-derive v0.13.3 [INFO] [stderr] Compiling opentelemetry v0.28.0 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [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 rand v0.8.5 [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 prost v0.13.3 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [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_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 icu_normalizer v1.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling http-serde v2.1.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [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 opentelemetry_sdk v0.28.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling opentelemetry-http v0.28.0 [INFO] [stderr] Compiling lambda_runtime_api_client v0.11.1 [INFO] [stderr] Compiling lambda_runtime v0.11.3 [INFO] [stderr] Compiling opentelemetry-proto v0.28.0 [INFO] [stderr] Compiling opentelemetry-aws v0.16.0 [INFO] [stderr] Compiling tracing-opentelemetry v0.29.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 57s [INFO] running `Command { std: "docker" "inspect" "c4b69fd1f9073fe1367e7b3a677eed9cd5dde49e00e9874b1885120ec5bff03f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4b69fd1f9073fe1367e7b3a677eed9cd5dde49e00e9874b1885120ec5bff03f", kill_on_drop: false }` [INFO] [stdout] c4b69fd1f9073fe1367e7b3a677eed9cd5dde49e00e9874b1885120ec5bff03f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 09075da422975d368492047972f6a9a09cebad2852e1881925c4701cfadef75a [INFO] running `Command { std: "docker" "start" "-a" "09075da422975d368492047972f6a9a09cebad2852e1881925c4701cfadef75a", 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 openssl-macros v0.1.1 [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 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 indexmap v2.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling rusty-forkfork v0.4.0 [INFO] [stderr] Compiling sealed_test v1.1.0 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling query_map v0.7.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 18s [INFO] running `Command { std: "docker" "inspect" "09075da422975d368492047972f6a9a09cebad2852e1881925c4701cfadef75a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09075da422975d368492047972f6a9a09cebad2852e1881925c4701cfadef75a", kill_on_drop: false }` [INFO] [stdout] 09075da422975d368492047972f6a9a09cebad2852e1881925c4701cfadef75a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 6cb411b5b5c196526197979c67711396608324af807b47e3c242faa9e747e2e5 [INFO] running `Command { std: "docker" "start" "-a" "6cb411b5b5c196526197979c67711396608324af807b47e3c242faa9e747e2e5", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lambda_otel_utils-8628958f079a6c41) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test http_tracer_provider::tests::test_default_builder ... ok [INFO] [stdout] test http_meter_provider::tests::test_http_meter_provider_builder_customization ... 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":"telemetry.sdk.name","value":{"stringValue":"opentelemetry"}},{"key":"telemetry.sdk.version","value":{"stringValue":"0.28.0"}},{"key":"telemetry.sdk.language","value":{"stringValue":"rust"}},{"key":"service.name","value":{"stringValue":"unknown_service"}}],"droppedAttributesCount":0},"schemaUrl":"","scopeSpans":[{"schemaUrl":"","scope":{"attributes":[],"droppedAttributesCount":0,"name":"test","version":""},"spans":[{"attributes":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"endTimeUnixNano":"1763065981064570698","events":[],"flags":1,"kind":1,"links":[],"name":"test_span","parentSpanId":"","spanId":"91863b760e985b77","startTimeUnixNano":"1763065981064568568","status":{"code":0,"message":""},"traceId":"b1675925837b3a5b11dc5a12455f218d","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":"telemetry.sdk.name","value":{"stringValue":"opentelemetry"}},{"key":"telemetry.sdk.version","value":{"stringValue":"0.28.0"}},{"key":"telemetry.sdk.language","value":{"stringValue":"rust"}},{"key":"service.name","value":{"stringValue":"unknown_service"}}],"droppedAttributesCount":0},"schemaUrl":"","scopeSpans":[{"schemaUrl":"","scope":{"attributes":[],"droppedAttributesCount":0,"name":"test","version":""},"spans":[{"attributes":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"endTimeUnixNano":"1763065981063886798","events":[],"flags":1,"kind":1,"links":[],"name":"test_span","parentSpanId":"","spanId":"2b021fb06b5d352e","startTimeUnixNano":"1763065981063884678","status":{"code":0,"message":""},"traceId":"f5a4ef149ff073f1be5577e3fbfa817b","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_multiple_propagators ... ok [INFO] [stdout] test http_tracer_provider::tests::test_successful_build ... 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":"telemetry.sdk.name","value":{"stringValue":"opentelemetry"}},{"key":"telemetry.sdk.version","value":{"stringValue":"0.28.0"}},{"key":"telemetry.sdk.language","value":{"stringValue":"rust"}},{"key":"service.name","value":{"stringValue":"unknown_service"}}],"droppedAttributesCount":0},"schemaUrl":"","scopeSpans":[{"schemaUrl":"","scope":{"attributes":[],"droppedAttributesCount":0,"name":"test","version":""},"spans":[{"attributes":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"endTimeUnixNano":"1763065981063884498","events":[],"flags":1,"kind":1,"links":[],"name":"test_span","parentSpanId":"","spanId":"007284e6d44f2a05","startTimeUnixNano":"1763065981063881198","status":{"code":0,"message":""},"traceId":"6916407d53245e68f8598fa589b612c9","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] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests lambda_otel_utils [INFO] [stdout] [INFO] [stdout] running 28 tests [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 (line 20) ... 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_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::with_default_id_generator (line 285) ... ok [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::new (line 108) ... 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_id_generator (line 257) ... 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_stdout_client (line 148) ... 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_default_text_map_propagator (line 226) ... 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/subscriber.rs - subscriber (line 37) - compile ... ok [INFO] [stdout] test src/subscriber.rs - subscriber::OpenTelemetrySubscriberBuilder (line 170) - compile ... ok [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::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_id_generator (line 299) ... ok [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder (line 80) ... ok [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::with_text_map_propagator (line 197) ... ok [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::with_xray_text_map_propagator (line 242) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/http_meter_provider.rs - http_meter_provider::HttpMeterProviderBuilder (line 30) stdout ---- [INFO] [stdout] error[E0412]: 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 E0412`. [INFO] [stdout] Couldn't compile the test. [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] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `TracerProvider` in `trace` [INFO] [stdout] | help: a similar name exists in the module: `SdkTracerProvider` [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] [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 - (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[E0412]: 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, E0412. [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 10.69s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6cb411b5b5c196526197979c67711396608324af807b47e3c242faa9e747e2e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cb411b5b5c196526197979c67711396608324af807b47e3c242faa9e747e2e5", kill_on_drop: false }` [INFO] [stdout] 6cb411b5b5c196526197979c67711396608324af807b47e3c242faa9e747e2e5