[INFO] cloning repository https://github.com/Samuelwidjaja/advpro-tutorial9
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Samuelwidjaja/advpro-tutorial9" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamuelwidjaja%2Fadvpro-tutorial9", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamuelwidjaja%2Fadvpro-tutorial9'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f30ff48a0f1e2901e7828b30d68203c3ced19fec
[INFO] building Samuelwidjaja/advpro-tutorial9 against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamuelwidjaja%2Fadvpro-tutorial9" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  87% (883/1009)
Updating files:  88% (888/1009)
Updating files:  89% (899/1009)
Updating files:  90% (909/1009)
Updating files:  91% (919/1009)
Updating files:  92% (929/1009)
Updating files:  93% (939/1009)
Updating files:  94% (949/1009)
Updating files:  95% (959/1009)
Updating files:  96% (969/1009)
Updating files:  97% (979/1009)
Updating files:  98% (989/1009)
Updating files:  99% (999/1009)
Updating files: 100% (1009/1009)
Updating files: 100% (1009/1009), done.
[INFO] started tweaking git repo https://github.com/Samuelwidjaja/advpro-tutorial9
[INFO] finished tweaking git repo https://github.com/Samuelwidjaja/advpro-tutorial9
[INFO] tweaked toml for git repo https://github.com/Samuelwidjaja/advpro-tutorial9 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Samuelwidjaja/advpro-tutorial9 on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Samuelwidjaja/advpro-tutorial9 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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dc677ebed750376315f3c918b822a75fbbcede3a4e7ca7fd352654c91c0237a7
[INFO] running `Command { std: "docker" "start" "-a" "dc677ebed750376315f3c918b822a75fbbcede3a4e7ca7fd352654c91c0237a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc677ebed750376315f3c918b822a75fbbcede3a4e7ca7fd352654c91c0237a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc677ebed750376315f3c918b822a75fbbcede3a4e7ca7fd352654c91c0237a7", kill_on_drop: false }`
[INFO] [stdout] dc677ebed750376315f3c918b822a75fbbcede3a4e7ca7fd352654c91c0237a7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0f5650e79a5e99b4a7e2122aa4a8b5661106915a7fa20f34f97f1763bf1bd496
[INFO] running `Command { std: "docker" "start" "-a" "0f5650e79a5e99b4a7e2122aa4a8b5661106915a7fa20f34f97f1763bf1bd496", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling either v1.11.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling anyhow v1.0.82
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling cc v1.0.95
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling prettyplease v0.1.25
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling cmake v0.1.50
[INFO] [stderr]    Compiling serde v1.0.199
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling http-range-header v0.3.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]    Compiling parking_lot v0.12.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling getrandom v0.2.14
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling petgraph v0.6.4
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling matchit v0.5.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling prost-build v0.10.4
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling prost-derive v0.10.1
[INFO] [stderr]    Compiling async-stream v0.3.5
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling axum-core v0.2.9
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling prost v0.10.4
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling prost-types v0.10.1
[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.10
[INFO] [stderr]    Compiling tokio-io-timeout v1.2.0
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[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.28
[INFO] [stderr]    Compiling axum v0.5.17
[INFO] [stderr]    Compiling hyper-timeout v0.4.1
[INFO] [stderr]    Compiling tonic v0.7.2
[INFO] [stdout] error[E0425]: cannot find type `Request` in this scope
[INFO] [stdout]   --> src/grpc_server.rs:17:19
[INFO] [stdout]    |
[INFO] [stdout] 17 |         request : Request<PaymentRequest>
[INFO] [stdout]    |                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::error::Request;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tonic::Request;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Response` in this scope
[INFO] [stdout]   --> src/grpc_server.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |     ) -> Result<Response<PaymentResponse>, Status>{
[INFO] [stdout]    |                 ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tonic::Response;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Status` in this scope
[INFO] [stdout]   --> src/grpc_server.rs:18:44
[INFO] [stdout]    |
[INFO] [stdout] 18 |     ) -> Result<Response<PaymentResponse>, Status>{
[INFO] [stdout]    |                                            ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tonic::Status;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]   --> src/grpc_server.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 |         Ok(Response::new (PaymentResponse{success:true}))
[INFO] [stdout]    |            ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tonic::Response;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Status` in this scope
[INFO] [stdout]   --> src/grpc_server.rs:32:83
[INFO] [stdout]    |
[INFO] [stdout] 32 |     type GetTransactionHistoryStream = ReceiverStream<Result<TransactionResponse, Status>>;
[INFO] [stdout]    |                                                                                   ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tonic::Status;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Request` in this scope
[INFO] [stdout]   --> src/grpc_server.rs:36:19
[INFO] [stdout]    |
[INFO] [stdout] 36 |         request : Request<TransactionRequest>, 
[INFO] [stdout]    |                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::error::Request;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tonic::Request;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Response` in this scope
[INFO] [stdout]   --> src/grpc_server.rs:37:16
[INFO] [stdout]    |
[INFO] [stdout] 37 |     ) ->Result<Response<Self::GetTransactionHistoryStream>, Status>{
[INFO] [stdout]    |                ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tonic::Response;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Status` in this scope
[INFO] [stdout]   --> src/grpc_server.rs:37:61
[INFO] [stdout]    |
[INFO] [stdout] 37 |     ) ->Result<Response<Self::GetTransactionHistoryStream>, Status>{
[INFO] [stdout]    |                                                             ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tonic::Status;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Status` in this scope
[INFO] [stdout]   --> src/grpc_server.rs:39:58
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let (tx,rx): (Sender<Result<TransactionResponse, Status>>, Receiver<Result<TransactionResponse,Status>>) = mpsc::channel(4);
[INFO] [stdout]    |                                                          ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tonic::Status;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Status` in this scope
[INFO] [stdout]   --> src/grpc_server.rs:39:104
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let (tx,rx): (Sender<Result<TransactionResponse, Status>>, Receiver<Result<TransactionResponse,Status>>) = mpsc::channel(4);
[INFO] [stdout]    |                                                                                                        ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tonic::Status;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mpsc`
[INFO] [stdout]   --> src/grpc_server.rs:39:116
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let (tx,rx): (Sender<Result<TransactionResponse, Status>>, Receiver<Result<TransactionResponse,Status>>) = mpsc::channel(4);
[INFO] [stdout]    |                                                                                                                    ^^^^ use of unresolved module or unlinked crate `mpsc`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mpsc`, use `cargo add mpsc` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::mpsc;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tokio::sync::mpsc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]   --> src/grpc_server.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 57 |         Ok(Response::new(ReceiverStream::new(rx)))
[INFO] [stdout]    |            ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tonic::Response;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Status` in this scope
[INFO] [stdout]   --> src/grpc_server.rs:66:58
[INFO] [stdout]    |
[INFO] [stdout] 66 |     type ChatStream = ReceiverStream<Result<ChatMessage, Status>>;
[INFO] [stdout]    |                                                          ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tonic::Status;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Request` in this scope
[INFO] [stdout]   --> src/grpc_server.rs:70:18
[INFO] [stdout]    |
[INFO] [stdout] 70 |         request: Request<tonic::Streaming<ChatMessage>>,
[INFO] [stdout]    |                  ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::error::Request;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tonic::Request;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Response` in this scope
[INFO] [stdout]   --> src/grpc_server.rs:71:17
[INFO] [stdout]    |
[INFO] [stdout] 71 |     ) -> Result<Response<Self::ChatStream>, Status>{
[INFO] [stdout]    |                 ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tonic::Response;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Status` in this scope
[INFO] [stdout]   --> src/grpc_server.rs:71:45
[INFO] [stdout]    |
[INFO] [stdout] 71 |     ) -> Result<Response<Self::ChatStream>, Status>{
[INFO] [stdout]    |                                             ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tonic::Status;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mpsc`
[INFO] [stdout]   --> src/grpc_server.rs:73:23
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let (tx,rx) = mpsc::channel(10);
[INFO] [stdout]    |                       ^^^^ use of unresolved module or unlinked crate `mpsc`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mpsc`, use `cargo add mpsc` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::sync::mpsc;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tokio::sync::mpsc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response`
[INFO] [stdout]   --> src/grpc_server.rs:88:12
[INFO] [stdout]    |
[INFO] [stdout] 88 |         Ok(Response::new(ReceiverStream::new(rx)))
[INFO] [stdout]    |            ^^^^^^^^ use of undeclared type `Response`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tonic::Response;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Server`
[INFO] [stdout]   --> src/grpc_server.rs:98:5
[INFO] [stdout]    |
[INFO] [stdout] 98 |     Server::builder()
[INFO] [stdout]    |     ^^^^^^ use of undeclared type `Server`
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 98 -     Server::builder()
[INFO] [stdout] 98 +     Sender::builder()
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tonic::transport::Server;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ChatServiceServer`
[INFO] [stdout]  --> src/grpc_server.rs:5:40
[INFO] [stdout]   |
[INFO] [stdout] 5 |     chat_service_server::{ChatService, ChatServiceServer}, ChatMessage};
[INFO] [stdout]   |                                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/grpc_client.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let mut channel = Channel::from_static("http://[::1]:50051").connect().await?;
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/grpc_server.rs:43:20
[INFO] [stdout]    |
[INFO] [stdout] 43 |                   if tx.send (Ok(TransactionResponse{
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 44 | |                     transaction_id : format!("trans_{}",i),
[INFO] [stdout] 45 | |                     status : "Completed".to_string(),
[INFO] [stdout] 46 | |                     amount:100.0,
[INFO] [stdout] 47 | |                     timestamp:"2022-01-01T12:00:00Z".to_string(),
[INFO] [stdout] 48 | |                 })).await.is_err() {
[INFO] [stdout]    | |_________________________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/grpc_server.rs:76:39
[INFO] [stdout]    |
[INFO] [stdout] 76 |             while let Some(message) = stream.message().await.unwrap_or_else(|_| None){
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/grpc_server.rs:84:17
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 tx.send(Ok(reply)).await.unwrap_or_else(|_| {});
[INFO] [stdout]    |                 ^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/grpc_server.rs:84:17
[INFO] [stdout]    |
[INFO] [stdout] 84 |                 tx.send(Ok(reply)).await.unwrap_or_else(|_| {});
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `grpc-tutorial` (bin "grpc-server") due to 23 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "0f5650e79a5e99b4a7e2122aa4a8b5661106915a7fa20f34f97f1763bf1bd496", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f5650e79a5e99b4a7e2122aa4a8b5661106915a7fa20f34f97f1763bf1bd496", kill_on_drop: false }`
[INFO] [stdout] 0f5650e79a5e99b4a7e2122aa4a8b5661106915a7fa20f34f97f1763bf1bd496
