[INFO] cloning repository https://github.com/mimuw-jnp2-rust/small-task-2-communications-agluszak
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mimuw-jnp2-rust/small-task-2-communications-agluszak" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmimuw-jnp2-rust%2Fsmall-task-2-communications-agluszak", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmimuw-jnp2-rust%2Fsmall-task-2-communications-agluszak'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2def6d2dad08cf5e147e7e42771391dc22059cb6
[INFO] checking mimuw-jnp2-rust/small-task-2-communications-agluszak against try#ae258e1fcbee4a062f5f3d869f06004d7cea088e for pr-135272
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmimuw-jnp2-rust%2Fsmall-task-2-communications-agluszak" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mimuw-jnp2-rust/small-task-2-communications-agluszak on toolchain ae258e1fcbee4a062f5f3d869f06004d7cea088e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae258e1fcbee4a062f5f3d869f06004d7cea088e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mimuw-jnp2-rust/small-task-2-communications-agluszak
[INFO] finished tweaking git repo https://github.com/mimuw-jnp2-rust/small-task-2-communications-agluszak
[INFO] tweaked toml for git repo https://github.com/mimuw-jnp2-rust/small-task-2-communications-agluszak written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/mimuw-jnp2-rust/small-task-2-communications-agluszak 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" "+ae258e1fcbee4a062f5f3d869f06004d7cea088e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+ae258e1fcbee4a062f5f3d869f06004d7cea088e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d4167c265c2539e345f5dbf7fe1e6d370e1eb1ab433c6130d92dc4ea4e8ea869
[INFO] running `Command { std: "docker" "start" "-a" "d4167c265c2539e345f5dbf7fe1e6d370e1eb1ab433c6130d92dc4ea4e8ea869", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d4167c265c2539e345f5dbf7fe1e6d370e1eb1ab433c6130d92dc4ea4e8ea869", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d4167c265c2539e345f5dbf7fe1e6d370e1eb1ab433c6130d92dc4ea4e8ea869", kill_on_drop: false }`
[INFO] [stdout] d4167c265c2539e345f5dbf7fe1e6d370e1eb1ab433c6130d92dc4ea4e8ea869
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:819108c5571ea2e421544af4d832f968d213c87fbe3707a016657f43d2f853bc" "/opt/rustwide/cargo-home/bin/cargo" "+ae258e1fcbee4a062f5f3d869f06004d7cea088e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dad8d904360b84e44904269175d344aa6bbd2562e9a1d0023503590f6cbf03dd
[INFO] running `Command { std: "docker" "start" "-a" "dad8d904360b84e44904269175d344aa6bbd2562e9a1d0023503590f6cbf03dd", kill_on_drop: false }`
[INFO] [stderr]     Checking small-task-2-communications v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/main.rs:71:24
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn open(&mut self, addr: &str, server: Server) -> CommsResult<()> {
[INFO] [stdout]    |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `server`
[INFO] [stdout]   --> src/main.rs:71:36
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn open(&mut self, addr: &str, server: Server) -> CommsResult<()> {
[INFO] [stdout]    |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/main.rs:79:24
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn send(&mut self, addr: &str, msg: Message) -> CommsResult<Response> {
[INFO] [stdout]    |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/main.rs:79:36
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn send(&mut self, addr: &str, msg: Message) -> CommsResult<Response> {
[INFO] [stdout]    |                                    ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/main.rs:87:23
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn is_open(&self, addr: &str) -> bool {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/main.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn new(name: String, limit: u32) -> Server {
[INFO] [stdout]     |            ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `limit`
[INFO] [stdout]    --> src/main.rs:115:26
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn new(name: String, limit: u32) -> Server {
[INFO] [stdout]     |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ServerLimitReached`, `UnexpectedHandshake`, `ConnectionExists`, `ConnectionClosed`, and `ConnectionNotFound` are never constructed
[INFO] [stdout]   --> src/main.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout] 6  | enum CommsError {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 7  |     ServerLimitReached(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 8  |     UnexpectedHandshake(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9  |     ConnectionExists(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     ConnectionClosed(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     ConnectionNotFound(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CommsError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `header` is never used
[INFO] [stdout]   --> src/main.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl MessageType {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 23 |     fn header(&self) -> &'static str {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `msg_type` and `load` are never read
[INFO] [stdout]   --> src/main.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct Message {
[INFO] [stdout]    |        ------- fields in this struct
[INFO] [stdout] 40 |     msg_type: MessageType,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 41 |     load: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `content` is never used
[INFO] [stdout]   --> src/main.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl Message {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 45 |     fn content(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Closed` and `Open` are never constructed
[INFO] [stdout]   --> src/main.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | enum Connection {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 51 |     Closed,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 52 |     Open(Server),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ip` and `connections` are never read
[INFO] [stdout]   --> src/main.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | struct Client {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 56 |     ip: String,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 57 |     connections: HashMap<String, Connection>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `HandshakeReceived`, `PostReceived`, and `GetCount` are never constructed
[INFO] [stdout]    --> src/main.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout] 99  | enum Response {
[INFO] [stdout]     |      -------- variants in this enum
[INFO] [stdout] 100 |     HandshakeReceived,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 101 |     PostReceived,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 102 |     GetCount(u32),
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `post_count`, `limit`, and `connected_client` are never read
[INFO] [stdout]    --> src/main.rs:108:5
[INFO] [stdout]     |
[INFO] [stdout] 107 | struct Server {
[INFO] [stdout]     |        ------ fields in this struct
[INFO] [stdout] 108 |     name: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 109 |     post_count: u32,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 110 |     limit: u32,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 111 |     connected_client: Option<String>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Server` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `receive` is never used
[INFO] [stdout]    --> src/main.rs:124:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | impl Server {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 124 |     fn receive(&mut self, msg: Message) -> CommsResult<Response> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/main.rs:71:24
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn open(&mut self, addr: &str, server: Server) -> CommsResult<()> {
[INFO] [stdout]    |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `server`
[INFO] [stdout]   --> src/main.rs:71:36
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn open(&mut self, addr: &str, server: Server) -> CommsResult<()> {
[INFO] [stdout]    |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/main.rs:79:24
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn send(&mut self, addr: &str, msg: Message) -> CommsResult<Response> {
[INFO] [stdout]    |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]   --> src/main.rs:79:36
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn send(&mut self, addr: &str, msg: Message) -> CommsResult<Response> {
[INFO] [stdout]    |                                    ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/main.rs:87:23
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn is_open(&self, addr: &str) -> bool {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> src/main.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn new(name: String, limit: u32) -> Server {
[INFO] [stdout]     |            ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `limit`
[INFO] [stdout]    --> src/main.rs:115:26
[INFO] [stdout]     |
[INFO] [stdout] 115 |     fn new(name: String, limit: u32) -> Server {
[INFO] [stdout]     |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Closed` and `Open` are never constructed
[INFO] [stdout]   --> src/main.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | enum Connection {
[INFO] [stdout]    |      ---------- variants in this enum
[INFO] [stdout] 51 |     Closed,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 52 |     Open(Server),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ip` is never read
[INFO] [stdout]   --> src/main.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | struct Client {
[INFO] [stdout]    |        ------ field in this struct
[INFO] [stdout] 56 |     ip: String,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `limit` is never read
[INFO] [stdout]    --> src/main.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 107 | struct Server {
[INFO] [stdout]     |        ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 110 |     limit: u32,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Server` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] running `Command { std: "docker" "inspect" "dad8d904360b84e44904269175d344aa6bbd2562e9a1d0023503590f6cbf03dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dad8d904360b84e44904269175d344aa6bbd2562e9a1d0023503590f6cbf03dd", kill_on_drop: false }`
[INFO] [stdout] dad8d904360b84e44904269175d344aa6bbd2562e9a1d0023503590f6cbf03dd
