[INFO] fetching crate json_rpc 0.2.0...
[INFO] testing json_rpc-0.2.0 against beta-2020-10-09 for beta-1.48-1
[INFO] extracting crate json_rpc 0.2.0 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate json_rpc 0.2.0 on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate json_rpc 0.2.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate json_rpc 0.2.0
[INFO] tweaked toml for crates.io crate json_rpc 0.2.0 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "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 asynchronous v0.4.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c7fb1cdf767f9aeb77630e310386246420cd461cc55edb97490b7eaddfc1b513
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "c7fb1cdf767f9aeb77630e310386246420cd461cc55edb97490b7eaddfc1b513", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c7fb1cdf767f9aeb77630e310386246420cd461cc55edb97490b7eaddfc1b513", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7fb1cdf767f9aeb77630e310386246420cd461cc55edb97490b7eaddfc1b513", kill_on_drop: false }`
[INFO] [stdout] c7fb1cdf767f9aeb77630e310386246420cd461cc55edb97490b7eaddfc1b513
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eab4f9b1a59eabaa60658418b111d58f9f0fe7459d3cef6be5687c19e3447966
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "eab4f9b1a59eabaa60658418b111d58f9f0fe7459d3cef6be5687c19e3447966", kill_on_drop: false }`
[INFO] [stderr]    Compiling asynchronous v0.4.5
[INFO] [stderr]    Compiling json_rpc v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: extern crate `rustc_serialize` is private, and cannot be re-exported (error E0365), consider declaring with `pub`
[INFO] [stdout]   --> src/lib.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub use rustc_serialize as serialize;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(pub_use_of_private_extern_crate)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #34537 <https://github.com/rust-lang/rust/issues/34537>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lib.rs:100:24
[INFO] [stdout]     |
[INFO] [stdout] 100 |                 -32099 ... -32000 => "Server error".to_string(),
[INFO] [stdout]     |                        ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:120:39
[INFO] [stdout]     |
[INFO] [stdout] 120 |     methods: BTreeMap<String, Arc<Box<Fn(Json) -> Result<Json,Error> + 'static + Send + Sync >>>
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Json) -> Result<Json,Error> + 'static + Send + Sync`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.72s
[INFO] running `Command { std: "docker" "inspect" "eab4f9b1a59eabaa60658418b111d58f9f0fe7459d3cef6be5687c19e3447966", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eab4f9b1a59eabaa60658418b111d58f9f0fe7459d3cef6be5687c19e3447966", kill_on_drop: false }`
[INFO] [stdout] eab4f9b1a59eabaa60658418b111d58f9f0fe7459d3cef6be5687c19e3447966
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "test" "--frozen" "--no-run" "--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] 8a0abb6c6ee3333dbfad0cfe7384dae932fd32130bce798bc4a04784df9cd6e6
[INFO] running `Command { std: "docker" "start" "-a" "8a0abb6c6ee3333dbfad0cfe7384dae932fd32130bce798bc4a04784df9cd6e6", kill_on_drop: false }`
[INFO] [stderr]    Compiling futures-util v0.3.6
[INFO] [stdout] warning: extern crate `rustc_serialize` is private, and cannot be re-exported (error E0365), consider declaring with `pub`
[INFO] [stdout]   --> src/lib.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub use rustc_serialize as serialize;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(pub_use_of_private_extern_crate)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #34537 <https://github.com/rust-lang/rust/issues/34537>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lib.rs:100:24
[INFO] [stdout]     |
[INFO] [stdout] 100 |                 -32099 ... -32000 => "Server error".to_string(),
[INFO] [stdout]     |                        ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:120:39
[INFO] [stdout]     |
[INFO] [stdout] 120 |     methods: BTreeMap<String, Arc<Box<Fn(Json) -> Result<Json,Error> + 'static + Send + Sync >>>
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Json) -> Result<Json,Error> + 'static + Send + Sync`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling h2 v0.2.6
[INFO] [stderr]    Compiling hyper v0.13.8
[INFO] [stderr]    Compiling json_rpc v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]   --> examples/basic.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |         thread::sleep_ms(1000);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]    --> examples/basic.rs:106:5
[INFO] [stdout]     |
[INFO] [stdout] 106 |     thread::sleep_ms(2000);    
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> examples/basic.rs:111:16
[INFO] [stdout]     |
[INFO] [stdout] 111 |       rpc_server.request(str_request.clone(), move |str_response| {
[INFO] [stdout]     |  ________________^^^^^^^_-------------------__-
[INFO] [stdout]     | |                |
[INFO] [stdout]     | |                expected 1 argument
[INFO] [stdout] 112 | |         println!("Executed: \n   request  = {},\n   response = {}", str_request, str_response);
[INFO] [stdout] 113 | |     });
[INFO] [stdout]     | |_____- supplied 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `hyper::server::Request`, `hyper::server::Response`
[INFO] [stdout]   --> examples/http_server.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 12 | use hyper::server::{Request,Response};
[INFO] [stdout]    |                     ^^^^^^^ ^^^^^^^^ no `Response` in `server`
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     no `Request` in `server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `json_rpc`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: could not find `status` in `hyper`
[INFO] [stdout]   --> examples/http_server.rs:34:45
[INFO] [stdout]    |
[INFO] [stdout] 34 |             _ => *res.status_mut() = hyper::status::StatusCode::MethodNotAllowed
[INFO] [stdout]    |                                             ^^^^^^ could not find `status` in `hyper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `Post` in crate `hyper`
[INFO] [stdout]   --> examples/http_server.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 |             hyper::Post => {
[INFO] [stdout]    |                    ^^^^ not found in `hyper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `http` found for struct `hyper::Server<_, _, _>` in the current scope
[INFO] [stdout]   --> examples/http_server.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |     ServerHttp::http(move |mut req:Request, mut res:Response| {
[INFO] [stdout]    |                 ^^^^ function or associated item not found in `hyper::Server<_, _, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> examples/http_server.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> examples/http_server.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0531, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] warning: extern crate `rustc_serialize` is private, and cannot be re-exported (error E0365), consider declaring with `pub`
[INFO] [stdout]   --> src/lib.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub use rustc_serialize as serialize;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(pub_use_of_private_extern_crate)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #34537 <https://github.com/rust-lang/rust/issues/34537>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/lib.rs:100:24
[INFO] [stdout]     |
[INFO] [stdout] 100 |                 -32099 ... -32000 => "Server error".to_string(),
[INFO] [stdout]     |                        ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:120:39
[INFO] [stdout]     |
[INFO] [stdout] 120 |     methods: BTreeMap<String, Arc<Box<Fn(Json) -> Result<Json,Error> + 'static + Send + Sync >>>
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Json) -> Result<Json,Error> + 'static + Send + Sync`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]    --> src/lib.rs:389:9
[INFO] [stdout]     |
[INFO] [stdout] 389 |         thread::sleep_ms(300);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]    --> src/lib.rs:412:9
[INFO] [stdout]     |
[INFO] [stdout] 412 |         thread::sleep_ms(300);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]    --> src/lib.rs:438:9
[INFO] [stdout]     |
[INFO] [stdout] 438 |         thread::sleep_ms(300);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]    --> src/lib.rs:470:9
[INFO] [stdout]     |
[INFO] [stdout] 470 |         thread::sleep_ms(300);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]    --> src/lib.rs:510:9
[INFO] [stdout]     |
[INFO] [stdout] 510 |         thread::sleep_ms(300);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]    --> src/lib.rs:540:9
[INFO] [stdout]     |
[INFO] [stdout] 540 |         thread::sleep_ms(300);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]    --> src/lib.rs:564:9
[INFO] [stdout]     |
[INFO] [stdout] 564 |         thread::sleep_ms(300);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "8a0abb6c6ee3333dbfad0cfe7384dae932fd32130bce798bc4a04784df9cd6e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8a0abb6c6ee3333dbfad0cfe7384dae932fd32130bce798bc4a04784df9cd6e6", kill_on_drop: false }`
[INFO] [stdout] 8a0abb6c6ee3333dbfad0cfe7384dae932fd32130bce798bc4a04784df9cd6e6
