[INFO] fetching crate lambda-otel-utils 0.3.1... [INFO] testing lambda-otel-utils-0.3.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate lambda-otel-utils 0.3.1 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lambda-otel-utils 0.3.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sealed_test v1.1.0 [INFO] [stderr] Downloaded otlp-stdout-client v0.4.1 [INFO] [stderr] Downloaded opentelemetry-aws v0.16.0 [INFO] [stderr] Downloaded sealed_test_derive v1.1.0 [INFO] [stderr] Downloaded rusty-forkfork v0.4.0 [INFO] [stderr] Downloaded opentelemetry-semantic-conventions v0.28.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b18fff3da740acc1b2ab0a4266fde6907bfc49662532d9ab0bb39c15e9b9a16 [INFO] running `Command { std: "docker" "start" "-a" "8b18fff3da740acc1b2ab0a4266fde6907bfc49662532d9ab0bb39c15e9b9a16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b18fff3da740acc1b2ab0a4266fde6907bfc49662532d9ab0bb39c15e9b9a16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b18fff3da740acc1b2ab0a4266fde6907bfc49662532d9ab0bb39c15e9b9a16", kill_on_drop: false }` [INFO] [stdout] 8b18fff3da740acc1b2ab0a4266fde6907bfc49662532d9ab0bb39c15e9b9a16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78674c388a9c648ca89cd6e4f64476e670351dbc3fcce92ab7907722f108de21 [INFO] running `Command { std: "docker" "start" "-a" "78674c388a9c648ca89cd6e4f64476e670351dbc3fcce92ab7907722f108de21", 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 itoa v1.0.13 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling serde v1.0.215 [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 icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.28.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling http-body v1.0.1 [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 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 zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling prost-derive v0.13.3 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling prost v0.13.3 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling opentelemetry v0.28.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [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 icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [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 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 icu_normalizer v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [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 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-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 43.31s [INFO] running `Command { std: "docker" "inspect" "78674c388a9c648ca89cd6e4f64476e670351dbc3fcce92ab7907722f108de21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78674c388a9c648ca89cd6e4f64476e670351dbc3fcce92ab7907722f108de21", kill_on_drop: false }` [INFO] [stdout] 78674c388a9c648ca89cd6e4f64476e670351dbc3fcce92ab7907722f108de21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 192702df4f6d2a624a46101347345aa6cfb35343fb32c7ec60f680eba966a22e [INFO] running `Command { std: "docker" "start" "-a" "192702df4f6d2a624a46101347345aa6cfb35343fb32c7ec60f680eba966a22e", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [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 sealed_test_derive v1.1.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.106 [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 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 tokio v1.41.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling prost v0.13.3 [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 tracing-subscriber v0.3.18 [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 37.93s [INFO] running `Command { std: "docker" "inspect" "192702df4f6d2a624a46101347345aa6cfb35343fb32c7ec60f680eba966a22e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "192702df4f6d2a624a46101347345aa6cfb35343fb32c7ec60f680eba966a22e", kill_on_drop: false }` [INFO] [stdout] 192702df4f6d2a624a46101347345aa6cfb35343fb32c7ec60f680eba966a22e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0a65a27fb42a1cd792cf68da9880e40a418485e5db3876fc1b5b9c316ffda6ca [INFO] running `Command { std: "docker" "start" "-a" "0a65a27fb42a1cd792cf68da9880e40a418485e5db3876fc1b5b9c316ffda6ca", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [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_meter_provider::tests::test_http_meter_provider_builder_default ... ok [INFO] [stdout] test http_meter_provider::tests::test_http_meter_provider_builder_customization ... 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.version","value":{"stringValue":"0.28.0"}},{"key":"service.name","value":{"stringValue":"unknown_service"}},{"key":"telemetry.sdk.name","value":{"stringValue":"opentelemetry"}},{"key":"telemetry.sdk.language","value":{"stringValue":"rust"}}],"droppedAttributesCount":0},"schemaUrl":"","scopeSpans":[{"schemaUrl":"","scope":{"attributes":[],"droppedAttributesCount":0,"name":"test","version":""},"spans":[{"attributes":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"endTimeUnixNano":"1756721069713557934","events":[],"flags":1,"kind":1,"links":[],"name":"test_span","parentSpanId":"","spanId":"21c847bdb926a6e0","startTimeUnixNano":"1756721069713553044","status":{"code":0,"message":""},"traceId":"b8453d6be1d6f3ff0cb1cd0706bb4963","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.version","value":{"stringValue":"0.28.0"}},{"key":"service.name","value":{"stringValue":"unknown_service"}},{"key":"telemetry.sdk.name","value":{"stringValue":"opentelemetry"}},{"key":"telemetry.sdk.language","value":{"stringValue":"rust"}}],"droppedAttributesCount":0},"schemaUrl":"","scopeSpans":[{"schemaUrl":"","scope":{"attributes":[],"droppedAttributesCount":0,"name":"test","version":""},"spans":[{"attributes":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"endTimeUnixNano":"1756721069713570054","events":[],"flags":1,"kind":1,"links":[],"name":"test_span","parentSpanId":"","spanId":"beba43438260eda6","startTimeUnixNano":"1756721069713565704","status":{"code":0,"message":""},"traceId":"e010b4cf0171e010cb28f5c44ccdc9ce","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_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.version","value":{"stringValue":"0.28.0"}},{"key":"service.name","value":{"stringValue":"unknown_service"}},{"key":"telemetry.sdk.name","value":{"stringValue":"opentelemetry"}},{"key":"telemetry.sdk.language","value":{"stringValue":"rust"}}],"droppedAttributesCount":0},"schemaUrl":"","scopeSpans":[{"schemaUrl":"","scope":{"attributes":[],"droppedAttributesCount":0,"name":"test","version":""},"spans":[{"attributes":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"endTimeUnixNano":"1756721069732610763","events":[],"flags":1,"kind":1,"links":[],"name":"test_span","parentSpanId":"","spanId":"5031d319784fee65","startTimeUnixNano":"1756721069732607333","status":{"code":0,"message":""},"traceId":"68b56fad65211b82ff9a0b70fb8d8952","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] test http_tracer_provider::tests::test_default_builder ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [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/lib.rs - readme (line 126) - compile ... FAILED [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_http_client (line 169) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 25) - compile ... FAILED [INFO] [stdout] test src/subscriber.rs - subscriber::OpenTelemetrySubscriberBuilder (line 170) - compile ... ok [INFO] [stdout] test src/subscriber.rs - subscriber (line 10) - compile ... ok [INFO] [stdout] test src/subscriber.rs - subscriber (line 37) - 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::create_otel_tracing_layer (line 92) - 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_metrics_layer (line 136) - compile ... ok [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::with_stdout_client (line 148) ... 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_xray_id_generator (line 299) ... 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_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::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::with_text_map_propagator (line 197) ... 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::with_id_generator (line 257) ... 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_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_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] 8 | 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] 4 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 4 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 4 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 4 + 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] 8 - async fn main() -> Result<(), opentelemetry_sdk::error::Error> { [INFO] [stdout] 8 + 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] 5 | 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 - 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] 80 | 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] 80 | tracer_provider: &opentelemetry_sdk::trace::SdkTracerProvider, [INFO] [stdout] | +++ [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 4 + use lambda_otel_utils::TracerProvider; [INFO] [stdout] | [INFO] [stdout] 4 + use opentelemetry::trace::TracerProvider; [INFO] [stdout] | [INFO] [stdout] help: if you import `TracerProvider`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 80 - tracer_provider: &opentelemetry_sdk::trace::TracerProvider, [INFO] [stdout] 80 + tracer_provider: &TracerProvider, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:193:16 [INFO] [stdout] | [INFO] [stdout] 69 | 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] ---- 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] 6 | 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] [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.77s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0a65a27fb42a1cd792cf68da9880e40a418485e5db3876fc1b5b9c316ffda6ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a65a27fb42a1cd792cf68da9880e40a418485e5db3876fc1b5b9c316ffda6ca", kill_on_drop: false }` [INFO] [stdout] 0a65a27fb42a1cd792cf68da9880e40a418485e5db3876fc1b5b9c316ffda6ca