[INFO] fetching crate serv 0.2.0... [INFO] checking serv-0.2.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate serv 0.2.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate serv 0.2.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 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-0-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 106 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 fst v0.3.5 (latest: v0.4.7) [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 idna v0.1.5 (latest: v0.5.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 memmap v0.6.2 (latest: v0.7.0) [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 object v0.32.2 (latest: v0.34.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 percent-encoding v1.0.1 (latest: v2.3.1) [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 serde_qs v0.4.6 (latest: v0.12.0) [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 url v1.7.2 (latest: v2.5.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 memmap v0.6.2 [INFO] [stderr] Downloaded serde_qs v0.4.6 [INFO] [stderr] Downloaded fst v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 4c41ebd393cfe606601b5a07dddeae8c46f6b513d39c3a7c1eead0e1ce527907 [INFO] running `Command { std: "docker" "start" "-a" "4c41ebd393cfe606601b5a07dddeae8c46f6b513d39c3a7c1eead0e1ce527907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c41ebd393cfe606601b5a07dddeae8c46f6b513d39c3a7c1eead0e1ce527907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c41ebd393cfe606601b5a07dddeae8c46f6b513d39c3a7c1eead0e1ce527907", kill_on_drop: false }` [INFO] [stdout] 4c41ebd393cfe606601b5a07dddeae8c46f6b513d39c3a7c1eead0e1ce527907 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] e4b73ee46e9f45f344b666e95b0e2b6441efce78d3c89cf39d58f73f886b7466 [INFO] running `Command { std: "docker" "start" "-a" "e4b73ee46e9f45f344b666e95b0e2b6441efce78d3c89cf39d58f73f886b7466", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [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-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking want v0.2.0 [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 futures-cpupool v0.1.8 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking serde_qs v0.4.6 [INFO] [stderr] Checking serv v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/reply.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hyper; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate hyper; [INFO] [stdout] | ------------------- the item `hyper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `url` is imported redundantly [INFO] [stdout] --> src/server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use url; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern crate url; [INFO] [stdout] | ----------------- the item `url` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/sync.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `serde` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/reply.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/server.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hyper; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate hyper; [INFO] [stdout] | ------------------- the item `hyper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `url` is imported redundantly [INFO] [stdout] --> src/server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use url; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern crate url; [INFO] [stdout] | ----------------- the item `url` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/sync.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 2 | [INFO] [stdout] 3 | use super::*; [INFO] [stdout] | -------- the item `serde` is already imported here [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 94 | pub type HyperFuture = Box, Error = hyper::Error>>; [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 96 | Box>; [INFO] [stdout] | +++ [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] = 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] 98 | dyn Service< [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 102 | Future = 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:107:44 [INFO] [stdout] | [INFO] [stdout] 107 | fn parse_req(req: Request) -> Box> [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] 107 | fn parse_req(req: Request) -> Box> [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 94 | pub type HyperFuture = Box, Error = hyper::Error>>; [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 96 | Box>; [INFO] [stdout] | +++ [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] = 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] 98 | dyn Service< [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 102 | Future = 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:107:44 [INFO] [stdout] | [INFO] [stdout] 107 | fn parse_req(req: Request) -> Box> [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] 107 | fn parse_req(req: Request) -> Box> [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 75 | fn call(&self, req: Self::Req) -> Box>; [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 63 | fn call(&self, req: Self::Req) -> Box> { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 75 | fn call(&self, req: Self::Req) -> Box>; [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 63 | fn call(&self, req: Self::Req) -> Box> { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 9 | F: for<'a> Fn(&'a S, Req) -> Box> + 'static, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 21 | F: Fn(Req) -> Box> + 'static, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 32 | F: Fn(Req) -> Box>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 42 | F: Fn(Req) -> Box>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 56 | F: Fn(Req) -> Box>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 9 | F: for<'a> Fn(&'a S, Req) -> Box> + 'static, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 21 | F: Fn(Req) -> Box> + 'static, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 44 | F: for<'a> Fn(&'a S, Req) -> Box> + 'static, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 32 | F: Fn(Req) -> Box>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 56 | F: Fn(Req) -> Box> + 'static, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 42 | F: Fn(Req) -> Box>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 56 | F: Fn(Req) -> Box>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 221 | type Future = Box, Error = Self::Error>>; [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 178 | pub fn run_tcp(self, addr: std::net::SocketAddr) -> Box> { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 189 | pub fn run_uds(self, _url: url::Url) -> Box> { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 193 | pub fn run(self, url: url::Url) -> Box> { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 44 | F: for<'a> Fn(&'a S, Req) -> Box> + 'static, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 56 | F: Fn(Req) -> Box> + 'static, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 221 | type Future = Box, Error = Self::Error>>; [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 178 | pub fn run_tcp(self, addr: std::net::SocketAddr) -> Box> { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 189 | pub fn run_uds(self, _url: url::Url) -> Box> { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 193 | pub fn run(self, url: url::Url) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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: use of deprecated method `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: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] 17 | fn hello(_req: serv::Empty) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc` cannot be sent between threads safely [INFO] [stdout] --> examples/hello.rs:28:16 [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: the full trait has been written to '/opt/rustwide/target/debug/examples/hello-c85f2dc75b92c0f4.long-type-9160324341418872919.txt' [INFO] [stdout] = help: within `NewSvcTask, Server, Exec, NoopWatcher>`, the trait `Send` is not implemented for `Rc`, which is required by `hyper::common::exec::Exec: hyper::common::exec::NewSvcExec` [INFO] [stdout] = help: the trait `hyper::common::exec::NewSvcExec` is implemented for `hyper::common::exec::Exec` [INFO] [stdout] note: required because it appears within the type `serv::Server` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct Server { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `hyper::proto::h2::server::Server, serv::Server, Body, hyper::common::exec::Exec>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/proto/h2/server.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct Server [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Either, Body, AddrStream, Server>, Server, Server, Body, Exec>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/either.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Either { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Option, Body, AddrStream, Server>, Server, ..., ..., ...>>>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/option.rs:571:10 [INFO] [stdout] note: required because it appears within the type `hyper::server::conn::Connection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/conn.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct Connection [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `hyper::server::conn::upgrades::UpgradeableConnection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/conn.rs:911:16 [INFO] [stdout] | [INFO] [stdout] 911 | pub struct UpgradeableConnection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `State, Server, Exec, NoopWatcher>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/conn.rs:848:10 [INFO] [stdout] | [INFO] [stdout] 848 | enum State> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `NewSvcTask, Server, Exec, NoopWatcher>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/conn.rs:844:16 [INFO] [stdout] | [INFO] [stdout] 844 | pub struct NewSvcTask> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `hyper::common::exec::Exec` to implement `hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] note: required by a bound in `hyper::server::Builder::::serve` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/mod.rs:408:12 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn serve(self, new_service: S) -> Server [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 408 | E: NewSvcExec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::::serve` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/hello-c85f2dc75b92c0f4.long-type-9160324341418872919.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/hello-c85f2dc75b92c0f4.long-type-15658470808410509942.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/hello-c85f2dc75b92c0f4.long-type-13812696696409723646.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/hello-c85f2dc75b92c0f4.long-type-13610807042435288459.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn hyper::rt::Future> + 'static)` cannot be sent between threads safely [INFO] [stdout] --> examples/hello.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `(dyn hyper::rt::Future> + 'static)` cannot be sent between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `(dyn hyper::rt::Future> + 'static)`, which is required by `hyper::common::exec::Exec: hyper::common::exec::H2Exec<_, _>` [INFO] [stdout] = help: the trait `hyper::common::exec::H2Exec` is implemented for `hyper::common::exec::Exec` [INFO] [stdout] = note: required for `Unique<(dyn hyper::rt::Future> + 'static)>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box<(dyn hyper::rt::Future> + 'static)>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/boxed.rs:196:12 [INFO] [stdout] note: required because it appears within the type `hyper::proto::h2::server::H2StreamState> + 'static)>, Body>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/proto/h2/server.rs:197:6 [INFO] [stdout] | [INFO] [stdout] 197 | enum H2StreamState [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `hyper::proto::h2::server::H2Stream> + 'static)>, Body>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/proto/h2/server.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct H2Stream [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: required for `hyper::common::exec::Exec` to implement `hyper::common::exec::H2Exec> + 'static)>, Body>` [INFO] [stdout] note: required by a bound in `hyper::server::Builder::::serve` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/mod.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn serve(self, new_service: S) -> Server [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 409 | E: H2Exec<::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::::serve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc` cannot be sent between threads safely [INFO] [stdout] --> examples/hello_async.rs:36:16 [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: the full trait has been written to '/opt/rustwide/target/debug/examples/hello_async-6f987b55f640d3d9.long-type-15489299702236462685.txt' [INFO] [stdout] = help: within `NewSvcTask, Server, Exec, NoopWatcher>`, the trait `Send` is not implemented for `Rc`, which is required by `hyper::common::exec::Exec: hyper::common::exec::NewSvcExec` [INFO] [stdout] = help: the trait `hyper::common::exec::NewSvcExec` is implemented for `hyper::common::exec::Exec` [INFO] [stdout] note: required because it appears within the type `serv::Server` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct Server { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `hyper::proto::h2::server::Server, serv::Server, Body, hyper::common::exec::Exec>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/proto/h2/server.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct Server [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Either, Body, AddrStream, Server>, Server, Server, Body, Exec>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/either.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Either { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Option, Body, AddrStream, Server>, Server, ..., ..., ...>>>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/option.rs:571:10 [INFO] [stdout] note: required because it appears within the type `hyper::server::conn::Connection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/conn.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct Connection [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `hyper::server::conn::upgrades::UpgradeableConnection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/conn.rs:911:16 [INFO] [stdout] | [INFO] [stdout] 911 | pub struct UpgradeableConnection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `State, Server, Exec, NoopWatcher>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/conn.rs:848:10 [INFO] [stdout] | [INFO] [stdout] 848 | enum State> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `NewSvcTask, Server, Exec, NoopWatcher>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/conn.rs:844:16 [INFO] [stdout] | [INFO] [stdout] 844 | pub struct NewSvcTask> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `hyper::common::exec::Exec` to implement `hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] note: required by a bound in `hyper::server::Builder::::serve` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/mod.rs:408:12 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn serve(self, new_service: S) -> Server [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 408 | E: NewSvcExec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::::serve` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/hello_async-6f987b55f640d3d9.long-type-15489299702236462685.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/hello_async-6f987b55f640d3d9.long-type-9707357703208648528.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/hello_async-6f987b55f640d3d9.long-type-7346621706974919265.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/hello_async-6f987b55f640d3d9.long-type-987314106231211233.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn hyper::rt::Future> + 'static)` cannot be sent between threads safely [INFO] [stdout] --> examples/hello_async.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `(dyn hyper::rt::Future> + 'static)` cannot be sent between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `(dyn hyper::rt::Future> + 'static)`, which is required by `hyper::common::exec::Exec: hyper::common::exec::H2Exec<_, _>` [INFO] [stdout] = help: the trait `hyper::common::exec::H2Exec` is implemented for `hyper::common::exec::Exec` [INFO] [stdout] = note: required for `Unique<(dyn hyper::rt::Future> + 'static)>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box<(dyn hyper::rt::Future> + 'static)>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/boxed.rs:196:12 [INFO] [stdout] note: required because it appears within the type `hyper::proto::h2::server::H2StreamState> + 'static)>, Body>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/proto/h2/server.rs:197:6 [INFO] [stdout] | [INFO] [stdout] 197 | enum H2StreamState [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `hyper::proto::h2::server::H2Stream> + 'static)>, Body>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/proto/h2/server.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct H2Stream [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: required for `hyper::common::exec::Exec` to implement `hyper::common::exec::H2Exec> + 'static)>, Body>` [INFO] [stdout] note: required by a bound in `hyper::server::Builder::::serve` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/mod.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn serve(self, new_service: S) -> Server [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 409 | E: H2Exec<::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::::serve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map_err` exists for struct `Server`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/hello.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 27 | let server = hyper::server::Server::bind(&addr) [INFO] [stdout] | __________________- [INFO] [stdout] 28 | | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stdout] 29 | | .map_err(|e| eprintln!("failed to serve: {:?}", e)); [INFO] [stdout] | | -^^^^^^^ method cannot be called on `Server` due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/mod.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Server { [INFO] [stdout] | --------------------------------- doesn't satisfy `_: Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/common/exec.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Exec { [INFO] [stdout] | ------------- doesn't satisfy `_: H2Exec>>, _>` or `_: NewSvcExec, Server, Exec, NoopWatcher>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `hyper::common::exec::Exec: hyper::common::exec::H2Exec> + '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[E0599]: the method `map_err` exists for struct `Server`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/hello_async.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 35 | let server = hyper::server::Server::bind(&addr) [INFO] [stdout] | __________________- [INFO] [stdout] 36 | | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stdout] 37 | | .map_err(|e| eprintln!("failed to serve: {:?}", e)); [INFO] [stdout] | | -^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/mod.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Server { [INFO] [stdout] | --------------------------------- doesn't satisfy `_: Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/common/exec.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Exec { [INFO] [stdout] | ------------- doesn't satisfy `_: H2Exec>>, _>` or `_: NewSvcExec, Server, Exec, NoopWatcher>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `hyper::common::exec::Exec: hyper::common::exec::H2Exec> + '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: 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: 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: could not compile `serv` (example "hello_async") due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `serv` (example "hello") due to 4 previous errors; 1 warning emitted [INFO] [stdout] error[E0277]: `Rc` cannot be sent between threads safely [INFO] [stdout] --> examples/counter.rs:41:16 [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: the full trait has been written to '/opt/rustwide/target/debug/examples/counter-28a9aea7780159db.long-type-7252193192489011419.txt' [INFO] [stdout] = help: within `NewSvcTask, Server, Exec, NoopWatcher>`, the trait `std::marker::Send` is not implemented for `Rc`, which is required by `hyper::common::exec::Exec: hyper::common::exec::NewSvcExec` [INFO] [stdout] = help: the trait `hyper::common::exec::NewSvcExec` is implemented for `hyper::common::exec::Exec` [INFO] [stdout] note: required because it appears within the type `serv::Server` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct Server { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `hyper::proto::h2::server::Server, serv::Server, Body, hyper::common::exec::Exec>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/proto/h2/server.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct Server [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Either, Body, AddrStream, Server>, Server, Server, Body, Exec>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/either.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Either { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Option, Body, AddrStream, Server>, Server, ..., ..., ...>>>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/option.rs:571:10 [INFO] [stdout] note: required because it appears within the type `hyper::server::conn::Connection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/conn.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct Connection [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `hyper::server::conn::upgrades::UpgradeableConnection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/conn.rs:911:16 [INFO] [stdout] | [INFO] [stdout] 911 | pub struct UpgradeableConnection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `State, Server, Exec, NoopWatcher>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/conn.rs:848:10 [INFO] [stdout] | [INFO] [stdout] 848 | enum State> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `NewSvcTask, Server, Exec, NoopWatcher>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/conn.rs:844:16 [INFO] [stdout] | [INFO] [stdout] 844 | pub struct NewSvcTask> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `hyper::common::exec::Exec` to implement `hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] note: required by a bound in `hyper::server::Builder::::serve` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/mod.rs:408:12 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn serve(self, new_service: S) -> Server [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 408 | E: NewSvcExec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::::serve` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/counter-28a9aea7780159db.long-type-7252193192489011419.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/counter-28a9aea7780159db.long-type-14894402942584872869.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/counter-28a9aea7780159db.long-type-2258185780001232812.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/counter-28a9aea7780159db.long-type-9395411892804966352.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn futures::Future> + 'static)` cannot be sent between threads safely [INFO] [stdout] --> examples/counter.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `(dyn futures::Future> + 'static)` cannot be sent between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::marker::Send` is not implemented for `(dyn futures::Future> + 'static)`, which is required by `hyper::common::exec::Exec: hyper::common::exec::H2Exec<_, _>` [INFO] [stdout] = help: the trait `hyper::common::exec::H2Exec` is implemented for `hyper::common::exec::Exec` [INFO] [stdout] = note: required for `Unique<(dyn futures::Future> + 'static)>` to implement `std::marker::Send` [INFO] [stdout] note: required because it appears within the type `Box<(dyn futures::Future> + 'static)>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/boxed.rs:196:12 [INFO] [stdout] note: required because it appears within the type `hyper::proto::h2::server::H2StreamState> + 'static)>, Body>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/proto/h2/server.rs:197:6 [INFO] [stdout] | [INFO] [stdout] 197 | enum H2StreamState [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `hyper::proto::h2::server::H2Stream> + 'static)>, Body>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/proto/h2/server.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct H2Stream [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: required for `hyper::common::exec::Exec` to implement `hyper::common::exec::H2Exec> + 'static)>, Body>` [INFO] [stdout] note: required by a bound in `hyper::server::Builder::::serve` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/mod.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn serve(self, new_service: S) -> Server [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 409 | E: H2Exec<::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::::serve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Rc` cannot be sent between threads safely [INFO] [stdout] --> examples/error.rs:53:16 [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] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: the full trait has been written to '/opt/rustwide/target/debug/examples/error-928f16cc1c07cc79.long-type-5932147392298308395.txt' [INFO] [stdout] = help: within `NewSvcTask, Server, Exec, NoopWatcher>`, the trait `Send` is not implemented for `Rc`, which is required by `hyper::common::exec::Exec: hyper::common::exec::NewSvcExec` [INFO] [stdout] = help: the trait `hyper::common::exec::NewSvcExec` is implemented for `hyper::common::exec::Exec` [INFO] [stdout] note: required because it appears within the type `serv::Server` [INFO] [stdout] --> /opt/rustwide/workdir/src/server.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct Server { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `hyper::proto::h2::server::Server, serv::Server, Body, hyper::common::exec::Exec>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/proto/h2/server.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) struct Server [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Either, Body, AddrStream, Server>, Server, Server, Body, Exec>>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-0.1.31/src/future/either.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Either { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: required because it appears within the type `Option, Body, AddrStream, Server>, Server, ..., ..., ...>>>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/option.rs:571:10 [INFO] [stdout] note: required because it appears within the type `hyper::server::conn::Connection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/conn.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct Connection [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `hyper::server::conn::upgrades::UpgradeableConnection` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/conn.rs:911:16 [INFO] [stdout] | [INFO] [stdout] 911 | pub struct UpgradeableConnection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `State, Server, Exec, NoopWatcher>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/conn.rs:848:10 [INFO] [stdout] | [INFO] [stdout] 848 | enum State> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] note: required because it appears within the type `NewSvcTask, Server, Exec, NoopWatcher>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/conn.rs:844:16 [INFO] [stdout] | [INFO] [stdout] 844 | pub struct NewSvcTask> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: required for `hyper::common::exec::Exec` to implement `hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stdout] note: required by a bound in `hyper::server::Builder::::serve` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/mod.rs:408:12 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn serve(self, new_service: S) -> Server [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 408 | E: NewSvcExec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::::serve` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/error-928f16cc1c07cc79.long-type-5932147392298308395.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/error-928f16cc1c07cc79.long-type-13621455640153430730.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/error-928f16cc1c07cc79.long-type-9229047175610448126.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/error-928f16cc1c07cc79.long-type-804110652724238001.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn hyper::rt::Future> + 'static)` cannot be sent between threads safely [INFO] [stdout] --> examples/error.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `(dyn hyper::rt::Future> + 'static)` cannot be sent between threads safely [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `(dyn hyper::rt::Future> + 'static)`, which is required by `hyper::common::exec::Exec: hyper::common::exec::H2Exec<_, _>` [INFO] [stdout] = help: the trait `hyper::common::exec::H2Exec` is implemented for `hyper::common::exec::Exec` [INFO] [stdout] = note: required for `Unique<(dyn hyper::rt::Future> + 'static)>` to implement `Send` [INFO] [stdout] note: required because it appears within the type `Box<(dyn hyper::rt::Future> + 'static)>` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/alloc/src/boxed.rs:196:12 [INFO] [stdout] note: required because it appears within the type `hyper::proto::h2::server::H2StreamState> + 'static)>, Body>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/proto/h2/server.rs:197:6 [INFO] [stdout] | [INFO] [stdout] 197 | enum H2StreamState [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: required because it appears within the type `hyper::proto::h2::server::H2Stream> + 'static)>, Body>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/proto/h2/server.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct H2Stream [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: required for `hyper::common::exec::Exec` to implement `hyper::common::exec::H2Exec> + 'static)>, Body>` [INFO] [stdout] note: required by a bound in `hyper::server::Builder::::serve` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/mod.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn serve(self, new_service: S) -> Server [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 409 | E: H2Exec<::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Builder::::serve` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map_err` exists for struct `Server`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/counter.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 40 | let server = hyper::server::Server::bind(&addr) [INFO] [stdout] | __________________- [INFO] [stdout] 41 | | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stdout] 42 | | .map_err(|e| eprintln!("failed to serve: {:?}", e)); [INFO] [stdout] | | -^^^^^^^ method cannot be called on `Server` due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/mod.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Server { [INFO] [stdout] | --------------------------------- doesn't satisfy `_: Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/common/exec.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Exec { [INFO] [stdout] | ------------- doesn't satisfy `_: H2Exec>>, _>` or `_: NewSvcExec, Server, Exec, NoopWatcher>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `hyper::common::exec::Exec: hyper::common::exec::H2Exec> + '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] [stdout] error[E0599]: the method `map_err` exists for struct `Server`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/error.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 52 | let server = hyper::server::Server::bind(&addr) [INFO] [stdout] | __________________- [INFO] [stdout] 53 | | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stdout] 54 | | .map_err(|e| eprintln!("failed to serve: {:?}", e)); [INFO] [stdout] | | -^^^^^^^ method cannot be called on `Server` due to unsatisfied trait bounds [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/server/mod.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct Server { [INFO] [stdout] | --------------------------------- doesn't satisfy `_: Future` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.12.36/src/common/exec.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Exec { [INFO] [stdout] | ------------- doesn't satisfy `_: H2Exec>>, _>` or `_: NewSvcExec, Server, Exec, NoopWatcher>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `hyper::common::exec::Exec: hyper::common::exec::H2Exec> + '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/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] 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] [stderr] error: could not compile `serv` (example "counter") due to 4 previous errors; 1 warning emitted [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: could not compile `serv` (example "error") due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "e4b73ee46e9f45f344b666e95b0e2b6441efce78d3c89cf39d58f73f886b7466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4b73ee46e9f45f344b666e95b0e2b6441efce78d3c89cf39d58f73f886b7466", kill_on_drop: false }` [INFO] [stdout] e4b73ee46e9f45f344b666e95b0e2b6441efce78d3c89cf39d58f73f886b7466 [INFO] checking serv-0.2.0 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate serv 0.2.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate serv 0.2.0 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d60efb25fe115980ea626265ce0a218420faf83fda54f3b91604ebc5ea810b32 [INFO] running `Command { std: "docker" "start" "-a" "d60efb25fe115980ea626265ce0a218420faf83fda54f3b91604ebc5ea810b32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d60efb25fe115980ea626265ce0a218420faf83fda54f3b91604ebc5ea810b32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d60efb25fe115980ea626265ce0a218420faf83fda54f3b91604ebc5ea810b32", kill_on_drop: false }` [INFO] [stdout] d60efb25fe115980ea626265ce0a218420faf83fda54f3b91604ebc5ea810b32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e790c4cc6ee2ca72fae81adb995918f38fe4a15546201d5bc0bc238be1a6a5f [INFO] running `Command { std: "docker" "start" "-a" "9e790c4cc6ee2ca72fae81adb995918f38fe4a15546201d5bc0bc238be1a6a5f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "9e790c4cc6ee2ca72fae81adb995918f38fe4a15546201d5bc0bc238be1a6a5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e790c4cc6ee2ca72fae81adb995918f38fe4a15546201d5bc0bc238be1a6a5f", kill_on_drop: false }` [INFO] [stdout] 9e790c4cc6ee2ca72fae81adb995918f38fe4a15546201d5bc0bc238be1a6a5f