[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] testing itsmontoya/tokio_learning against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsmontoya%2Ftokio_learning" "/workspace/builds/worker-4/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/itsmontoya/tokio_learning on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "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-4/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" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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" "+1.40.0" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] fbbdf01cb889503ef513413738c493d4b6aae47806bf367671f95d75a26287c4
[INFO] running `"docker" "start" "-a" "fbbdf01cb889503ef513413738c493d4b6aae47806bf367671f95d75a26287c4"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.22
[INFO] [stderr]    Compiling futures v0.1.13
[INFO] [stderr]    Compiling iovec v0.1.0
[INFO] [stderr]    Compiling net2 v0.2.27
[INFO] [stderr]    Compiling bytes v0.4.2
[INFO] [stderr]    Compiling mio v0.6.7
[INFO] [stderr]    Compiling tokio-io v0.1.1
[INFO] [stderr]    Compiling tokio-core v0.1.6
[INFO] [stderr]    Compiling 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]    = note: expected type `std::io::Error`
[INFO] [stderr]               found type `()`
[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:10
[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: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: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[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 type `std::boxed::Box<(dyn futures::Future<Item = (), Error = std::io::Error> + 'static)>`
[INFO] [stderr]               found type `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 9 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" "fbbdf01cb889503ef513413738c493d4b6aae47806bf367671f95d75a26287c4"`
[INFO] running `"docker" "rm" "-f" "fbbdf01cb889503ef513413738c493d4b6aae47806bf367671f95d75a26287c4"`
[INFO] [stdout] fbbdf01cb889503ef513413738c493d4b6aae47806bf367671f95d75a26287c4
