[INFO] fetching crate bitconch-jsonrpc-http-server 0.1.0... [INFO] checking bitconch-jsonrpc-http-server-0.1.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate bitconch-jsonrpc-http-server 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate bitconch-jsonrpc-http-server 0.1.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2482a791bcd802d6bdf2fba66f6cb202ee49a6aec608dfcdd453b8919a49e08 [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" "a2482a791bcd802d6bdf2fba66f6cb202ee49a6aec608dfcdd453b8919a49e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2482a791bcd802d6bdf2fba66f6cb202ee49a6aec608dfcdd453b8919a49e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2482a791bcd802d6bdf2fba66f6cb202ee49a6aec608dfcdd453b8919a49e08", kill_on_drop: false }` [INFO] [stdout] a2482a791bcd802d6bdf2fba66f6cb202ee49a6aec608dfcdd453b8919a49e08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1eae8c68e92498780fe356cbffe6b4dc058af822ff3eea955a5423aa2ad37305 [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" "1eae8c68e92498780fe356cbffe6b4dc058af822ff3eea955a5423aa2ad37305", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking bitconch-jsonrpc-core v0.1.0 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking globset v0.4.8 [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handler.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | 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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^ 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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = hyper::Error> + 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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=hyper::Error> + 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 issue #80165 [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] | ^^^^^^^^^^^^^^^^ 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 issue #80165 [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] | ^^^^^^^^^^^^^^^^ 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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^ 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 issue #80165 [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] | ^^^^^^^^ 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:451:26 [INFO] [stdout] | [INFO] [stdout] 451 | 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 issue #80165 [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] 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] = note: `#[deny(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: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/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] error: aborting due to previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bitconch-jsonrpc-http-server` due to 2 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] | ^^^^^^^^^^^^^^^^^ 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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^ 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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = hyper::Error> + 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 issue #80165 [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] = 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/lib.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | response: Box, Error=hyper::Error> + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=hyper::Error> + 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 issue #80165 [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] | ^^^^^^^^^^^^^^^^ 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 issue #80165 [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] | ^^^^^^^^^^^^^^^^ 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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^ 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 issue #80165 [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] | ^^^^^^^^ 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:451:26 [INFO] [stdout] | [INFO] [stdout] 451 | 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 issue #80165 [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] 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] = note: `#[deny(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: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/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] error: aborting due to previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1eae8c68e92498780fe356cbffe6b4dc058af822ff3eea955a5423aa2ad37305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eae8c68e92498780fe356cbffe6b4dc058af822ff3eea955a5423aa2ad37305", kill_on_drop: false }` [INFO] [stdout] 1eae8c68e92498780fe356cbffe6b4dc058af822ff3eea955a5423aa2ad37305