[INFO] fetching crate bincode-grpc-macro 0.7.2... [INFO] testing bincode-grpc-macro-0.7.2 against 1.49.0 for beta-1.50-1 [INFO] extracting crate bincode-grpc-macro 0.7.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate bincode-grpc-macro 0.7.2 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate bincode-grpc-macro 0.7.2 [INFO] finished tweaking crates.io crate bincode-grpc-macro 0.7.2 [INFO] tweaked toml for crates.io crate bincode-grpc-macro 0.7.2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83eb5b9811486e2c1d874380d2939527bbaa0ad6d4afad1ec83787d8be3ecb34 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "83eb5b9811486e2c1d874380d2939527bbaa0ad6d4afad1ec83787d8be3ecb34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83eb5b9811486e2c1d874380d2939527bbaa0ad6d4afad1ec83787d8be3ecb34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83eb5b9811486e2c1d874380d2939527bbaa0ad6d4afad1ec83787d8be3ecb34", kill_on_drop: false }` [INFO] [stdout] 83eb5b9811486e2c1d874380d2939527bbaa0ad6d4afad1ec83787d8be3ecb34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 845ff4b7da12534dab145c7d2c60d9933f16bc71f2f1dce85dde0f50d4be4421 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "845ff4b7da12534dab145c7d2c60d9933f16bc71f2f1dce85dde0f50d4be4421", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling bincode-grpc-macro v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `original_method` [INFO] [stdout] --> src/lib.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn original_method(&self) -> TokenStream2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.38s [INFO] running `Command { std: "docker" "inspect" "845ff4b7da12534dab145c7d2c60d9933f16bc71f2f1dce85dde0f50d4be4421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "845ff4b7da12534dab145c7d2c60d9933f16bc71f2f1dce85dde0f50d4be4421", kill_on_drop: false }` [INFO] [stdout] 845ff4b7da12534dab145c7d2c60d9933f16bc71f2f1dce85dde0f50d4be4421 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 175313b703d41c89c007c5eb735ee561fac78454a17da0bbc270c9356e850679 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "175313b703d41c89c007c5eb735ee561fac78454a17da0bbc270c9356e850679", kill_on_drop: false }` [INFO] [stderr] Compiling bincode-grpc-macro v0.7.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `original_method` [INFO] [stdout] --> src/lib.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn original_method(&self) -> TokenStream2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `original_method` [INFO] [stdout] --> src/lib.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn original_method(&self) -> TokenStream2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "175313b703d41c89c007c5eb735ee561fac78454a17da0bbc270c9356e850679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "175313b703d41c89c007c5eb735ee561fac78454a17da0bbc270c9356e850679", kill_on_drop: false }` [INFO] [stdout] 175313b703d41c89c007c5eb735ee561fac78454a17da0bbc270c9356e850679 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dc81cc384bedc06da7e6f9bf5c923b09afd233a1b0b3f0d0b44a6061204d08a0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dc81cc384bedc06da7e6f9bf5c923b09afd233a1b0b3f0d0b44a6061204d08a0", kill_on_drop: false }` [INFO] [stderr] warning: associated function is never used: `original_method` [INFO] [stderr] --> src/lib.rs:292:8 [INFO] [stderr] | [INFO] [stderr] 292 | fn original_method(&self) -> TokenStream2 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `original_method` [INFO] [stderr] --> src/lib.rs:292:8 [INFO] [stderr] | [INFO] [stderr] 292 | fn original_method(&self) -> TokenStream2 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/bincode_grpc_macro-5647ab7c434e7be8 [INFO] [stdout] [INFO] [stderr] Doc-tests bincode-grpc-macro [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - RpcMethod (line 214) ... FAILED [INFO] [stdout] test src/lib.rs - RpcMethod (line 222) ... FAILED [INFO] [stdout] test src/lib.rs - server (line 430) ... FAILED [INFO] [stdout] test src/lib.rs - server (line 443) ... FAILED [INFO] [stdout] test src/lib.rs - Service (line 22) ... FAILED [INFO] [stdout] test src/lib.rs - RpcMethod (line 198) ... FAILED [INFO] [stdout] test src/lib.rs - Service (line 30) ... FAILED [INFO] [stdout] test src/lib.rs - Service (line 10) ... FAILED [INFO] [stdout] test src/lib.rs - Service (line 16) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - RpcMethod (line 214) stdout ---- [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/lib.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 3 | / fn say_hello( [INFO] [stdout] 4 | | &self, [INFO] [stdout] 5 | | arg1: HelloRequest, [INFO] [stdout] 6 | | ) -> HelloReply; [INFO] [stdout] | | ^ help: provide a definition for the function: `{ }` [INFO] [stdout] | |____________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 4 | &self, [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HelloRequest` in this scope [INFO] [stdout] --> src/lib.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 5 | arg1: HelloRequest, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HelloReply` in this scope [INFO] [stdout] --> src/lib.rs:218:10 [INFO] [stdout] | [INFO] [stdout] 6 | ) -> HelloReply; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RpcMethod (line 222) stdout ---- [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/lib.rs:223:1 [INFO] [stdout] | [INFO] [stdout] 3 | / fn say_hello_grpc( [INFO] [stdout] 4 | | &mut self, [INFO] [stdout] 5 | | ctx: ::bincode_grpc::grpcio::RpcContext, [INFO] [stdout] 6 | | req: (HelloRequest, ), // the tuple is used for the case where the original trait method has multiple arguments [INFO] [stdout] 7 | | sink: ::bincode_grpc::grpcio::UnarySink, [INFO] [stdout] 8 | | ); [INFO] [stdout] | | ^ help: provide a definition for the function: `{ }` [INFO] [stdout] | |______| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 4 | &mut self, [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bincode_grpc` in `{{root}}` [INFO] [stdout] --> src/lib.rs:225:16 [INFO] [stdout] | [INFO] [stdout] 5 | ctx: ::bincode_grpc::grpcio::RpcContext, [INFO] [stdout] | ^^^^^^^^^^^^ could not find `bincode_grpc` in `{{root}}` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bincode_grpc` in `{{root}}` [INFO] [stdout] --> src/lib.rs:227:17 [INFO] [stdout] | [INFO] [stdout] 7 | sink: ::bincode_grpc::grpcio::UnarySink, [INFO] [stdout] | ^^^^^^^^^^^^ could not find `bincode_grpc` in `{{root}}` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HelloRequest` in this scope [INFO] [stdout] --> src/lib.rs:226:15 [INFO] [stdout] | [INFO] [stdout] 6 | req: (HelloRequest, ), // the tuple is used for the case where the original trait method has multiple arguments [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HelloReply` in this scope [INFO] [stdout] --> src/lib.rs:227:49 [INFO] [stdout] | [INFO] [stdout] 3 | fn say_hello_grpc( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 7 | sink: ::bincode_grpc::grpcio::UnarySink, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - server (line 430) stdout ---- [INFO] [stdout] error: cannot find attribute `server` in this scope [INFO] [stdout] --> src/lib.rs:433:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[server] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HelloReply` [INFO] [stdout] --> src/lib.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 8 | HelloReply::default() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HelloReply` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Greeter` in this scope [INFO] [stdout] --> src/lib.rs:434:6 [INFO] [stdout] | [INFO] [stdout] 6 | impl Greeter for GreeterServer { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HelloRequest` in this scope [INFO] [stdout] --> src/lib.rs:435:34 [INFO] [stdout] | [INFO] [stdout] 7 | fn say_hello(&mut self, req: HelloRequest) -> HelloReply { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HelloReply` in this scope [INFO] [stdout] --> src/lib.rs:435:51 [INFO] [stdout] | [INFO] [stdout] 7 | fn say_hello(&mut self, req: HelloRequest) -> HelloReply { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - server (line 443) stdout ---- [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/lib.rs:453:31 [INFO] [stdout] | [INFO] [stdout] 12 | .map_err(move |e| error!("failed to reply {:?}: {:?}", req, e)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HelloReply` [INFO] [stdout] --> src/lib.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 5 | HelloReply::default() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HelloReply` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Greeter` in this scope [INFO] [stdout] --> src/lib.rs:444:6 [INFO] [stdout] | [INFO] [stdout] 3 | impl Greeter for GreeterServer { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GreeterServer` in this scope [INFO] [stdout] --> src/lib.rs:444:18 [INFO] [stdout] | [INFO] [stdout] 3 | impl Greeter for GreeterServer { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HelloRequest` in this scope [INFO] [stdout] --> src/lib.rs:445:34 [INFO] [stdout] | [INFO] [stdout] 4 | fn say_hello(&mut self, req: HelloRequest) -> HelloReply { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HelloReply` in this scope [INFO] [stdout] --> src/lib.rs:445:51 [INFO] [stdout] | [INFO] [stdout] 4 | fn say_hello(&mut self, req: HelloRequest) -> HelloReply { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RpcContext` in this scope [INFO] [stdout] --> src/lib.rs:449:39 [INFO] [stdout] | [INFO] [stdout] 8 | fn say_hello_grpc(&mut self, ctx: RpcContext<'_>, req: (HelloRequest,), sink: UnarySink) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HelloRequest` in this scope [INFO] [stdout] --> src/lib.rs:449:61 [INFO] [stdout] | [INFO] [stdout] 8 | fn say_hello_grpc(&mut self, ctx: RpcContext<'_>, req: (HelloRequest,), sink: UnarySink) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UnarySink` in this scope [INFO] [stdout] --> src/lib.rs:449:83 [INFO] [stdout] | [INFO] [stdout] 8 | fn say_hello_grpc(&mut self, ctx: RpcContext<'_>, req: (HelloRequest,), sink: UnarySink) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HelloReply` in this scope [INFO] [stdout] --> src/lib.rs:449:93 [INFO] [stdout] | [INFO] [stdout] 3 | impl Greeter for GreeterServer { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 8 | fn say_hello_grpc(&mut self, ctx: RpcContext<'_>, req: (HelloRequest,), sink: UnarySink) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Service (line 22) stdout ---- [INFO] [stdout] error: non-item in item list [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Greeter { [INFO] [stdout] | - item list starts here [INFO] [stdout] 5 | ... [INFO] [stdout] | ^^^ non-item starts here [INFO] [stdout] 6 | } [INFO] [stdout] | - item list ends here [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `service` in this scope [INFO] [stdout] --> src/lib.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[service] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RpcMethod (line 198) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `grpcio` [INFO] [stdout] --> src/lib.rs:199:37 [INFO] [stdout] | [INFO] [stdout] 3 | pub const METHOD_GREETER_SAY_HELLO: grpcio::Method = grpcio::Method { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `grpcio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `grpcio` [INFO] [stdout] --> src/lib.rs:199:80 [INFO] [stdout] | [INFO] [stdout] 3 | pub const METHOD_GREETER_SAY_HELLO: grpcio::Method = grpcio::Method { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `grpcio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MethodType` [INFO] [stdout] --> src/lib.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 4 | ty: MethodType::Unary, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MethodType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `grpcio` [INFO] [stdout] --> src/lib.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 7 | ser: grpcio::bi_ser, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `grpcio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `grpcio` [INFO] [stdout] --> src/lib.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 8 | de: grpcio::bi_de, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `grpcio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `grpcio` [INFO] [stdout] --> src/lib.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 11 | ser: grpcio::bi_ser, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `grpcio` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `grpcio` [INFO] [stdout] --> src/lib.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 12 | de: grpcio::bi_de, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `grpcio` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HelloRequest` in this scope [INFO] [stdout] --> src/lib.rs:199:52 [INFO] [stdout] | [INFO] [stdout] 3 | pub const METHOD_GREETER_SAY_HELLO: grpcio::Method = grpcio::Method { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HelloReply` in this scope [INFO] [stdout] --> src/lib.rs:199:66 [INFO] [stdout] | [INFO] [stdout] 3 | pub const METHOD_GREETER_SAY_HELLO: grpcio::Method = grpcio::Method { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Marshaller` in this scope [INFO] [stdout] --> src/lib.rs:202:14 [INFO] [stdout] | [INFO] [stdout] 6 | req_mar: Marshaller { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Marshaller` in this scope [INFO] [stdout] --> src/lib.rs:206:15 [INFO] [stdout] | [INFO] [stdout] 10 | resp_mar: Marshaller { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Service (line 30) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `bincode_grpc` in `{{root}}` [INFO] [stdout] --> src/lib.rs:31:71 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn create_greeter(s: S) -> ::bincode_grpc::grpcio::Service { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `bincode_grpc` in `{{root}}` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `bincode_grpc` in `{{root}}` [INFO] [stdout] --> src/lib.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 4 | let mut builder = ::bincode_grpc::grpcio::ServiceBuilder::new(); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `bincode_grpc` in `{{root}}` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Greeter` in this scope [INFO] [stdout] --> src/lib.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn create_greeter(s: S) -> ::bincode_grpc::grpcio::Service { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METHOD_GREETER_SAY_HELLO` in this scope [INFO] [stdout] --> src/lib.rs:34:42 [INFO] [stdout] | [INFO] [stdout] 6 | builder = builder.add_unary_handler(&METHOD_GREETER_SAY_HELLO, move |ctx, req, resp| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Service (line 10) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Serialize, Deserialize, Default, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Serialize, Deserialize, Default, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Service (line 16) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/lib.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Serialize, Deserialize, Default, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/lib.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Serialize, Deserialize, Default, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - RpcMethod (line 198) [INFO] [stdout] src/lib.rs - RpcMethod (line 214) [INFO] [stdout] src/lib.rs - RpcMethod (line 222) [INFO] [stdout] src/lib.rs - Service (line 10) [INFO] [stdout] src/lib.rs - Service (line 16) [INFO] [stdout] src/lib.rs - Service (line 22) [INFO] [stdout] src/lib.rs - Service (line 30) [INFO] [stdout] src/lib.rs - server (line 430) [INFO] [stdout] src/lib.rs - server (line 443) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "dc81cc384bedc06da7e6f9bf5c923b09afd233a1b0b3f0d0b44a6061204d08a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc81cc384bedc06da7e6f9bf5c923b09afd233a1b0b3f0d0b44a6061204d08a0", kill_on_drop: false }` [INFO] [stdout] dc81cc384bedc06da7e6f9bf5c923b09afd233a1b0b3f0d0b44a6061204d08a0