[INFO] cloning repository https://github.com/singhmarut/rust-concurrency
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/singhmarut/rust-concurrency" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinghmarut%2Frust-concurrency", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinghmarut%2Frust-concurrency'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cea217d2def64bef1846a737b9aa097217d53cfd
[INFO] checking singhmarut/rust-concurrency against beta-2021-10-15 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinghmarut%2Frust-concurrency" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/singhmarut/rust-concurrency on toolchain beta-2021-10-15
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/singhmarut/rust-concurrency
[INFO] finished tweaking git repo https://github.com/singhmarut/rust-concurrency
[INFO] tweaked toml for git repo https://github.com/singhmarut/rust-concurrency written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/singhmarut/rust-concurrency already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f75fc1fef1ef44815e47b9761ffb5cac781f0197f89d5e27da04020d2bf77416
[INFO] running `Command { std: "docker" "start" "-a" "f75fc1fef1ef44815e47b9761ffb5cac781f0197f89d5e27da04020d2bf77416", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f75fc1fef1ef44815e47b9761ffb5cac781f0197f89d5e27da04020d2bf77416", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f75fc1fef1ef44815e47b9761ffb5cac781f0197f89d5e27da04020d2bf77416", kill_on_drop: false }`
[INFO] [stdout] f75fc1fef1ef44815e47b9761ffb5cac781f0197f89d5e27da04020d2bf77416
[INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] a6d9a2e879493443623a553b0a3f083f3bf38ee721a0ce5e6d59446d062fd814
[INFO] running `Command { std: "docker" "start" "-a" "a6d9a2e879493443623a553b0a3f083f3bf38ee721a0ce5e6d59446d062fd814", kill_on_drop: false }`
[INFO] [stderr]     Checking iovec v0.1.1
[INFO] [stderr]     Checking net2 v0.2.31
[INFO] [stderr]     Checking bytes v0.4.5
[INFO] [stderr]     Checking mio v0.6.11
[INFO] [stderr]     Checking tokio-io v0.1.4
[INFO] [stderr]     Checking tokio-core v0.1.11
[INFO] [stderr]     Checking tokio-proto v0.1.1
[INFO] [stderr]     Checking hello_world v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Future`, `Stream`
[INFO] [stdout]   --> src/main.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 |     use futures::{Future, Stream};
[INFO] [stdout]    |                   ^^^^^^  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead`, `io`
[INFO] [stdout]   --> src/main.rs:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 |     use tokio_io::{io, AsyncRead};
[INFO] [stdout]    |                    ^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_core::net::TcpListener`
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     use tokio_core::net::TcpListener;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/network.rs:89:27
[INFO] [stdout]    |
[INFO] [stdout] 89 |         type Future = Box<Future<Item = Self::Response, Error =  Self::Error>>;
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Self::Response, Error =  Self::Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Future`, `Stream`
[INFO] [stdout]   --> src/main.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 |     use futures::{Future, Stream};
[INFO] [stdout]    |                   ^^^^^^  ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead`, `io`
[INFO] [stdout]   --> src/main.rs:12:20
[INFO] [stdout]    |
[INFO] [stdout] 12 |     use tokio_io::{io, AsyncRead};
[INFO] [stdout]    |                    ^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_core::net::TcpListener`
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     use tokio_core::net::TcpListener;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/network.rs:89:27
[INFO] [stdout]    |
[INFO] [stdout] 89 |         type Future = Box<Future<Item = Self::Response, Error =  Self::Error>>;
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Self::Response, Error =  Self::Error>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[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/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/network.rs:128:41
[INFO] [stdout]     |
[INFO] [stdout] 128 |             let bytes_copied = io::copy(reader, writer);
[INFO] [stdout]     |                                         ^^^^^^
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         expected `&mut _`, found struct `tokio_io::io::ReadHalf`
[INFO] [stdout]     |                                         help: consider mutably borrowing here: `&mut reader`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut _`
[INFO] [stdout]                           found struct `tokio_io::io::ReadHalf<tokio_core::net::TcpStream>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/network.rs:128:49
[INFO] [stdout]     |
[INFO] [stdout] 128 |             let bytes_copied = io::copy(reader, writer);
[INFO] [stdout]     |                                                 ^^^^^^
[INFO] [stdout]     |                                                 |
[INFO] [stdout]     |                                                 expected `&mut _`, found struct `tokio_io::io::WriteHalf`
[INFO] [stdout]     |                                                 help: consider mutably borrowing here: `&mut writer`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut _`
[INFO] [stdout]                           found struct `tokio_io::io::WriteHalf<tokio_core::net::TcpStream>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/network.rs:131:51
[INFO] [stdout]     |
[INFO] [stdout] 131 |             let handle_conn = bytes_copied.map( | (n, _, _)| {
[INFO] [stdout]     |                                                   ^^^^^^^^-
[INFO] [stdout]     |                                                   |       |
[INFO] [stdout]     |                                                   |       expected due to this
[INFO] [stdout]     |                                                   expected `u64`, found tuple
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u64`
[INFO] [stdout]               found tuple `(_, _, _)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/network.rs:128:41
[INFO] [stdout]     |
[INFO] [stdout] 128 |             let bytes_copied = io::copy(reader, writer);
[INFO] [stdout]     |                                         ^^^^^^
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         expected `&mut _`, found struct `tokio_io::io::ReadHalf`
[INFO] [stdout]     |                                         help: consider mutably borrowing here: `&mut reader`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut _`
[INFO] [stdout]                           found struct `tokio_io::io::ReadHalf<tokio_core::net::TcpStream>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/network.rs:128:49
[INFO] [stdout]     |
[INFO] [stdout] 128 |             let bytes_copied = io::copy(reader, writer);
[INFO] [stdout]     |                                                 ^^^^^^
[INFO] [stdout]     |                                                 |
[INFO] [stdout]     |                                                 expected `&mut _`, found struct `tokio_io::io::WriteHalf`
[INFO] [stdout]     |                                                 help: consider mutably borrowing here: `&mut writer`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut _`
[INFO] [stdout]                           found struct `tokio_io::io::WriteHalf<tokio_core::net::TcpStream>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/network.rs:131:51
[INFO] [stdout]     |
[INFO] [stdout] 131 |             let handle_conn = bytes_copied.map( | (n, _, _)| {
[INFO] [stdout]     |                                                   ^^^^^^^^-
[INFO] [stdout]     |                                                   |       |
[INFO] [stdout]     |                                                   |       expected due to this
[INFO] [stdout]     |                                                   expected `u64`, found tuple
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `u64`
[INFO] [stdout]               found tuple `(_, _, _)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<(), ()>: futures::Future` is not satisfied
[INFO] [stdout]    --> src/network.rs:138:26
[INFO] [stdout]     |
[INFO] [stdout] 138 |             handle.spawn(handle_conn);
[INFO] [stdout]     |                          ^^^^^^^^^^^ the trait `futures::Future` is not implemented for `Result<(), ()>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello_world` due to 5 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the trait bound `Result<(), ()>: futures::Future` is not satisfied
[INFO] [stdout]    --> src/network.rs:138:26
[INFO] [stdout]     |
[INFO] [stdout] 138 |             handle.spawn(handle_conn);
[INFO] [stdout]     |                          ^^^^^^^^^^^ the trait `futures::Future` is not implemented for `Result<(), ()>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "a6d9a2e879493443623a553b0a3f083f3bf38ee721a0ce5e6d59446d062fd814", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6d9a2e879493443623a553b0a3f083f3bf38ee721a0ce5e6d59446d062fd814", kill_on_drop: false }`
[INFO] [stdout] a6d9a2e879493443623a553b0a3f083f3bf38ee721a0ce5e6d59446d062fd814
