[INFO] fetching crate json-rpc2 0.11.1...
[INFO] testing json-rpc2-0.11.1 against beta-2022-07-10 for beta-1.63-1
[INFO] extracting crate json-rpc2 0.11.1 into /workspace/builds/worker-5/source
[INFO] validating manifest of crates.io crate json-rpc2 0.11.1 on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-5/source/rust-toolchain
[INFO] started tweaking crates.io crate json-rpc2 0.11.1
[INFO] finished tweaking crates.io crate json-rpc2 0.11.1
[INFO] tweaked toml for crates.io crate json-rpc2 0.11.1 written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate crates.io crate json-rpc2 0.11.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f17d14c7ef8554c3387226195fe9b24b1c7a7d0a7fef894ac3455c99951ad7dc
[INFO] running `Command { std: "docker" "start" "-a" "f17d14c7ef8554c3387226195fe9b24b1c7a7d0a7fef894ac3455c99951ad7dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f17d14c7ef8554c3387226195fe9b24b1c7a7d0a7fef894ac3455c99951ad7dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f17d14c7ef8554c3387226195fe9b24b1c7a7d0a7fef894ac3455c99951ad7dc", kill_on_drop: false }`
[INFO] [stdout] f17d14c7ef8554c3387226195fe9b24b1c7a7d0a7fef894ac3455c99951ad7dc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a98d8f33ca3ffb88721a2949b880b7a0e46f093167aded22ecc10825220fcc6d
[INFO] running `Command { std: "docker" "start" "-a" "a98d8f33ca3ffb88721a2949b880b7a0e46f093167aded22ecc10825220fcc6d", 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] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.88
[INFO] [stderr]    Compiling libc v0.2.120
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling getrandom v0.2.5
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling json-rpc2 v0.11.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 14.26s
[INFO] running `Command { std: "docker" "inspect" "a98d8f33ca3ffb88721a2949b880b7a0e46f093167aded22ecc10825220fcc6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a98d8f33ca3ffb88721a2949b880b7a0e46f093167aded22ecc10825220fcc6d", kill_on_drop: false }`
[INFO] [stdout] a98d8f33ca3ffb88721a2949b880b7a0e46f093167aded22ecc10825220fcc6d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2a553e9146616f5bb7f08c20dca0a9bf79b5ccd130fcbc07894d5693ff755622
[INFO] running `Command { std: "docker" "start" "-a" "2a553e9146616f5bb7f08c20dca0a9bf79b5ccd130fcbc07894d5693ff755622", kill_on_drop: false }`
[INFO] [stderr]    Compiling parking_lot_core v0.9.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling lock_api v0.4.6
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling mio v0.8.1
[INFO] [stderr]    Compiling parking_lot v0.12.0
[INFO] [stderr]    Compiling tokio v1.17.0
[INFO] [stderr]    Compiling json-rpc2 v0.11.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0706]: functions in traits cannot be declared `async`
[INFO] [stdout]   --> examples/async.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |       async fn handle(
[INFO] [stdout]    |       ^----
[INFO] [stdout]    |       |
[INFO] [stdout]    |  _____`async` because of this
[INFO] [stdout]    | |
[INFO] [stdout] 11 | |         &self,
[INFO] [stdout] 12 | |         request: &Request,
[INFO] [stdout] 13 | |         _ctx: &Self::Data,
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |         Ok(response)
[INFO] [stdout] 24 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `async` trait functions are not currently supported
[INFO] [stdout]    = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `json_rpc2::futures`
[INFO] [stdout]  --> examples/async.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use json_rpc2::{futures::*, Request, Response, Result};
[INFO] [stdout]   |                 ^^^^^^^ could not find `futures` in `json_rpc2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `async_trait`
[INFO] [stdout]  --> examples/async.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of undeclared crate or module `async_trait`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `async_trait`
[INFO] [stdout]  --> examples/async.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[async_trait]
[INFO] [stdout]   |   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0706]: functions in traits cannot be declared `async`
[INFO] [stdout]   --> src/futures.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |       async fn handle(
[INFO] [stdout]    |       ^----
[INFO] [stdout]    |       |
[INFO] [stdout]    |  _____`async` because of this
[INFO] [stdout]    | |
[INFO] [stdout] 16 | |         &self,
[INFO] [stdout] 17 | |         request: &Request,
[INFO] [stdout] 18 | |         ctx: &Self::Data,
[INFO] [stdout] 19 | |     ) -> Result<Option<Response>>;
[INFO] [stdout]    | |__________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `async` trait functions are not currently supported
[INFO] [stdout]    = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `async_trait`
[INFO] [stdout]  --> src/futures.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use async_trait::async_trait;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of undeclared crate or module `async_trait`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the attribute macro `async_trait`
[INFO] [stdout]  --> src/futures.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[async_trait]
[INFO] [stdout]   |   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Service` in this scope
[INFO] [stdout]  --> examples/async.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 8 | impl Service for ServiceHandler {
[INFO] [stdout]   |      ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 1 | use json_rpc2::Service;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Service` in this scope
[INFO] [stdout]   --> examples/async.rs:29:26
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let service: Box<dyn Service<Data = ()>> = Box::new(ServiceHandler {});
[INFO] [stdout]    |                          ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 1  | use json_rpc2::Service;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Server`
[INFO] [stdout]   --> examples/async.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let server = Server::new(vec![&service]);
[INFO] [stdout]    |                  ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  | use json_rpc2::Server;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0433, E0706.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `json-rpc2` due to 8 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: `std::result::Result<std::option::Option<Response>, Error>` is not a future
[INFO] [stdout]   --> src/futures.rs:49:63
[INFO] [stdout]    |
[INFO] [stdout] 49 |             if let Some(result) = service.handle(request, ctx).await? {
[INFO] [stdout]    |                                                               ^^^^^^ `std::result::Result<std::option::Option<Response>, Error>` is not a future
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Future` is not implemented for `std::result::Result<std::option::Option<Response>, Error>`
[INFO] [stdout]    = note: std::result::Result<std::option::Option<Response>, Error> must be a future or must implement `IntoFuture` to be awaited
[INFO] [stdout]    = note: required because of the requirements on the impl of `IntoFuture` for `std::result::Result<std::option::Option<Response>, Error>`
[INFO] [stdout] help: remove the `.await`
[INFO] [stdout]    |
[INFO] [stdout] 49 -             if let Some(result) = service.handle(request, ctx).await? {
[INFO] [stdout] 49 +             if let Some(result) = service.handle(request, ctx)? {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0706.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `json-rpc2` due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "2a553e9146616f5bb7f08c20dca0a9bf79b5ccd130fcbc07894d5693ff755622", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a553e9146616f5bb7f08c20dca0a9bf79b5ccd130fcbc07894d5693ff755622", kill_on_drop: false }`
[INFO] [stdout] 2a553e9146616f5bb7f08c20dca0a9bf79b5ccd130fcbc07894d5693ff755622
