[INFO] fetching crate serv 0.2.0... [INFO] checking serv-0.2.0 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate serv 0.2.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate serv 0.2.0 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 113 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.4.12 (available: v1.8.0) [INFO] [stderr] Adding fst v0.3.5 (available: v0.4.7) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding http v0.1.21 (available: v1.1.0) [INFO] [stderr] Adding hyper v0.12.36 (available: v1.5.1) [INFO] [stderr] Adding serde_qs v0.4.6 (available: v0.13.0) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.41.1) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.4) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memmap v0.6.2 [INFO] [stderr] Downloaded fst v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7df39e09d659b546e3490e156d68b9a0edf4b64d11ce3e0623f882ff79fd6137 [INFO] running `Command { std: "docker" "start" "-a" "7df39e09d659b546e3490e156d68b9a0edf4b64d11ce3e0623f882ff79fd6137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7df39e09d659b546e3490e156d68b9a0edf4b64d11ce3e0623f882ff79fd6137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7df39e09d659b546e3490e156d68b9a0edf4b64d11ce3e0623f882ff79fd6137", kill_on_drop: false }` [INFO] [stdout] 7df39e09d659b546e3490e156d68b9a0edf4b64d11ce3e0623f882ff79fd6137 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b57a51a3341308b77f28c07803c5a2c039bee8554c6b0ac7a2c5bdc964089cc4 [INFO] running `Command { std: "docker" "start" "-a" "b57a51a3341308b77f28c07803c5a2c039bee8554c6b0ac7a2c5bdc964089cc4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking mio-uds v0.6.8 [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] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.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] Compiling serde_derive v1.0.215 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking serde_qs v0.4.6 [INFO] [stderr] Checking serv v0.2.0 (/opt/rustwide/workdir) [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-20967060aa451f83.long-type-8919469192838502630.txt' [INFO] [stdout] = help: within `NewSvcTask, Server, Exec, NoopWatcher>`, the trait `std::marker::Send` is not implemented for `Rc` [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 `Server, Server, Body, 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>, ...>` [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, ...>, ...>>` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/option.rs:572: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 `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-20967060aa451f83.long-type-14144551067437669823.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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-b37044bd01234a33.long-type-12903968673452796392.txt' [INFO] [stdout] = help: within `NewSvcTask, Server, Exec, ...>`, the trait `Send` is not implemented for `Rc` [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 `Server, Server, Body, 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>, ...>` [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, ...>, ...>>` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/option.rs:572: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 `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, ...>` [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, ...>` [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-b37044bd01234a33.long-type-14779013408989947805.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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-930499fbf400790a.long-type-16982454868902872915.txt' [INFO] [stdout] = help: within `NewSvcTask, Server, Exec, ...>`, the trait `Send` is not implemented for `Rc` [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 `Server, Server, Body, 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>, ...>` [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, ...>, ...>>` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/option.rs:572: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 `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, ...>` [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, ...>` [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-930499fbf400790a.long-type-15816350703914836934.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)` [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/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/boxed.rs:233:12 [INFO] [stdout] note: required because it appears within the type `H2StreamState>, ...>` [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 `H2Stream>>, 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/hello_async-b37044bd01234a33.long-type-14519643099267586030.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)` [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/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/boxed.rs:233:12 [INFO] [stdout] note: required because it appears within the type `H2StreamState>, ...>` [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 `H2Stream>>, 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/hello-930499fbf400790a.long-type-4985765963078644442.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)` [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/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/boxed.rs:233:12 [INFO] [stdout] note: required because it appears within the type `H2StreamState>, ...>` [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 `H2Stream>>, 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/counter-20967060aa451f83.long-type-9521637521105992141.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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/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/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] 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-1a2afaf78bfe5e43.long-type-10142386510406672509.txt' [INFO] [stdout] = help: within `NewSvcTask, Server, Exec, ...>`, the trait `Send` is not implemented for `Rc` [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 `Server, Server, Body, 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>, ...>` [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, ...>, ...>>` [INFO] [stdout] --> /rustc/ff1737bb00913444173658b4e0b274fd79aabf66/library/core/src/option.rs:572: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 `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, ...>` [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, ...>` [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-1a2afaf78bfe5e43.long-type-16692853470549822958.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)` [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/ff1737bb00913444173658b4e0b274fd79aabf66/library/alloc/src/boxed.rs:233:12 [INFO] [stdout] note: required because it appears within the type `H2StreamState>, ...>` [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 `H2Stream>>, 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/error-1a2afaf78bfe5e43.long-type-4596173529449370523.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [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] For more information about an error, try `rustc --explain E0277`. [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 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: could not compile `serv` (example "hello") due to 3 previous errors [INFO] [stderr] error: could not compile `serv` (example "counter") due to 3 previous errors [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 3 previous errors [INFO] running `Command { std: "docker" "inspect" "b57a51a3341308b77f28c07803c5a2c039bee8554c6b0ac7a2c5bdc964089cc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b57a51a3341308b77f28c07803c5a2c039bee8554c6b0ac7a2c5bdc964089cc4", kill_on_drop: false }` [INFO] [stdout] b57a51a3341308b77f28c07803c5a2c039bee8554c6b0ac7a2c5bdc964089cc4