[INFO] fetching crate bitconch-jsonrpc-http-server 0.1.0... [INFO] checking bitconch-jsonrpc-http-server-0.1.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate bitconch-jsonrpc-http-server 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate bitconch-jsonrpc-http-server 0.1.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bitconch-jsonrpc-http-server 0.1.0 [INFO] finished tweaking crates.io crate bitconch-jsonrpc-http-server 0.1.0 [INFO] tweaked toml for crates.io crate bitconch-jsonrpc-http-server 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 92 packages [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding bytes v0.4.12 (latest: v1.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding crossbeam-deque v0.7.4 (latest: v0.8.5) [INFO] [stderr] Adding crossbeam-epoch v0.8.2 (latest: v0.9.18) [INFO] [stderr] Adding crossbeam-queue v0.2.3 (latest: v0.3.11) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (latest: v0.8.19) [INFO] [stderr] Adding futures v0.1.31 (latest: v0.3.30) [INFO] [stderr] Adding h2 v0.1.26 (latest: v0.4.3) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.3) [INFO] [stderr] Adding http v0.1.21 (latest: v1.1.0) [INFO] [stderr] Adding http-body v0.1.0 (latest: v1.0.0) [INFO] [stderr] Adding hyper v0.12.36 (latest: v1.2.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.2.6) [INFO] [stderr] Adding itoa v0.4.8 (latest: v1.0.11) [INFO] [stderr] Adding lock_api v0.3.4 (latest: v0.4.11) [INFO] [stderr] Adding memoffset v0.5.6 (latest: v0.9.1) [INFO] [stderr] Adding mio v0.6.23 (latest: v0.8.11) [INFO] [stderr] Adding miow v0.2.2 (latest: v0.6.0) [INFO] [stderr] Adding parking_lot v0.9.0 (latest: v0.12.1) [INFO] [stderr] Adding parking_lot_core v0.6.3 (latest: v0.9.9) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.1) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.22) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding smallvec v0.6.14 (latest: v1.13.2) [INFO] [stderr] Adding string v0.2.1 (latest: v0.3.0) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.34) [INFO] [stderr] Adding tokio v0.1.22 (latest: v1.37.0) [INFO] [stderr] Adding want v0.2.0 (latest: v0.3.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitconch-jsonrpc-core v0.1.0 [INFO] [stderr] Downloaded bitconch-jsonrpc-server-utils v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ab3eb627df5c327c4e5a6d380851ba9c499971d890463a822f958235c43b4c1 [INFO] running `Command { std: "docker" "start" "-a" "3ab3eb627df5c327c4e5a6d380851ba9c499971d890463a822f958235c43b4c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ab3eb627df5c327c4e5a6d380851ba9c499971d890463a822f958235c43b4c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ab3eb627df5c327c4e5a6d380851ba9c499971d890463a822f958235c43b4c1", kill_on_drop: false }` [INFO] [stdout] 3ab3eb627df5c327c4e5a6d380851ba9c499971d890463a822f958235c43b4c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad0644a4adebf5b9e371be946fea35233d676be89083da563524f59bc3a2a008 [INFO] running `Command { std: "docker" "start" "-a" "ad0644a4adebf5b9e371be946fea35233d676be89083da563524f59bc3a2a008", kill_on_drop: false }` [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking parking_lot_core v0.6.3 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking bitconch-jsonrpc-core v0.1.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking bitconch-jsonrpc-server-utils v0.1.0 [INFO] [stderr] Checking hyper v0.12.36 [INFO] [stderr] Checking bitconch-jsonrpc-http-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/handler.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use hyper::{self, service::Service, Body, Method}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub extern crate hyper; [INFO] [stdout] | ----------------------- the item `hyper` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Method` [INFO] [stdout] --> src/response.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub use hyper::{self, Method, Body, StatusCode, header::HeaderValue}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/response.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub use hyper::{self, Method, Body, StatusCode, header::HeaderValue}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub extern crate hyper; [INFO] [stdout] | ----------------------- the item `hyper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/utils.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::{self, header}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub extern crate hyper; [INFO] [stdout] | ----------------------- the item `hyper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:426:27 [INFO] [stdout] | [INFO] [stdout] 426 | }).collect::)>>()?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 426 - }).collect::)>>()?; [INFO] [stdout] 426 + }).collect::>>()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:541:3 [INFO] [stdout] | [INFO] [stdout] 541 | try!(tcp.reuse_port(true)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | middleware: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | Middleware(Box, Error = hyper::Error> + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | Middleware(Box, Error = hyper::Error> + Send>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | response: Box, Error=hyper::Error> + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | response: Box, Error=hyper::Error> + Send>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | pub extractor: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 | pub extractor: Arc>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | meta_extractor: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 | meta_extractor: Arc>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:198:26 [INFO] [stdout] | [INFO] [stdout] 198 | request_middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 198 | request_middleware: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:451:26 [INFO] [stdout] | [INFO] [stdout] 451 | request_middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 451 | request_middleware: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/handler.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use hyper::{self, service::Service, Body, Method}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub extern crate hyper; [INFO] [stdout] | ----------------------- the item `hyper` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | middleware: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Method` [INFO] [stdout] --> src/response.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | pub use hyper::{self, Method, Body, StatusCode, header::HeaderValue}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/response.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | pub use hyper::{self, Method, Body, StatusCode, header::HeaderValue}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub extern crate hyper; [INFO] [stdout] | ----------------------- the item `hyper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/utils.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::{self, header}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub extern crate hyper; [INFO] [stdout] | ----------------------- the item `hyper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous associated item [INFO] [stdout] --> src/handler.rs:116:41 [INFO] [stdout] | [INFO] [stdout] 116 | 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:108:2 [INFO] [stdout] | [INFO] [stdout] 108 | 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/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/mod.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | type Error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(ambiguous_associated_items)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `futures` is imported redundantly [INFO] [stdout] --> src/tests.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | use self::jsonrpc_core::futures::{self, Future}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | use super::*; [INFO] [stdout] | -------- the item `futures` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/tests.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | use self::jsonrpc_core::futures::{self, Future}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | use super::*; [INFO] [stdout] | -------- the item `Future` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `thread` is imported redundantly [INFO] [stdout] --> src/tests.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 9 | use super::*; [INFO] [stdout] | -------- the item `thread` is already imported here [INFO] [stdout] ... [INFO] [stdout] 57 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:426:27 [INFO] [stdout] | [INFO] [stdout] 426 | }).collect::)>>()?; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 426 - }).collect::)>>()?; [INFO] [stdout] 426 + }).collect::>>()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:541:3 [INFO] [stdout] | [INFO] [stdout] 541 | try!(tcp.reuse_port(true)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | middleware: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | Middleware(Box, Error = hyper::Error> + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 109 | Middleware(Box, Error = hyper::Error> + Send>), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | response: Box, Error=hyper::Error> + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 | response: Box, Error=hyper::Error> + Send>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | pub extractor: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 | pub extractor: Arc>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | meta_extractor: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 | meta_extractor: Arc>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:198:26 [INFO] [stdout] | [INFO] [stdout] 198 | request_middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 198 | request_middleware: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:451:26 [INFO] [stdout] | [INFO] [stdout] 451 | request_middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 451 | request_middleware: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 38 | middleware: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | middleware: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous associated item [INFO] [stdout] --> src/handler.rs:116:41 [INFO] [stdout] | [INFO] [stdout] 116 | 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:108:2 [INFO] [stdout] | [INFO] [stdout] 108 | 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/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/mod.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | type Error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(ambiguous_associated_items)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `server_utils::tokio::reactor::Handle::current`: semantics were sometimes surprising, use Handle::default() [INFO] [stdout] --> src/lib.rs:462:40 [INFO] [stdout] | [INFO] [stdout] 462 | let handle = tokio::reactor::Handle::current(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `server_utils::tokio::reactor::Handle::current`: semantics were sometimes surprising, use Handle::default() [INFO] [stdout] --> src/lib.rs:462:40 [INFO] [stdout] | [INFO] [stdout] 462 | let handle = tokio::reactor::Handle::current(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bitconch-jsonrpc-http-server` (lib) due to 2 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bitconch-jsonrpc-http-server` (lib test) due to 2 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ad0644a4adebf5b9e371be946fea35233d676be89083da563524f59bc3a2a008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad0644a4adebf5b9e371be946fea35233d676be89083da563524f59bc3a2a008", kill_on_drop: false }` [INFO] [stdout] ad0644a4adebf5b9e371be946fea35233d676be89083da563524f59bc3a2a008