[INFO] fetching crate fastrace-tonic 0.1.0... [INFO] testing fastrace-tonic-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate fastrace-tonic 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate fastrace-tonic 0.1.0 [INFO] finished tweaking crates.io crate fastrace-tonic 0.1.0 [INFO] tweaked toml for crates.io crate fastrace-tonic 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fastrace-tonic 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 63 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fastrace v0.7.14 [INFO] [stderr] Downloaded small_ctor v0.1.2 [INFO] [stderr] Downloaded fastant v0.1.10 [INFO] [stderr] Downloaded rtrb v0.3.2 [INFO] [stderr] Downloaded fastrace-macro v0.7.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9feead6b2978c8e3867ad2de7ecb5d4d5458b1f0cc15b4185cef20ef61b2c75 [INFO] running `Command { std: "docker" "start" "-a" "a9feead6b2978c8e3867ad2de7ecb5d4d5458b1f0cc15b4185cef20ef61b2c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9feead6b2978c8e3867ad2de7ecb5d4d5458b1f0cc15b4185cef20ef61b2c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9feead6b2978c8e3867ad2de7ecb5d4d5458b1f0cc15b4185cef20ef61b2c75", kill_on_drop: false }` [INFO] [stdout] a9feead6b2978c8e3867ad2de7ecb5d4d5458b1f0cc15b4185cef20ef61b2c75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4482915c14142d70061bab3d36bd9a992997f1bc5d0a99020ce6f06eecc35a7 [INFO] running `Command { std: "docker" "start" "-a" "a4482915c14142d70061bab3d36bd9a992997f1bc5d0a99020ce6f06eecc35a7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling small_ctor v0.1.2 [INFO] [stderr] Compiling rtrb v0.3.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling fastant v0.1.10 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling fastrace-macro v0.7.14 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling fastrace v0.7.14 [INFO] [stderr] Compiling fastrace-tonic v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.96s [INFO] running `Command { std: "docker" "inspect" "a4482915c14142d70061bab3d36bd9a992997f1bc5d0a99020ce6f06eecc35a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4482915c14142d70061bab3d36bd9a992997f1bc5d0a99020ce6f06eecc35a7", kill_on_drop: false }` [INFO] [stdout] a4482915c14142d70061bab3d36bd9a992997f1bc5d0a99020ce6f06eecc35a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ca8c0eb9daf01045800b50953510fe766fc53c6b0ff62b5179753efb1ed7d47 [INFO] running `Command { std: "docker" "start" "-a" "2ca8c0eb9daf01045800b50953510fe766fc53c6b0ff62b5179753efb1ed7d47", kill_on_drop: false }` [INFO] [stderr] Compiling fastrace-tonic v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "2ca8c0eb9daf01045800b50953510fe766fc53c6b0ff62b5179753efb1ed7d47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ca8c0eb9daf01045800b50953510fe766fc53c6b0ff62b5179753efb1ed7d47", kill_on_drop: false }` [INFO] [stdout] 2ca8c0eb9daf01045800b50953510fe766fc53c6b0ff62b5179753efb1ed7d47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 23b20a7e1b07e429fc268d8ecb48bc3bc9e4ecfa08e37a8871ac26d346b47f21 [INFO] running `Command { std: "docker" "start" "-a" "23b20a7e1b07e429fc268d8ecb48bc3bc9e4ecfa08e37a8871ac26d346b47f21", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fastrace_tonic-242a9e4170c47b6a) [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 fastrace_tonic [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 104) ... FAILED [INFO] [stdout] test src/lib.rs - (line 99) ... FAILED [INFO] [stdout] test src/lib.rs - (line 94) ... FAILED [INFO] [stdout] test src/lib.rs - (line 37) ... FAILED [INFO] [stdout] test src/lib.rs - (line 63) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 104) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `run` [INFO] [stdout] --> src/lib.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 1 | cargo run --bin client [INFO] [stdout] | ^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 99) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `run` [INFO] [stdout] --> src/lib.rs:100:7 [INFO] [stdout] | [INFO] [stdout] 1 | cargo run --bin server [INFO] [stdout] | ^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 94) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `example` [INFO] [stdout] --> src/lib.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 1 | cd example [INFO] [stdout] | ^^^^^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 37) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tonic` [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tonic::transport::Server; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tonic` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tonic`, use `cargo add tonic` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/lib.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ConsoleReporter` in this scope [INFO] [stdout] --> src/lib.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 10 | fastrace::set_reporter(ConsoleReporter, Config::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit struct [INFO] [stdout] | [INFO] [stdout] 4 + use fastrace::collector::ConsoleReporter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/lib.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 10 | fastrace::set_reporter(ConsoleReporter, Config::default()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use fastrace::collector::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `YourServiceServer` [INFO] [stdout] --> src/lib.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 15 | .add_service(YourServiceServer::new(YourService::default())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `YourServiceServer` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `YourService` [INFO] [stdout] --> src/lib.rs:50:45 [INFO] [stdout] | [INFO] [stdout] 15 | .add_service(YourServiceServer::new(YourService::default())) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `YourService` [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 8 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0752. [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 63) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tower` [INFO] [stdout] --> src/lib.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tower::ServiceBuilder; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tower` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tower`, use `cargo add tower` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tonic` [INFO] [stdout] --> src/lib.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 10 | let channel = tonic::transport::Channel::from_static("http://[::1]:50051") [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tonic` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tonic`, use `cargo add tonic` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Request` [INFO] [stdout] --> src/lib.rs:82:39 [INFO] [stdout] | [INFO] [stdout] 22 | let response = client.your_method(Request::new(YourRequest {})).await?; [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] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `YourRequest` in this scope [INFO] [stdout] --> src/lib.rs:82:52 [INFO] [stdout] | [INFO] [stdout] 22 | let response = client.your_method(Request::new(YourRequest {})).await?; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `YourServiceClient` [INFO] [stdout] --> src/lib.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 19 | let mut client = YourServiceClient::new(channel); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `YourServiceClient` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0432, E0433. [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 - (line 104) [INFO] [stdout] src/lib.rs - (line 37) [INFO] [stdout] src/lib.rs - (line 63) [INFO] [stdout] src/lib.rs - (line 94) [INFO] [stdout] src/lib.rs - (line 99) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "23b20a7e1b07e429fc268d8ecb48bc3bc9e4ecfa08e37a8871ac26d346b47f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23b20a7e1b07e429fc268d8ecb48bc3bc9e4ecfa08e37a8871ac26d346b47f21", kill_on_drop: false }` [INFO] [stdout] 23b20a7e1b07e429fc268d8ecb48bc3bc9e4ecfa08e37a8871ac26d346b47f21