[INFO] fetching crate serv 0.2.0... [INFO] checking serv-0.2.0 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate serv 0.2.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate serv 0.2.0 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate serv 0.2.0 [INFO] finished tweaking crates.io crate serv 0.2.0 [INFO] tweaked toml for crates.io crate serv 0.2.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fcee961b78ae741442f7893bdaaae7af86eb4aeb63011c60255d3aa8463ba499 [INFO] running `Command { std: "docker" "start" "-a" "fcee961b78ae741442f7893bdaaae7af86eb4aeb63011c60255d3aa8463ba499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcee961b78ae741442f7893bdaaae7af86eb4aeb63011c60255d3aa8463ba499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcee961b78ae741442f7893bdaaae7af86eb4aeb63011c60255d3aa8463ba499", kill_on_drop: false }` [INFO] [stdout] fcee961b78ae741442f7893bdaaae7af86eb4aeb63011c60255d3aa8463ba499 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c77f82b573658926a0b710643ce1f8d98c4a611d7007e405be0a1b4f6e50f3b [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" "9c77f82b573658926a0b710643ce1f8d98c4a611d7007e405be0a1b4f6e50f3b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Checking data-encoding v2.3.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking serde_json v1.0.58 [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 miniz_oxide v0.4.3 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking parking_lot v0.9.0 [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] Compiling quote v1.0.7 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [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-fs v0.1.7 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking backtrace v0.3.51 [INFO] [stderr] Checking serde_qs v0.4.6 [INFO] [stderr] Checking serv v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | F: for<'a> Fn(&'a S, Req) -> Box> + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | F: Fn(Req) -> Box> + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | F: Fn(Req) -> Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | F: Fn(Req) -> Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | F: Fn(Req) -> Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async.rs:63:43 [INFO] [stdout] | [INFO] [stdout] 63 | fn call(&self, req: Self::Req) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async.rs:75:43 [INFO] [stdout] | [INFO] [stdout] 75 | fn call(&self, req: Self::Req) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reply.rs:44:42 [INFO] [stdout] | [INFO] [stdout] 44 | F: for<'a> Fn(&'a S, Req) -> Box> + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reply.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | F: Fn(Req) -> Box> + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:178:61 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn run_tcp(self, addr: std::net::SocketAddr) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:189:49 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn run_uds(self, _url: url::Url) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:193:44 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn run(self, url: url::Url) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:221:23 [INFO] [stdout] | [INFO] [stdout] 221 | type Future = Box, Error = Self::Error>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = Self::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | pub type HyperFuture = Box, Error = hyper::Error>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = hyper::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | / Service< [INFO] [stdout] 99 | | ReqBody = Body, [INFO] [stdout] 100 | | ResBody = Body, [INFO] [stdout] 101 | | Error = hyper::Error, [INFO] [stdout] 102 | | Future = Box, Error = hyper::Error> + Send>, [INFO] [stdout] 103 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 | dyn Service< [INFO] [stdout] 99 | ReqBody = Body, [INFO] [stdout] 100 | ResBody = Body, [INFO] [stdout] 101 | Error = hyper::Error, [INFO] [stdout] 102 | Future = Box, Error = hyper::Error> + Send>, [INFO] [stdout] 103 | >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | Future = Box, Error = hyper::Error> + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = hyper::Error> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:107:44 [INFO] [stdout] | [INFO] [stdout] 107 | fn parse_req(req: Request) -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/reply.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | let reason = e.description().to_owned(); [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/async.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | F: for<'a> Fn(&'a S, Req) -> Box> + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | F: Fn(Req) -> Box> + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | F: Fn(Req) -> Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | F: Fn(Req) -> Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | F: Fn(Req) -> Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async.rs:63:43 [INFO] [stdout] | [INFO] [stdout] 63 | fn call(&self, req: Self::Req) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/async.rs:75:43 [INFO] [stdout] | [INFO] [stdout] 75 | fn call(&self, req: Self::Req) -> Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reply.rs:44:42 [INFO] [stdout] | [INFO] [stdout] 44 | F: for<'a> Fn(&'a S, Req) -> Box> + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reply.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | F: Fn(Req) -> Box> + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:178:61 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn run_tcp(self, addr: std::net::SocketAddr) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:189:49 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn run_uds(self, _url: url::Url) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:193:44 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn run(self, url: url::Url) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/server.rs:221:23 [INFO] [stdout] | [INFO] [stdout] 221 | type Future = Box, Error = Self::Error>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = Self::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | pub type HyperFuture = Box, Error = hyper::Error>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = hyper::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | / Service< [INFO] [stdout] 99 | | ReqBody = Body, [INFO] [stdout] 100 | | ResBody = Body, [INFO] [stdout] 101 | | Error = hyper::Error, [INFO] [stdout] 102 | | Future = Box, Error = hyper::Error> + Send>, [INFO] [stdout] 103 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 | dyn Service< [INFO] [stdout] 99 | ReqBody = Body, [INFO] [stdout] 100 | ResBody = Body, [INFO] [stdout] 101 | Error = hyper::Error, [INFO] [stdout] 102 | Future = Box, Error = hyper::Error> + Send>, [INFO] [stdout] 103 | >, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | Future = Box, Error = hyper::Error> + Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = hyper::Error> + Send` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:107:44 [INFO] [stdout] | [INFO] [stdout] 107 | fn parse_req(req: Request) -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/reply.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | let reason = e.description().to_owned(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/hello_async.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | fn hello(_req: serv::Empty) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc` cannot be sent between threads safely [INFO] [stdout] --> examples/hello_async.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stdout] | ^^^^^ `Rc` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `hyper::server::conn::spawn_all::NewSvcTask, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>`, the trait `Send` is not implemented for `Rc` [INFO] [stdout] = note: required because it appears within the type `serv::Server` [INFO] [stdout] = note: required because it appears within the type `hyper::proto::h2::server::Server, serv::Server, Body, hyper::common::exec::Exec>` [INFO] [stdout] = note: required because it appears within the type `Either, Body, AddrStream, hyper::proto::h1::role::Server>, hyper::proto::h2::server::Server, serv::Server, Body, hyper::common::exec::Exec>>` [INFO] [stdout] = note: required because it appears within the type `std::option::Option, Body, AddrStream, hyper::proto::h1::role::Server>, hyper::proto::h2::server::Server, serv::Server, Body, hyper::common::exec::Exec>>>` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::Connection` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::upgrades::UpgradeableConnection` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::spawn_all::State, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::spawn_all::NewSvcTask, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] = note: required because of the requirements on the impl of `hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` for `hyper::common::exec::Exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn hyper::rt::Future, Error = hyper::Error> + 'static)` cannot be sent between threads safely [INFO] [stdout] --> examples/hello_async.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stdout] | ^^^^^ `(dyn hyper::rt::Future, Error = hyper::Error> + 'static)` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `(dyn hyper::rt::Future, Error = hyper::Error> + 'static)` [INFO] [stdout] = note: required because of the requirements on the impl of `Send` for `Unique<(dyn hyper::rt::Future, Error = hyper::Error> + 'static)>` [INFO] [stdout] = note: required because it appears within the type `Box<(dyn hyper::rt::Future, Error = hyper::Error> + 'static)>` [INFO] [stdout] = note: required because it appears within the type `hyper::proto::h2::server::H2StreamState, Error = hyper::Error> + 'static)>, Body>` [INFO] [stdout] = note: required because it appears within the type `hyper::proto::h2::server::H2Stream, Error = hyper::Error> + 'static)>, Body>` [INFO] [stdout] = note: required because of the requirements on the impl of `hyper::common::exec::H2Exec, Error = hyper::Error> + 'static)>, Body>` for `hyper::common::exec::Exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc` cannot be sent between threads safely [INFO] [stdout] --> examples/counter.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stdout] | ^^^^^ `Rc` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `hyper::server::conn::spawn_all::NewSvcTask, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>`, the trait `std::marker::Send` is not implemented for `Rc` [INFO] [stdout] = note: required because it appears within the type `serv::Server` [INFO] [stdout] = note: required because it appears within the type `hyper::proto::h2::server::Server, serv::Server, Body, hyper::common::exec::Exec>` [INFO] [stdout] = note: required because it appears within the type `Either, Body, AddrStream, hyper::proto::h1::role::Server>, hyper::proto::h2::server::Server, serv::Server, Body, hyper::common::exec::Exec>>` [INFO] [stdout] = note: required because it appears within the type `std::option::Option, Body, AddrStream, hyper::proto::h1::role::Server>, hyper::proto::h2::server::Server, serv::Server, Body, hyper::common::exec::Exec>>>` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::Connection` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::upgrades::UpgradeableConnection` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::spawn_all::State, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::spawn_all::NewSvcTask, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] = note: required because of the requirements on the impl of `hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` for `hyper::common::exec::Exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn futures::Future, Error = hyper::Error> + 'static)` cannot be sent between threads safely [INFO] [stdout] --> examples/counter.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stdout] | ^^^^^ `(dyn futures::Future, Error = hyper::Error> + 'static)` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Send` is not implemented for `(dyn futures::Future, Error = hyper::Error> + 'static)` [INFO] [stdout] = note: required because of the requirements on the impl of `std::marker::Send` for `Unique<(dyn futures::Future, Error = hyper::Error> + 'static)>` [INFO] [stdout] = note: required because it appears within the type `Box<(dyn futures::Future, Error = hyper::Error> + 'static)>` [INFO] [stdout] = note: required because it appears within the type `hyper::proto::h2::server::H2StreamState, Error = hyper::Error> + 'static)>, Body>` [INFO] [stdout] = note: required because it appears within the type `hyper::proto::h2::server::H2Stream, Error = hyper::Error> + 'static)>, Body>` [INFO] [stdout] = note: required because of the requirements on the impl of `hyper::common::exec::H2Exec, Error = hyper::Error> + 'static)>, Body>` for `hyper::common::exec::Exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_err` found for struct `hyper::Server` in the current scope [INFO] [stdout] --> examples/hello_async.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | .map_err(|e| eprintln!("failed to serve: {:?}", e)); [INFO] [stdout] | ^^^^^^^ method not found in `hyper::Server` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.35/src/common/exec.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Exec { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: hyper::common::exec::H2Exec, Error = hyper::Error> + 'static)>, _>` [INFO] [stdout] | doesn't satisfy `_: hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.35/src/server/mod.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Server { [INFO] [stdout] | --------------------------------- doesn't satisfy `_: hyper::rt::Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `map_err` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hyper::common::exec::Exec: hyper::common::exec::H2Exec, Error = hyper::Error> + 'static)>, _>` [INFO] [stdout] which is required by `hyper::Server: hyper::rt::Future` [INFO] [stdout] `hyper::common::exec::Exec: hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] which is required by `hyper::Server: hyper::rt::Future` [INFO] [stdout] `hyper::Server: hyper::rt::Future` [INFO] [stdout] which is required by `&mut hyper::Server: hyper::rt::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_err` found for struct `hyper::Server` in the current scope [INFO] [stdout] --> examples/counter.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | .map_err(|e| eprintln!("failed to serve: {:?}", e)); [INFO] [stdout] | ^^^^^^^ method not found in `hyper::Server` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.35/src/common/exec.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Exec { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: hyper::common::exec::H2Exec, Error = hyper::Error> + 'static)>, _>` [INFO] [stdout] | doesn't satisfy `_: hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.35/src/server/mod.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Server { [INFO] [stdout] | --------------------------------- doesn't satisfy `_: futures::Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `map_err` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hyper::common::exec::Exec: hyper::common::exec::H2Exec, Error = hyper::Error> + 'static)>, _>` [INFO] [stdout] which is required by `hyper::Server: futures::Future` [INFO] [stdout] `hyper::common::exec::Exec: hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] which is required by `hyper::Server: futures::Future` [INFO] [stdout] `hyper::Server: futures::Future` [INFO] [stdout] which is required by `&mut hyper::Server: futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serv` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `hyper::rt::Future` [INFO] [stdout] --> examples/counter.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hyper::rt::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc` cannot be sent between threads safely [INFO] [stdout] --> examples/hello.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stdout] | ^^^^^ `Rc` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `hyper::server::conn::spawn_all::NewSvcTask, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>`, the trait `Send` is not implemented for `Rc` [INFO] [stdout] = note: required because it appears within the type `serv::Server` [INFO] [stdout] = note: required because it appears within the type `hyper::proto::h2::server::Server, serv::Server, Body, hyper::common::exec::Exec>` [INFO] [stdout] = note: required because it appears within the type `Either, Body, AddrStream, hyper::proto::h1::role::Server>, hyper::proto::h2::server::Server, serv::Server, Body, hyper::common::exec::Exec>>` [INFO] [stdout] = note: required because it appears within the type `std::option::Option, Body, AddrStream, hyper::proto::h1::role::Server>, hyper::proto::h2::server::Server, serv::Server, Body, hyper::common::exec::Exec>>>` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::Connection` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::upgrades::UpgradeableConnection` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::spawn_all::State, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::spawn_all::NewSvcTask, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] = note: required because of the requirements on the impl of `hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` for `hyper::common::exec::Exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn hyper::rt::Future, Error = hyper::Error> + 'static)` cannot be sent between threads safely [INFO] [stdout] --> examples/hello.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stdout] | ^^^^^ `(dyn hyper::rt::Future, Error = hyper::Error> + 'static)` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `(dyn hyper::rt::Future, Error = hyper::Error> + 'static)` [INFO] [stdout] = note: required because of the requirements on the impl of `Send` for `Unique<(dyn hyper::rt::Future, Error = hyper::Error> + 'static)>` [INFO] [stdout] = note: required because it appears within the type `Box<(dyn hyper::rt::Future, Error = hyper::Error> + 'static)>` [INFO] [stdout] = note: required because it appears within the type `hyper::proto::h2::server::H2StreamState, Error = hyper::Error> + 'static)>, Body>` [INFO] [stdout] = note: required because it appears within the type `hyper::proto::h2::server::H2Stream, Error = hyper::Error> + 'static)>, Body>` [INFO] [stdout] = note: required because of the requirements on the impl of `hyper::common::exec::H2Exec, Error = hyper::Error> + 'static)>, Body>` for `hyper::common::exec::Exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc` cannot be sent between threads safely [INFO] [stdout] --> examples/error.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stdout] | ^^^^^ `Rc` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: within `hyper::server::conn::spawn_all::NewSvcTask, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>`, the trait `Send` is not implemented for `Rc` [INFO] [stdout] = note: required because it appears within the type `serv::Server` [INFO] [stdout] = note: required because it appears within the type `hyper::proto::h2::server::Server, serv::Server, Body, hyper::common::exec::Exec>` [INFO] [stdout] = note: required because it appears within the type `Either, Body, AddrStream, hyper::proto::h1::role::Server>, hyper::proto::h2::server::Server, serv::Server, Body, hyper::common::exec::Exec>>` [INFO] [stdout] = note: required because it appears within the type `std::option::Option, Body, AddrStream, hyper::proto::h1::role::Server>, hyper::proto::h2::server::Server, serv::Server, Body, hyper::common::exec::Exec>>>` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::Connection` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::upgrades::UpgradeableConnection` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::spawn_all::State, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] = note: required because it appears within the type `hyper::server::conn::spawn_all::NewSvcTask, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] = note: required because of the requirements on the impl of `hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` for `hyper::common::exec::Exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn hyper::rt::Future, Error = hyper::Error> + 'static)` cannot be sent between threads safely [INFO] [stdout] --> examples/error.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stdout] | ^^^^^ `(dyn hyper::rt::Future, Error = hyper::Error> + 'static)` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `(dyn hyper::rt::Future, Error = hyper::Error> + 'static)` [INFO] [stdout] = note: required because of the requirements on the impl of `Send` for `Unique<(dyn hyper::rt::Future, Error = hyper::Error> + 'static)>` [INFO] [stdout] = note: required because it appears within the type `Box<(dyn hyper::rt::Future, Error = hyper::Error> + 'static)>` [INFO] [stdout] = note: required because it appears within the type `hyper::proto::h2::server::H2StreamState, Error = hyper::Error> + 'static)>, Body>` [INFO] [stdout] = note: required because it appears within the type `hyper::proto::h2::server::H2Stream, Error = hyper::Error> + 'static)>, Body>` [INFO] [stdout] = note: required because of the requirements on the impl of `hyper::common::exec::H2Exec, Error = hyper::Error> + 'static)>, Body>` for `hyper::common::exec::Exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_err` found for struct `hyper::Server` in the current scope [INFO] [stdout] --> examples/hello.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | .map_err(|e| eprintln!("failed to serve: {:?}", e)); [INFO] [stdout] | ^^^^^^^ method not found in `hyper::Server` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.35/src/common/exec.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Exec { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: hyper::common::exec::H2Exec, Error = hyper::Error> + 'static)>, _>` [INFO] [stdout] | doesn't satisfy `_: hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.35/src/server/mod.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Server { [INFO] [stdout] | --------------------------------- doesn't satisfy `_: hyper::rt::Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `map_err` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hyper::common::exec::Exec: hyper::common::exec::H2Exec, Error = hyper::Error> + 'static)>, _>` [INFO] [stdout] which is required by `hyper::Server: hyper::rt::Future` [INFO] [stdout] `hyper::common::exec::Exec: hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] which is required by `hyper::Server: hyper::rt::Future` [INFO] [stdout] `hyper::Server: hyper::rt::Future` [INFO] [stdout] which is required by `&mut hyper::Server: hyper::rt::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper::rt::Future` [INFO] [stdout] --> examples/hello.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hyper::rt::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_err` found for struct `hyper::Server` in the current scope [INFO] [stdout] --> examples/error.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | .map_err(|e| eprintln!("failed to serve: {:?}", e)); [INFO] [stdout] | ^^^^^^^ method not found in `hyper::Server` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.35/src/common/exec.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Exec { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: hyper::common::exec::H2Exec, Error = hyper::Error> + 'static)>, _>` [INFO] [stdout] | doesn't satisfy `_: hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.35/src/server/mod.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Server { [INFO] [stdout] | --------------------------------- doesn't satisfy `_: hyper::rt::Future` [INFO] [stdout] | [INFO] [stdout] = note: the method `map_err` exists but the following trait bounds were not satisfied: [INFO] [stdout] `hyper::common::exec::Exec: hyper::common::exec::H2Exec, Error = hyper::Error> + 'static)>, _>` [INFO] [stdout] which is required by `hyper::Server: hyper::rt::Future` [INFO] [stdout] `hyper::common::exec::Exec: hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] which is required by `hyper::Server: hyper::rt::Future` [INFO] [stdout] `hyper::Server: hyper::rt::Future` [INFO] [stdout] which is required by `&mut hyper::Server: hyper::rt::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper::rt::Future` [INFO] [stdout] --> examples/error.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use hyper::rt::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9c77f82b573658926a0b710643ce1f8d98c4a611d7007e405be0a1b4f6e50f3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c77f82b573658926a0b710643ce1f8d98c4a611d7007e405be0a1b4f6e50f3b", kill_on_drop: false }` [INFO] [stdout] 9c77f82b573658926a0b710643ce1f8d98c4a611d7007e405be0a1b4f6e50f3b