[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] testing singhmarut/rust-concurrency against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinghmarut%2Frust-concurrency" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[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-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/singhmarut/rust-concurrency on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/singhmarut/rust-concurrency 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded byteorder v1.2.1
[INFO] [stderr]   Downloaded tokio-core v0.1.11
[INFO] [stderr]   Downloaded libc v0.2.34
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b5ce0d9afdeb6c3d9b668978ca65f27639a8cbf08d211fe4056d68bd8988d1c7
[INFO] running `Command { std: "docker" "start" "-a" "b5ce0d9afdeb6c3d9b668978ca65f27639a8cbf08d211fe4056d68bd8988d1c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b5ce0d9afdeb6c3d9b668978ca65f27639a8cbf08d211fe4056d68bd8988d1c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b5ce0d9afdeb6c3d9b668978ca65f27639a8cbf08d211fe4056d68bd8988d1c7", kill_on_drop: false }`
[INFO] [stdout] b5ce0d9afdeb6c3d9b668978ca65f27639a8cbf08d211fe4056d68bd8988d1c7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 83976aaa6a2aa914da64d16042bd6692e2629a0c004df2a98abe15ecd660f377
[INFO] running `Command { std: "docker" "start" "-a" "83976aaa6a2aa914da64d16042bd6692e2629a0c004df2a98abe15ecd660f377", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling libc v0.2.34
[INFO] [stderr]    Compiling cfg-if v0.1.2
[INFO] [stderr]    Compiling log v0.3.8
[INFO] [stderr]    Compiling byteorder v1.2.1
[INFO] [stderr]    Compiling futures v0.1.17
[INFO] [stderr]    Compiling lazycell v0.5.1
[INFO] [stderr]    Compiling slab v0.3.0
[INFO] [stderr]    Compiling scoped-tls v0.1.0
[INFO] [stderr]    Compiling slab v0.4.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] [stdout] warning: unused imports: `Future` and `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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead` and `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]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[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] 89 |         type Future = Box<dyn Future<Item = Self::Response, Error =  Self::Error>>;
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: arguments to this function are incorrect
[INFO] [stdout]    --> src/network.rs:128:32
[INFO] [stdout]     |
[INFO] [stdout] 128 |             let bytes_copied = io::copy(reader, writer);
[INFO] [stdout]     |                                ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: expected `&mut _`, found `ReadHalf<TcpStream>`
[INFO] [stdout]    --> src/network.rs:128:41
[INFO] [stdout]     |
[INFO] [stdout] 128 |             let bytes_copied = io::copy(reader, writer);
[INFO] [stdout]     |                                         ^^^^^^
[INFO] [stdout]     = note: expected mutable reference `&mut _`
[INFO] [stdout]                           found struct `ReadHalf<tokio_core::net::TcpStream>`
[INFO] [stdout] note: expected `&mut _`, found `WriteHalf<TcpStream>`
[INFO] [stdout]    --> src/network.rs:128:49
[INFO] [stdout]     |
[INFO] [stdout] 128 |             let bytes_copied = io::copy(reader, writer);
[INFO] [stdout]     |                                                 ^^^^^^
[INFO] [stdout]     = note: expected mutable reference `&mut _`
[INFO] [stdout]                           found struct `WriteHalf<tokio_core::net::TcpStream>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/copy.rs:62:7
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 128 |             let bytes_copied = io::copy(&mut reader, writer);
[INFO] [stdout]     |                                         ++++
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 128 |             let bytes_copied = io::copy(reader, &mut writer);
[INFO] [stdout]     |                                                 ++++
[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 `u64`, found `(_, _, _)`
[INFO] [stdout]     |                                                   expected due to this
[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]     |                    required by a bound introduced by this call
[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]               Concat2<S>
[INFO] [stdout]               Connect<Kind, P>
[INFO] [stdout]               Either<A, B>
[INFO] [stdout]               Failed<T, E>
[INFO] [stdout]             and 63 others
[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.11/src/reactor/mod.rs:721:18
[INFO] [stdout]     |
[INFO] [stdout] 720 |     pub fn spawn<F>(&self, f: F)
[INFO] [stdout]     |            ----- required by a bound in this associated function
[INFO] [stdout] 721 |         where F: Future<Item=(), Error=()> + 'static,
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Handle::spawn`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let mut vals: HashMap<i64,Item> = HashMap::new(); //Create a mutable vector
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let mut core = Core::new().unwrap();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `receiver`
[INFO] [stdout]   --> src/main.rs:47:22
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let (sender, receiver) = mpsc::channel(); //Creat  multiple publisher single receiver channel
[INFO] [stdout]    |                      ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vals`
[INFO] [stdout]   --> src/main.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let mut vals: HashMap<i64,Item> = HashMap::new(); //Create a mutable vector
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ttl`
[INFO] [stdout]   --> src/main.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let ttl = 5; //TTL in seconds
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_ttl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `core`
[INFO] [stdout]    --> src/main.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let mut core = Core::new().unwrap();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_core`
[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` (bin "hello_world") due to 3 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "83976aaa6a2aa914da64d16042bd6692e2629a0c004df2a98abe15ecd660f377", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83976aaa6a2aa914da64d16042bd6692e2629a0c004df2a98abe15ecd660f377", kill_on_drop: false }`
[INFO] [stdout] 83976aaa6a2aa914da64d16042bd6692e2629a0c004df2a98abe15ecd660f377
