[INFO] fetching crate fastrace-tonic 0.1.0... [INFO] testing fastrace-tonic-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate fastrace-tonic 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] removed /workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fastrace-tonic 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbda24a725801a4e1074856b5caac59e41e386d1ab979da74958032891ecd428 [INFO] running `Command { std: "docker" "start" "-a" "bbda24a725801a4e1074856b5caac59e41e386d1ab979da74958032891ecd428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbda24a725801a4e1074856b5caac59e41e386d1ab979da74958032891ecd428", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbda24a725801a4e1074856b5caac59e41e386d1ab979da74958032891ecd428", kill_on_drop: false }` [INFO] [stdout] bbda24a725801a4e1074856b5caac59e41e386d1ab979da74958032891ecd428 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c211bc3b522e6de439b69cc03e06131fc1417fc3ffee54ddf0562c116f10b9ce [INFO] running `Command { std: "docker" "start" "-a" "c211bc3b522e6de439b69cc03e06131fc1417fc3ffee54ddf0562c116f10b9ce", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [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 serde v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling small_ctor v0.1.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling fastant v0.1.10 [INFO] [stderr] Compiling rtrb v0.3.2 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [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 26.55s [INFO] running `Command { std: "docker" "inspect" "c211bc3b522e6de439b69cc03e06131fc1417fc3ffee54ddf0562c116f10b9ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c211bc3b522e6de439b69cc03e06131fc1417fc3ffee54ddf0562c116f10b9ce", kill_on_drop: false }` [INFO] [stdout] c211bc3b522e6de439b69cc03e06131fc1417fc3ffee54ddf0562c116f10b9ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eacd6e85bc2496f03cf55bb7828c2e6755f6cc41500d8f20743b393a1b0e5d62 [INFO] running `Command { std: "docker" "start" "-a" "eacd6e85bc2496f03cf55bb7828c2e6755f6cc41500d8f20743b393a1b0e5d62", 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.35s [INFO] running `Command { std: "docker" "inspect" "eacd6e85bc2496f03cf55bb7828c2e6755f6cc41500d8f20743b393a1b0e5d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eacd6e85bc2496f03cf55bb7828c2e6755f6cc41500d8f20743b393a1b0e5d62", kill_on_drop: false }` [INFO] [stdout] eacd6e85bc2496f03cf55bb7828c2e6755f6cc41500d8f20743b393a1b0e5d62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8d0d24775551924e87014e86ad5b51aeff5b1443a8bf53733ab25821f294c93d [INFO] running `Command { std: "docker" "start" "-a" "8d0d24775551924e87014e86ad5b51aeff5b1443a8bf53733ab25821f294c93d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [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.20s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8d0d24775551924e87014e86ad5b51aeff5b1443a8bf53733ab25821f294c93d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d0d24775551924e87014e86ad5b51aeff5b1443a8bf53733ab25821f294c93d", kill_on_drop: false }` [INFO] [stdout] 8d0d24775551924e87014e86ad5b51aeff5b1443a8bf53733ab25821f294c93d