[INFO] crate jsonrpc-http-server-plus 7.1.0 is already in cache [INFO] extracting crate jsonrpc-http-server-plus 7.1.0 into work/ex/beta-1.37-6/sources/1.36.0/reg/jsonrpc-http-server-plus/7.1.0 [INFO] extracting crate jsonrpc-http-server-plus 7.1.0 into work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/jsonrpc-http-server-plus/7.1.0 [INFO] validating manifest of jsonrpc-http-server-plus-7.1.0 on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of jsonrpc-http-server-plus-7.1.0 on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing jsonrpc-http-server-plus-7.1.0 [INFO] finished frobbing jsonrpc-http-server-plus-7.1.0 [INFO] frobbed toml for jsonrpc-http-server-plus-7.1.0 written to work/ex/beta-1.37-6/sources/1.36.0/reg/jsonrpc-http-server-plus/7.1.0/Cargo.toml [INFO] started frobbing jsonrpc-http-server-plus-7.1.0 [INFO] finished frobbing jsonrpc-http-server-plus-7.1.0 [INFO] frobbed toml for jsonrpc-http-server-plus-7.1.0 written to work/ex/beta-1.37-6/sources/beta-2019-07-23/reg/jsonrpc-http-server-plus/7.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing jsonrpc-http-server-plus-7.1.0 against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-1/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/jsonrpc-http-server-plus/7.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "build" "--frozen"` [INFO] [stdout] b0e776ce55a26b0a5368408c661e91639e212e557704e612b7621496582bf2e3 [INFO] running `"docker" "start" "-a" "b0e776ce55a26b0a5368408c661e91639e212e557704e612b7621496582bf2e3"` [INFO] [stderr] Compiling globset v0.1.4 [INFO] [stderr] Compiling jsonrpc-core v7.1.1 [INFO] [stderr] Compiling hyper v0.11.27 [INFO] [stderr] Compiling jsonrpc-server-utils v7.1.1 [INFO] [stderr] Compiling jsonrpc-http-server-plus v7.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'jsonrpc::futures::BoxFuture': removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stderr] --> src/lib.rs:42:50 [INFO] [stderr] | [INFO] [stderr] 42 | use jsonrpc::futures::{self, Future, IntoFuture, BoxFuture, Stream}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'jsonrpc::futures::BoxFuture': removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stderr] --> src/lib.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | handler: BoxFuture, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'jsonrpc::futures::BoxFuture': removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stderr] --> src/handler.rs:11:45 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonrpc::futures::{Future, Poll, Async, BoxFuture, Stream}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'jsonrpc::futures::BoxFuture': removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stderr] --> src/handler.rs:88:13 [INFO] [stderr] | [INFO] [stderr] 88 | Middleware(BoxFuture), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'jsonrpc::futures::BoxFuture': removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stderr] --> src/handler.rs:133:10 [INFO] [stderr] | [INFO] [stderr] 133 | Waiting(BoxFuture, ()>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: ambiguous associated item [INFO] [stderr] --> src/handler.rs:95:41 [INFO] [stderr] | [INFO] [stderr] 95 | fn poll(&mut self) -> Poll { [INFO] [stderr] | ^^^^^^^^^^^ help: use fully-qualified syntax: ` as Trait>::Error` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(ambiguous_associated_items)] on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #57644 [INFO] [stderr] note: `Error` could refer to variant defined here [INFO] [stderr] --> src/handler.rs:87:2 [INFO] [stderr] | [INFO] [stderr] 87 | Error(Option), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: `Error` could also refer to associated type defined here [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/future/mod.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 184| type Error; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'jsonrpc::futures::Future::boxed': removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stderr] --> src/lib.rs:135:36 [INFO] [stderr] | [INFO] [stderr] 135 | handler: handler.into_future().boxed(), [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'hyper::server::server_proto::>::bind_connection': All usage of the tokio-proto crate is going away. [INFO] [stderr] --> src/lib.rs:430:11 [INFO] [stderr] | [INFO] [stderr] 430 | http.bind_connection(&handle, socket, addr, ServerHandler::new( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: ambiguous associated item [INFO] [stderr] --> src/handler.rs:95:41 [INFO] [stderr] | [INFO] [stderr] 95 | fn poll(&mut self) -> Poll { [INFO] [stderr] | ^^^^^^^^^^^ help: use fully-qualified syntax: ` as Trait>::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #57644 [INFO] [stderr] note: `Error` could refer to variant defined here [INFO] [stderr] --> src/handler.rs:87:2 [INFO] [stderr] | [INFO] [stderr] 87 | Error(Option), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: `Error` could also refer to associated type defined here [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/future/mod.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 184| type Error; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.45s [INFO] running `"docker" "inspect" "b0e776ce55a26b0a5368408c661e91639e212e557704e612b7621496582bf2e3"` [INFO] running `"docker" "rm" "-f" "b0e776ce55a26b0a5368408c661e91639e212e557704e612b7621496582bf2e3"` [INFO] [stdout] b0e776ce55a26b0a5368408c661e91639e212e557704e612b7621496582bf2e3 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-1/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/jsonrpc-http-server-plus/7.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "test" "--frozen" "--no-run"` [INFO] [stdout] d9683d952ace5554bbef8d9485e24395b1d860517d676775f6929ac5feff0277 [INFO] running `"docker" "start" "-a" "d9683d952ace5554bbef8d9485e24395b1d860517d676775f6929ac5feff0277"` [INFO] [stderr] Compiling jsonrpc-http-server-plus v7.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'jsonrpc::futures::BoxFuture': removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stderr] --> src/lib.rs:42:50 [INFO] [stderr] | [INFO] [stderr] 42 | use jsonrpc::futures::{self, Future, IntoFuture, BoxFuture, Stream}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'jsonrpc::futures::BoxFuture': removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stderr] --> src/lib.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | handler: BoxFuture, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'jsonrpc::futures::BoxFuture': removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stderr] --> src/handler.rs:11:45 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonrpc::futures::{Future, Poll, Async, BoxFuture, Stream}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'jsonrpc::futures::BoxFuture': removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stderr] --> src/handler.rs:88:13 [INFO] [stderr] | [INFO] [stderr] 88 | Middleware(BoxFuture), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'jsonrpc::futures::BoxFuture': removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stderr] --> src/handler.rs:133:10 [INFO] [stderr] | [INFO] [stderr] 133 | Waiting(BoxFuture, ()>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: ambiguous associated item [INFO] [stderr] --> src/handler.rs:95:41 [INFO] [stderr] | [INFO] [stderr] 95 | fn poll(&mut self) -> Poll { [INFO] [stderr] | ^^^^^^^^^^^ help: use fully-qualified syntax: ` as Trait>::Error` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(ambiguous_associated_items)] on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #57644 [INFO] [stderr] note: `Error` could refer to variant defined here [INFO] [stderr] --> src/handler.rs:87:2 [INFO] [stderr] | [INFO] [stderr] 87 | Error(Option), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: `Error` could also refer to associated type defined here [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/future/mod.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 184| type Error; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'jsonrpc::futures::Future::boxed': removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stderr] --> src/lib.rs:135:36 [INFO] [stderr] | [INFO] [stderr] 135 | handler: handler.into_future().boxed(), [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'hyper::server::server_proto::>::bind_connection': All usage of the tokio-proto crate is going away. [INFO] [stderr] --> src/lib.rs:430:11 [INFO] [stderr] | [INFO] [stderr] 430 | http.bind_connection(&handle, socket, addr, ServerHandler::new( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'jsonrpc::futures::Future::boxed': removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stderr] --> src/tests.rs:24:52 [INFO] [stderr] | [INFO] [stderr] 24 | futures::finished(Value::String("world".into())).boxed() [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'jsonrpc::futures::Future::boxed': removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stderr] --> src/tests.rs:32:43 [INFO] [stderr] | [INFO] [stderr] 32 | p.map_err(|_| Error::invalid_request()).boxed() [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: ambiguous associated item [INFO] [stderr] --> src/handler.rs:95:41 [INFO] [stderr] | [INFO] [stderr] 95 | fn poll(&mut self) -> Poll { [INFO] [stderr] | ^^^^^^^^^^^ help: use fully-qualified syntax: ` as Trait>::Error` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #57644 [INFO] [stderr] note: `Error` could refer to variant defined here [INFO] [stderr] --> src/handler.rs:87:2 [INFO] [stderr] | [INFO] [stderr] 87 | Error(Option), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: `Error` could also refer to associated type defined here [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/future/mod.rs:184:5 [INFO] [stderr] | [INFO] [stderr] 184| type Error; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.03s [INFO] running `"docker" "inspect" "d9683d952ace5554bbef8d9485e24395b1d860517d676775f6929ac5feff0277"` [INFO] running `"docker" "rm" "-f" "d9683d952ace5554bbef8d9485e24395b1d860517d676775f6929ac5feff0277"` [INFO] [stdout] d9683d952ace5554bbef8d9485e24395b1d860517d676775f6929ac5feff0277 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-1/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/reg/jsonrpc-http-server-plus/7.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "test" "--frozen"` [INFO] [stdout] 3d0d2275b1d1521cc8fd4ee09e958d0a2530c23141c7e2f7502f231d81b5687a [INFO] running `"docker" "start" "-a" "3d0d2275b1d1521cc8fd4ee09e958d0a2530c23141c7e2f7502f231d81b5687a"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running /opt/crater/target/debug/deps/jsonrpc_http_server-3784a608f945db29 [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test tests::should_handle_async_requests_correctly ... ok [INFO] [stdout] test tests::should_always_allow_the_bind_address ... ok [INFO] [stdout] test tests::should_handle_async_requests_with_immediate_response_correctly ... ok [INFO] [stdout] test tests::should_always_allow_the_bind_address_as_localhost ... ok [INFO] [stdout] test tests::should_handle_sync_requests_correctly ... ok [INFO] [stdout] test tests::should_add_cors_header_for_null_origin ... ok [INFO] [stdout] test tests::should_handle_sync_batch_requests_correctly ... ok [INFO] [stdout] test tests::should_add_cors_headers ... ok [INFO] [stdout] test tests::should_not_process_the_request_in_case_of_invalid_cors ... ok [INFO] [stdout] test tests::should_not_add_cors_headers ... ok [INFO] [stdout] test tests::should_allow_if_host_is_valid ... ok [INFO] [stdout] test tests::should_return_empty_response_for_notification ... ok [INFO] [stdout] test tests::should_reject_invalid_hosts ... ok [INFO] [stdout] test tests::should_return_error_for_malformed_request2 ... ok [INFO] [stdout] test tests::should_return_error_for_malformed_request ... ok [INFO] [stdout] test tests::should_reject_missing_host ... ok [INFO] [stdout] test tests::should_return_method_not_allowed_for_get ... ok [INFO] [stdout] test tests::should_return_method_not_found ... ok [INFO] [stdout] test tests::should_return_unsupported_media_type_if_not_json ... ok [INFO] [stdout] test tests::should_return_proper_headers_on_options ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests jsonrpc_http_server [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 3) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "3d0d2275b1d1521cc8fd4ee09e958d0a2530c23141c7e2f7502f231d81b5687a"` [INFO] running `"docker" "rm" "-f" "3d0d2275b1d1521cc8fd4ee09e958d0a2530c23141c7e2f7502f231d81b5687a"` [INFO] [stdout] 3d0d2275b1d1521cc8fd4ee09e958d0a2530c23141c7e2f7502f231d81b5687a