[INFO] updating cached repository https://github.com/singhmarut/rust-concurrency
[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] cea217d2def64bef1846a737b9aa097217d53cfd
[INFO] checking singhmarut/rust-concurrency against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinghmarut%2Frust-concurrency" "/workspace/builds/worker-1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/singhmarut/rust-concurrency 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/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-1/source/Cargo.toml
[INFO] crate git repo https://github.com/singhmarut/rust-concurrency already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 15509fdeb938fdefdca5af8eb6cd20428a9c3cf452cf65782c366a61beef7f35
[INFO] running `"docker" "start" "-a" "15509fdeb938fdefdca5af8eb6cd20428a9c3cf452cf65782c366a61beef7f35"`
[INFO] [stderr]     Checking libc v0.2.34
[INFO] [stderr]     Checking futures v0.1.17
[INFO] [stderr]     Checking iovec v0.1.1
[INFO] [stderr]     Checking net2 v0.2.31
[INFO] [stderr]     Checking rand v0.3.18
[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-service v0.1.0
[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] [stderr] warning: unused imports: `Future`, `Stream`
[INFO] [stderr]   --> src/main.rs:11:19
[INFO] [stderr]    |
[INFO] [stderr] 11 |     use futures::{Future, Stream};
[INFO] [stderr]    |                   ^^^^^^  ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AsyncRead`, `io`
[INFO] [stderr]   --> src/main.rs:12:20
[INFO] [stderr]    |
[INFO] [stderr] 12 |     use tokio_io::{io, AsyncRead};
[INFO] [stderr]    |                    ^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio_core::net::TcpListener`
[INFO] [stderr]   --> src/main.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr] 13 |     use tokio_core::net::TcpListener;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/network.rs:89:27
[INFO] [stderr]    |
[INFO] [stderr] 89 |         type Future = Box<Future<Item = Self::Response, Error =  Self::Error>>;
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Self::Response, Error =  Self::Error>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Future`, `Stream`
[INFO] [stderr]   --> src/main.rs:11:19
[INFO] [stderr]    |
[INFO] [stderr] 11 |     use futures::{Future, Stream};
[INFO] [stderr]    |                   ^^^^^^  ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AsyncRead`, `io`
[INFO] [stderr]   --> src/main.rs:12:20
[INFO] [stderr]    |
[INFO] [stderr] 12 |     use tokio_io::{io, AsyncRead};
[INFO] [stderr]    |                    ^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio_core::net::TcpListener`
[INFO] [stderr]   --> src/main.rs:13:9
[INFO] [stderr]    |
[INFO] [stderr] 13 |     use tokio_core::net::TcpListener;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/network.rs:89:27
[INFO] [stderr]    |
[INFO] [stderr] 89 |         type Future = Box<Future<Item = Self::Response, Error =  Self::Error>>;
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future<Item = Self::Response, Error =  Self::Error>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/network.rs:128:41
[INFO] [stderr]     |
[INFO] [stderr] 128 |             let bytes_copied = io::copy(reader, writer);
[INFO] [stderr]     |                                         ^^^^^^
[INFO] [stderr]     |                                         |
[INFO] [stderr]     |                                         expected `&mut _`, found struct `tokio_io::io::ReadHalf`
[INFO] [stderr]     |                                         help: consider mutably borrowing here: `&mut reader`
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected mutable reference `&mut _`
[INFO] [stderr]                           found struct `tokio_io::io::ReadHalf<tokio_core::net::TcpStream>`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/network.rs:128:49
[INFO] [stderr]     |
[INFO] [stderr] 128 |             let bytes_copied = io::copy(reader, writer);
[INFO] [stderr]     |                                                 ^^^^^^
[INFO] [stderr]     |                                                 |
[INFO] [stderr]     |                                                 expected `&mut _`, found struct `tokio_io::io::WriteHalf`
[INFO] [stderr]     |                                                 help: consider mutably borrowing here: `&mut writer`
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected mutable reference `&mut _`
[INFO] [stderr]                           found struct `tokio_io::io::WriteHalf<tokio_core::net::TcpStream>`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/network.rs:131:51
[INFO] [stderr]     |
[INFO] [stderr] 131 |             let handle_conn = bytes_copied.map( | (n, _, _)| {
[INFO] [stderr]     |                                                   ^^^^^^^^-
[INFO] [stderr]     |                                                   |       |
[INFO] [stderr]     |                                                   |       expected due to this
[INFO] [stderr]     |                                                   expected `u64`, found tuple
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected type `u64`
[INFO] [stderr]               found tuple `(_, _, _)`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/network.rs:128:41
[INFO] [stderr]     |
[INFO] [stderr] 128 |             let bytes_copied = io::copy(reader, writer);
[INFO] [stderr]     |                                         ^^^^^^
[INFO] [stderr]     |                                         |
[INFO] [stderr]     |                                         expected `&mut _`, found struct `tokio_io::io::ReadHalf`
[INFO] [stderr]     |                                         help: consider mutably borrowing here: `&mut reader`
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected mutable reference `&mut _`
[INFO] [stderr]                           found struct `tokio_io::io::ReadHalf<tokio_core::net::TcpStream>`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/network.rs:128:49
[INFO] [stderr]     |
[INFO] [stderr] 128 |             let bytes_copied = io::copy(reader, writer);
[INFO] [stderr]     |                                                 ^^^^^^
[INFO] [stderr]     |                                                 |
[INFO] [stderr]     |                                                 expected `&mut _`, found struct `tokio_io::io::WriteHalf`
[INFO] [stderr]     |                                                 help: consider mutably borrowing here: `&mut writer`
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected mutable reference `&mut _`
[INFO] [stderr]                           found struct `tokio_io::io::WriteHalf<tokio_core::net::TcpStream>`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/network.rs:131:51
[INFO] [stderr]     |
[INFO] [stderr] 131 |             let handle_conn = bytes_copied.map( | (n, _, _)| {
[INFO] [stderr]     |                                                   ^^^^^^^^-
[INFO] [stderr]     |                                                   |       |
[INFO] [stderr]     |                                                   |       expected due to this
[INFO] [stderr]     |                                                   expected `u64`, found tuple
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected type `u64`
[INFO] [stderr]               found tuple `(_, _, _)`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `std::result::Result<(), ()>: futures::Future` is not satisfied
[INFO] [stderr]    --> src/network.rs:138:26
[INFO] [stderr]     |
[INFO] [stderr] 138 |             handle.spawn(handle_conn);
[INFO] [stderr]     |                          ^^^^^^^^^^^ the trait `futures::Future` is not implemented for `std::result::Result<(), ()>`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0308.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error[E0277]: the trait bound `std::result::Result<(), ()>: futures::Future` is not satisfied
[INFO] [stderr]    --> src/network.rs:138:26
[INFO] [stderr]     |
[INFO] [stderr] 138 |             handle.spawn(handle_conn);
[INFO] [stderr]     |                          ^^^^^^^^^^^ the trait `futures::Future` is not implemented for `std::result::Result<(), ()>`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0308.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `hello_world`.
[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: could not compile `hello_world`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "15509fdeb938fdefdca5af8eb6cd20428a9c3cf452cf65782c366a61beef7f35"`
[INFO] running `"docker" "rm" "-f" "15509fdeb938fdefdca5af8eb6cd20428a9c3cf452cf65782c366a61beef7f35"`
[INFO] [stdout] 15509fdeb938fdefdca5af8eb6cd20428a9c3cf452cf65782c366a61beef7f35
