[INFO] cloning repository https://github.com/leetie/Fe-chat-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leetie/Fe-chat-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleetie%2FFe-chat-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleetie%2FFe-chat-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c86cdfc6d376ab13fd2b3ffe3413abbe68115f92 [INFO] checking leetie/Fe-chat-server against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleetie%2FFe-chat-server" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leetie/Fe-chat-server on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/leetie/Fe-chat-server [INFO] finished tweaking git repo https://github.com/leetie/Fe-chat-server [INFO] tweaked toml for git repo https://github.com/leetie/Fe-chat-server written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/leetie/Fe-chat-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32d8b0831f81a52d7816dd1a20d2de054a309b210770f49687117550f5140cc7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "32d8b0831f81a52d7816dd1a20d2de054a309b210770f49687117550f5140cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32d8b0831f81a52d7816dd1a20d2de054a309b210770f49687117550f5140cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32d8b0831f81a52d7816dd1a20d2de054a309b210770f49687117550f5140cc7", kill_on_drop: false }` [INFO] [stdout] 32d8b0831f81a52d7816dd1a20d2de054a309b210770f49687117550f5140cc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fef41a40d1286a1c02d6931a6b33a39a7f1a4ea84b2f9c2cea10719c1a1ba836 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fef41a40d1286a1c02d6931a6b33a39a7f1a4ea84b2f9c2cea10719c1a1ba836", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking tcp-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `message` [INFO] [stdout] --> src/lib.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | message: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `message` [INFO] [stdout] --> src/lib.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | message: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/bin/client.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufRead, BufReader, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_tx_thread` [INFO] [stdout] --> src/bin/client.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | let stream_tx_thread = thread::spawn(move || loop { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_tx_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/client.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | let mut stream = TcpStream::connect("0.0.0.0:2222").unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_message` [INFO] [stdout] --> src/bin/client.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_message() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/bin/main.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | io::{self, BufRead, BufReader, Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/client.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | msg_tx.send(b"Hello!\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/bin/client.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{BufRead, BufReader, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/bin/main.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | io::{self, BufRead, BufReader, Read, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_tx_thread` [INFO] [stdout] --> src/bin/client.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | let stream_tx_thread = thread::spawn(move || loop { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_tx_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/client.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | let mut stream = TcpStream::connect("0.0.0.0:2222").unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_message` [INFO] [stdout] --> src/bin/client.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn get_message() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Message` [INFO] [stdout] --> src/bin/main.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | struct Message<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Message` [INFO] [stdout] --> src/bin/main.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | struct Message<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Client` [INFO] [stdout] --> src/bin/main.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ClientConfig` [INFO] [stdout] --> src/bin/main.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | struct ClientConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DisplayColor` [INFO] [stdout] --> src/bin/main.rs:114:6 [INFO] [stdout] | [INFO] [stdout] 114 | enum DisplayColor { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Client` [INFO] [stdout] --> src/bin/main.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ClientConfig` [INFO] [stdout] --> src/bin/main.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | struct ClientConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `DisplayColor` [INFO] [stdout] --> src/bin/main.rs:114:6 [INFO] [stdout] | [INFO] [stdout] 114 | enum DisplayColor { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/client.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | msg_tx.send(b"Hello!\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "fef41a40d1286a1c02d6931a6b33a39a7f1a4ea84b2f9c2cea10719c1a1ba836", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fef41a40d1286a1c02d6931a6b33a39a7f1a4ea84b2f9c2cea10719c1a1ba836", kill_on_drop: false }` [INFO] [stdout] fef41a40d1286a1c02d6931a6b33a39a7f1a4ea84b2f9c2cea10719c1a1ba836