[INFO] fetching crate tokio-rate-limit 0.8.1... [INFO] testing tokio-rate-limit-0.8.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate tokio-rate-limit 0.8.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate tokio-rate-limit 0.8.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tokio-rate-limit 0.8.1 [INFO] tweaked toml for crates.io crate tokio-rate-limit 0.8.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-rate-limit 0.8.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tokio-rate-limit 0.8.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" "+562dee4820c458d823175268e41601d4c060588a" "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] Downloading crates ... [INFO] [stderr] Downloaded saa v5.5.0 [INFO] [stderr] Downloaded sdd v4.7.5 [INFO] [stderr] Downloaded seize v0.5.1 [INFO] [stderr] Downloaded clap v4.5.51 [INFO] [stderr] Downloaded governor v0.10.1 [INFO] [stderr] Downloaded redis v0.32.7 [INFO] [stderr] Downloaded seize v0.3.3 [INFO] [stderr] Downloaded metrics v0.24.2 [INFO] [stderr] Downloaded syn v2.0.109 [INFO] [stderr] Downloaded tracing-subscriber v0.3.20 [INFO] [stderr] Downloaded clap_builder v4.5.51 [INFO] [stderr] Downloaded papaya v0.2.3 [INFO] [stderr] Downloaded scc v3.6.12 [INFO] [stderr] Downloaded axum v0.8.6 [INFO] [stderr] Downloaded flurry v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14cc8f3929886be5c22fb90e9db199db9e00997cf9d31736c7aeac3ed692b765 [INFO] running `Command { std: "docker" "start" "-a" "14cc8f3929886be5c22fb90e9db199db9e00997cf9d31736c7aeac3ed692b765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14cc8f3929886be5c22fb90e9db199db9e00997cf9d31736c7aeac3ed692b765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14cc8f3929886be5c22fb90e9db199db9e00997cf9d31736c7aeac3ed692b765", kill_on_drop: false }` [INFO] [stdout] 14cc8f3929886be5c22fb90e9db199db9e00997cf9d31736c7aeac3ed692b765 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0be90ad3b5f8594ae21fe36df776852da8f6cba1d63a0f95c9b77cf2c5ca85a [INFO] running `Command { std: "docker" "start" "-a" "d0be90ad3b5f8594ae21fe36df776852da8f6cba1d63a0f95c9b77cf2c5ca85a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling tokio-rate-limit v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling seize v0.3.3 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling syn v2.0.109 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling flurry v0.5.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.21s [INFO] running `Command { std: "docker" "inspect" "d0be90ad3b5f8594ae21fe36df776852da8f6cba1d63a0f95c9b77cf2c5ca85a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0be90ad3b5f8594ae21fe36df776852da8f6cba1d63a0f95c9b77cf2c5ca85a", kill_on_drop: false }` [INFO] [stdout] d0be90ad3b5f8594ae21fe36df776852da8f6cba1d63a0f95c9b77cf2c5ca85a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55239f6f07f2bc50ac7503f3c7362058e84878f86a913a45e1e7c5bb47c49fc4 [INFO] running `Command { std: "docker" "start" "-a" "55239f6f07f2bc50ac7503f3c7362058e84878f86a913a45e1e7c5bb47c49fc4", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling syn v2.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling backon v1.6.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling seize v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling spinning_top v0.3.0 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling sdd v4.7.5 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling nonzero_ext v0.3.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling saa v5.5.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling papaya v0.2.3 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling scc v3.6.12 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling flurry v0.5.2 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling governor v0.10.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-rate-limit v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling axum v0.8.6 [INFO] [stderr] Compiling redis v0.32.7 [INFO] [stdout] warning: unused variable: `decision` [INFO] [stdout] --> examples/observability.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | Ok(decision) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decision` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_rate_limit::middleware` [INFO] [stdout] --> examples/custom_key_extraction.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | middleware::{CustomKeyExtractor, RateLimitLayer}, [INFO] [stdout] | ^^^^^^^^^^ could not find `middleware` in `tokio_rate_limit` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "middleware")] [INFO] [stdout] | ---------------------- the item is gated behind the `middleware` feature [INFO] [stdout] 50 | pub mod middleware; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tonic` in this scope [INFO] [stdout] --> examples/grpc_tonic.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tonic::{transport::Server, Request, Response, Status}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tonic` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tonic`, use `cargo add tonic` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_rate_limit::tonic_middleware` [INFO] [stdout] --> examples/grpc_tonic.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio_rate_limit::tonic_middleware::{CustomGrpcKeyExtractor, GrpcRateLimitLayer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `tonic_middleware` in `tokio_rate_limit` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(feature = "tonic-support")] [INFO] [stdout] | ------------------------- the item is gated behind the `tonic-support` feature [INFO] [stdout] 53 | pub mod tonic_middleware; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tonic` [INFO] [stdout] --> examples/grpc_tonic.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tonic::{transport::Server, Request, Response, Status}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tonic` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tonic`, use `cargo add tonic` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_rate_limit::middleware` [INFO] [stdout] --> examples/axum_middleware.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | use tokio_rate_limit::{middleware::RateLimitLayer, RateLimiter}; [INFO] [stdout] | ^^^^^^^^^^ could not find `middleware` in `tokio_rate_limit` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "middleware")] [INFO] [stdout] | ---------------------- the item is gated behind the `middleware` feature [INFO] [stdout] 50 | pub mod middleware; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hello_world::greeter_client` [INFO] [stdout] --> examples/grpc_tonic_client.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | use hello_world::greeter_client::GreeterClient; [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `greeter_client` in `hello_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hello_world::DataRequest`, `hello_world::HelloRequest` [INFO] [stdout] --> examples/grpc_tonic_client.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | use hello_world::{DataRequest, HelloRequest}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ no `HelloRequest` in `hello_world` [INFO] [stdout] | | [INFO] [stdout] | no `DataRequest` in `hello_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tonic` in this scope [INFO] [stdout] --> examples/grpc_tonic_client.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | tonic::include_proto!("helloworld"); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tonic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tonic` in this scope [INFO] [stdout] --> examples/grpc_tonic_client.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | let request = tonic::Request::new(HelloRequest { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tonic` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tonic`, use `cargo add tonic` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 14 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] 14 + use axum::extract::Request; [INFO] [stdout] | [INFO] [stdout] 14 + use hyper::Request; [INFO] [stdout] | [INFO] [stdout] help: if you import `Request`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 37 - let request = tonic::Request::new(HelloRequest { [INFO] [stdout] 37 + let request = Request::new(HelloRequest { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tonic` in this scope [INFO] [stdout] --> examples/grpc_tonic_client.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | let request = tonic::Request::new(HelloRequest { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tonic` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tonic`, use `cargo add tonic` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 14 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] 14 + use axum::extract::Request; [INFO] [stdout] | [INFO] [stdout] 14 + use hyper::Request; [INFO] [stdout] | [INFO] [stdout] help: if you import `Request`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 106 - let request = tonic::Request::new(HelloRequest { [INFO] [stdout] 106 + let request = Request::new(HelloRequest { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tonic` in this scope [INFO] [stdout] --> examples/grpc_tonic_client.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | let request = tonic::Request::new(DataRequest { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tonic` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tonic`, use `cargo add tonic` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 14 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] 14 + use axum::extract::Request; [INFO] [stdout] | [INFO] [stdout] 14 + use hyper::Request; [INFO] [stdout] | [INFO] [stdout] help: if you import `Request`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 139 - let request = tonic::Request::new(DataRequest { [INFO] [stdout] 139 + let request = Request::new(DataRequest { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tonic` in this scope [INFO] [stdout] --> examples/grpc_tonic_client.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 175 | let request = tonic::Request::new(HelloRequest { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tonic` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tonic`, use `cargo add tonic` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 14 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] 14 + use axum::extract::Request; [INFO] [stdout] | [INFO] [stdout] 14 + use hyper::Request; [INFO] [stdout] | [INFO] [stdout] help: if you import `Request`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 175 - let request = tonic::Request::new(HelloRequest { [INFO] [stdout] 175 + let request = Request::new(HelloRequest { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hello_world::greeter_server` [INFO] [stdout] --> examples/grpc_tonic.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | use hello_world::greeter_server::{Greeter, GreeterServer}; [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `greeter_server` in `hello_world` [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 `tokio-rate-limit` (example "grpc_tonic_client") due to 7 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tokio-rate-limit` (example "axum_middleware") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved imports `hello_world::DataReply`, `hello_world::DataRequest`, `hello_world::HelloReply`, `hello_world::HelloRequest` [INFO] [stdout] --> examples/grpc_tonic.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | use hello_world::{DataReply, DataRequest, HelloReply, HelloRequest}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ no `HelloRequest` in `hello_world` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `HelloReply` in `hello_world` [INFO] [stdout] | | no `DataRequest` in `hello_world` [INFO] [stdout] | no `DataReply` in `hello_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tonic` in this scope [INFO] [stdout] --> examples/grpc_tonic.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | tonic::include_proto!("helloworld"); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tonic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `tonic` in this scope [INFO] [stdout] --> examples/grpc_tonic.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[tonic::async_trait] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tonic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-rate-limit` (example "custom_key_extraction") due to 1 previous error [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 `tokio-rate-limit` (example "grpc_tonic") due to 7 previous errors [INFO] [stdout] warning: variable `request_count` is assigned to, but never used [INFO] [stdout] --> tests/probabilistic_accuracy.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut request_count = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_request_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `request_count` is never read [INFO] [stdout] --> tests/probabilistic_accuracy.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | request_count += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "55239f6f07f2bc50ac7503f3c7362058e84878f86a913a45e1e7c5bb47c49fc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55239f6f07f2bc50ac7503f3c7362058e84878f86a913a45e1e7c5bb47c49fc4", kill_on_drop: false }` [INFO] [stdout] 55239f6f07f2bc50ac7503f3c7362058e84878f86a913a45e1e7c5bb47c49fc4