[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 try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBleksak%2Frtcv" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Bleksak/rtcv on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-3-tc2/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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c13522cc3fccee33681570484927cd5e7913bcd3115675fa377a89503a2e439 [INFO] running `Command { std: "docker" "start" "-a" "6c13522cc3fccee33681570484927cd5e7913bcd3115675fa377a89503a2e439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c13522cc3fccee33681570484927cd5e7913bcd3115675fa377a89503a2e439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c13522cc3fccee33681570484927cd5e7913bcd3115675fa377a89503a2e439", kill_on_drop: false }` [INFO] [stdout] 6c13522cc3fccee33681570484927cd5e7913bcd3115675fa377a89503a2e439 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d2e71e9ccc6150e026e7f30e5fd70880a1b44111ca65716b40ba91aa87ddaba [INFO] running `Command { std: "docker" "start" "-a" "1d2e71e9ccc6150e026e7f30e5fd70880a1b44111ca65716b40ba91aa87ddaba", 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: 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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "1d2e71e9ccc6150e026e7f30e5fd70880a1b44111ca65716b40ba91aa87ddaba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d2e71e9ccc6150e026e7f30e5fd70880a1b44111ca65716b40ba91aa87ddaba", kill_on_drop: false }` [INFO] [stdout] 1d2e71e9ccc6150e026e7f30e5fd70880a1b44111ca65716b40ba91aa87ddaba