[INFO] fetching crate opentelemetry-instrumentation-actix-web 0.22.0... [INFO] testing opentelemetry-instrumentation-actix-web-0.22.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate opentelemetry-instrumentation-actix-web 0.22.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate opentelemetry-instrumentation-actix-web 0.22.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate opentelemetry-instrumentation-actix-web 0.22.0 [INFO] tweaked toml for crates.io crate opentelemetry-instrumentation-actix-web 0.22.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate opentelemetry-instrumentation-actix-web 0.22.0 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 opentelemetry-instrumentation-actix-web 0.22.0 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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded opentelemetry-stdout v0.30.0 [INFO] [stderr] Downloaded awc v3.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] e411e5495d217337d19c7752fece516f0749a6384317eb2000551167f4a5aba9 [INFO] running `Command { std: "docker" "start" "-a" "e411e5495d217337d19c7752fece516f0749a6384317eb2000551167f4a5aba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e411e5495d217337d19c7752fece516f0749a6384317eb2000551167f4a5aba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e411e5495d217337d19c7752fece516f0749a6384317eb2000551167f4a5aba9", kill_on_drop: false }` [INFO] [stdout] e411e5495d217337d19c7752fece516f0749a6384317eb2000551167f4a5aba9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b8cc0db770c0f13858ddfdfb69cca9cf5e9f542597ef8db837a350316eea4428 [INFO] running `Command { std: "docker" "start" "-a" "b8cc0db770c0f13858ddfdfb69cca9cf5e9f542597ef8db837a350316eea4428", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.30.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [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 tracing-attributes v0.1.28 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling opentelemetry v0.30.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling actix-http v3.11.0 [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 icu_properties v1.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [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 actix-web v4.11.0 [INFO] [stderr] Compiling opentelemetry-instrumentation-actix-web v0.22.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.92s [INFO] running `Command { std: "docker" "inspect" "b8cc0db770c0f13858ddfdfb69cca9cf5e9f542597ef8db837a350316eea4428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8cc0db770c0f13858ddfdfb69cca9cf5e9f542597ef8db837a350316eea4428", kill_on_drop: false }` [INFO] [stdout] b8cc0db770c0f13858ddfdfb69cca9cf5e9f542597ef8db837a350316eea4428 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] a7e875b828b08a204587669c40a36c7060fd029df6bd64d0715f3c1cd2d3f26c [INFO] running `Command { std: "docker" "start" "-a" "a7e875b828b08a204587669c40a36c7060fd029df6bd64d0715f3c1cd2d3f26c", kill_on_drop: false }` [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling opentelemetry v0.30.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling opentelemetry_sdk v0.30.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling opentelemetry-stdout v0.30.0 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling opentelemetry-instrumentation-actix-web v0.22.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `opentelemetry_instrumentation_actix_web::ClientExt` [INFO] [stdout] --> examples/client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use opentelemetry_instrumentation_actix_web::ClientExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ClientExt` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 164 | #[cfg(feature = "awc")] [INFO] [stdout] | --------------- the item is gated behind the `awc` feature [INFO] [stdout] 165 | #[cfg_attr(docsrs, doc(cfg(feature = "awc")))] [INFO] [stdout] 166 | pub use client::{ClientExt, InstrumentedClientRequest}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `opentelemetry_instrumentation_actix_web::RequestMetrics` [INFO] [stdout] --> examples/server.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use opentelemetry_instrumentation_actix_web::{RequestMetrics, RequestTracing}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `RequestMetrics` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:170:31 [INFO] [stdout] | [INFO] [stdout] 168 | #[cfg(feature = "metrics")] [INFO] [stdout] | ------------------- the item is gated behind the `metrics` feature [INFO] [stdout] 169 | #[cfg_attr(docsrs, doc(cfg(feature = "metrics")))] [INFO] [stdout] 170 | pub use middleware::metrics::{RequestMetrics, RequestMetricsBuilder, RequestMetricsMiddleware}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Aggregation`, `Instrument`, `SdkMeterProvider`, and `Stream` [INFO] [stdout] --> examples/server.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | metrics::{Aggregation, Instrument, SdkMeterProvider, Stream}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetricExporter` [INFO] [stdout] --> examples/server.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use opentelemetry_stdout::{MetricExporter, SpanExporter}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `awc` [INFO] [stdout] --> examples/client.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | let client = awc::Client::new(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `awc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `awc`, use `cargo add awc` to add it to your `Cargo.toml` [INFO] [stdout] help: there is an enum variant `opentelemetry::trace::SpanKind::Client`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 42 - let client = awc::Client::new(); [INFO] [stdout] 42 + let client = opentelemetry::trace::SpanKind::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `awc` [INFO] [stdout] --> examples/client.rs:10:34 [INFO] [stdout] | [INFO] [stdout] 10 | async fn execute_request(client: awc::Client) -> io::Result { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `awc` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `awc`, use `cargo add awc` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `opentelemetry-instrumentation-actix-web` (example "client") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `opentelemetry-instrumentation-actix-web` (example "server") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a7e875b828b08a204587669c40a36c7060fd029df6bd64d0715f3c1cd2d3f26c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7e875b828b08a204587669c40a36c7060fd029df6bd64d0715f3c1cd2d3f26c", kill_on_drop: false }` [INFO] [stdout] a7e875b828b08a204587669c40a36c7060fd029df6bd64d0715f3c1cd2d3f26c