[INFO] fetching crate lambda-otel-utils 0.3.1... [INFO] testing lambda-otel-utils-0.3.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate lambda-otel-utils 0.3.1 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lambda-otel-utils 0.3.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c332e42d92d5341a74a293c74d158adf0f39c58df1ea5c99a46338ad158976c [INFO] running `Command { std: "docker" "start" "-a" "1c332e42d92d5341a74a293c74d158adf0f39c58df1ea5c99a46338ad158976c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c332e42d92d5341a74a293c74d158adf0f39c58df1ea5c99a46338ad158976c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c332e42d92d5341a74a293c74d158adf0f39c58df1ea5c99a46338ad158976c", kill_on_drop: false }` [INFO] [stdout] 1c332e42d92d5341a74a293c74d158adf0f39c58df1ea5c99a46338ad158976c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea38e1d960ea3d71b036cb0bd84bded92aefb12affd373ea5329887d2c64829f [INFO] running `Command { std: "docker" "start" "-a" "ea38e1d960ea3d71b036cb0bd84bded92aefb12affd373ea5329887d2c64829f", 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 once_cell v1.20.2 [INFO] [stderr] Compiling bytes v1.8.0 [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 httparse v1.9.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling either v1.13.0 [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 tracing-log v0.2.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.28.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http-body v1.0.1 [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 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 pin-project-internal v1.1.7 [INFO] [stderr] Compiling async-trait v0.1.83 [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 zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling prost v0.13.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling opentelemetry v0.28.0 [INFO] [stderr] Compiling zerovec v0.10.4 [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 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_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [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 tokio-stream v0.1.16 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling opentelemetry_sdk v0.28.0 [INFO] [stderr] Compiling tonic v0.12.3 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [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 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 34.72s [INFO] running `Command { std: "docker" "inspect" "ea38e1d960ea3d71b036cb0bd84bded92aefb12affd373ea5329887d2c64829f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea38e1d960ea3d71b036cb0bd84bded92aefb12affd373ea5329887d2c64829f", kill_on_drop: false }` [INFO] [stdout] ea38e1d960ea3d71b036cb0bd84bded92aefb12affd373ea5329887d2c64829f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb15b112ab85140f98e31efd083034e0d04dcf6d594fcffbdb7eb08129f0cd64 [INFO] running `Command { std: "docker" "start" "-a" "cb15b112ab85140f98e31efd083034e0d04dcf6d594fcffbdb7eb08129f0cd64", 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 indexmap v2.6.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.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 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 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 h2 v0.4.7 [INFO] [stderr] Compiling opentelemetry_sdk v0.28.0 [INFO] [stderr] Compiling tonic v0.12.3 [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 43.42s [INFO] running `Command { std: "docker" "inspect" "cb15b112ab85140f98e31efd083034e0d04dcf6d594fcffbdb7eb08129f0cd64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb15b112ab85140f98e31efd083034e0d04dcf6d594fcffbdb7eb08129f0cd64", kill_on_drop: false }` [INFO] [stdout] cb15b112ab85140f98e31efd083034e0d04dcf6d594fcffbdb7eb08129f0cd64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3e5097f75b30ae3f11ca439d9f54e3d90aa4380133c388d362d013afe12b4c3d [INFO] running `Command { std: "docker" "start" "-a" "3e5097f75b30ae3f11ca439d9f54e3d90aa4380133c388d362d013afe12b4c3d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [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] test http_tracer_provider::tests::test_default_builder ... 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.name","value":{"stringValue":"opentelemetry"}},{"key":"telemetry.sdk.language","value":{"stringValue":"rust"}},{"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":"1756721162465960184","events":[],"flags":1,"kind":1,"links":[],"name":"test_span","parentSpanId":"","spanId":"eb1562df0e2c5540","startTimeUnixNano":"1756721162465955924","status":{"code":0,"message":""},"traceId":"3b809dde405b3ea862f2ec1ca728ecfb","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.name","value":{"stringValue":"opentelemetry"}},{"key":"telemetry.sdk.language","value":{"stringValue":"rust"}},{"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":"1756721162465934464","events":[],"flags":1,"kind":1,"links":[],"name":"test_span","parentSpanId":"","spanId":"507af030b1cf4de5","startTimeUnixNano":"1756721162465930273","status":{"code":0,"message":""},"traceId":"f55135455644a5076424ab3b42803d93","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":"service.name","value":{"stringValue":"unknown_service"}},{"key":"telemetry.sdk.name","value":{"stringValue":"opentelemetry"}},{"key":"telemetry.sdk.language","value":{"stringValue":"rust"}},{"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":"1756721162480397192","events":[],"flags":1,"kind":1,"links":[],"name":"test_span","parentSpanId":"","spanId":"4560df4e9b8b5717","startTimeUnixNano":"1756721162480392612","status":{"code":0,"message":""},"traceId":"68b5700a480c6572f56c1fbc0259b378","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.14s [INFO] [stdout] [INFO] [stderr] Doc-tests lambda_otel_utils [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/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/subscriber.rs - subscriber (line 37) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 25) - compile ... FAILED [INFO] [stdout] test src/subscriber.rs - subscriber (line 10) - compile ... ok [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::with_simple_exporter (line 313) ... ok [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::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/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::new (line 108) ... FAILED [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::enable_global (line 343) ... 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_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_default_text_map_propagator (line 226) ... 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_default_id_generator (line 285) ... 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_stdout_client (line 148) ... ok [INFO] [stdout] test src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::with_id_generator (line 257) ... 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] 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/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/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] ---- src/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::new (line 108) stdout ---- [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcgItARX/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{liblambda_otel_utils-8bfa0a0144131741,libtracing_opentelemetry-b6da1caf03d0c564,libtracing_log-6c681f82959a9177,liblambda_runtime-ec0a60b0b6454694,libhttp_serde-dc53361ca5f57158,libserde_path_to_error-84f48f49190c4cdd,libasync_stream-4d54957643136929,liblambda_runtime_api_client-d726dae1c7b94a23,libfutures-2c2673ddbe2285fd,libtower-ecc6a8d2fa4fd350,libpin_project-9e367ac86f6a2507,libtower_layer-d70c7e404336389b,libtracing_subscriber-1388b19e7dda1baa,libtracing_serde-273bb5e361b9f1f9,libsharded_slab-8a8a8c9e27e64aa6,liblazy_static-b3603208c0de2608,libmatchers-325c66ff3d6c0610,libregex_automata-c55e6e1ce4e1007c,libregex_syntax-e3521940133a580f,libregex-e1e92277ca53e021,libregex_automata-3b9472e36fe3497b,libregex_syntax-592a312476e09d89,libthread_local-0f0b93b43b5e76ce,libthiserror-9b1784a42b00a893,libopentelemetry_aws-3f6bbcbe2223a659,libopentelemetry_semantic_conventions-2f9696286cb9bded,libotlp_stdout_client-ae5b84389506566a,libflate2-474f19d8ea73f124,libminiz_oxide-9ee3d538996be813,libadler2-b931b79841890bad,libcrc32fast-ec6b1847c42b19ed,libopentelemetry_otlp-ac53773856549075,libopentelemetry_proto-fc0259067496816e,libhex-28742b4ca144387c,libprost-9df8ae8ea5b6f1a5,libopentelemetry_sdk-af4780b62dbfc032,libtokio_stream-555ddcfb2cf23371,libfutures_executor-4d52eb37624072ea,librand-a241365f5aede587,librand_chacha-cb2e7ef70c56e83f,libppv_lite86-6011602b06df2934,libzerocopy-53196081a7ec20d0,libbyteorder-7df9ab1ae37e1368,librand_core-ceef95c2d1c6f4e5,libgetrandom-e6b51660bb09e024,libopentelemetry_http-8d75d388cd3f209a,libreqwest-a34e666b384271b7,librustls_pemfile-c10d86683cd02bd2,librustls_pki_types-2e4234be2bbf9b66,libsync_wrapper-5a27d2ea02cd7690,libbase64-2a03de3babadded3,libipnet-346d915a0dce48fd,libhyper_tls-d6b2860faab10b18,libtokio_native_tls-6d25e48ad27ead8b,libserde_urlencoded-279aae348653c91d,libmime-4b44681fdb2c65f7,libencoding_rs-68ad4a143c31cce1,libserde_json-15a8b6f70e644c6b,libryu-f8ba606093049f91,libnative_tls-15113f4e64b74841,libopenssl_probe-cbab9b905ab83f66,libopenssl-e59a2c41be341748,libbitflags-eb92e23a18d5cc91,libforeign_types-0d5385f641bbbadd,libforeign_types_shared-1d09a6084921ca40,libopenssl_sys-441976a55f8c12b0,libhyper_util-2b2107ae1e4c13d4,libtower_service-0d7df29686b13872,libhyper-2a85fc6d66737f65,libwant-0f3c3ee377cad37f,libtry_lock-aabba5e3d97e6b57,libhttparse-064b81e7df14424d,libh2-9fb917b4e6d23d3f,libindexmap-08b6e5ca97476a0e,libequivalent-fdc46004df91ad08,libhashbrown-47c759383abea0da,libatomic_waker-001109810bdecbaa,libtokio_util-e4bea8e2841cc21f,libtokio-42fb1c8b617838a9,libsignal_hook_registry-3b1202aea4ff39ce,libsocket2-18589de1202e5ef4,libmio-5a0cf9b3af30c775,libparking_lot-edbd2cea8b7320b5,libparking_lot_core-a0ca061a30106f4d,liblibc-a54d3590d42aa520,libcfg_if-33ef6c02a07f9fec,liblock_api-47948af6bba6d2a8,libscopeguard-d52bd00767847e44,libhttp_body_util-2829e0a5bf350f33,libhttp_body-f2e9b460b790b978,libfutures_util-e995d47b156b9028,libmemchr-3ffe5f7a52883367,libfutures_io-3e19596c076de665,libslab-b066ee2c679b47fd,libfutures_channel-f26d4826b597103e,libfutures_task-19b3aba2be9e7ae8,libpin_utils-9a5791cba021167a,liburl-a9098b5cc8353266,libidna-d11fc05ab58411f4,libidna_adapter-6153534b8f5035c9,libicu_normalizer-d051b14983685f0f,libicu_normalizer_data-924449c90d89dbe9,libwrite16-e3dc6fad88157cf5,libutf8_iter-0d9be7b316c2b184,libutf16_iter-d3264925eca367d9,libsmallvec-e2fbd282c83e646d,libicu_properties-b2403fc116da4e1d,libicu_properties_data-51b5eb2cadc91212,libicu_locid_transform-bc446a2fccad55fc,libicu_locid_transform_data-ad15ccbe3fb30a0f,libicu_collections-5c40a4836f68283e,libicu_provider-084328ba22e9b205,libicu_locid-b2eaa234cc2279c9,liblitemap-cecd5a7fd1787c64,libtinystr-272eb8142588a6c6,libzerovec-3ba234e56dcf382f,libwriteable-45c783735d88c2b0,libyoke-c5a646b69498fb7d,libzerofrom-06f73744b0b5b7b9,libstable_deref_trait-e5f295e98f1b80b2,libform_urlencoded-a5edb5174711de82,libpercent_encoding-9bee39bbc5bd523a,libopentelemetry-85150a5fbc7e0d40,libtracing-42f709ebb1de5224,liblog-5fb51f756c1191b0,libtracing_core-031a241797973ce7,libonce_cell-debe7c411cf97340,libpin_project_lite-1b69109c4d0b18c5,libfutures_sink-be8442ee548d90f9,libfutures_core-fc6bb1738f00fc87,libthiserror-7c367a3ebf64d0d6,libhttp-3bd2886610707774,libitoa-94a03b36a880d87c,libfnv-2d77ec4f6f971b24,libbytes-b79089fb9f71175e,libserde-7a868eb485053e8e}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcgItARX/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/rustdoctestBzea7c/rust_out" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [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/http_tracer_provider.rs - http_tracer_provider::HttpTracerProviderBuilder::new (line 108) [INFO] [stdout] src/lib.rs - (line 25) [INFO] [stdout] src/lib.rs - readme (line 126) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 20 passed; 5 failed; 3 ignored; 0 measured; 0 filtered out; finished in 15.92s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3e5097f75b30ae3f11ca439d9f54e3d90aa4380133c388d362d013afe12b4c3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e5097f75b30ae3f11ca439d9f54e3d90aa4380133c388d362d013afe12b4c3d", kill_on_drop: false }` [INFO] [stdout] 3e5097f75b30ae3f11ca439d9f54e3d90aa4380133c388d362d013afe12b4c3d