[INFO] cloning repository https://github.com/rauloaul/grpc-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rauloaul/grpc-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frauloaul%2Fgrpc-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frauloaul%2Fgrpc-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3376b95c4da7b1a7fe7e115cdd5469493185eb93 [INFO] checking rauloaul/grpc-tutorial/3376b95c4da7b1a7fe7e115cdd5469493185eb93 against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frauloaul%2Fgrpc-tutorial" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rauloaul/grpc-tutorial on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rauloaul/grpc-tutorial [INFO] finished tweaking git repo https://github.com/rauloaul/grpc-tutorial [INFO] tweaked toml for git repo https://github.com/rauloaul/grpc-tutorial written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rauloaul/grpc-tutorial 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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.tokio.featurtes [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 805313cbd3fa49f74f6990f058bd3e72323aeedfbf0f092165784a28b7da1c4a [INFO] running `Command { std: "docker" "start" "-a" "805313cbd3fa49f74f6990f058bd3e72323aeedfbf0f092165784a28b7da1c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "805313cbd3fa49f74f6990f058bd3e72323aeedfbf0f092165784a28b7da1c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "805313cbd3fa49f74f6990f058bd3e72323aeedfbf0f092165784a28b7da1c4a", kill_on_drop: false }` [INFO] [stdout] 805313cbd3fa49f74f6990f058bd3e72323aeedfbf0f092165784a28b7da1c4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 873f822d5df81065a3e667e4e7fbbf4ec6a1ef9c50cac404cf6510bf354dd1eb [INFO] running `Command { std: "docker" "start" "-a" "873f822d5df81065a3e667e4e7fbbf4ec6a1ef9c50cac404cf6510bf354dd1eb", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.tokio.featurtes [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.154 [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 autocfg v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling petgraph v0.6.4 [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] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking axum-core v0.2.9 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling prost-types v0.10.1 [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] Compiling tonic-build v0.7.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling grcp-tutorial v0.1.0 (/opt/rustwide/workdir) [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: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stdout] --> src/grpc_server.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | #[tokio::main] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `GetTransactionStream` is not a member of trait `TransactionService` [INFO] [stdout] --> src/grpc_server.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | type GetTransactionStream = ReceiverStream>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `TransactionService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stdout] --> src/grpc_client.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[tokio::main] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stdout] --> src/grpc_client.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[tokio::main] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `GetTransactionHistoryStream` [INFO] [stdout] --> src/grpc_server.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | impl TransactionService for MyTransactionService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `GetTransactionHistoryStream` in implementation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/grcp-tutorial-e7d71b9e4baf5ec2/out/services.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | / type GetTransactionHistoryStream: futures_core::Stream< [INFO] [stdout] 448 | | Item = Result, [INFO] [stdout] 449 | | > [INFO] [stdout] 450 | | + Send [INFO] [stdout] 451 | | + 'static; [INFO] [stdout] | |_____________________- `GetTransactionHistoryStream` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println1` in this scope [INFO] [stdout] --> src/grpc_client.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | println1!("Server says: {:?}", response); [INFO] [stdout] | ^^^^^^^^ help: a macro with a similar name exists: `println` [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/macros.rs:138:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `println` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println1` in this scope [INFO] [stdout] --> src/grpc_client.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | println1!("Transaction: {:?}", transaction); [INFO] [stdout] | ^^^^^^^^ help: a macro with a similar name exists: `println` [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/macros.rs:138:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `println` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stdout] --> src/grpc_server.rs:99:1 [INFO] [stdout] | [INFO] [stdout] 99 | #[tokio::main] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> src/grpc_client.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::io::{self, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `GetTransactionStream` is not a member of trait `TransactionService` [INFO] [stdout] --> src/grpc_server.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | type GetTransactionStream = ReceiverStream>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `TransactionService` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println1` in this scope [INFO] [stdout] --> src/grpc_client.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | println1!("Server says: {:?}", response); [INFO] [stdout] | ^^^^^^^^ help: a macro with a similar name exists: `println` [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/macros.rs:138:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `println` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `GetTransactionHistoryStream` [INFO] [stdout] --> src/grpc_server.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | impl TransactionService for MyTransactionService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `GetTransactionHistoryStream` in implementation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/grcp-tutorial-e7d71b9e4baf5ec2/out/services.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | / type GetTransactionHistoryStream: futures_core::Stream< [INFO] [stdout] 448 | | Item = Result, [INFO] [stdout] 449 | | > [INFO] [stdout] 450 | | + Send [INFO] [stdout] 451 | | + 'static; [INFO] [stdout] | |_____________________- `GetTransactionHistoryStream` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println1` in this scope [INFO] [stdout] --> src/grpc_client.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | println1!("Transaction: {:?}", transaction); [INFO] [stdout] | ^^^^^^^^ help: a macro with a similar name exists: `println` [INFO] [stdout] --> /rustc/4847d6a9d07d4be9ba3196f6ad444af2d7bdde72/library/std/src/macros.rs:138:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `println` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> src/grpc_client.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::io::{self, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/grpc_server.rs:45:78 [INFO] [stdout] | [INFO] [stdout] 45 | let (tx, rx): (Sender>, Receiver>) = mpsc::channel(4); [INFO] [stdout] | ^^^^^^ ------------------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 45 | let (tx, rx): (Sender>, Receiver>) = mpsc::channel(4); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `println1` in this scope [INFO] [stdout] --> src/grpc_client.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | println1("Response: {:?}", response.into_inner()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lines` found for struct `tokio::io::BufReader` in the current scope [INFO] [stdout] --> src/grpc_client.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | let mut reader = io::BufReader::new(stdin).lines(); [INFO] [stdout] | ^^^^^ method not found in `BufReader` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/io/util/async_buf_read_ext.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 348 | fn lines(self) -> Lines [INFO] [stdout] | ----- the method is available for `tokio::io::BufReader` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsyncBufReadExt` which provides `lines` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::io::AsyncBufReadExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0437. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grcp-tutorial` (bin "grpc-server") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grcp-tutorial` (bin "grpc-client" test) due to 5 previous errors; 1 warning emitted [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/grpc_server.rs:45:78 [INFO] [stdout] | [INFO] [stdout] 45 | let (tx, rx): (Sender>, Receiver>) = mpsc::channel(4); [INFO] [stdout] | ^^^^^^ ------------------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 45 | let (tx, rx): (Sender>, Receiver>) = mpsc::channel(4); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `println1` in this scope [INFO] [stdout] --> src/grpc_client.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | println1("Response: {:?}", response.into_inner()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lines` found for struct `tokio::io::BufReader` in the current scope [INFO] [stdout] --> src/grpc_client.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | let mut reader = io::BufReader::new(stdin).lines(); [INFO] [stdout] | ^^^^^ method not found in `BufReader` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.37.0/src/io/util/async_buf_read_ext.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 348 | fn lines(self) -> Lines [INFO] [stdout] | ----- the method is available for `tokio::io::BufReader` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsyncBufReadExt` which provides `lines` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::io::AsyncBufReadExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0107, E0437. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `grcp-tutorial` (bin "grpc-client") due to 5 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `grcp-tutorial` (bin "grpc-server" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "873f822d5df81065a3e667e4e7fbbf4ec6a1ef9c50cac404cf6510bf354dd1eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "873f822d5df81065a3e667e4e7fbbf4ec6a1ef9c50cac404cf6510bf354dd1eb", kill_on_drop: false }` [INFO] [stdout] 873f822d5df81065a3e667e4e7fbbf4ec6a1ef9c50cac404cf6510bf354dd1eb