[INFO] fetching crate tonic-mock 0.4.0... [INFO] testing tonic-mock-0.4.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [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 caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 905b2026ea6fad70884c63e9c8a7b91b3ff75c1c4020d6b00613a71925d16a7a [INFO] running `Command { std: "docker" "start" "-a" "905b2026ea6fad70884c63e9c8a7b91b3ff75c1c4020d6b00613a71925d16a7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "905b2026ea6fad70884c63e9c8a7b91b3ff75c1c4020d6b00613a71925d16a7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "905b2026ea6fad70884c63e9c8a7b91b3ff75c1c4020d6b00613a71925d16a7a", kill_on_drop: false }` [INFO] [stdout] 905b2026ea6fad70884c63e9c8a7b91b3ff75c1c4020d6b00613a71925d16a7a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc0cdb833441e246b028ba4cbf20a80577ba115dd790fd45ec27e4f59304963e [INFO] running `Command { std: "docker" "start" "-a" "dc0cdb833441e246b028ba4cbf20a80577ba115dd790fd45ec27e4f59304963e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling matchit v0.8.4 [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 async-stream v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [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 53.60s [INFO] running `Command { std: "docker" "inspect" "dc0cdb833441e246b028ba4cbf20a80577ba115dd790fd45ec27e4f59304963e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc0cdb833441e246b028ba4cbf20a80577ba115dd790fd45ec27e4f59304963e", kill_on_drop: false }` [INFO] [stdout] dc0cdb833441e246b028ba4cbf20a80577ba115dd790fd45ec27e4f59304963e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8b85726c26ed74024a9e62c4baba83eab1e2986c53c14503e5891dbba0b6b4c [INFO] running `Command { std: "docker" "start" "-a" "f8b85726c26ed74024a9e62c4baba83eab1e2986c53c14503e5891dbba0b6b4c", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde v1.0.219 [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 54.27s [INFO] running `Command { std: "docker" "inspect" "f8b85726c26ed74024a9e62c4baba83eab1e2986c53c14503e5891dbba0b6b4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8b85726c26ed74024a9e62c4baba83eab1e2986c53c14503e5891dbba0b6b4c", kill_on_drop: false }` [INFO] [stdout] f8b85726c26ed74024a9e62c4baba83eab1e2986c53c14503e5891dbba0b6b4c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 325a4e8fb9b022b073cf9d7498853d38f14b92507c238596f3a2ee423629bbc7 [INFO] running `Command { std: "docker" "start" "-a" "325a4e8fb9b022b073cf9d7498853d38f14b92507c238596f3a2ee423629bbc7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tonic_mock-3d0d39e59b0f13d1) [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-159ca98131d8ddef) [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::bidirectional_tests::tests::test_timeout_on_empty_stream ... 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_conditional_response ... ok [INFO] [stdout] test integration::bidirectional_test::test_bidirectional_streaming_integration ... ok [INFO] [stdout] test unit::client_mock_tests::tests::test_mockable_client_error_response ... ok [INFO] [stdout] test unit::bidirectional_tests::tests::test_bidirectional_streaming_test_utility ... 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::grpc_mock_tests::tests::test_create_grpc_uri ... ok [INFO] [stdout] test unit::grpc_mock_tests::tests::test_decode_grpc_message ... 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_compression_not_supported ... 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_decode_grpc_message_incomplete ... ok [INFO] [stdout] test integration::sample_service::tests::test_bidirectional_streaming ... ok [INFO] [stdout] test unit::grpc_mock_tests::tests::test_encode_grpc_response ... ok [INFO] [stdout] test integration::sample_service::tests::test_client_streaming ... ok [INFO] [stdout] test unit::bidirectional_tests::tests::test_bidirectional_streaming ... 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::grpc_mock_tests::tests::test_encode_grpc_request ... ok [INFO] [stdout] test unit::mock_tests::tests::test_mock_body_encoding ... ok [INFO] [stdout] test unit::mock_tests::tests::test_mock_body_polling ... ok [INFO] [stdout] test unit::request_tests::tests::test_request_with_interceptor ... ok [INFO] [stdout] test unit::request_tests::tests::test_request_metadata ... 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_single ... ok [INFO] [stdout] test unit::response_tests::tests::test_process_streaming_response ... ok [INFO] [stdout] test unit::test_utils_tests::tests::test_assert_message_eq ... ok [INFO] [stdout] test unit::request_tests::tests::test_streaming_request_multiple ... 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_with_errors ... 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_create_stream_response_with_errors ... ok [INFO] [stdout] test unit::response_tests::tests::test_stream_to_vec ... ok [INFO] [stdout] test unit::test_utils_tests::tests::test_test_request_new ... ok [INFO] [stdout] test unit::request_tests::tests::test_streaming_request_with_interceptor ... ok [INFO] [stdout] test unit::test_utils_tests::tests::test_create_stream_response_empty ... ok [INFO] [stdout] test unit::test_utils_tests::tests::test_create_stream_response ... ok [INFO] [stdout] test unit::test_utils_tests::tests::test_test_response_new ... 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] [stdout] [INFO] [stdout] test result: ok. 47 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] Doc-tests tonic_mock [INFO] [stdout] [INFO] [stdout] running 41 tests [INFO] [stdout] test src/client_mock.rs - client_mock::MockResponseDefinition::err (line 281) ... ok [INFO] [stdout] test src/client_mock.rs - client_mock (line 188) ... ok [INFO] [stdout] test src/client_mock.rs - client_mock::MockBuilder::respond_with (line 633) ... ok [INFO] [stdout] test src/client_mock.rs - client_mock::GrpcClientExt (line 804) ... ok [INFO] [stdout] test src/client_mock.rs - client_mock (line 104) ... ok [INFO] [stdout] test src/client_mock.rs - client_mock::MockBuilder::respond_when (line 707) ... ok [INFO] [stdout] test src/client_mock.rs - client_mock (line 16) ... ok [INFO] [stdout] test src/client_mock.rs - client_mock (line 150) ... ok [INFO] [stdout] test src/client_mock.rs - client_mock::MockableGrpcClient (line 400) ... ok [INFO] [stdout] test src/client_mock.rs - client_mock::MockableGrpcClient::mock (line 463) ... ok [INFO] [stdout] test src/client_mock.rs - client_mock::MockResponseDefinition::ok (line 253) ... ok [INFO] [stdout] test src/grpc_mock.rs - grpc_mock (line 22) ... ok [INFO] [stdout] test src/client_mock.rs - client_mock::MockResponseDefinition::with_metadata (line 308) ... ok [INFO] [stdout] test src/grpc_mock.rs - grpc_mock::create_grpc_uri (line 240) ... ok [INFO] [stdout] test src/client_mock.rs - client_mock::MockResponseDefinition::with_delay (line 338) ... ok [INFO] [stdout] test src/grpc_mock.rs - grpc_mock (line 49) ... ok [INFO] [stdout] test src/lib.rs - (line 217) ... FAILED [INFO] [stdout] test src/grpc_mock.rs - grpc_mock::decode_grpc_message (line 178) ... ok [INFO] [stdout] test src/lib.rs - (line 120) ... ok [INFO] [stdout] test src/lib.rs - (line 241) ... FAILED [INFO] [stdout] test src/lib.rs - (line 161) ... ok [INFO] [stdout] test src/lib.rs - (line 29) ... ok [INFO] [stdout] test src/grpc_mock.rs - grpc_mock::encode_grpc_request (line 108) ... ok [INFO] [stdout] test src/lib.rs - (line 87) ... FAILED [INFO] [stdout] test src/lib.rs - (line 63) ... FAILED [INFO] [stdout] test src/lib.rs - BidirectionalStreamingTest (line 733) - compile ... ok [INFO] [stdout] test src/grpc_mock.rs - grpc_mock::encode_grpc_response (line 143) ... ok [INFO] [stdout] test src/grpc_mock.rs - grpc_mock::mock_grpc_call (line 268) ... ok [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/lib.rs - streaming_request_with_interceptor (line 371) ... ok [INFO] [stdout] test src/lib.rs - process_streaming_response (line 474) ... ok [INFO] [stdout] test src/lib.rs - stream_to_vec_with_timeout (line 647) ... ok [INFO] [stdout] test src/lib.rs - process_streaming_response_with_timeout (line 527) ... ok [INFO] [stdout] test src/lib.rs - streaming_request (line 328) ... ok [INFO] [stdout] test src/test_utils.rs - test_utils::assert_message_eq (line 243) ... ok [INFO] [stdout] test src/test_utils.rs - test_utils::assert_response_eq (line 261) ... ok [INFO] [stdout] test src/lib.rs - stream_to_vec (line 594) ... 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/test_utils.rs - test_utils::create_stream_response (line 158) ... 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] 9 | 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] 10 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_241_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 24 | ).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] 8 | 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] 2 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] 2 + use http::Request; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 8 | 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] 11 | 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] 21 | 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] 2 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] 2 + use http::Request; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 21 | 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] 22 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_87_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_87_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 18 | }).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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_87_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 22 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_87_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 23 | let results = stream_to_vec(response).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [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] 9 | 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] 10 | 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] 17 | 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] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_63_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 17 | 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] 43 | 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] 2 + 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] 4 | 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] 34 | }).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] 4 | 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] 62 | }).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 8.77s [INFO] [stdout] [INFO] [stdout] all doctests ran in 9.28s; merged doctests compilation took 0.50s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "325a4e8fb9b022b073cf9d7498853d38f14b92507c238596f3a2ee423629bbc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "325a4e8fb9b022b073cf9d7498853d38f14b92507c238596f3a2ee423629bbc7", kill_on_drop: false }` [INFO] [stdout] 325a4e8fb9b022b073cf9d7498853d38f14b92507c238596f3a2ee423629bbc7