[INFO] cloning repository https://github.com/itsmontoya/tokio_learning
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itsmontoya/tokio_learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsmontoya%2Ftokio_learning", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsmontoya%2Ftokio_learning'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1ef2f192055ffb041d21a0f4b29151fc24d1d3a4
[INFO] testing itsmontoya/tokio_learning against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitsmontoya%2Ftokio_learning" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[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-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/itsmontoya/tokio_learning on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/itsmontoya/tokio_learning already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded iovec v0.1.0
[INFO] [stderr]   Downloaded bytes v0.4.2
[INFO] [stderr]   Downloaded cfg-if v0.1.0
[INFO] [stderr]   Downloaded byteorder v1.0.0
[INFO] [stderr]   Downloaded tokio-io v0.1.1
[INFO] [stderr]   Downloaded log v0.3.7
[INFO] [stderr]   Downloaded lazycell v0.4.0
[INFO] [stderr]   Downloaded scoped-tls v0.1.0
[INFO] [stderr]   Downloaded miow v0.2.1
[INFO] [stderr]   Downloaded net2 v0.2.27
[INFO] [stderr]   Downloaded mio v0.6.7
[INFO] [stderr]   Downloaded slab v0.3.0
[INFO] [stderr]   Downloaded tokio-core v0.1.6
[INFO] [stderr]   Downloaded libc v0.2.22
[INFO] [stderr]   Downloaded futures v0.1.13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c6af7ddd4f0fe7dca3b2c51ac760bf411a439c55c7b1d874012f721890a3d3d9
[INFO] running `Command { std: "docker" "start" "-a" "c6af7ddd4f0fe7dca3b2c51ac760bf411a439c55c7b1d874012f721890a3d3d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c6af7ddd4f0fe7dca3b2c51ac760bf411a439c55c7b1d874012f721890a3d3d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6af7ddd4f0fe7dca3b2c51ac760bf411a439c55c7b1d874012f721890a3d3d9", kill_on_drop: false }`
[INFO] [stdout] c6af7ddd4f0fe7dca3b2c51ac760bf411a439c55c7b1d874012f721890a3d3d9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f128d3c3a90a8404d4ceaa32e5da9464d88a241fb0d967103a8e4a0e13eb908c
[INFO] running `Command { std: "docker" "start" "-a" "f128d3c3a90a8404d4ceaa32e5da9464d88a241fb0d967103a8e4a0e13eb908c", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.22
[INFO] [stderr]    Compiling log v0.3.7
[INFO] [stderr]    Compiling cfg-if v0.1.0
[INFO] [stderr]    Compiling byteorder v1.0.0
[INFO] [stderr]    Compiling lazycell v0.4.0
[INFO] [stderr]    Compiling slab v0.3.0
[INFO] [stderr]    Compiling futures v0.1.13
[INFO] [stderr]    Compiling scoped-tls v0.1.0
[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] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:86:90
[INFO] [stdout]    |
[INFO] [stdout] 86 | ..., addr: std::net::SocketAddr) -> Box<futures::future::Future<Item=(), Error=std::io::Error>> {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn handleIncoming(socket: tokio_core::net::TcpStream, addr: std::net::SocketAddr) -> Box<dyn futures::future::Future<Item=(), Error=std::io::Error>> {
[INFO] [stdout]    |                                                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<Box<dyn Future<Error = Error, Item = ()>> as Future>::Error == ()`
[INFO] [stdout]    --> src/main.rs:72:22
[INFO] [stdout]     |
[INFO] [stdout]  72 |         handle.spawn(msg);
[INFO] [stdout]     |                ----- ^^^ expected `()`, found `Error`
[INFO] [stdout]     |                |
[INFO] [stdout]     |                required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Handle::spawn`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-core-0.1.6/src/reactor/mod.rs:680:34
[INFO] [stdout]     |
[INFO] [stdout] 679 |     pub fn spawn<F>(&self, f: F)
[INFO] [stdout]     |            ----- required by a bound in this associated function
[INFO] [stdout] 680 |         where F: Future<Item=(), Error=()> + 'static,
[INFO] [stdout]     |                                  ^^^^^^^^ required by this bound in `Handle::spawn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::IntoFuture` is not satisfied
[INFO] [stdout]    --> src/main.rs:70:34
[INFO] [stdout]     |
[INFO] [stdout]  70 |     let done = socket.incoming().for_each(move |(socket, addr)| {
[INFO] [stdout]     |                                  ^^^^^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `futures::Future`:
[INFO] [stdout]               &'a mut F
[INFO] [stdout]               AssertUnwindSafe<F>
[INFO] [stdout]               BiLockAcquire<T>
[INFO] [stdout]               Box<F>
[INFO] [stdout]               Either<A, B>
[INFO] [stdout]               Failed<T, E>
[INFO] [stdout]               Fold<S, F, Fut, T>
[INFO] [stdout]               ForEach<S, F, U>
[INFO] [stdout]             and 54 others
[INFO] [stdout]     = note: required for `()` to implement `futures::IntoFuture`
[INFO] [stdout] note: required by a bound in `futures::Stream::for_each`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.13/src/stream/mod.rs:687:18
[INFO] [stdout]     |
[INFO] [stdout] 685 |     fn for_each<F, U>(self, f: F) -> ForEach<Self, F, U>
[INFO] [stdout]     |        -------- required by a bound in this associated function
[INFO] [stdout] 686 |         where F: FnMut(Self::Item) -> U,
[INFO] [stdout] 687 |               U: IntoFuture<Item=(), Error = Self::Error>,
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Stream::for_each`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::IntoFuture` is not satisfied
[INFO] [stdout]    --> src/main.rs:92:19
[INFO] [stdout]     |
[INFO] [stdout]  92 |     let msg = amt.then(move |result| {
[INFO] [stdout]     |                   ^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `futures::Future`:
[INFO] [stdout]               &'a mut F
[INFO] [stdout]               AssertUnwindSafe<F>
[INFO] [stdout]               BiLockAcquire<T>
[INFO] [stdout]               Box<F>
[INFO] [stdout]               Either<A, B>
[INFO] [stdout]               Failed<T, E>
[INFO] [stdout]               Fold<S, F, Fut, T>
[INFO] [stdout]               ForEach<S, F, U>
[INFO] [stdout]             and 54 others
[INFO] [stdout]     = note: required for `()` to implement `futures::IntoFuture`
[INFO] [stdout] note: required by a bound in `futures::Future::then`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.13/src/future/mod.rs:439:18
[INFO] [stdout]     |
[INFO] [stdout] 437 |     fn then<F, B>(self, f: F) -> Then<Self, B, F>
[INFO] [stdout]     |        ---- required by a bound in this associated function
[INFO] [stdout] 438 |         where F: FnOnce(result::Result<Self::Item, Self::Error>) -> B,
[INFO] [stdout] 439 |               B: IntoFuture,
[INFO] [stdout]     |                  ^^^^^^^^^^ required by this bound in `Future::then`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stdout]   --> src/main.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | Ok(Box::new(msg))
[INFO] [stdout]    |    ^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `futures::Future`:
[INFO] [stdout]              &'a mut F
[INFO] [stdout]              AssertUnwindSafe<F>
[INFO] [stdout]              BiLockAcquire<T>
[INFO] [stdout]              Box<F>
[INFO] [stdout]              Either<A, B>
[INFO] [stdout]              Failed<T, E>
[INFO] [stdout]              Fold<S, F, Fut, T>
[INFO] [stdout]              ForEach<S, F, U>
[INFO] [stdout]            and 54 others
[INFO] [stdout]    = note: required for `()` to implement `futures::IntoFuture`
[INFO] [stdout] note: required by a bound in `futures::Then`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.13/src/future/then.rs:10:46
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Then<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    |                                              ^^^^^^^^^^ required by this bound in `Then`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stdout]   --> src/main.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | Ok(Box::new(msg))
[INFO] [stdout]    |    ^^^^^^^^^^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `futures::Future`:
[INFO] [stdout]              &'a mut F
[INFO] [stdout]              AssertUnwindSafe<F>
[INFO] [stdout]              BiLockAcquire<T>
[INFO] [stdout]              Box<F>
[INFO] [stdout]              Either<A, B>
[INFO] [stdout]              Failed<T, E>
[INFO] [stdout]              Fold<S, F, Fut, T>
[INFO] [stdout]              ForEach<S, F, U>
[INFO] [stdout]            and 54 others
[INFO] [stdout]    = note: required for `()` to implement `futures::IntoFuture`
[INFO] [stdout] note: required by a bound in `futures::Then`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.13/src/future/then.rs:10:46
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Then<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    |                                              ^^^^^^^^^^ required by this bound in `Then`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stdout]   --> src/main.rs:99:1
[INFO] [stdout]    |
[INFO] [stdout] 99 | Ok(Box::new(msg))
[INFO] [stdout]    | ^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `futures::Future`:
[INFO] [stdout]              &'a mut F
[INFO] [stdout]              AssertUnwindSafe<F>
[INFO] [stdout]              BiLockAcquire<T>
[INFO] [stdout]              Box<F>
[INFO] [stdout]              Either<A, B>
[INFO] [stdout]              Failed<T, E>
[INFO] [stdout]              Fold<S, F, Fut, T>
[INFO] [stdout]              ForEach<S, F, U>
[INFO] [stdout]            and 54 others
[INFO] [stdout]    = note: required for `()` to implement `futures::IntoFuture`
[INFO] [stdout] note: required by a bound in `futures::Then`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.13/src/future/then.rs:10:46
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Then<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    |                                              ^^^^^^^^^^ required by this bound in `Then`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `(): futures::Future` is not satisfied
[INFO] [stdout]   --> src/main.rs:99:1
[INFO] [stdout]    |
[INFO] [stdout] 99 | Ok(Box::new(msg))
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ the trait `futures::Future` is not implemented for `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `futures::Future`:
[INFO] [stdout]              &'a mut F
[INFO] [stdout]              AssertUnwindSafe<F>
[INFO] [stdout]              BiLockAcquire<T>
[INFO] [stdout]              Box<F>
[INFO] [stdout]              Either<A, B>
[INFO] [stdout]              Failed<T, E>
[INFO] [stdout]              Fold<S, F, Fut, T>
[INFO] [stdout]              ForEach<S, F, U>
[INFO] [stdout]            and 54 others
[INFO] [stdout]    = note: required for `()` to implement `futures::IntoFuture`
[INFO] [stdout] note: required by a bound in `futures::Then`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/futures-0.1.13/src/future/then.rs:10:46
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Then<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    |                                              ^^^^^^^^^^ required by this bound in `Then`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:99:1
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn handleIncoming(socket: tokio_core::net::TcpStream, addr: std::net::SocketAddr) -> Box<futures::future::Future<Item=(), Error=std::io::Error>> {
[INFO] [stdout]    |                                                                                      ----------------------------------------------------------- expected `Box<(dyn futures::Future<Error = std::io::Error, Item = ()> + 'static)>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 92 |     let msg = amt.then(move |result| {
[INFO] [stdout]    |                        ------------- the found closure
[INFO] [stdout] ...
[INFO] [stdout] 99 | Ok(Box::new(msg))
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^ expected `Box<dyn Future<Error = ..., Item = ()>>`, found `Result<Box<Then<..., (), ...>>, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Box<(dyn futures::Future<Error = std::io::Error, Item = ()> + 'static)>`
[INFO] [stdout]                 found enum `Result<Box<Then<Copy<ReadHalf<TcpStream>, ...>, (), ...>>, _>`
[INFO] [stdout]    = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/helloWorld-3887761cf09d28e2.long-type-15637897136933640202.txt'
[INFO] [stdout]    = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `helloWorld` (bin "helloWorld") due to 8 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "f128d3c3a90a8404d4ceaa32e5da9464d88a241fb0d967103a8e4a0e13eb908c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f128d3c3a90a8404d4ceaa32e5da9464d88a241fb0d967103a8e4a0e13eb908c", kill_on_drop: false }`
[INFO] [stdout] f128d3c3a90a8404d4ceaa32e5da9464d88a241fb0d967103a8e4a0e13eb908c
