[INFO] cloning repository https://github.com/Bleksak/rtcv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bleksak/rtcv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBleksak%2Frtcv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBleksak%2Frtcv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cef628b1a4f321416f36679eb1ed17f5c3c48362 [INFO] checking Bleksak/rtcv/cef628b1a4f321416f36679eb1ed17f5c3c48362 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBleksak%2Frtcv" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bleksak/rtcv on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Bleksak/rtcv [INFO] finished tweaking git repo https://github.com/Bleksak/rtcv [INFO] tweaked toml for git repo https://github.com/Bleksak/rtcv written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Bleksak/rtcv 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e13d454a03118083cb82f981f84f7fa4e37b5e5e0f560fd126f13c840382884e [INFO] running `Command { std: "docker" "start" "-a" "e13d454a03118083cb82f981f84f7fa4e37b5e5e0f560fd126f13c840382884e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e13d454a03118083cb82f981f84f7fa4e37b5e5e0f560fd126f13c840382884e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e13d454a03118083cb82f981f84f7fa4e37b5e5e0f560fd126f13c840382884e", kill_on_drop: false }` [INFO] [stdout] e13d454a03118083cb82f981f84f7fa4e37b5e5e0f560fd126f13c840382884e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a80bf3e1441e09acdd1ce6153e3ce4cf044d5d98ffb97bad9fb233dcc29abf1 [INFO] running `Command { std: "docker" "start" "-a" "7a80bf3e1441e09acdd1ce6153e3ce4cf044d5d98ffb97bad9fb233dcc29abf1", kill_on_drop: false }` [INFO] [stderr] Checking rtcv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/server/message.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | .map_err(|e| SerializeError::CouldNotSerialize)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_type` [INFO] [stdout] --> src/server/message.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let message_type = u16::from_le_bytes( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `message_type` is never used [INFO] [stdout] --> src/server/message.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Message: Serialize + Deserialize + Debug { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 6 | fn message_type(&self) -> MessageType; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/server/message.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | .map_err(|e| SerializeError::CouldNotSerialize)?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_type` [INFO] [stdout] --> src/server/message.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | let message_type = u16::from_le_bytes( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `OK`, `ERR`, `Ping`, and `Pong` are never constructed [INFO] [stdout] --> src/server/message.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum MessageType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 11 | OK = 0, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | ERR = 1, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | Ping = 2, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Pong = 3, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CouldNotSerialize` is never constructed [INFO] [stdout] --> src/server/message.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum SerializeError [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 20 | { [INFO] [stdout] 21 | CouldNotSerialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SerializeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize` is never used [INFO] [stdout] --> src/server/message.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn serialize(message: impl Message) -> Result, SerializeError> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/client.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DeserializeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/client.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | Deserialize(message::DeserializeError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DeserializeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | Deserialize(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SerializeError` is never used [INFO] [stdout] --> src/client.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum SerializeError [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `socket` and `client_data` are never read [INFO] [stdout] --> src/client.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 26 | socket: UnixStream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | client_data: ClientData, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `write_raw`, `read`, and `write` are never used [INFO] [stdout] --> src/client.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Client { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn write_raw(sock: &mut UnixStream, message: T) -> Result<(), SerializeError> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn read(&mut self) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn write(&mut self, message: T) -> Result<(), SerializeError> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/client_data.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct ClientData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 2 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serialize` is never used [INFO] [stdout] --> src/serialize.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Serialize { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 4 | fn serialize(&self) -> Result, SerializeError>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `message_type` is never used [INFO] [stdout] --> src/server/message.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Message: Serialize + Deserialize + Debug { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 6 | fn message_type(&self) -> MessageType; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `OK`, `ERR`, `Ping`, and `Pong` are never constructed [INFO] [stdout] --> src/server/message.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum MessageType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 11 | OK = 0, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | ERR = 1, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | Ping = 2, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Pong = 3, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CouldNotSerialize` is never constructed [INFO] [stdout] --> src/server/message.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum SerializeError [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 20 | { [INFO] [stdout] 21 | CouldNotSerialize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SerializeError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize` is never used [INFO] [stdout] --> src/server/message.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn serialize(message: impl Message) -> Result, SerializeError> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/client.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | Io(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DeserializeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/client.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | Deserialize(message::DeserializeError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DeserializeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | Deserialize(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SerializeError` is never used [INFO] [stdout] --> src/client.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum SerializeError [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `socket` and `client_data` are never read [INFO] [stdout] --> src/client.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 26 | socket: UnixStream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | client_data: ClientData, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `write_raw`, `read`, and `write` are never used [INFO] [stdout] --> src/client.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Client { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn write_raw(sock: &mut UnixStream, message: T) -> Result<(), SerializeError> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn read(&mut self) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn write(&mut self, message: T) -> Result<(), SerializeError> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/client_data.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct ClientData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 2 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `serialize` is never used [INFO] [stdout] --> src/serialize.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Serialize { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 4 | fn serialize(&self) -> Result, SerializeError>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "7a80bf3e1441e09acdd1ce6153e3ce4cf044d5d98ffb97bad9fb233dcc29abf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a80bf3e1441e09acdd1ce6153e3ce4cf044d5d98ffb97bad9fb233dcc29abf1", kill_on_drop: false }` [INFO] [stdout] 7a80bf3e1441e09acdd1ce6153e3ce4cf044d5d98ffb97bad9fb233dcc29abf1