[INFO] cloning repository https://github.com/marior765/LLRC [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marior765/LLRC" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarior765%2FLLRC", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarior765%2FLLRC'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 553087839483cd3caa28139fea069caecd274e98 [INFO] testing marior765/LLRC against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarior765%2FLLRC" "/workspace/builds/worker-101/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-101/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marior765/LLRC on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/marior765/LLRC [INFO] finished tweaking git repo https://github.com/marior765/LLRC [INFO] tweaked toml for git repo https://github.com/marior765/LLRC written to /workspace/builds/worker-101/source/Cargo.toml [INFO] crate git repo https://github.com/marior765/LLRC already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6941f8761f1562a0b3d1a54158037d402f155bcb82fe7f9e1419a8bd3b74c202 [INFO] running `Command { std: "docker" "start" "-a" "6941f8761f1562a0b3d1a54158037d402f155bcb82fe7f9e1419a8bd3b74c202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6941f8761f1562a0b3d1a54158037d402f155bcb82fe7f9e1419a8bd3b74c202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6941f8761f1562a0b3d1a54158037d402f155bcb82fe7f9e1419a8bd3b74c202", kill_on_drop: false }` [INFO] [stdout] 6941f8761f1562a0b3d1a54158037d402f155bcb82fe7f9e1419a8bd3b74c202 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f30a08a8d92edfb00af0db5b3d82d9c3725b831cec6ec2405f912a65976bc987 [INFO] running `Command { std: "docker" "start" "-a" "f30a08a8d92edfb00af0db5b3d82d9c3725b831cec6ec2405f912a65976bc987", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling futures v0.1.27 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling tokio-trace-core v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling tokio-sync v0.1.5 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.20 [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused imports: `copy`, `write_all` [INFO] [stdout] --> server/src/lib.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{copy, write_all, read_exact}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> server/src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | 'server: loop { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio::net::TcpStream::try_clone`: use `split()` instead [INFO] [stdout] --> server/src/lib.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | clients.push(socket.try_clone().expect("failed to clone")); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> server/src/lib.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let msg = buff.into_iter().take_while(|&x| x != 0).collect::>(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> server/src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | &client.set_nonblocking(true).expect("failed to initiate non-blocking"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = &client.set_nonblocking(true).expect("failed to initiate non-blocking"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> server/src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / TcpStream::from_std(client.try_clone().unwrap(), &handle).and_then(|stream| { [INFO] [stdout] 75 | | // thread::spawn(move || loop { [INFO] [stdout] 76 | | let mut buff = vec![0; MSG_SIZE]; [INFO] [stdout] 77 | | read_exact(stream, &mut buff); [INFO] [stdout] ... | [INFO] [stdout] 102 | | Ok(()) [INFO] [stdout] 103 | | }); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 20.84s [INFO] running `Command { std: "docker" "inspect" "f30a08a8d92edfb00af0db5b3d82d9c3725b831cec6ec2405f912a65976bc987", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f30a08a8d92edfb00af0db5b3d82d9c3725b831cec6ec2405f912a65976bc987", kill_on_drop: false }` [INFO] [stdout] f30a08a8d92edfb00af0db5b3d82d9c3725b831cec6ec2405f912a65976bc987 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] daa8a69d3a3622fa4016c51cbd79083775a65fce6123782575562bc56e4c86f3 [INFO] running `Command { std: "docker" "start" "-a" "daa8a69d3a3622fa4016c51cbd79083775a65fce6123782575562bc56e4c86f3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stderr] Compiling client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused imports: `copy`, `write_all` [INFO] [stdout] --> server/src/lib.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{copy, write_all, read_exact}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> server/src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | 'server: loop { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio::net::TcpStream::try_clone`: use `split()` instead [INFO] [stdout] --> server/src/lib.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | clients.push(socket.try_clone().expect("failed to clone")); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> server/src/lib.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let msg = buff.into_iter().take_while(|&x| x != 0).collect::>(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> server/src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | &client.set_nonblocking(true).expect("failed to initiate non-blocking"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = &client.set_nonblocking(true).expect("failed to initiate non-blocking"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> server/src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / TcpStream::from_std(client.try_clone().unwrap(), &handle).and_then(|stream| { [INFO] [stdout] 75 | | // thread::spawn(move || loop { [INFO] [stdout] 76 | | let mut buff = vec![0; MSG_SIZE]; [INFO] [stdout] 77 | | read_exact(stream, &mut buff); [INFO] [stdout] ... | [INFO] [stdout] 102 | | Ok(()) [INFO] [stdout] 103 | | }); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `copy`, `write_all` [INFO] [stdout] --> server/src/lib.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio::io::{copy, write_all, read_exact}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> server/src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | 'server: loop { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio::net::TcpStream::try_clone`: use `split()` instead [INFO] [stdout] --> server/src/lib.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | clients.push(socket.try_clone().expect("failed to clone")); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> server/src/lib.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let msg = buff.into_iter().take_while(|&x| x != 0).collect::>(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> server/src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | &client.set_nonblocking(true).expect("failed to initiate non-blocking"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 68 | let _ = &client.set_nonblocking(true).expect("failed to initiate non-blocking"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> server/src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | / TcpStream::from_std(client.try_clone().unwrap(), &handle).and_then(|stream| { [INFO] [stdout] 75 | | // thread::spawn(move || loop { [INFO] [stdout] 76 | | let mut buff = vec![0; MSG_SIZE]; [INFO] [stdout] 77 | | read_exact(stream, &mut buff); [INFO] [stdout] ... | [INFO] [stdout] 102 | | Ok(()) [INFO] [stdout] 103 | | }); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.87s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/client-4a72ea9a7c4e7186) [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/server-f7b8b0f2ee495d1c) [INFO] running `Command { std: "docker" "inspect" "daa8a69d3a3622fa4016c51cbd79083775a65fce6123782575562bc56e4c86f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daa8a69d3a3622fa4016c51cbd79083775a65fce6123782575562bc56e4c86f3", kill_on_drop: false }` [INFO] [stdout] daa8a69d3a3622fa4016c51cbd79083775a65fce6123782575562bc56e4c86f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8c2a07caba10e876fe4ccf9843c6dcbc2c8ad6027c0ba54bc4290e557eba2859 [INFO] running `Command { std: "docker" "start" "-a" "8c2a07caba10e876fe4ccf9843c6dcbc2c8ad6027c0ba54bc4290e557eba2859", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `copy`, `write_all` [INFO] [stderr] --> server/src/lib.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use tokio::io::{copy, write_all, read_exact}; [INFO] [stderr] | ^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused label [INFO] [stderr] --> server/src/lib.rs:31:9 [INFO] [stderr] | [INFO] [stderr] 31 | 'server: loop { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_labels)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tokio::net::TcpStream::try_clone`: use `split()` instead [INFO] [stderr] --> server/src/lib.rs:36:37 [INFO] [stderr] | [INFO] [stderr] 36 | clients.push(socket.try_clone().expect("failed to clone")); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> server/src/lib.rs:78:17 [INFO] [stderr] | [INFO] [stderr] 78 | let msg = buff.into_iter().take_while(|&x| x != 0).collect::>(); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> server/src/lib.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | &client.set_nonblocking(true).expect("failed to initiate non-blocking"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 68 | let _ = &client.set_nonblocking(true).expect("failed to initiate non-blocking"); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> server/src/lib.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | / TcpStream::from_std(client.try_clone().unwrap(), &handle).and_then(|stream| { [INFO] [stderr] 75 | | // thread::spawn(move || loop { [INFO] [stderr] 76 | | let mut buff = vec![0; MSG_SIZE]; [INFO] [stderr] 77 | | read_exact(stream, &mut buff); [INFO] [stderr] ... | [INFO] [stderr] 102 | | Ok(()) [INFO] [stderr] 103 | | }); [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `server` (lib) generated 6 warnings [INFO] [stderr] warning: `server` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/client-4a72ea9a7c4e7186) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/server-f7b8b0f2ee495d1c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests server [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8c2a07caba10e876fe4ccf9843c6dcbc2c8ad6027c0ba54bc4290e557eba2859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c2a07caba10e876fe4ccf9843c6dcbc2c8ad6027c0ba54bc4290e557eba2859", kill_on_drop: false }` [INFO] [stdout] 8c2a07caba10e876fe4ccf9843c6dcbc2c8ad6027c0ba54bc4290e557eba2859