[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] testing singhmarut/rust-concurrency against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinghmarut%2Frust-concurrency" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/singhmarut/rust-concurrency on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-0/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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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.44.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] a28671f555ba5097e78790effad86805022bbfb3307d6a9f3668f3eed1015d1f [INFO] running `"docker" "start" "-a" "a28671f555ba5097e78790effad86805022bbfb3307d6a9f3668f3eed1015d1f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling futures v0.1.17 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling lazycell v0.5.1 [INFO] [stderr] Compiling slab v0.4.0 [INFO] [stderr] Compiling scoped-tls v0.1.0 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling iovec v0.1.1 [INFO] [stderr] Compiling net2 v0.2.31 [INFO] [stderr] Compiling rand v0.3.18 [INFO] [stderr] Compiling bytes v0.4.5 [INFO] [stderr] Compiling mio v0.6.11 [INFO] [stderr] Compiling tokio-io v0.1.4 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling tokio-core v0.1.11 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling 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>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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` [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` [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; 4 warnings emitted [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] running `"docker" "inspect" "a28671f555ba5097e78790effad86805022bbfb3307d6a9f3668f3eed1015d1f"` [INFO] running `"docker" "rm" "-f" "a28671f555ba5097e78790effad86805022bbfb3307d6a9f3668f3eed1015d1f"` [INFO] [stdout] a28671f555ba5097e78790effad86805022bbfb3307d6a9f3668f3eed1015d1f