[INFO] fetching crate tonic-mock 0.4.0...
[INFO] testing tonic-mock-0.4.0 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate tonic-mock 0.4.0 into /workspace/builds/worker-3-tc1/source
[INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate tonic-mock 0.4.0
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate tonic-mock 0.4.0
[INFO] tweaked toml for crates.io crate tonic-mock 0.4.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate tonic-mock 0.4.0 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate tonic-mock 0.4.0 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clap v4.5.38
[INFO] [stderr]   Downloaded hyper-util v0.1.12
[INFO] [stderr]   Downloaded clap_builder v4.5.38
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 67ae0ca73989ed286112ef65e5d3debd2c537375c6d2977b258445b85fde5877
[INFO] running `Command { std: "docker" "start" "-a" "67ae0ca73989ed286112ef65e5d3debd2c537375c6d2977b258445b85fde5877", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "67ae0ca73989ed286112ef65e5d3debd2c537375c6d2977b258445b85fde5877", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67ae0ca73989ed286112ef65e5d3debd2c537375c6d2977b258445b85fde5877", kill_on_drop: false }`
[INFO] [stdout] 67ae0ca73989ed286112ef65e5d3debd2c537375c6d2977b258445b85fde5877
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ef735bdcdeafb3e547eb1a73c30fb682b78825fc37d8c75d53a4a17de62c6c3e
[INFO] running `Command { std: "docker" "start" "-a" "ef735bdcdeafb3e547eb1a73c30fb682b78825fc37d8c75d53a4a17de62c6c3e", kill_on_drop: false }`
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling axum-core v0.5.2
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling prost-derive v0.13.5
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling tokio v1.45.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling prost v0.13.5
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling tokio-test v0.4.4
[INFO] [stderr]    Compiling h2 v0.4.10
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling axum v0.8.4
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling hyper-util v0.1.12
[INFO] [stderr]    Compiling hyper-timeout v0.5.2
[INFO] [stderr]    Compiling tonic v0.13.1
[INFO] [stderr]    Compiling tonic-mock v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.88s
[INFO] running `Command { std: "docker" "inspect" "ef735bdcdeafb3e547eb1a73c30fb682b78825fc37d8c75d53a4a17de62c6c3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef735bdcdeafb3e547eb1a73c30fb682b78825fc37d8c75d53a4a17de62c6c3e", kill_on_drop: false }`
[INFO] [stdout] ef735bdcdeafb3e547eb1a73c30fb682b78825fc37d8c75d53a4a17de62c6c3e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 96c0d869d42d62deaf28fa255c55c53db4abe3251251c1b4cac4391ac2d8bfc5
[INFO] running `Command { std: "docker" "start" "-a" "96c0d869d42d62deaf28fa255c55c53db4abe3251251c1b4cac4391ac2d8bfc5", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling prost-derive v0.13.5
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling clap_builder v4.5.38
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling prost v0.13.5
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling clap v4.5.38
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling axum v0.8.4
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.6.0
[INFO] [stderr]    Compiling tonic v0.13.1
[INFO] [stderr]    Compiling tonic-mock v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 26.92s
[INFO] running `Command { std: "docker" "inspect" "96c0d869d42d62deaf28fa255c55c53db4abe3251251c1b4cac4391ac2d8bfc5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96c0d869d42d62deaf28fa255c55c53db4abe3251251c1b4cac4391ac2d8bfc5", kill_on_drop: false }`
[INFO] [stdout] 96c0d869d42d62deaf28fa255c55c53db4abe3251251c1b4cac4391ac2d8bfc5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ae068ddcec44fa2e27af3d5f28ed56c8a49082a60aef0239d6a96c1f86a7c2e4
[INFO] running `Command { std: "docker" "start" "-a" "ae068ddcec44fa2e27af3d5f28ed56c8a49082a60aef0239d6a96c1f86a7c2e4", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tonic_mock-5826e62961fa3e42)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-265e30e9bd45ad1e)
[INFO] [stdout] 
[INFO] [stdout] running 47 tests
[INFO] [stdout] test unit::bidirectional_tests::tests::test_bidirectional_streaming_complete_idempotent ... ok
[INFO] [stdout] test unit::bidirectional_tests::tests::test_bidirectional_streaming_service_error ... ok
[INFO] [stdout] test unit::bidirectional_tests::tests::test_bidirectional_streaming_dispose ... ok
[INFO] [stdout] test unit::client_mock_tests::tests::test_mockable_client_conditional_response ... ok
[INFO] [stdout] test unit::client_mock_tests::tests::test_mockable_client_basic ... ok
[INFO] [stdout] test unit::client_mock_tests::tests::test_mockable_client_error_response ... ok
[INFO] [stdout] test unit::client_mock_tests::tests::test_mockable_client_reset ... ok
[INFO] [stdout] test unit::client_mock_tests::tests::test_mockable_client_method_not_mocked ... ok
[INFO] [stdout] test unit::client_mock_tests::tests::test_mockable_client_with_metadata ... ok
[INFO] [stdout] test unit::grpc_mock_tests::tests::test_decode_grpc_message ... ok
[INFO] [stdout] test unit::grpc_mock_tests::tests::test_decode_grpc_message_incomplete ... ok
[INFO] [stdout] test unit::grpc_mock_tests::tests::test_decode_grpc_message_too_short ... ok
[INFO] [stdout] test unit::grpc_mock_tests::tests::test_encode_grpc_request ... ok
[INFO] [stdout] test unit::grpc_mock_tests::tests::test_encode_grpc_response ... ok
[INFO] [stdout] test unit::grpc_mock_tests::tests::test_mock_grpc_call ... ok
[INFO] [stdout] test unit::grpc_mock_tests::tests::test_mock_grpc_call_with_error ... ok
[INFO] [stdout] test unit::mock_tests::tests::test_mock_body_creation ... ok
[INFO] [stdout] test unit::mock_tests::tests::test_mock_body_polling ... ok
[INFO] [stdout] test unit::mock_tests::tests::test_mock_body_encoding ... ok
[INFO] [stdout] test unit::grpc_mock_tests::tests::test_decode_grpc_message_compression_not_supported ... ok
[INFO] [stdout] test unit::request_tests::tests::test_request_metadata ... ok
[INFO] [stdout] test unit::grpc_mock_tests::tests::test_create_grpc_uri ... ok
[INFO] [stdout] test unit::bidirectional_tests::tests::test_timeout_on_empty_stream ... ok
[INFO] [stdout] test unit::request_tests::tests::test_request_with_interceptor ... ok
[INFO] [stdout] test unit::test_utils_tests::tests::test_assert_message_eq ... ok
[INFO] [stdout] test unit::test_utils_tests::tests::test_assert_response_eq ... ok
[INFO] [stdout] test unit::response_tests::tests::test_stream_to_vec ... ok
[INFO] [stdout] test unit::bidirectional_tests::tests::test_bidirectional_streaming ... ok
[INFO] [stdout] test unit::test_utils_tests::tests::test_create_stream_response ... ok
[INFO] [stdout] test unit::request_tests::tests::test_streaming_request_empty ... ok
[INFO] [stdout] test unit::test_utils_tests::tests::test_create_test_messages ... ok
[INFO] [stdout] test unit::test_utils_tests::tests::test_test_request_new ... ok
[INFO] [stdout] test unit::test_utils_tests::tests::test_test_response_new ... ok
[INFO] [stdout] test unit::request_tests::tests::test_streaming_request_with_interceptor ... ok
[INFO] [stdout] test unit::response_tests::tests::test_stream_to_vec_with_errors ... ok
[INFO] [stdout] test integration::sample_service::tests::test_client_streaming ... ok
[INFO] [stdout] test unit::test_utils_tests::tests::test_create_stream_response_with_errors ... ok
[INFO] [stdout] test unit::bidirectional_tests::tests::test_bidirectional_streaming_test_utility ... ok
[INFO] [stdout] test integration::sample_service::tests::test_bidirectional_streaming ... ok
[INFO] [stdout] test unit::request_tests::tests::test_streaming_request_single ... ok
[INFO] [stdout] test unit::response_tests::tests::test_process_streaming_response ... ok
[INFO] [stdout] test unit::test_utils_tests::tests::test_create_stream_response_empty ... ok
[INFO] [stdout] test unit::response_tests::tests::test_process_streaming_response_with_errors ... ok
[INFO] [stdout] test unit::request_tests::tests::test_streaming_request_multiple ... ok
[INFO] [stdout] test integration::bidirectional_test::test_bidirectional_streaming_integration ... ok
[INFO] [stdout] test unit::bidirectional_tests::tests::test_bidirectional_streaming_with_delay ... ok
[INFO] [stdout] test integration::bidirectional_test::test_bidirectional_streaming_timeout ... ok
[INFO] [stderr]    Doc-tests tonic_mock
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 47 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.36s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 41 tests
[INFO] [stdout] test src/client_mock.rs - client_mock (line 188) ... ok
[INFO] [stdout] test src/client_mock.rs - client_mock::GrpcClientExt (line 804) ... ok
[INFO] [stdout] test src/client_mock.rs - client_mock (line 150) ... ok
[INFO] [stdout] test src/client_mock.rs - client_mock::MockableGrpcClient::mock (line 463) ... ok
[INFO] [stdout] test src/client_mock.rs - client_mock::MockBuilder<Req,Resp>::respond_when (line 707) ... ok
[INFO] [stdout] test src/client_mock.rs - client_mock (line 104) ... ok
[INFO] [stdout] test src/client_mock.rs - client_mock::MockResponseDefinition<Resp>::err (line 281) ... ok
[INFO] [stdout] test src/client_mock.rs - client_mock::MockResponseDefinition<Resp>::with_delay (line 338) ... ok
[INFO] [stdout] test src/client_mock.rs - client_mock (line 16) ... ok
[INFO] [stdout] test src/client_mock.rs - client_mock::MockableGrpcClient (line 400) ... ok
[INFO] [stdout] test src/lib.rs - (line 217) ... FAILED
[INFO] [stdout] test src/grpc_mock.rs - grpc_mock (line 49) ... ok
[INFO] [stdout] test src/client_mock.rs - client_mock::MockResponseDefinition<Resp>::ok (line 253) ... ok
[INFO] [stdout] test src/client_mock.rs - client_mock::MockBuilder<Req,Resp>::respond_with (line 633) ... ok
[INFO] [stdout] test src/grpc_mock.rs - grpc_mock::create_grpc_uri (line 240) ... ok
[INFO] [stdout] test src/lib.rs - (line 120) ... ok
[INFO] [stdout] test src/grpc_mock.rs - grpc_mock::encode_grpc_request (line 108) ... ok
[INFO] [stdout] test src/grpc_mock.rs - grpc_mock::decode_grpc_message (line 178) ... ok
[INFO] [stdout] test src/grpc_mock.rs - grpc_mock::encode_grpc_response (line 143) ... ok
[INFO] [stdout] test src/lib.rs - BidirectionalStreamingTest (line 733) - compile ... ok
[INFO] [stdout] test src/grpc_mock.rs - grpc_mock::mock_grpc_call (line 268) ... ok
[INFO] [stdout] test src/lib.rs - (line 241) ... FAILED
[INFO] [stdout] test src/grpc_mock.rs - grpc_mock (line 22) ... ok
[INFO] [stdout] test src/lib.rs - (line 161) ... ok
[INFO] [stdout] test src/client_mock.rs - client_mock::MockResponseDefinition<Resp>::with_metadata (line 308) ... ok
[INFO] [stdout] test src/lib.rs - (line 87) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 29) ... ok
[INFO] [stdout] test src/lib.rs - (line 63) ... FAILED
[INFO] [stdout] test src/test_utils.rs - test_utils (line 19) ... FAILED
[INFO] [stdout] test src/lib.rs - request_with_interceptor (line 433) ... ok
[INFO] [stdout] test src/test_utils.rs - test_utils::create_stream_response (line 158) ... ok
[INFO] [stdout] test src/lib.rs - streaming_request (line 328) ... ok
[INFO] [stdout] test src/lib.rs - stream_to_vec (line 594) ... ok
[INFO] [stdout] test src/lib.rs - process_streaming_response (line 474) ... ok
[INFO] [stdout] test src/test_utils.rs - test_utils::assert_message_eq (line 243) ... ok
[INFO] [stdout] test src/lib.rs - stream_to_vec_with_timeout (line 647) ... ok
[INFO] [stdout] test src/test_utils.rs - test_utils::assert_response_eq (line 261) ... ok
[INFO] [stdout] test src/test_utils.rs - test_utils::create_stream_response_with_errors (line 193) ... ok
[INFO] [stdout] test src/test_utils.rs - test_utils::create_test_messages (line 140) ... ok
[INFO] [stdout] test src/lib.rs - streaming_request_with_interceptor (line 371) ... ok
[INFO] [stdout] test src/lib.rs - process_streaming_response_with_timeout (line 527) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 217) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `messages` in this scope
[INFO] [stdout]    --> src/lib.rs:223:50
[INFO] [stdout]     |
[INFO] [stdout] 223 | let request = streaming_request_with_interceptor(messages, |req| {
[INFO] [stdout]     |                                                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 241) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `response` in this scope
[INFO] [stdout]    --> src/lib.rs:248:5
[INFO] [stdout]     |
[INFO] [stdout] 248 |     response,
[INFO] [stdout]     |     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:262:3
[INFO] [stdout]     |
[INFO] [stdout] 242 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_241_0() {
[INFO] [stdout]     |                                      ----------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 262 | ).await;
[INFO] [stdout]     |   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 87) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request`
[INFO] [stdout]   --> src/lib.rs:92:15
[INFO] [stdout]    |
[INFO] [stdout] 92 | let request = Request::new(ServerStreamRequest { count: 3 });
[INFO] [stdout]    |               ^^^^^^^ use of undeclared type `Request`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 86 + use std::error::Request;
[INFO] [stdout]    |
[INFO] [stdout] 86 + use http::Request;
[INFO] [stdout]    |
[INFO] [stdout] 86 + use tonic::Request;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ServerStreamRequest` in this scope
[INFO] [stdout]   --> src/lib.rs:92:28
[INFO] [stdout]    |
[INFO] [stdout] 92 | let request = Request::new(ServerStreamRequest { count: 3 });
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `your_service` in this scope
[INFO] [stdout]   --> src/lib.rs:95:16
[INFO] [stdout]    |
[INFO] [stdout] 95 | let response = your_service.server_streaming_method(request).await?;
[INFO] [stdout]    |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request`
[INFO] [stdout]    --> src/lib.rs:105:15
[INFO] [stdout]     |
[INFO] [stdout] 105 | let request = Request::new(ServerStreamRequest { count: 3 });
[INFO] [stdout]     |               ^^^^^^^ use of undeclared type `Request`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]  86 + use std::error::Request;
[INFO] [stdout]     |
[INFO] [stdout]  86 + use http::Request;
[INFO] [stdout]     |
[INFO] [stdout]  86 + use tonic::Request;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ServerStreamRequest` in this scope
[INFO] [stdout]    --> src/lib.rs:105:28
[INFO] [stdout]     |
[INFO] [stdout] 105 | let request = Request::new(ServerStreamRequest { count: 3 });
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `your_service` in this scope
[INFO] [stdout]    --> src/lib.rs:106:16
[INFO] [stdout]     |
[INFO] [stdout] 106 | let response = your_service.server_streaming_method(request).await?;
[INFO] [stdout]     |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:95:62
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_87_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 95 | let response = your_service.server_streaming_method(request).await?;
[INFO] [stdout]    |                                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:102:4
[INFO] [stdout]     |
[INFO] [stdout]  88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_87_0() {
[INFO] [stdout]     |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 102 | }).await;
[INFO] [stdout]     |    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:106:62
[INFO] [stdout]     |
[INFO] [stdout]  88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_87_0() {
[INFO] [stdout]     |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 106 | let response = your_service.server_streaming_method(request).await?;
[INFO] [stdout]     |                                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:107:39
[INFO] [stdout]     |
[INFO] [stdout]  88 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_87_0() {
[INFO] [stdout]     |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 107 | let results = stream_to_vec(response).await;
[INFO] [stdout]     |                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:111:13
[INFO] [stdout]     |
[INFO] [stdout] 111 |     assert!(result.is_ok());
[INFO] [stdout]     |             ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0422, E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 63) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StreamRequest` in this scope
[INFO] [stdout]   --> src/lib.rs:69:5
[INFO] [stdout]    |
[INFO] [stdout] 69 |     StreamRequest { id: 1, data: "first".to_string() },
[INFO] [stdout]    |     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `StreamRequest` in this scope
[INFO] [stdout]   --> src/lib.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 70 |     StreamRequest { id: 2, data: "second".to_string() },
[INFO] [stdout]    |     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `your_service` in this scope
[INFO] [stdout]   --> src/lib.rs:77:16
[INFO] [stdout]    |
[INFO] [stdout] 77 | let response = your_service.client_streaming_method(request).await?;
[INFO] [stdout]    |                ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:77:62
[INFO] [stdout]    |
[INFO] [stdout] 64 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_63_0() {
[INFO] [stdout]    |                                      ---------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 77 | let response = your_service.client_streaming_method(request).await?;
[INFO] [stdout]    |                                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/test_utils.rs - test_utils (line 19) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `create_stream_response_with_errors` in this scope
[INFO] [stdout]   --> src/test_utils.rs:59:16
[INFO] [stdout]    |
[INFO] [stdout] 59 | let response = create_stream_response_with_errors(
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 18 + use tonic_mock::create_stream_response_with_errors;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/test_utils.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_test_utils_rs_19_0() {
[INFO] [stdout]    |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 50 | }).await;
[INFO] [stdout]    |    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/test_utils.rs:78:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_test_utils_rs_19_0() {
[INFO] [stdout]    |                                      ----------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 78 | }).await;
[INFO] [stdout]    |    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 217)
[INFO] [stdout]     src/lib.rs - (line 241)
[INFO] [stdout]     src/lib.rs - (line 63)
[INFO] [stdout]     src/lib.rs - (line 87)
[INFO] [stdout]     src/test_utils.rs - test_utils (line 19)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 36 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.70s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 5.30s; merged doctests compilation took 0.59s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ae068ddcec44fa2e27af3d5f28ed56c8a49082a60aef0239d6a96c1f86a7c2e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae068ddcec44fa2e27af3d5f28ed56c8a49082a60aef0239d6a96c1f86a7c2e4", kill_on_drop: false }`
[INFO] [stdout] ae068ddcec44fa2e27af3d5f28ed56c8a49082a60aef0239d6a96c1f86a7c2e4
