[INFO] fetching crate essrpc 0.3.0... [INFO] checking essrpc-0.3.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate essrpc 0.3.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate essrpc 0.3.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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 essrpc_macros v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e23ca1ad13378be5c92803617fbfe027eee0c566f2eb7c7fdf68b4926414b7b5 [INFO] running `Command { std: "docker" "start" "-a" "e23ca1ad13378be5c92803617fbfe027eee0c566f2eb7c7fdf68b4926414b7b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e23ca1ad13378be5c92803617fbfe027eee0c566f2eb7c7fdf68b4926414b7b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e23ca1ad13378be5c92803617fbfe027eee0c566f2eb7c7fdf68b4926414b7b5", kill_on_drop: false }` [INFO] [stdout] e23ca1ad13378be5c92803617fbfe027eee0c566f2eb7c7fdf68b4926414b7b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 45e5af43cf94e1d19044806068d9c40a0c3e5f216afeb1b33f1f2fba25571fb6 [INFO] running `Command { std: "docker" "start" "-a" "45e5af43cf94e1d19044806068d9c40a0c3e5f216afeb1b33f1f2fba25571fb6", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling essrpc_macros v0.3.0 [INFO] [stderr] Checking serde v1.0.124 [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::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[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 an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `essrpc` [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 an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [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 an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] For more information about this error, try `rustc --explain E0432`. [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: build failed [INFO] running `Command { std: "docker" "inspect" "45e5af43cf94e1d19044806068d9c40a0c3e5f216afeb1b33f1f2fba25571fb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45e5af43cf94e1d19044806068d9c40a0c3e5f216afeb1b33f1f2fba25571fb6", kill_on_drop: false }` [INFO] [stdout] 45e5af43cf94e1d19044806068d9c40a0c3e5f216afeb1b33f1f2fba25571fb6