[INFO] fetching crate essrpc 0.3.0... [INFO] checking essrpc-0.3.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate essrpc 0.3.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate essrpc 0.3.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate essrpc 0.3.0 [INFO] finished tweaking crates.io crate essrpc 0.3.0 [INFO] tweaked toml for crates.io crate essrpc 0.3.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid v0.7.4 [INFO] [stderr] Downloaded essrpc_macros v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bb58c25b71a256702f74dff3a5ccc769e4a19e3be8a7f5984337277fff25b72 [INFO] running `Command { std: "docker" "start" "-a" "2bb58c25b71a256702f74dff3a5ccc769e4a19e3be8a7f5984337277fff25b72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bb58c25b71a256702f74dff3a5ccc769e4a19e3be8a7f5984337277fff25b72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bb58c25b71a256702f74dff3a5ccc769e4a19e3be8a7f5984337277fff25b72", kill_on_drop: false }` [INFO] [stdout] 2bb58c25b71a256702f74dff3a5ccc769e4a19e3be8a7f5984337277fff25b72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b808b5f34021ff776c146f0de8b279183da1c4429a294c41f52924ed0e524c5c [INFO] running `Command { std: "docker" "start" "-a" "b808b5f34021ff776c146f0de8b279183da1c4429a294c41f52924ed0e524c5c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling essrpc_macros v0.3.0 [INFO] [stderr] Checking essrpc v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/lib.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/lib.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/lib.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `essrpc::transports::BincodeAsyncClientTransport`, `essrpc::transports::BincodeTransport`, `essrpc::transports::JSONAsyncClientTransport`, `essrpc::transports::JSONTransport` [INFO] [stdout] --> tests/async.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | BincodeAsyncClientTransport, BincodeTransport, JSONAsyncClientTransport, JSONTransport, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `JSONTransport` in `transports` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `JSONAsyncClientTransport` in `transports` [INFO] [stdout] | | no `BincodeTransport` in `transports` [INFO] [stdout] | no `BincodeAsyncClientTransport` in `transports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `futures` [INFO] [stdout] --> tests/async.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::{executor::block_on}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `futures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `essrpc::AsyncRPCClient` [INFO] [stdout] --> tests/async.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use essrpc::{AsyncRPCClient, RPCError, RPCServer}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `AsyncRPCClient` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `futures` [INFO] [stdout] --> tests/async.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[essrpc(async, sync)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no external crate `futures` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `essrpc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `essrpc::transports::BincodeTransport`, `essrpc::transports::JSONTransport` [INFO] [stdout] --> tests/basic.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use essrpc::transports::{BincodeTransport, JSONTransport}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `JSONTransport` in `transports` [INFO] [stdout] | | [INFO] [stdout] | no `BincodeTransport` in `transports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncClientTransport` in crate `essrpc` [INFO] [stdout] --> tests/async.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[essrpc(async, sync)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `ClientTransport` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | pub trait ClientTransport { [INFO] [stdout] | ------------------------- similarly named trait `ClientTransport` defined here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `essrpc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsyncRPCClient` in crate `essrpc` [INFO] [stdout] --> tests/async.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[essrpc(async, sync)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in `essrpc` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `essrpc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BoxFuture` in crate `essrpc` [INFO] [stdout] --> tests/async.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | #[essrpc(async, sync)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `Future` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `essrpc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/async.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | match block_on(foo.bar("the answer".to_string(), 42)) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `block_on` in this scope [INFO] [stdout] --> tests/async.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | match block_on(foo.bar("the answer".to_string(), 42)) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `essrpc` due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b808b5f34021ff776c146f0de8b279183da1c4429a294c41f52924ed0e524c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b808b5f34021ff776c146f0de8b279183da1c4429a294c41f52924ed0e524c5c", kill_on_drop: false }` [INFO] [stdout] b808b5f34021ff776c146f0de8b279183da1c4429a294c41f52924ed0e524c5c