[INFO] cloning repository https://github.com/cyrilladrian/grpc-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cyrilladrian/grpc-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyrilladrian%2Fgrpc-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyrilladrian%2Fgrpc-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0364fa9545be98783a77d937b7d16292e21f1715 [INFO] checking cyrilladrian/grpc-rust against 8006091eb71ae7d9e9bccb66c6122c9d68af4466 for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcyrilladrian%2Fgrpc-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/cyrilladrian/grpc-rust [INFO] finished tweaking git repo https://github.com/cyrilladrian/grpc-rust [INFO] tweaked toml for git repo https://github.com/cyrilladrian/grpc-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/cyrilladrian/grpc-rust on toolchain 8006091eb71ae7d9e9bccb66c6122c9d68af4466 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/cyrilladrian/grpc-rust 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" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prost-derive v0.10.1 [INFO] [stderr] Downloaded tonic-build v0.7.2 [INFO] [stderr] Downloaded prost-types v0.10.1 [INFO] [stderr] Downloaded prost v0.10.4 [INFO] [stderr] Downloaded cmake v0.1.50 [INFO] [stderr] Downloaded axum-core v0.2.9 [INFO] [stderr] Downloaded tower-http v0.3.5 [INFO] [stderr] Downloaded tonic v0.7.2 [INFO] [stderr] Downloaded axum v0.5.17 [INFO] [stderr] Downloaded prost-build v0.10.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 765cab74996a5351923b56a9cd3086f03b40ac8d9839e195c76e78641669d7d7 [INFO] running `Command { std: "docker" "start" "765cab74996a5351923b56a9cd3086f03b40ac8d9839e195c76e78641669d7d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "765cab74996a5351923b56a9cd3086f03b40ac8d9839e195c76e78641669d7d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "765cab74996a5351923b56a9cd3086f03b40ac8d9839e195c76e78641669d7d7" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "765cab74996a5351923b56a9cd3086f03b40ac8d9839e195c76e78641669d7d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "765cab74996a5351923b56a9cd3086f03b40ac8d9839e195c76e78641669d7d7" "/opt/rustwide/cargo-home/bin/cargo" "+8006091eb71ae7d9e9bccb66c6122c9d68af4466" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking matchit v0.5.0 [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 prost-derive v0.10.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking axum-core v0.2.9 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Checking 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-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.3.5 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking axum v0.5.17 [INFO] [stderr] Checking tonic v0.7.2 [INFO] [stdout] error: cannot find macro `println1` in this scope [INFO] [stdout] --> src/grpc_client.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | println1!("Server says: {:?}", response); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: similarly named macro `println` defined here [INFO] [stdout] --> /rustc/8006091eb71ae7d9e9bccb66c6122c9d68af4466/library/std/src/macros.rs:143:0 [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 62 - println1!("Server says: {:?}", response); [INFO] [stdout] 62 + println!("Server says: {:?}", response); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println1` in this scope [INFO] [stdout] --> src/grpc_client.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | println1!("Transaction: {:?}", transaction); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: similarly named macro `println` defined here [INFO] [stdout] --> /rustc/8006091eb71ae7d9e9bccb66c6122c9d68af4466/library/std/src/macros.rs:143:0 [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 31 - println1!("Transaction: {:?}", transaction); [INFO] [stdout] 31 + println!("Transaction: {:?}", transaction); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println1` in this scope [INFO] [stdout] --> src/grpc_client.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | println1!("Server says: {:?}", response); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: similarly named macro `println` defined here [INFO] [stdout] --> /rustc/8006091eb71ae7d9e9bccb66c6122c9d68af4466/library/std/src/macros.rs:143:0 [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 62 - println1!("Server says: {:?}", response); [INFO] [stdout] 62 + println!("Server says: {:?}", response); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Channel` in this scope [INFO] [stdout] --> src/grpc_client.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | let channel = Channel::from_static("http://[::1]:50051") [INFO] [stdout] | ^^^^^^^ use of undeclared type `Channel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use tonic::transport::Channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println1` in this scope [INFO] [stdout] --> src/grpc_client.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | println1!("Transaction: {:?}", transaction); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: similarly named macro `println` defined here [INFO] [stdout] --> /rustc/8006091eb71ae7d9e9bccb66c6122c9d68af4466/library/std/src/macros.rs:143:0 [INFO] [stdout] help: a macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 31 - println1!("Transaction: {:?}", transaction); [INFO] [stdout] 31 + println!("Transaction: {:?}", transaction); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Channel` in this scope [INFO] [stdout] --> src/grpc_client.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | let channel = Channel::from_static("http://[::1]:50051") [INFO] [stdout] | ^^^^^^^ use of undeclared type `Channel` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use tonic::transport::Channel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/grpc_server.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 81 | ) -> Result, Status>{ [INFO] [stdout] | ------------------------------------------ expected due to this [INFO] [stdout] ... [INFO] [stdout] 85 | / tokio::spawn(async move{ [INFO] [stdout] 86 | | while let Some(message) = stream.message().await.unwrap_or_else(|_| None){ [INFO] [stdout] 87 | | println!("Received message: {:?}", message); [INFO] [stdout] 88 | | let reply = ChatMessage{ [INFO] [stdout] ... | [INFO] [stdout] 96 | | }) [INFO] [stdout] | |__________^ expected `Result, Status>`, found `JoinHandle<()>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result>>, Status>` [INFO] [stdout] found struct `tokio::task::JoinHandle<()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/grpc_server.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/grpc_server.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `println1` in this scope [INFO] [stdout] --> src/grpc_client.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | println1("Response: {:?}", response.into_inner()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `println1` in this scope [INFO] [stdout] --> src/grpc_client.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | println1("Response: {:?}", response.into_inner()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grpc-rust` (bin "grpc-server" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/grpc_server.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 81 | ) -> Result, Status>{ [INFO] [stdout] | ------------------------------------------ expected due to this [INFO] [stdout] ... [INFO] [stdout] 85 | / tokio::spawn(async move{ [INFO] [stdout] 86 | | while let Some(message) = stream.message().await.unwrap_or_else(|_| None){ [INFO] [stdout] 87 | | println!("Received message: {:?}", message); [INFO] [stdout] 88 | | let reply = ChatMessage{ [INFO] [stdout] ... | [INFO] [stdout] 96 | | }) [INFO] [stdout] | |__________^ expected `Result, Status>`, found `JoinHandle<()>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result>>, Status>` [INFO] [stdout] found struct `tokio::task::JoinHandle<()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grpc-rust` (bin "grpc-client") due to 4 previous errors [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/grpc_server.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | request: Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grpc-rust` (bin "grpc-client" test) due to 4 previous errors [INFO] [stdout] Some errors have detailed explanations: E0308, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grpc-rust` (bin "grpc-server") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "765cab74996a5351923b56a9cd3086f03b40ac8d9839e195c76e78641669d7d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "765cab74996a5351923b56a9cd3086f03b40ac8d9839e195c76e78641669d7d7", kill_on_drop: false }` [INFO] [stdout] 765cab74996a5351923b56a9cd3086f03b40ac8d9839e195c76e78641669d7d7