[INFO] cloning repository https://github.com/GoX1337/mqtt-broker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GoX1337/mqtt-broker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoX1337%2Fmqtt-broker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoX1337%2Fmqtt-broker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bbbbe206df87a03f4a6010e7fa92f160c822f7ae [INFO] checking GoX1337/mqtt-broker against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGoX1337%2Fmqtt-broker" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GoX1337/mqtt-broker on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GoX1337/mqtt-broker [INFO] finished tweaking git repo https://github.com/GoX1337/mqtt-broker [INFO] tweaked toml for git repo https://github.com/GoX1337/mqtt-broker written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/GoX1337/mqtt-broker already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6d5a6dd0bcc19cccdccd5d10f8a7f07629a5fa359cdadabb2494d5020363f6e [INFO] running `Command { std: "docker" "start" "-a" "a6d5a6dd0bcc19cccdccd5d10f8a7f07629a5fa359cdadabb2494d5020363f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6d5a6dd0bcc19cccdccd5d10f8a7f07629a5fa359cdadabb2494d5020363f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6d5a6dd0bcc19cccdccd5d10f8a7f07629a5fa359cdadabb2494d5020363f6e", kill_on_drop: false }` [INFO] [stdout] a6d5a6dd0bcc19cccdccd5d10f8a7f07629a5fa359cdadabb2494d5020363f6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e06837b56a71366eb2785d8cf8dd8c186d9020ed116dd20756739ca4febedc1 [INFO] running `Command { std: "docker" "start" "-a" "2e06837b56a71366eb2785d8cf8dd8c186d9020ed116dd20756739ca4febedc1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking mqtt-broker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `CONNECTION_ACCEPTED` should have an upper camel case name [INFO] [stdout] --> src/mqtt/return_code.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | CONNECTION_ACCEPTED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ConnectionAccepted` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CONNECTION_ACCEPTED` should have an upper camel case name [INFO] [stdout] --> src/mqtt/return_code.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | CONNECTION_ACCEPTED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ConnectionAccepted` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `protocol_name` [INFO] [stdout] --> src/mqtt/variable_header.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | protocol_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `protocol_level` [INFO] [stdout] --> src/mqtt/variable_header.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | protocol_level: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `connect_flags` [INFO] [stdout] --> src/mqtt/variable_header.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | connect_flags: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `keep_alive` [INFO] [stdout] --> src/mqtt/variable_header.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | keep_alive: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `return_code` [INFO] [stdout] --> src/mqtt/variable_header.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | return_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `user_name_flag` [INFO] [stdout] --> src/mqtt/connect_flags.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | user_name_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `password_flag` [INFO] [stdout] --> src/mqtt/connect_flags.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | password_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `will_retain` [INFO] [stdout] --> src/mqtt/connect_flags.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | will_retain: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `will_qos` [INFO] [stdout] --> src/mqtt/connect_flags.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | will_qos: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `will_flag` [INFO] [stdout] --> src/mqtt/connect_flags.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | will_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `clean_session` [INFO] [stdout] --> src/mqtt/connect_flags.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | clean_session: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reserved` [INFO] [stdout] --> src/mqtt/connect_flags.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | reserved: bool [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client_id` [INFO] [stdout] --> src/mqtt/payload.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | client_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `will_topic` [INFO] [stdout] --> src/mqtt/payload.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | will_topic: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `will_message` [INFO] [stdout] --> src/mqtt/payload.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | will_message: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/mqtt/payload.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | username: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `password` [INFO] [stdout] --> src/mqtt/payload.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | password: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `serialize` [INFO] [stdout] --> src/mqtt/packet.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn serialize(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UNKNOWN` [INFO] [stdout] --> src/mqtt/return_code.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | UNKNOWN [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_u8` [INFO] [stdout] --> src/mqtt/return_code.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn from_u8(value: u8) -> ReturnCode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `protocol_name` [INFO] [stdout] --> src/mqtt/variable_header.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | protocol_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `protocol_level` [INFO] [stdout] --> src/mqtt/variable_header.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | protocol_level: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `connect_flags` [INFO] [stdout] --> src/mqtt/variable_header.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | connect_flags: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `keep_alive` [INFO] [stdout] --> src/mqtt/variable_header.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | keep_alive: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `return_code` [INFO] [stdout] --> src/mqtt/variable_header.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | return_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `user_name_flag` [INFO] [stdout] --> src/mqtt/connect_flags.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | user_name_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `password_flag` [INFO] [stdout] --> src/mqtt/connect_flags.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | password_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `will_retain` [INFO] [stdout] --> src/mqtt/connect_flags.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | will_retain: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `will_qos` [INFO] [stdout] --> src/mqtt/connect_flags.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | will_qos: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `will_flag` [INFO] [stdout] --> src/mqtt/connect_flags.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | will_flag: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `clean_session` [INFO] [stdout] --> src/mqtt/connect_flags.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | clean_session: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reserved` [INFO] [stdout] --> src/mqtt/connect_flags.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | reserved: bool [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client_id` [INFO] [stdout] --> src/mqtt/payload.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | client_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `will_topic` [INFO] [stdout] --> src/mqtt/payload.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | will_topic: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `will_message` [INFO] [stdout] --> src/mqtt/payload.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | will_message: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/mqtt/payload.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | username: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `password` [INFO] [stdout] --> src/mqtt/payload.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | password: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `serialize` [INFO] [stdout] --> src/mqtt/packet.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn serialize(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `UNKNOWN` [INFO] [stdout] --> src/mqtt/return_code.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | UNKNOWN [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_u8` [INFO] [stdout] --> src/mqtt/return_code.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn from_u8(value: u8) -> ReturnCode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.23s [INFO] running `Command { std: "docker" "inspect" "2e06837b56a71366eb2785d8cf8dd8c186d9020ed116dd20756739ca4febedc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e06837b56a71366eb2785d8cf8dd8c186d9020ed116dd20756739ca4febedc1", kill_on_drop: false }` [INFO] [stdout] 2e06837b56a71366eb2785d8cf8dd8c186d9020ed116dd20756739ca4febedc1