[INFO] fetching crate webtonic-client 0.1.1... [INFO] testing webtonic-client-0.1.1 against 1.55.0 for beta-1.56-2 [INFO] extracting crate webtonic-client 0.1.1 into /workspace/builds/worker-48/source [INFO] validating manifest of crates.io crate webtonic-client 0.1.1 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate webtonic-client 0.1.1 [INFO] finished tweaking crates.io crate webtonic-client 0.1.1 [INFO] tweaked toml for crates.io crate webtonic-client 0.1.1 written to /workspace/builds/worker-48/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.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.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6db420b7d4fe0b47ae0c6c066cc59f2edf0cf8383e136d8d471353f5de8a96f [INFO] running `Command { std: "docker" "start" "-a" "d6db420b7d4fe0b47ae0c6c066cc59f2edf0cf8383e136d8d471353f5de8a96f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6db420b7d4fe0b47ae0c6c066cc59f2edf0cf8383e136d8d471353f5de8a96f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6db420b7d4fe0b47ae0c6c066cc59f2edf0cf8383e136d8d471353f5de8a96f", kill_on_drop: false }` [INFO] [stdout] d6db420b7d4fe0b47ae0c6c066cc59f2edf0cf8383e136d8d471353f5de8a96f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb33d57cd7c4380494d7116d647814add610d126636b79b37c3dd6b4004ff6e1 [INFO] running `Command { std: "docker" "start" "-a" "bb33d57cd7c4380494d7116d647814add610d126636b79b37c3dd6b4004ff6e1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.77 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling wasm-bindgen v0.2.77 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling tracing-core v0.1.20 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.77 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.77 [INFO] [stderr] Compiling tracing-attributes v0.1.16 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.77 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling js-sys v0.3.54 [INFO] [stderr] Compiling tracing v0.1.27 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tonic v0.4.3 [INFO] [stderr] Compiling webtonic-proto v0.1.1 [INFO] [stderr] Compiling web-sys v0.3.54 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.27 [INFO] [stderr] Compiling webtonic-client v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.62s [INFO] running `Command { std: "docker" "inspect" "bb33d57cd7c4380494d7116d647814add610d126636b79b37c3dd6b4004ff6e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb33d57cd7c4380494d7116d647814add610d126636b79b37c3dd6b4004ff6e1", kill_on_drop: false }` [INFO] [stdout] bb33d57cd7c4380494d7116d647814add610d126636b79b37c3dd6b4004ff6e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06b425cc936e05aaa3f5e8256f4fff5cfb24126e035efd0d9ff11e924b57b4a4 [INFO] running `Command { std: "docker" "start" "-a" "06b425cc936e05aaa3f5e8256f4fff5cfb24126e035efd0d9ff11e924b57b4a4", kill_on_drop: false }` [INFO] [stderr] Compiling webtonic-client v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.35s [INFO] running `Command { std: "docker" "inspect" "06b425cc936e05aaa3f5e8256f4fff5cfb24126e035efd0d9ff11e924b57b4a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06b425cc936e05aaa3f5e8256f4fff5cfb24126e035efd0d9ff11e924b57b4a4", kill_on_drop: false }` [INFO] [stdout] 06b425cc936e05aaa3f5e8256f4fff5cfb24126e035efd0d9ff11e924b57b4a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 06c7a5c779b4d74bba823522094aa7cb4bce8968d6f741e8c4088a58bd291ada [INFO] running `Command { std: "docker" "start" "-a" "06c7a5c779b4d74bba823522094aa7cb4bce8968d6f741e8c4088a58bd291ada", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/webtonic_client-ecb416e9239d1140) [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] Doc-tests webtonic-client [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - Client::connect (line 74) ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/lib.rs - Client (line 44) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Client::connect (line 74) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/lib.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 3 | let client = Client::connect("ws://localhost:1337").await.unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use webtonic_client::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_74_0() { [INFO] [stdout] | ----------------------------- this is not `async` [INFO] [stdout] 3 | let client = Client::connect("ws://localhost:1337").await.unwrap(); [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: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Client (line 44) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `greeter_client` [INFO] [stdout] --> src/lib.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 4 | let mut client = greeter_client::GreeterClient::new(client); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared crate or module `greeter_client` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/lib.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 3 | let client = Client::connect("ws://localhost:8080").await.unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use webtonic_client::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `HelloRequest` in this scope [INFO] [stdout] --> src/lib.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 6 | let request = tonic::Request::new(HelloRequest { [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:45:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_44_0() { [INFO] [stdout] | ----------------------------- this is not `async` [INFO] [stdout] 3 | let client = Client::connect("ws://localhost:8080").await.unwrap(); [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:52:16 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_44_0() { [INFO] [stdout] | ----------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 10 | let response = client.say_hello(request).await.unwrap().into_inner(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Client (line 44) [INFO] [stdout] src/lib.rs - Client::connect (line 74) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "06c7a5c779b4d74bba823522094aa7cb4bce8968d6f741e8c4088a58bd291ada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06c7a5c779b4d74bba823522094aa7cb4bce8968d6f741e8c4088a58bd291ada", kill_on_drop: false }` [INFO] [stdout] 06c7a5c779b4d74bba823522094aa7cb4bce8968d6f741e8c4088a58bd291ada