[INFO] updating cached repository itsmontoya/tokio_learning [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/itsmontoya/tokio_learning [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/itsmontoya/tokio_learning" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/itsmontoya/tokio_learning"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/itsmontoya/tokio_learning'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/itsmontoya/tokio_learning" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/itsmontoya/tokio_learning"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/itsmontoya/tokio_learning'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 1ef2f192055ffb041d21a0f4b29151fc24d1d3a4 [INFO] sha for GitHub repo itsmontoya/tokio_learning: 1ef2f192055ffb041d21a0f4b29151fc24d1d3a4 [INFO] validating manifest of itsmontoya/tokio_learning on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of itsmontoya/tokio_learning on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing itsmontoya/tokio_learning [INFO] finished frobbing itsmontoya/tokio_learning [INFO] frobbed toml for itsmontoya/tokio_learning written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/itsmontoya/tokio_learning/Cargo.toml [INFO] started frobbing itsmontoya/tokio_learning [INFO] finished frobbing itsmontoya/tokio_learning [INFO] frobbed toml for itsmontoya/tokio_learning written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/itsmontoya/tokio_learning/Cargo.toml [INFO] crate itsmontoya/tokio_learning already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking itsmontoya/tokio_learning against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-5/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/itsmontoya/tokio_learning:/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" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] adc8a020e0e57d10b4520101e0ec3b91c3978adcd7db37228a1b82bf9afd5c8e [INFO] running `"docker" "start" "-a" "adc8a020e0e57d10b4520101e0ec3b91c3978adcd7db37228a1b82bf9afd5c8e"` [INFO] [stderr] Checking tokio-io v0.1.1 [INFO] [stderr] Checking tokio-core v0.1.6 [INFO] [stderr] Checking helloWorld v0.1.0 (/opt/crater/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> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn futures::future::Future` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0271]: type mismatch resolving `> 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` [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> { [INFO] [stderr] | ----------------------------------------------------------- expected `std::boxed::Box<(dyn futures::Future + 'static)>` because of return type [INFO] [stderr] ... [INFO] [stderr] 99 | Ok(Box::new(msg)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ expected struct `std::boxed::Box`, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::boxed::Box<(dyn futures::Future + 'static)>` [INFO] [stderr] found type `std::result::Result, tokio_io::io::WriteHalf>, (), [closure@src/main.rs:92:24: 97:6 addr:_]>>, _>` [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] warning: build failed, waiting for other jobs to finish... [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> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn futures::future::Future` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0271]: type mismatch resolving `> 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` [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> { [INFO] [stderr] | ----------------------------------------------------------- expected `std::boxed::Box<(dyn futures::Future + 'static)>` because of return type [INFO] [stderr] ... [INFO] [stderr] 99 | Ok(Box::new(msg)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ expected struct `std::boxed::Box`, found enum `std::result::Result` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::boxed::Box<(dyn futures::Future + 'static)>` [INFO] [stderr] found type `std::result::Result, tokio_io::io::WriteHalf>, (), [closure@src/main.rs:92:24: 97:6 addr:_]>>, _>` [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" "adc8a020e0e57d10b4520101e0ec3b91c3978adcd7db37228a1b82bf9afd5c8e"` [INFO] running `"docker" "rm" "-f" "adc8a020e0e57d10b4520101e0ec3b91c3978adcd7db37228a1b82bf9afd5c8e"` [INFO] [stdout] adc8a020e0e57d10b4520101e0ec3b91c3978adcd7db37228a1b82bf9afd5c8e