[INFO] updating cached repository https://github.com/itsmontoya/tokio_learning
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 1ef2f192055ffb041d21a0f4b29151fc24d1d3a4
[INFO] checking itsmontoya/tokio_learning against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsmontoya%2Ftokio_learning" "/workspace/builds/worker-7/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/itsmontoya/tokio_learning on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/itsmontoya/tokio_learning
[INFO] finished tweaking git repo https://github.com/itsmontoya/tokio_learning
[INFO] tweaked toml for git repo https://github.com/itsmontoya/tokio_learning written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/itsmontoya/tokio_learning already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] ba3cf1a4bba53fddf520548726198843065673530f0b60dff362ffbf2504b0fb
[INFO] running `"docker" "start" "-a" "ba3cf1a4bba53fddf520548726198843065673530f0b60dff362ffbf2504b0fb"`
[INFO] [stderr]     Checking futures v0.1.13
[INFO] [stderr]     Checking iovec v0.1.0
[INFO] [stderr]     Checking net2 v0.2.27
[INFO] [stderr]     Checking bytes v0.4.2
[INFO] [stderr]     Checking mio v0.6.7
[INFO] [stderr]     Checking tokio-io v0.1.1
[INFO] [stderr]     Checking tokio-core v0.1.6
[INFO] [stderr]     Checking helloWorld v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/main.rs:86:90
[INFO] [stderr]    |
[INFO] [stderr] 86 | fn handleIncoming(socket: tokio_core::net::TcpStream, addr: std::net::SocketAddr) -> Box<futures::future::Future<Item=(), Error=std::io::Error>> {
[INFO] [stderr]    |                                                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn futures::future::Future<Item=(), Error=std::io::Error>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0271]: type mismatch resolving `<std::boxed::Box<dyn futures::Future<Item = (), Error = std::io::Error>> as futures::Future>::Error == ()`
[INFO] [stderr]   --> src/main.rs:72:16
[INFO] [stderr]    |
[INFO] [stderr] 72 |         handle.spawn(msg);
[INFO] [stderr]    |                ^^^^^ expected struct `std::io::Error`, found `()`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stderr]   --> src/main.rs:70:34
[INFO] [stderr]    |
[INFO] [stderr] 70 |     let done = socket.incoming().for_each(move |(socket, addr)| {
[INFO] [stderr]    |                                  ^^^^^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stderr]    |
[INFO] [stderr]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stderr]   --> src/main.rs:83:14
[INFO] [stderr]    |
[INFO] [stderr] 83 |     core.run(done).unwrap();
[INFO] [stderr]    |              ^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stderr]    |
[INFO] [stderr]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stderr]    = note: required because of the requirements on the impl of `futures::Future` for `futures::stream::ForEach<tokio_core::net::Incoming, [closure@src/main.rs:70:43: 73:6 handle:_], ()>`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stderr]   --> src/main.rs:92:19
[INFO] [stderr]    |
[INFO] [stderr] 92 |     let msg = amt.then(move |result| {
[INFO] [stderr]    |                   ^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stderr]    |
[INFO] [stderr]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stderr]   --> src/main.rs:99:13
[INFO] [stderr]    |
[INFO] [stderr] 99 | Ok(Box::new(msg))
[INFO] [stderr]    |             ^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stderr]    |
[INFO] [stderr]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stderr]    = note: required by `futures::Then`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stderr]   --> src/main.rs:99:4
[INFO] [stderr]    |
[INFO] [stderr] 99 | Ok(Box::new(msg))
[INFO] [stderr]    |    ^^^^^^^^^^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stderr]    |
[INFO] [stderr]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stderr]    = note: required by `futures::Then`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stderr]   --> src/main.rs:99:1
[INFO] [stderr]    |
[INFO] [stderr] 99 | Ok(Box::new(msg))
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stderr]    |
[INFO] [stderr]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stderr]    = note: required by `futures::Then`
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/main.rs:86:90
[INFO] [stderr]    |
[INFO] [stderr] 86 | fn handleIncoming(socket: tokio_core::net::TcpStream, addr: std::net::SocketAddr) -> Box<futures::future::Future<Item=(), Error=std::io::Error>> {
[INFO] [stderr]    |                                                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn futures::future::Future<Item=(), Error=std::io::Error>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:99:1
[INFO] [stderr]    |
[INFO] [stderr] 86 | fn handleIncoming(socket: tokio_core::net::TcpStream, addr: std::net::SocketAddr) -> Box<futures::future::Future<Item=(), Error=std::io::Error>> {
[INFO] [stderr]    |                                                                                      ----------------------------------------------------------- expected `std::boxed::Box<(dyn futures::Future<Item = (), Error = std::io::Error> + 'static)>` because of return type
[INFO] [stderr] ...
[INFO] [stderr] 99 | Ok(Box::new(msg))
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    | |
[INFO] [stderr]    | expected struct `std::boxed::Box`, found enum `std::result::Result`
[INFO] [stderr]    | help: store this in the heap by calling `Box::new`: `Box::new(Ok(Box::new(msg)))`
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected struct `std::boxed::Box<(dyn futures::Future<Item = (), Error = std::io::Error> + 'static)>`
[INFO] [stderr]                 found enum `std::result::Result<std::boxed::Box<futures::Then<tokio_io::io::Copy<tokio_io::io::ReadHalf<tokio_core::net::TcpStream>, tokio_io::io::WriteHalf<tokio_core::net::TcpStream>>, (), [closure@src/main.rs:92:24: 97:6 addr:_]>>, _>`
[INFO] [stderr]    = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 8 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0271, E0277, E0308.
[INFO] [stderr] For more information about an error, try `rustc --explain E0271`.
[INFO] [stderr] error[E0271]: type mismatch resolving `<std::boxed::Box<dyn futures::Future<Item = (), Error = std::io::Error>> as futures::Future>::Error == ()`
[INFO] [stderr]   --> src/main.rs:72:16
[INFO] [stderr]    |
[INFO] [stderr] 72 |         handle.spawn(msg);
[INFO] [stderr]    |                ^^^^^ expected struct `std::io::Error`, found `()`
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `helloWorld`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stderr]   --> src/main.rs:70:34
[INFO] [stderr]    |
[INFO] [stderr] 70 |     let done = socket.incoming().for_each(move |(socket, addr)| {
[INFO] [stderr]    |                                  ^^^^^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stderr]    |
[INFO] [stderr]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stderr]   --> src/main.rs:83:14
[INFO] [stderr]    |
[INFO] [stderr] 83 |     core.run(done).unwrap();
[INFO] [stderr]    |              ^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stderr]    |
[INFO] [stderr]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stderr]    = note: required because of the requirements on the impl of `futures::Future` for `futures::stream::ForEach<tokio_core::net::Incoming, [closure@src/main.rs:70:43: 73:6 handle:_], ()>`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stderr]   --> src/main.rs:92:19
[INFO] [stderr]    |
[INFO] [stderr] 92 |     let msg = amt.then(move |result| {
[INFO] [stderr]    |                   ^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stderr]    |
[INFO] [stderr]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stderr]   --> src/main.rs:99:13
[INFO] [stderr]    |
[INFO] [stderr] 99 | Ok(Box::new(msg))
[INFO] [stderr]    |             ^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stderr]    |
[INFO] [stderr]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stderr]    = note: required by `futures::Then`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stderr]   --> src/main.rs:99:4
[INFO] [stderr]    |
[INFO] [stderr] 99 | Ok(Box::new(msg))
[INFO] [stderr]    |    ^^^^^^^^^^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stderr]    |
[INFO] [stderr]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stderr]    = note: required by `futures::Then`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stderr]   --> src/main.rs:99:1
[INFO] [stderr]    |
[INFO] [stderr] 99 | Ok(Box::new(msg))
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stderr]    |
[INFO] [stderr]    = note: required because of the requirements on the impl of `futures::IntoFuture` for `()`
[INFO] [stderr]    = note: required by `futures::Then`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/main.rs:99:1
[INFO] [stderr]    |
[INFO] [stderr] 86 | fn handleIncoming(socket: tokio_core::net::TcpStream, addr: std::net::SocketAddr) -> Box<futures::future::Future<Item=(), Error=std::io::Error>> {
[INFO] [stderr]    |                                                                                      ----------------------------------------------------------- expected `std::boxed::Box<(dyn futures::Future<Item = (), Error = std::io::Error> + 'static)>` because of return type
[INFO] [stderr] ...
[INFO] [stderr] 99 | Ok(Box::new(msg))
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    | |
[INFO] [stderr]    | expected struct `std::boxed::Box`, found enum `std::result::Result`
[INFO] [stderr]    | help: store this in the heap by calling `Box::new`: `Box::new(Ok(Box::new(msg)))`
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected struct `std::boxed::Box<(dyn futures::Future<Item = (), Error = std::io::Error> + 'static)>`
[INFO] [stderr]                 found enum `std::result::Result<std::boxed::Box<futures::Then<tokio_io::io::Copy<tokio_io::io::ReadHalf<tokio_core::net::TcpStream>, tokio_io::io::WriteHalf<tokio_core::net::TcpStream>>, (), [closure@src/main.rs:92:24: 97:6 addr:_]>>, _>`
[INFO] [stderr]    = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 8 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0271, E0277, E0308.
[INFO] [stderr] For more information about an error, try `rustc --explain E0271`.
[INFO] [stderr] error: could not compile `helloWorld`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "ba3cf1a4bba53fddf520548726198843065673530f0b60dff362ffbf2504b0fb"`
[INFO] running `"docker" "rm" "-f" "ba3cf1a4bba53fddf520548726198843065673530f0b60dff362ffbf2504b0fb"`
[INFO] [stdout] ba3cf1a4bba53fddf520548726198843065673530f0b60dff362ffbf2504b0fb
