[INFO] crate serv 0.2.0 is already in cache [INFO] extracting crate serv 0.2.0 into work/ex/pr-58592/sources/master#f66e4697ae286985ddefc53c3a047614568458bb/reg/serv/0.2.0 [INFO] extracting crate serv 0.2.0 into work/ex/pr-58592/sources/try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a/reg/serv/0.2.0 [INFO] validating manifest of serv-0.2.0 on toolchain master#f66e4697ae286985ddefc53c3a047614568458bb [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+f66e4697ae286985ddefc53c3a047614568458bb-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of serv-0.2.0 on toolchain try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c3b22200e6f5b70eb1f99ae6944d989ae17a458a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing serv-0.2.0 [INFO] finished frobbing serv-0.2.0 [INFO] frobbed toml for serv-0.2.0 written to work/ex/pr-58592/sources/master#f66e4697ae286985ddefc53c3a047614568458bb/reg/serv/0.2.0/Cargo.toml [INFO] started frobbing serv-0.2.0 [INFO] finished frobbing serv-0.2.0 [INFO] frobbed toml for serv-0.2.0 written to work/ex/pr-58592/sources/try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a/reg/serv/0.2.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+f66e4697ae286985ddefc53c3a047614568458bb-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c3b22200e6f5b70eb1f99ae6944d989ae17a458a-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+f66e4697ae286985ddefc53c3a047614568458bb-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c3b22200e6f5b70eb1f99ae6944d989ae17a458a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking serv-0.2.0 against master#f66e4697ae286985ddefc53c3a047614568458bb for pr-58592 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-58592/worker-0/master#f66e4697ae286985ddefc53c3a047614568458bb:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-58592/sources/master#f66e4697ae286985ddefc53c3a047614568458bb/reg/serv/0.2.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+f66e4697ae286985ddefc53c3a047614568458bb-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 9c486c75ee69a18aaea2001c6da07884498af478bb50d0a7d9af1537e869684a [INFO] running `"docker" "start" "-a" "9c486c75ee69a18aaea2001c6da07884498af478bb50d0a7d9af1537e869684a"` [INFO] [stderr] Checking serde_qs v0.4.5 [INFO] [stderr] Checking serv v0.2.0 (/opt/crater/workdir) [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/lib.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | / error_chain!{ [INFO] [stderr] 27 | | foreign_links { [INFO] [stderr] 28 | | Hyper(hyper::Error); [INFO] [stderr] 29 | | Http(http::Error); [INFO] [stderr] ... | [INFO] [stderr] 49 | | } [INFO] [stderr] 50 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/lib.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | / error_chain!{ [INFO] [stderr] 27 | | foreign_links { [INFO] [stderr] 28 | | Hyper(hyper::Error); [INFO] [stderr] 29 | | Http(http::Error); [INFO] [stderr] ... | [INFO] [stderr] 49 | | } [INFO] [stderr] 50 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/lib.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | / error_chain!{ [INFO] [stderr] 27 | | foreign_links { [INFO] [stderr] 28 | | Hyper(hyper::Error); [INFO] [stderr] 29 | | Http(http::Error); [INFO] [stderr] ... | [INFO] [stderr] 49 | | } [INFO] [stderr] 50 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/lib.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | / error_chain!{ [INFO] [stderr] 27 | | foreign_links { [INFO] [stderr] 28 | | Hyper(hyper::Error); [INFO] [stderr] 29 | | Http(http::Error); [INFO] [stderr] ... | [INFO] [stderr] 49 | | } [INFO] [stderr] 50 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: `std::rc::Rc` cannot be sent between threads safely [INFO] [stderr] --> examples/hello.rs:28:10 [INFO] [stderr] | [INFO] [stderr] 28 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stderr] | ^^^^^ `std::rc::Rc` cannot be sent between threads safely [INFO] [stderr] | [INFO] [stderr] = help: within `hyper::server::conn::spawn_all::NewSvcTask, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>`, the trait `std::marker::Send` is not implemented for `std::rc::Rc` [INFO] [stderr] = note: required because it appears within the type `serv::Server` [INFO] [stderr] = note: required because it appears within the type `hyper::proto::h2::server::Server, serv::Server, hyper::Body, hyper::common::exec::Exec>` [INFO] [stderr] = note: required because it appears within the type `tokio::prelude::future::Either, hyper::Body, hyper::server::conn::AddrStream, hyper::proto::h1::role::Server>, hyper::proto::h2::server::Server, serv::Server, hyper::Body, hyper::common::exec::Exec>>` [INFO] [stderr] = note: required because it appears within the type `std::option::Option, hyper::Body, hyper::server::conn::AddrStream, hyper::proto::h1::role::Server>, hyper::proto::h2::server::Server, serv::Server, hyper::Body, hyper::common::exec::Exec>>>` [INFO] [stderr] = note: required because it appears within the type `hyper::server::conn::Connection` [INFO] [stderr] = note: required because it appears within the type `hyper::server::conn::upgrades::UpgradeableConnection` [INFO] [stderr] = note: required because it appears within the type `hyper::server::conn::spawn_all::State, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stderr] = note: required because it appears within the type `hyper::server::conn::spawn_all::NewSvcTask, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stderr] = note: required because of the requirements on the impl of `hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` for `hyper::common::exec::Exec` [INFO] [stderr] [INFO] [stderr] error[E0277]: `(dyn hyper::rt::Future, Error=hyper::Error> + 'static)` cannot be sent between threads safely [INFO] [stderr] --> examples/hello.rs:28:10 [INFO] [stderr] | [INFO] [stderr] 28 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stderr] | ^^^^^ `(dyn hyper::rt::Future, Error=hyper::Error> + 'static)` cannot be sent between threads safely [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Send` is not implemented for `(dyn hyper::rt::Future, Error=hyper::Error> + 'static)` [INFO] [stderr] = note: required because of the requirements on the impl of `std::marker::Send` for `std::ptr::Unique<(dyn hyper::rt::Future, Error=hyper::Error> + 'static)>` [INFO] [stderr] = note: required because it appears within the type `std::boxed::Box<(dyn hyper::rt::Future, Error=hyper::Error> + 'static)>` [INFO] [stderr] = note: required because it appears within the type `hyper::proto::h2::server::H2StreamState, Error=hyper::Error> + 'static)>, hyper::Body>` [INFO] [stderr] = note: required because it appears within the type `hyper::proto::h2::server::H2Stream, Error=hyper::Error> + 'static)>, hyper::Body>` [INFO] [stderr] = note: required because of the requirements on the impl of `hyper::common::exec::H2Exec, Error=hyper::Error> + 'static)>, hyper::Body>` for `hyper::common::exec::Exec` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map_err` found for type `hyper::Server` in the current scope [INFO] [stderr] --> examples/hello.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | .map_err(|e| eprintln!("failed to serve: {:?}", e)); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `map_err` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut hyper::Server : hyper::rt::Future` [INFO] [stderr] `hyper::Server : hyper::rt::Future` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `serv`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0277]: `std::rc::Rc` cannot be sent between threads safely [INFO] [stderr] --> examples/error.rs:53:10 [INFO] [stderr] | [INFO] [stderr] 53 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stderr] | ^^^^^ `std::rc::Rc` cannot be sent between threads safely [INFO] [stderr] | [INFO] [stderr] = help: within `hyper::server::conn::spawn_all::NewSvcTask, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>`, the trait `std::marker::Send` is not implemented for `std::rc::Rc` [INFO] [stderr] = note: required because it appears within the type `serv::Server` [INFO] [stderr] = note: required because it appears within the type `hyper::proto::h2::server::Server, serv::Server, hyper::Body, hyper::common::exec::Exec>` [INFO] [stderr] = note: required because it appears within the type `tokio::prelude::future::Either, hyper::Body, hyper::server::conn::AddrStream, hyper::proto::h1::role::Server>, hyper::proto::h2::server::Server, serv::Server, hyper::Body, hyper::common::exec::Exec>>` [INFO] [stderr] = note: required because it appears within the type `std::option::Option, hyper::Body, hyper::server::conn::AddrStream, hyper::proto::h1::role::Server>, hyper::proto::h2::server::Server, serv::Server, hyper::Body, hyper::common::exec::Exec>>>` [INFO] [stderr] = note: required because it appears within the type `hyper::server::conn::Connection` [INFO] [stderr] = note: required because it appears within the type `hyper::server::conn::upgrades::UpgradeableConnection` [INFO] [stderr] = note: required because it appears within the type `hyper::server::conn::spawn_all::State, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stderr] = note: required because it appears within the type `hyper::server::conn::spawn_all::NewSvcTask, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stderr] = note: required because of the requirements on the impl of `hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` for `hyper::common::exec::Exec` [INFO] [stderr] [INFO] [stderr] error[E0277]: `(dyn hyper::rt::Future, Error=hyper::Error> + 'static)` cannot be sent between threads safely [INFO] [stderr] --> examples/error.rs:53:10 [INFO] [stderr] | [INFO] [stderr] 53 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stderr] | ^^^^^ `(dyn hyper::rt::Future, Error=hyper::Error> + 'static)` cannot be sent between threads safely [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Send` is not implemented for `(dyn hyper::rt::Future, Error=hyper::Error> + 'static)` [INFO] [stderr] = note: required because of the requirements on the impl of `std::marker::Send` for `std::ptr::Unique<(dyn hyper::rt::Future, Error=hyper::Error> + 'static)>` [INFO] [stderr] = note: required because it appears within the type `std::boxed::Box<(dyn hyper::rt::Future, Error=hyper::Error> + 'static)>` [INFO] [stderr] = note: required because it appears within the type `hyper::proto::h2::server::H2StreamState, Error=hyper::Error> + 'static)>, hyper::Body>` [INFO] [stderr] = note: required because it appears within the type `hyper::proto::h2::server::H2Stream, Error=hyper::Error> + 'static)>, hyper::Body>` [INFO] [stderr] = note: required because of the requirements on the impl of `hyper::common::exec::H2Exec, Error=hyper::Error> + 'static)>, hyper::Body>` for `hyper::common::exec::Exec` [INFO] [stderr] [INFO] [stderr] error[E0277]: `std::rc::Rc` cannot be sent between threads safely [INFO] [stderr] --> examples/counter.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stderr] | ^^^^^ `std::rc::Rc` cannot be sent between threads safely [INFO] [stderr] | [INFO] [stderr] = help: within `hyper::server::conn::spawn_all::NewSvcTask, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>`, the trait `std::marker::Send` is not implemented for `std::rc::Rc` [INFO] [stderr] = note: required because it appears within the type `serv::Server` [INFO] [stderr] = note: required because it appears within the type `hyper::proto::h2::server::Server, serv::Server, hyper::Body, hyper::common::exec::Exec>` [INFO] [stderr] = note: required because it appears within the type `futures::future::Either, hyper::Body, hyper::server::conn::AddrStream, hyper::proto::h1::role::Server>, hyper::proto::h2::server::Server, serv::Server, hyper::Body, hyper::common::exec::Exec>>` [INFO] [stderr] = note: required because it appears within the type `std::option::Option, hyper::Body, hyper::server::conn::AddrStream, hyper::proto::h1::role::Server>, hyper::proto::h2::server::Server, serv::Server, hyper::Body, hyper::common::exec::Exec>>>` [INFO] [stderr] = note: required because it appears within the type `hyper::server::conn::Connection` [INFO] [stderr] = note: required because it appears within the type `hyper::server::conn::upgrades::UpgradeableConnection` [INFO] [stderr] = note: required because it appears within the type `hyper::server::conn::spawn_all::State, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stderr] = note: required because it appears within the type `hyper::server::conn::spawn_all::NewSvcTask, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stderr] = note: required because of the requirements on the impl of `hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` for `hyper::common::exec::Exec` [INFO] [stderr] [INFO] [stderr] error[E0277]: `(dyn futures::Future, Error=hyper::Error> + 'static)` cannot be sent between threads safely [INFO] [stderr] --> examples/counter.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stderr] | ^^^^^ `(dyn futures::Future, Error=hyper::Error> + 'static)` cannot be sent between threads safely [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Send` is not implemented for `(dyn futures::Future, Error=hyper::Error> + 'static)` [INFO] [stderr] = note: required because of the requirements on the impl of `std::marker::Send` for `std::ptr::Unique<(dyn futures::Future, Error=hyper::Error> + 'static)>` [INFO] [stderr] = note: required because it appears within the type `std::boxed::Box<(dyn futures::Future, Error=hyper::Error> + 'static)>` [INFO] [stderr] = note: required because it appears within the type `hyper::proto::h2::server::H2StreamState, Error=hyper::Error> + 'static)>, hyper::Body>` [INFO] [stderr] = note: required because it appears within the type `hyper::proto::h2::server::H2Stream, Error=hyper::Error> + 'static)>, hyper::Body>` [INFO] [stderr] = note: required because of the requirements on the impl of `hyper::common::exec::H2Exec, Error=hyper::Error> + 'static)>, hyper::Body>` for `hyper::common::exec::Exec` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map_err` found for type `hyper::Server` in the current scope [INFO] [stderr] --> examples/error.rs:54:10 [INFO] [stderr] | [INFO] [stderr] 54 | .map_err(|e| eprintln!("failed to serve: {:?}", e)); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `map_err` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut hyper::Server : hyper::rt::Future` [INFO] [stderr] `hyper::Server : hyper::rt::Future` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> examples/error.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | / error_chain! { [INFO] [stderr] 15 | | foreign_links { [INFO] [stderr] 16 | | Serv(serv::Error); [INFO] [stderr] 17 | | } [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `map_err` found for type `hyper::Server` in the current scope [INFO] [stderr] --> examples/counter.rs:42:10 [INFO] [stderr] | [INFO] [stderr] 42 | .map_err(|e| eprintln!("failed to serve: {:?}", e)); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `map_err` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut hyper::Server : futures::Future` [INFO] [stderr] `hyper::Server : futures::Future` [INFO] [stderr] [INFO] [stderr] error[E0277]: `std::rc::Rc` cannot be sent between threads safely [INFO] [stderr] --> examples/hello_async.rs:36:10 [INFO] [stderr] | [INFO] [stderr] 36 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stderr] | ^^^^^ `std::rc::Rc` cannot be sent between threads safely [INFO] [stderr] | [INFO] [stderr] = help: within `hyper::server::conn::spawn_all::NewSvcTask, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>`, the trait `std::marker::Send` is not implemented for `std::rc::Rc` [INFO] [stderr] = note: required because it appears within the type `serv::Server` [INFO] [stderr] = note: required because it appears within the type `hyper::proto::h2::server::Server, serv::Server, hyper::Body, hyper::common::exec::Exec>` [INFO] [stderr] = note: required because it appears within the type `tokio::prelude::future::Either, hyper::Body, hyper::server::conn::AddrStream, hyper::proto::h1::role::Server>, hyper::proto::h2::server::Server, serv::Server, hyper::Body, hyper::common::exec::Exec>>` [INFO] [stderr] = note: required because it appears within the type `std::option::Option, hyper::Body, hyper::server::conn::AddrStream, hyper::proto::h1::role::Server>, hyper::proto::h2::server::Server, serv::Server, hyper::Body, hyper::common::exec::Exec>>>` [INFO] [stderr] = note: required because it appears within the type `hyper::server::conn::Connection` [INFO] [stderr] = note: required because it appears within the type `hyper::server::conn::upgrades::UpgradeableConnection` [INFO] [stderr] = note: required because it appears within the type `hyper::server::conn::spawn_all::State, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stderr] = note: required because it appears within the type `hyper::server::conn::spawn_all::NewSvcTask, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` [INFO] [stderr] = note: required because of the requirements on the impl of `hyper::common::exec::NewSvcExec, serv::Server, hyper::common::exec::Exec, hyper::server::conn::spawn_all::NoopWatcher>` for `hyper::common::exec::Exec` [INFO] [stderr] [INFO] [stderr] error[E0277]: `(dyn hyper::rt::Future, Error=hyper::Error> + 'static)` cannot be sent between threads safely [INFO] [stderr] --> examples/hello_async.rs:36:10 [INFO] [stderr] | [INFO] [stderr] 36 | .serve(move || Ok::<_, hyper::Error>(server.clone())) [INFO] [stderr] | ^^^^^ `(dyn hyper::rt::Future, Error=hyper::Error> + 'static)` cannot be sent between threads safely [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Send` is not implemented for `(dyn hyper::rt::Future, Error=hyper::Error> + 'static)` [INFO] [stderr] = note: required because of the requirements on the impl of `std::marker::Send` for `std::ptr::Unique<(dyn hyper::rt::Future, Error=hyper::Error> + 'static)>` [INFO] [stderr] = note: required because it appears within the type `std::boxed::Box<(dyn hyper::rt::Future, Error=hyper::Error> + 'static)>` [INFO] [stderr] = note: required because it appears within the type `hyper::proto::h2::server::H2StreamState, Error=hyper::Error> + 'static)>, hyper::Body>` [INFO] [stderr] = note: required because it appears within the type `hyper::proto::h2::server::H2Stream, Error=hyper::Error> + 'static)>, hyper::Body>` [INFO] [stderr] = note: required because of the requirements on the impl of `hyper::common::exec::H2Exec, Error=hyper::Error> + 'static)>, hyper::Body>` for `hyper::common::exec::Exec` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `serv`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `serv`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `map_err` found for type `hyper::Server` in the current scope [INFO] [stderr] --> examples/hello_async.rs:37:10 [INFO] [stderr] | [INFO] [stderr] 37 | .map_err(|e| eprintln!("failed to serve: {:?}", e)); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `map_err` exists but the following trait bounds were not satisfied: [INFO] [stderr] `&mut hyper::Server : hyper::rt::Future` [INFO] [stderr] `hyper::Server : hyper::rt::Future` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0277, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `serv`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "9c486c75ee69a18aaea2001c6da07884498af478bb50d0a7d9af1537e869684a"` [INFO] running `"docker" "rm" "-f" "9c486c75ee69a18aaea2001c6da07884498af478bb50d0a7d9af1537e869684a"` [INFO] [stdout] 9c486c75ee69a18aaea2001c6da07884498af478bb50d0a7d9af1537e869684a