You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cargo check --all-targets
Checking hyper v0.13.0-a.0 (/tmp/hyper)
error[E0463]: can't find crate for `futures`
--> tests/client.rs:4:1
|
4 | extern crate futures;
| ^^^^^^^^^^^^^^^^^^^^^ can't find crate
error: aborting due to previous error
For more information about this error, try `rustc --explain E0463`.
error: Could not compile `hyper`.
warning: build failed, waiting for other jobs to finish...
error[E0463]: can't find crate for `tokio_mockstream`
--> src/common/io/rewind.rs:128:5
|
128 | extern crate tokio_mockstream;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
error: aborting due to previous error
For more information about this error, try `rustc --explain E0463`.
error: Could not compile `hyper`.
warning: build failed, waiting for other jobs to finish...
error[E0425]: cannot find function `run` in module `rt`
--> examples/proxy.rs:43:9
|
43 | rt::run(server);
| ^^^ not found in `rt`
error: unused import: `Future`
--> examples/proxy.rs:7:23
|
7 | use hyper::rt::{self, Future};
| ^^^^^^
|
note: lint level defined here
--> examples/proxy.rs:1:9
|
1 | #![deny(warnings)]
| ^^^^^^^^
= note: #[deny(unused_imports)] implied by #[deny(warnings)]
error[E0277]: the trait bound `[closure@examples/proxy.rs:21:23: 34:6 client_main:_, out_addr_clone:_]: hyper::service::MakeService<&'a hyper::server::conn::AddrStream>` is not satisfied
--> examples/proxy.rs:37:10
|
37 | .serve(new_service)
| ^^^^^ the trait `hyper::service::MakeService<&'a hyper::server::conn::AddrStream>` is not implemented for `[closure@examples/proxy.rs:21:23: 34:6 client_main:_, out_addr_clone:_]`
|
= note: required because of the requirements on the impl of `hyper::service::MakeServiceRef<hyper::server::conn::AddrStream>` for `[closure@examples/proxy.rs:21:23: 34:6 client_main:_, out_addr_clone:_]`
error[E0599]: no method named `map_err` found for type `hyper::Server<hyper::server::conn::AddrIncoming, [closure@examples/proxy.rs:21:23: 34:6 client_main:_, out_addr_clone:_]>` in the current scope
--> examples/proxy.rs:38:10
|
38 | .map_err(|e| eprintln!("server error: {}", e));
| ^^^^^^^
error: aborting due to 4 previous errors
Some errors have detailed explanations: E0277, E0425, E0599.
For more information about an error, try `rustc --explain E0277`.
error: Could not compile `hyper`.
To learn more, run the command again with --verbose.
Ah, I didn't realize others were testing hyper master for things. As part of #1836, master disabled running its tests in CI since they aren't updated yet.
I've seen the pattern of moving disabled things to a tests_disabled directory in other projects, I think doing that here would fix this?
seanmonstar
changed the title
fails to build with --all-targets
master branch fails to build with --all-targets
Jul 12, 2019
This broke clippy CI rust-lang/rust-clippy#4270
The text was updated successfully, but these errors were encountered: