[INFO] cloning repository https://github.com/mir4na/rust-gRPC [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mir4na/rust-gRPC" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmir4na%2Frust-gRPC", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmir4na%2Frust-gRPC'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0d25d0e6876300b76579dfa677f866d690f2854 [INFO] testing mir4na/rust-gRPC against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmir4na%2Frust-gRPC" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mir4na/rust-gRPC [INFO] finished tweaking git repo https://github.com/mir4na/rust-gRPC [INFO] tweaked toml for git repo https://github.com/mir4na/rust-gRPC written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mir4na/rust-gRPC on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mir4na/rust-gRPC 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41661e3e4b3f2fb7dcd61ccaa85287e223052986d9293c6cf17a09d9c406633d [INFO] running `Command { std: "docker" "start" "-a" "41661e3e4b3f2fb7dcd61ccaa85287e223052986d9293c6cf17a09d9c406633d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41661e3e4b3f2fb7dcd61ccaa85287e223052986d9293c6cf17a09d9c406633d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41661e3e4b3f2fb7dcd61ccaa85287e223052986d9293c6cf17a09d9c406633d", kill_on_drop: false }` [INFO] [stdout] 41661e3e4b3f2fb7dcd61ccaa85287e223052986d9293c6cf17a09d9c406633d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7c1535969a669519429d6d9ec45fa648325f8aac61b7f4502be81b463dd81e5 [INFO] running `Command { std: "docker" "start" "-a" "c7c1535969a669519429d6d9ec45fa648325f8aac61b7f4502be81b463dd81e5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling http-range-header v0.3.1 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling axum-core v0.2.9 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Compiling grpc-tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.3.5 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling axum v0.5.17 [INFO] [stderr] Compiling tonic v0.7.2 [INFO] [stdout] error[E0433]: cannot find type `Channel` in this scope [INFO] [stdout] --> src/grpc_client.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | let channel = Channel::from_static("http://[::1]:50051").connect().await?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `Channel` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::channel::Channel; [INFO] [stdout] | [INFO] [stdout] 1 + use tonic::transport::Channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::transport::channel` [INFO] [stdout] --> src/grpc_client.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tonic::transport::channel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Server` is defined multiple times [INFO] [stdout] --> src/grpc_server.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 1 | use tonic::{transport::Server, Request, Response, Status}; [INFO] [stdout] | ----------------- previous import of the type `Server` here [INFO] [stdout] ... [INFO] [stdout] 10 | use tonic::{transport::Server, Request, Response, Status}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | `Server` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `Server` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Request` is defined multiple times [INFO] [stdout] --> src/grpc_server.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 1 | use tonic::{transport::Server, Request, Response, Status}; [INFO] [stdout] | ------- previous import of the type `Request` here [INFO] [stdout] ... [INFO] [stdout] 10 | use tonic::{transport::Server, Request, Response, Status}; [INFO] [stdout] | ^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | `Request` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `Request` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Response` is defined multiple times [INFO] [stdout] --> src/grpc_server.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 1 | use tonic::{transport::Server, Request, Response, Status}; [INFO] [stdout] | -------- previous import of the type `Response` here [INFO] [stdout] ... [INFO] [stdout] 10 | use tonic::{transport::Server, Request, Response, Status}; [INFO] [stdout] | ^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | `Response` reimported here [INFO] [stdout] | help: remove unnecessary import [INFO] [stdout] | [INFO] [stdout] = note: `Response` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `Status` is defined multiple times [INFO] [stdout] --> src/grpc_server.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 1 | use tonic::{transport::Server, Request, Response, Status}; [INFO] [stdout] | ------ previous import of the type `Status` here [INFO] [stdout] ... [INFO] [stdout] 10 | use tonic::{transport::Server, Request, Response, Status}; [INFO] [stdout] | ^^^^^^ `Status` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `Status` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `massage` found for struct `Streaming` in the current scope [INFO] [stdout] --> src/grpc_client.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | while let Some(transaction) = stream.massage().await? { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `message` with a similar name [INFO] [stdout] | [INFO] [stdout] 32 - while let Some(transaction) = stream.massage().await? { [INFO] [stdout] 32 + while let Some(transaction) = stream.message().await? { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `chat_service` in this scope [INFO] [stdout] --> src/grpc_server.rs:106:45 [INFO] [stdout] | [INFO] [stdout] 106 | .add_service(ChatServiceServer::new(chat_service)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request`, `Response`, `Status`, and `transport::Server` [INFO] [stdout] --> src/grpc_server.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use tonic::{transport::Server, Request, Response, Status}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/grpc_server.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | amount: 100.0, [INFO] [stdout] | ^^^^^ expected `String`, found floating-point number [INFO] [stdout] | [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 51 | amount: 100.0.to_string(), [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grpc-tutorial` (bin "grpc-client") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0252, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0252`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grpc-tutorial` (bin "grpc-server") due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c7c1535969a669519429d6d9ec45fa648325f8aac61b7f4502be81b463dd81e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7c1535969a669519429d6d9ec45fa648325f8aac61b7f4502be81b463dd81e5", kill_on_drop: false }` [INFO] [stdout] c7c1535969a669519429d6d9ec45fa648325f8aac61b7f4502be81b463dd81e5