[INFO] fetching crate rs-jsonrpc-http-server 8.0.0... [INFO] testing rs-jsonrpc-http-server-8.0.0 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate rs-jsonrpc-http-server 8.0.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate rs-jsonrpc-http-server 8.0.0 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rs-jsonrpc-http-server 8.0.0 [INFO] finished tweaking crates.io crate rs-jsonrpc-http-server 8.0.0 [INFO] tweaked toml for crates.io crate rs-jsonrpc-http-server 8.0.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 434639b031722aea7435d8707bc8b6941860e7ecdc831411db1648b7aa48078c [INFO] running `Command { std: "docker" "start" "-a" "434639b031722aea7435d8707bc8b6941860e7ecdc831411db1648b7aa48078c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "434639b031722aea7435d8707bc8b6941860e7ecdc831411db1648b7aa48078c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "434639b031722aea7435d8707bc8b6941860e7ecdc831411db1648b7aa48078c", kill_on_drop: false }` [INFO] [stdout] 434639b031722aea7435d8707bc8b6941860e7ecdc831411db1648b7aa48078c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a342b565e39a30d10aae9a904f99c0ccd4311609968b8669cab363335d343572 [INFO] running `Command { std: "docker" "start" "-a" "a342b565e39a30d10aae9a904f99c0ccd4311609968b8669cab363335d343572", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling try-lock v0.1.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling want v0.0.4 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling globset v0.1.4 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling hyper v0.11.27 [INFO] [stderr] Compiling rs-jsonrpc-core v8.0.0 [INFO] [stderr] Compiling rs-jsonrpc-server-utils v8.0.0 [INFO] [stderr] Compiling rs-jsonrpc-http-server v8.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RequestMiddleware` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RequestMiddleware` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | Middleware(Box + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | response: Box + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | pub extractor: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MetaExtractor` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:189:22 [INFO] [stdout] | [INFO] [stdout] 189 | meta_extractor: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MetaExtractor` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:190:26 [INFO] [stdout] | [INFO] [stdout] 190 | request_middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RequestMiddleware` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:346:27 [INFO] [stdout] | [INFO] [stdout] 346 | }).collect::)>>()?; [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:369:26 [INFO] [stdout] | [INFO] [stdout] 369 | request_middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RequestMiddleware` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:449:3 [INFO] [stdout] | [INFO] [stdout] 449 | try!(tcp.reuse_port(true)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous associated item [INFO] [stdout] --> src/handler.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | fn poll(&mut self) -> Poll { [INFO] [stdout] | ^^^^^^^^^^^ help: use fully-qualified syntax: ` as Future>::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_associated_items)]` 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 #57644 [INFO] [stdout] note: `Error` could refer to the variant defined here [INFO] [stdout] --> src/handler.rs:92:2 [INFO] [stdout] | [INFO] [stdout] 92 | Error(Option), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Error` could also refer to the associated type defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/mod.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | type Error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `hyper::server::server_proto::>::bind_connection`: All usage of the tokio-proto crate is going away. [INFO] [stdout] --> src/lib.rs:423:11 [INFO] [stdout] | [INFO] [stdout] 423 | http.bind_connection(&handle, socket, addr, ServerHandler::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous associated item [INFO] [stdout] --> src/handler.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | fn poll(&mut self) -> Poll { [INFO] [stdout] | ^^^^^^^^^^^ help: use fully-qualified syntax: ` as Future>::Error` [INFO] [stdout] | [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 #57644 [INFO] [stdout] note: `Error` could refer to the variant defined here [INFO] [stdout] --> src/handler.rs:92:2 [INFO] [stdout] | [INFO] [stdout] 92 | Error(Option), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Error` could also refer to the associated type defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/mod.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | type Error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.16s [INFO] running `Command { std: "docker" "inspect" "a342b565e39a30d10aae9a904f99c0ccd4311609968b8669cab363335d343572", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a342b565e39a30d10aae9a904f99c0ccd4311609968b8669cab363335d343572", kill_on_drop: false }` [INFO] [stdout] a342b565e39a30d10aae9a904f99c0ccd4311609968b8669cab363335d343572 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65e93b16e464e044d9438a36ae91df4b83462cdc55e6638be808f8e18998909c [INFO] running `Command { std: "docker" "start" "-a" "65e93b16e464e044d9438a36ae91df4b83462cdc55e6638be808f8e18998909c", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RequestMiddleware` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RequestMiddleware` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | Middleware(Box + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | response: Box + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | pub extractor: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MetaExtractor` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:189:22 [INFO] [stdout] | [INFO] [stdout] 189 | meta_extractor: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MetaExtractor` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:190:26 [INFO] [stdout] | [INFO] [stdout] 190 | request_middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RequestMiddleware` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:346:27 [INFO] [stdout] | [INFO] [stdout] 346 | }).collect::)>>()?; [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:369:26 [INFO] [stdout] | [INFO] [stdout] 369 | request_middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RequestMiddleware` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:449:3 [INFO] [stdout] | [INFO] [stdout] 449 | try!(tcp.reuse_port(true)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous associated item [INFO] [stdout] --> src/handler.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | fn poll(&mut self) -> Poll { [INFO] [stdout] | ^^^^^^^^^^^ help: use fully-qualified syntax: ` as Future>::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_associated_items)]` 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 #57644 [INFO] [stdout] note: `Error` could refer to the variant defined here [INFO] [stdout] --> src/handler.rs:92:2 [INFO] [stdout] | [INFO] [stdout] 92 | Error(Option), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Error` could also refer to the associated type defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/mod.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | type Error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `hyper::server::server_proto::>::bind_connection`: All usage of the tokio-proto crate is going away. [INFO] [stdout] --> src/lib.rs:423:11 [INFO] [stdout] | [INFO] [stdout] 423 | http.bind_connection(&handle, socket, addr, ServerHandler::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rs-jsonrpc-http-server v8.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous associated item [INFO] [stdout] --> src/handler.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | fn poll(&mut self) -> Poll { [INFO] [stdout] | ^^^^^^^^^^^ help: use fully-qualified syntax: ` as Future>::Error` [INFO] [stdout] | [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 #57644 [INFO] [stdout] note: `Error` could refer to the variant defined here [INFO] [stdout] --> src/handler.rs:92:2 [INFO] [stdout] | [INFO] [stdout] 92 | Error(Option), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Error` could also refer to the associated type defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/mod.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | type Error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RequestMiddleware` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RequestMiddleware` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | Middleware(Box + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | response: Box + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | pub extractor: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MetaExtractor` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:189:22 [INFO] [stdout] | [INFO] [stdout] 189 | meta_extractor: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MetaExtractor` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:190:26 [INFO] [stdout] | [INFO] [stdout] 190 | request_middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RequestMiddleware` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:346:27 [INFO] [stdout] | [INFO] [stdout] 346 | }).collect::)>>()?; [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:369:26 [INFO] [stdout] | [INFO] [stdout] 369 | request_middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RequestMiddleware` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:449:3 [INFO] [stdout] | [INFO] [stdout] 449 | try!(tcp.reuse_port(true)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous associated item [INFO] [stdout] --> src/handler.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | fn poll(&mut self) -> Poll { [INFO] [stdout] | ^^^^^^^^^^^ help: use fully-qualified syntax: ` as Future>::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_associated_items)]` 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 #57644 [INFO] [stdout] note: `Error` could refer to the variant defined here [INFO] [stdout] --> src/handler.rs:92:2 [INFO] [stdout] | [INFO] [stdout] 92 | Error(Option), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Error` could also refer to the associated type defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/mod.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | type Error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `hyper::server::server_proto::>::bind_connection`: All usage of the tokio-proto crate is going away. [INFO] [stdout] --> src/lib.rs:423:11 [INFO] [stdout] | [INFO] [stdout] 423 | http.bind_connection(&handle, socket, addr, ServerHandler::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous associated item [INFO] [stdout] --> src/handler.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | fn poll(&mut self) -> Poll { [INFO] [stdout] | ^^^^^^^^^^^ help: use fully-qualified syntax: ` as Future>::Error` [INFO] [stdout] | [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 #57644 [INFO] [stdout] note: `Error` could refer to the variant defined here [INFO] [stdout] --> src/handler.rs:92:2 [INFO] [stdout] | [INFO] [stdout] 92 | Error(Option), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `Error` could also refer to the associated type defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/mod.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | type Error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.48s [INFO] running `Command { std: "docker" "inspect" "65e93b16e464e044d9438a36ae91df4b83462cdc55e6638be808f8e18998909c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65e93b16e464e044d9438a36ae91df4b83462cdc55e6638be808f8e18998909c", kill_on_drop: false }` [INFO] [stdout] 65e93b16e464e044d9438a36ae91df4b83462cdc55e6638be808f8e18998909c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 67fc44c0dceced449ab1a8d091b28da52064d644689fe07f13efaa378d4b4324 [INFO] running `Command { std: "docker" "start" "-a" "67fc44c0dceced449ab1a8d091b28da52064d644689fe07f13efaa378d4b4324", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handler.rs:23:18 [INFO] [stderr] | [INFO] [stderr] 23 | middleware: Arc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RequestMiddleware` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handler.rs:33:19 [INFO] [stderr] | [INFO] [stderr] 33 | middleware: Arc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RequestMiddleware` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handler.rs:93:17 [INFO] [stderr] | [INFO] [stderr] 93 | Middleware(Box + Send>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:70:17 [INFO] [stderr] | [INFO] [stderr] 70 | response: Box + Send>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:152:21 [INFO] [stderr] | [INFO] [stderr] 152 | pub extractor: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MetaExtractor` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:189:22 [INFO] [stderr] | [INFO] [stderr] 189 | meta_extractor: Arc>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MetaExtractor` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:190:26 [INFO] [stderr] | [INFO] [stderr] 190 | request_middleware: Arc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RequestMiddleware` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:346:27 [INFO] [stderr] | [INFO] [stderr] 346 | }).collect::)>>()?; [INFO] [stderr] | ^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:369:26 [INFO] [stderr] | [INFO] [stderr] 369 | request_middleware: Arc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RequestMiddleware` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/lib.rs:449:3 [INFO] [stderr] | [INFO] [stderr] 449 | try!(tcp.reuse_port(true)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: ambiguous associated item [INFO] [stderr] --> src/handler.rs:100:41 [INFO] [stderr] | [INFO] [stderr] 100 | fn poll(&mut self) -> Poll { [INFO] [stderr] | ^^^^^^^^^^^ help: use fully-qualified syntax: ` as Future>::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 the variant defined here [INFO] [stderr] --> src/handler.rs:92:2 [INFO] [stderr] | [INFO] [stderr] 92 | Error(Option), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: `Error` could also refer to the associated type defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/mod.rs:185:5 [INFO] [stderr] | [INFO] [stderr] 185 | type Error; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `hyper::server::server_proto::>::bind_connection`: All usage of the tokio-proto crate is going away. [INFO] [stderr] --> src/lib.rs:423:11 [INFO] [stderr] | [INFO] [stderr] 423 | http.bind_connection(&handle, socket, addr, ServerHandler::new( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: ambiguous associated item [INFO] [stderr] --> src/handler.rs:100:41 [INFO] [stderr] | [INFO] [stderr] 100 | fn poll(&mut self) -> Poll { [INFO] [stderr] | ^^^^^^^^^^^ help: use fully-qualified syntax: ` as Future>::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 the variant defined here [INFO] [stderr] --> src/handler.rs:92:2 [INFO] [stderr] | [INFO] [stderr] 92 | Error(Option), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: `Error` could also refer to the associated type defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/mod.rs:185:5 [INFO] [stderr] | [INFO] [stderr] 185 | type Error; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rs-jsonrpc-http-server` (lib) generated 13 warnings [INFO] [stderr] warning: `rs-jsonrpc-http-server` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rs_jsonrpc_http_server-3174471f8f92baf8) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test tests::should_return_error_for_malformed_request2 ... ok [INFO] [stdout] test tests::should_handle_sync_requests_correctly ... ok [INFO] [stdout] test tests::should_always_allow_the_bind_address_as_localhost ... ok [INFO] [stdout] test tests::should_handle_sync_batch_requests_correctly ... ok [INFO] [stdout] test tests::should_handle_async_requests_with_immediate_response_correctly ... ok [INFO] [stdout] test tests::should_return_method_not_allowed_for_get ... ok [INFO] [stdout] test tests::should_return_empty_response_for_notification ... ok [INFO] [stdout] test tests::should_not_add_cors_headers ... ok [INFO] [stdout] test tests::should_return_proper_headers_on_options ... ok [INFO] [stdout] test tests::should_reject_missing_host ... ok [INFO] [stdout] test tests::should_handle_rest_request_with_params ... ok [INFO] [stdout] test tests::should_allow_if_host_is_valid ... ok [INFO] [stdout] test tests::should_reject_invalid_hosts ... ok [INFO] [stdout] test tests::should_not_process_the_request_in_case_of_invalid_cors ... ok [INFO] [stdout] test tests::should_return_method_not_found ... ok [INFO] [stdout] test tests::should_handle_async_requests_correctly ... ok [INFO] [stdout] test tests::should_return_unsupported_media_type_if_not_json ... ok [INFO] [stdout] test tests::should_always_allow_the_bind_address ... ok [INFO] [stdout] test tests::should_return_error_for_malformed_request ... ok [INFO] [stdout] test tests::should_add_cors_header_for_null_origin ... ok [INFO] [stdout] test tests::should_add_cors_headers ... ok [INFO] [stdout] test tests::should_allow_application_json_utf8 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.02s [INFO] [stdout] [INFO] [stderr] Doc-tests rs-jsonrpc-http-server [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:346:27 [INFO] [stderr] | [INFO] [stderr] 346 | }).collect::)>>()?; [INFO] [stderr] | ^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 3) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "67fc44c0dceced449ab1a8d091b28da52064d644689fe07f13efaa378d4b4324", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67fc44c0dceced449ab1a8d091b28da52064d644689fe07f13efaa378d4b4324", kill_on_drop: false }` [INFO] [stdout] 67fc44c0dceced449ab1a8d091b28da52064d644689fe07f13efaa378d4b4324