[INFO] cloning repository https://github.com/bschwind/mqtt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bschwind/mqtt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbschwind%2Fmqtt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbschwind%2Fmqtt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36acbe04a81231bfb4c7c24fe654bb7d2b7fd7da [INFO] checking bschwind/mqtt against f1c52bf13c990fc425c542cc90a0396a87db24ba for pr-164812 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbschwind%2Fmqtt" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bschwind/mqtt [INFO] finished tweaking git repo https://github.com/bschwind/mqtt [INFO] tweaked toml for git repo https://github.com/bschwind/mqtt written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bschwind/mqtt on toolchain f1c52bf13c990fc425c542cc90a0396a87db24ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bschwind/mqtt 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" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `mqtt` (manifest) generated 1 warning [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9a68e82624c69330068224039f2b27322f35a035376c25b4388ab85c333811ce [INFO] running `Command { std: "docker" "start" "9a68e82624c69330068224039f2b27322f35a035376c25b4388ab85c333811ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a68e82624c69330068224039f2b27322f35a035376c25b4388ab85c333811ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9a68e82624c69330068224039f2b27322f35a035376c25b4388ab85c333811ce" "/opt/rustwide/cargo-home/bin/cargo" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a68e82624c69330068224039f2b27322f35a035376c25b4388ab85c333811ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9a68e82624c69330068224039f2b27322f35a035376c25b4388ab85c333811ce" "/opt/rustwide/cargo-home/bin/cargo" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `mqtt` (manifest) generated 1 warning [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking libc v0.2.15 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking lazycell v0.4.0 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking bytes v0.3.0 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking net2 v0.2.26 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Checking mio v0.6.0 [INFO] [stderr] Checking mqtt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0437]: type `Err` is not a member of trait `TryFrom` [INFO] [stdout] --> src/protocol/control_packet_type.rs:24:2 [INFO] [stdout] | [INFO] [stdout] 24 | type Err = MqttParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mqtt_handler.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | ... try!(MqttHandler::register_new_connection(poll, &new_session, new_token)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mqtt_handler.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | try!(connection.handle_event(poll, event_type)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mqtt_handler.rs:141:3 [INFO] [stdout] | [INFO] [stdout] 141 | try!(self.register(poll)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mqtt_handler.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | try!(poll.poll(&mut events, None)); // None means no timeout [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::Err::NodePosition` [INFO] [stdout] --> src/parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nom::Err::NodePosition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::ErrorKind::Custom` [INFO] [stdout] --> src/parser.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use nom::ErrorKind::Custom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/parser.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | match ControlPacketType::try_from(((first_byte & 0b11110000) >> 4)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - match ControlPacketType::try_from(((first_byte & 0b11110000) >> 4)) { [INFO] [stdout] 16 + match ControlPacketType::try_from((first_byte & 0b11110000) >> 4) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / named!(pub fixed_header_parser<&[u8], FixedHeader, MqttParseError>, [INFO] [stdout] 72 | | chain!( [INFO] [stdout] 73 | | first_byte_data: first_byte_parser ~ [INFO] [stdout] 74 | | remaining_length: remaining_length_parser, [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chaining_parser` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `chaining_parser` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / named!(pub fixed_header_parser<&[u8], FixedHeader, MqttParseError>, [INFO] [stdout] 72 | | chain!( [INFO] [stdout] 73 | | first_byte_data: first_byte_parser ~ [INFO] [stdout] 74 | | remaining_length: remaining_length_parser, [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chaining_parser` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `chaining_parser` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / named!(pub length_prefixed_utf8_parser<&[u8], &str, MqttParseError>, [INFO] [stdout] 82 | | chain!( [INFO] [stdout] 83 | | length: fix_error!(MqttParseError, be_u16) ~ [INFO] [stdout] 84 | | valid_str: add_error!( [INFO] [stdout] ... | [INFO] [stdout] 95 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fix_error` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fix_error` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / named!(pub length_prefixed_utf8_parser<&[u8], &str, MqttParseError>, [INFO] [stdout] 82 | | chain!( [INFO] [stdout] 83 | | length: fix_error!(MqttParseError, be_u16) ~ [INFO] [stdout] 84 | | valid_str: add_error!( [INFO] [stdout] ... | [INFO] [stdout] 95 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `map_res` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `map_res` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | / named!(pub length_prefixed_byte_array<&[u8], &[u8], MqttParseError>, [INFO] [stdout] 98 | | chain!( [INFO] [stdout] 99 | | length: fix_error!(MqttParseError, be_u16) ~ [INFO] [stdout] 100 | | valid_str: fix_error!(MqttParseError, take!(length)), [INFO] [stdout] ... | [INFO] [stdout] 105 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fix_error` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fix_error` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / named!(pub connect_variable_header_parser<&[u8], VariableHeader, MqttParseError>, [INFO] [stdout] 109 | | chain!( [INFO] [stdout] 110 | | protocol_name: length_prefixed_utf8_parser ~ [INFO] [stdout] 111 | | protocol_level: fix_error!(MqttParseError, be_u8) ~ [INFO] [stdout] ... | [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chaining_parser` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `chaining_parser` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / named!(pub connect_variable_header_parser<&[u8], VariableHeader, MqttParseError>, [INFO] [stdout] 109 | | chain!( [INFO] [stdout] 110 | | protocol_name: length_prefixed_utf8_parser ~ [INFO] [stdout] 111 | | protocol_level: fix_error!(MqttParseError, be_u8) ~ [INFO] [stdout] ... | [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fix_error` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fix_error` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / named!(pub connect_variable_header_parser<&[u8], VariableHeader, MqttParseError>, [INFO] [stdout] 109 | | chain!( [INFO] [stdout] 110 | | protocol_name: length_prefixed_utf8_parser ~ [INFO] [stdout] 111 | | protocol_level: fix_error!(MqttParseError, be_u8) ~ [INFO] [stdout] ... | [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fix_error` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fix_error` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / named!(pub connect_variable_header_parser<&[u8], VariableHeader, MqttParseError>, [INFO] [stdout] 109 | | chain!( [INFO] [stdout] 110 | | protocol_name: length_prefixed_utf8_parser ~ [INFO] [stdout] 111 | | protocol_level: fix_error!(MqttParseError, be_u8) ~ [INFO] [stdout] ... | [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fix_error` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fix_error` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / named!(pub connect_payload_parser<&[u8], Payload, MqttParseError>, [INFO] [stdout] 126 | | chain!( [INFO] [stdout] 127 | | protocol_name: length_prefixed_utf8_parser ~ [INFO] [stdout] 128 | | protocol_level: fix_error!(MqttParseError, be_u8) ~ [INFO] [stdout] ... | [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chaining_parser` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `chaining_parser` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / named!(pub connect_payload_parser<&[u8], Payload, MqttParseError>, [INFO] [stdout] 126 | | chain!( [INFO] [stdout] 127 | | protocol_name: length_prefixed_utf8_parser ~ [INFO] [stdout] 128 | | protocol_level: fix_error!(MqttParseError, be_u8) ~ [INFO] [stdout] ... | [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fix_error` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fix_error` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / named!(pub connect_payload_parser<&[u8], Payload, MqttParseError>, [INFO] [stdout] 126 | | chain!( [INFO] [stdout] 127 | | protocol_name: length_prefixed_utf8_parser ~ [INFO] [stdout] 128 | | protocol_level: fix_error!(MqttParseError, be_u8) ~ [INFO] [stdout] ... | [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fix_error` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fix_error` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / named!(pub connect_payload_parser<&[u8], Payload, MqttParseError>, [INFO] [stdout] 126 | | chain!( [INFO] [stdout] 127 | | protocol_name: length_prefixed_utf8_parser ~ [INFO] [stdout] 128 | | protocol_level: fix_error!(MqttParseError, be_u8) ~ [INFO] [stdout] ... | [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fix_error` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fix_error` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / named!(pub connect_packet_parser<&[u8], (VariableHeader, Payload), MqttParseError>, [INFO] [stdout] 144 | | chain!( [INFO] [stdout] 145 | | variable_header: connect_variable_header_parser ~ [INFO] [stdout] 146 | | payload: connect_payload_parser, [INFO] [stdout] ... | [INFO] [stdout] 151 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chaining_parser` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `chaining_parser` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / named!(pub connect_packet_parser<&[u8], (VariableHeader, Payload), MqttParseError>, [INFO] [stdout] 144 | | chain!( [INFO] [stdout] 145 | | variable_header: connect_variable_header_parser ~ [INFO] [stdout] 146 | | payload: connect_payload_parser, [INFO] [stdout] ... | [INFO] [stdout] 151 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chaining_parser` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `chaining_parser` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/session.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(self.read(poll)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/session.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 75 | try!(self.reregister(poll)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protocol::control_packet_type::ControlPacketType` [INFO] [stdout] --> src/protocol/variable_header.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use protocol::control_packet_type::ControlPacketType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protocol::control_packet_type::ControlPacketType` [INFO] [stdout] --> src/protocol/payload.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use protocol::control_packet_type::ControlPacketType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/mqtt_handler.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/mqtt_handler.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | pub const SERVER_TOKEN: Token = mio::Token(usize::MAX-1); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error` [INFO] [stdout] --> src/protocol/control_packet_type.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | impl TryFrom for ControlPacketType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Error = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0437]: type `Err` is not a member of trait `TryFrom` [INFO] [stdout] --> src/protocol/control_packet_type.rs:24:2 [INFO] [stdout] | [INFO] [stdout] 24 | type Err = MqttParseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `TryFrom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mqtt_handler.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | ... try!(MqttHandler::register_new_connection(poll, &new_session, new_token)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mqtt_handler.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | try!(connection.handle_event(poll, event_type)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mqtt_handler.rs:141:3 [INFO] [stdout] | [INFO] [stdout] 141 | try!(self.register(poll)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mqtt_handler.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | try!(poll.poll(&mut events, None)); // None means no timeout [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/parser.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | match ControlPacketType::try_from(((first_byte & 0b11110000) >> 4)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - match ControlPacketType::try_from(((first_byte & 0b11110000) >> 4)) { [INFO] [stdout] 16 + match ControlPacketType::try_from((first_byte & 0b11110000) >> 4) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / named!(pub fixed_header_parser<&[u8], FixedHeader, MqttParseError>, [INFO] [stdout] 72 | | chain!( [INFO] [stdout] 73 | | first_byte_data: first_byte_parser ~ [INFO] [stdout] 74 | | remaining_length: remaining_length_parser, [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chaining_parser` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_non_local_macros)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `chaining_parser` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | / named!(pub fixed_header_parser<&[u8], FixedHeader, MqttParseError>, [INFO] [stdout] 72 | | chain!( [INFO] [stdout] 73 | | first_byte_data: first_byte_parser ~ [INFO] [stdout] 74 | | remaining_length: remaining_length_parser, [INFO] [stdout] ... | [INFO] [stdout] 79 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chaining_parser` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `chaining_parser` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / named!(pub length_prefixed_utf8_parser<&[u8], &str, MqttParseError>, [INFO] [stdout] 82 | | chain!( [INFO] [stdout] 83 | | length: fix_error!(MqttParseError, be_u16) ~ [INFO] [stdout] 84 | | valid_str: add_error!( [INFO] [stdout] ... | [INFO] [stdout] 95 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fix_error` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fix_error` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | / named!(pub length_prefixed_utf8_parser<&[u8], &str, MqttParseError>, [INFO] [stdout] 82 | | chain!( [INFO] [stdout] 83 | | length: fix_error!(MqttParseError, be_u16) ~ [INFO] [stdout] 84 | | valid_str: add_error!( [INFO] [stdout] ... | [INFO] [stdout] 95 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `map_res` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `map_res` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | / named!(pub length_prefixed_byte_array<&[u8], &[u8], MqttParseError>, [INFO] [stdout] 98 | | chain!( [INFO] [stdout] 99 | | length: fix_error!(MqttParseError, be_u16) ~ [INFO] [stdout] 100 | | valid_str: fix_error!(MqttParseError, take!(length)), [INFO] [stdout] ... | [INFO] [stdout] 105 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fix_error` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fix_error` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / named!(pub connect_variable_header_parser<&[u8], VariableHeader, MqttParseError>, [INFO] [stdout] 109 | | chain!( [INFO] [stdout] 110 | | protocol_name: length_prefixed_utf8_parser ~ [INFO] [stdout] 111 | | protocol_level: fix_error!(MqttParseError, be_u8) ~ [INFO] [stdout] ... | [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chaining_parser` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `chaining_parser` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / named!(pub connect_variable_header_parser<&[u8], VariableHeader, MqttParseError>, [INFO] [stdout] 109 | | chain!( [INFO] [stdout] 110 | | protocol_name: length_prefixed_utf8_parser ~ [INFO] [stdout] 111 | | protocol_level: fix_error!(MqttParseError, be_u8) ~ [INFO] [stdout] ... | [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fix_error` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fix_error` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / named!(pub connect_variable_header_parser<&[u8], VariableHeader, MqttParseError>, [INFO] [stdout] 109 | | chain!( [INFO] [stdout] 110 | | protocol_name: length_prefixed_utf8_parser ~ [INFO] [stdout] 111 | | protocol_level: fix_error!(MqttParseError, be_u8) ~ [INFO] [stdout] ... | [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fix_error` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fix_error` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 108 | / named!(pub connect_variable_header_parser<&[u8], VariableHeader, MqttParseError>, [INFO] [stdout] 109 | | chain!( [INFO] [stdout] 110 | | protocol_name: length_prefixed_utf8_parser ~ [INFO] [stdout] 111 | | protocol_level: fix_error!(MqttParseError, be_u8) ~ [INFO] [stdout] ... | [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fix_error` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fix_error` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / named!(pub connect_payload_parser<&[u8], Payload, MqttParseError>, [INFO] [stdout] 126 | | chain!( [INFO] [stdout] 127 | | protocol_name: length_prefixed_utf8_parser ~ [INFO] [stdout] 128 | | protocol_level: fix_error!(MqttParseError, be_u8) ~ [INFO] [stdout] ... | [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chaining_parser` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `chaining_parser` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / named!(pub connect_payload_parser<&[u8], Payload, MqttParseError>, [INFO] [stdout] 126 | | chain!( [INFO] [stdout] 127 | | protocol_name: length_prefixed_utf8_parser ~ [INFO] [stdout] 128 | | protocol_level: fix_error!(MqttParseError, be_u8) ~ [INFO] [stdout] ... | [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fix_error` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fix_error` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / named!(pub connect_payload_parser<&[u8], Payload, MqttParseError>, [INFO] [stdout] 126 | | chain!( [INFO] [stdout] 127 | | protocol_name: length_prefixed_utf8_parser ~ [INFO] [stdout] 128 | | protocol_level: fix_error!(MqttParseError, be_u8) ~ [INFO] [stdout] ... | [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fix_error` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fix_error` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / named!(pub connect_payload_parser<&[u8], Payload, MqttParseError>, [INFO] [stdout] 126 | | chain!( [INFO] [stdout] 127 | | protocol_name: length_prefixed_utf8_parser ~ [INFO] [stdout] 128 | | protocol_level: fix_error!(MqttParseError, be_u8) ~ [INFO] [stdout] ... | [INFO] [stdout] 141 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `fix_error` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `fix_error` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / named!(pub connect_packet_parser<&[u8], (VariableHeader, Payload), MqttParseError>, [INFO] [stdout] 144 | | chain!( [INFO] [stdout] 145 | | variable_header: connect_variable_header_parser ~ [INFO] [stdout] 146 | | payload: connect_payload_parser, [INFO] [stdout] ... | [INFO] [stdout] 151 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chaining_parser` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `chaining_parser` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/parser.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 143 | / named!(pub connect_packet_parser<&[u8], (VariableHeader, Payload), MqttParseError>, [INFO] [stdout] 144 | | chain!( [INFO] [stdout] 145 | | variable_header: connect_variable_header_parser ~ [INFO] [stdout] 146 | | payload: connect_payload_parser, [INFO] [stdout] ... | [INFO] [stdout] 151 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `chaining_parser` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `chaining_parser` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/session.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(self.read(poll)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/session.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 75 | try!(self.reregister(poll)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protocol::control_packet_type::ControlPacketType` [INFO] [stdout] --> src/protocol/variable_header.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use protocol::control_packet_type::ControlPacketType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protocol::control_packet_type::ControlPacketType` [INFO] [stdout] --> src/protocol/payload.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use protocol::control_packet_type::ControlPacketType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type [INFO] [stdout] --> src/mqtt_handler.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | use std::usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::usize::MAX`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/mqtt_handler.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | pub const SERVER_TOKEN: Token = mio::Token(usize::MAX-1); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Error` [INFO] [stdout] --> src/protocol/control_packet_type.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | impl TryFrom for ControlPacketType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Error` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `type Error = /* Type */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0437. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mqtt` (bin "mqtt") due to 2 previous errors; 29 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/parser.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | IResult::Done(i, o) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/parser.rs:384:17 [INFO] [stdout] | [INFO] [stdout] 384 | IResult::Done(i, o) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/parser.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | IResult::Done(i, o) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/parser.rs:397:20 [INFO] [stdout] | [INFO] [stdout] 397 | IResult::Done(i, o) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/parser.rs:415:17 [INFO] [stdout] | [INFO] [stdout] 415 | IResult::Done(i, o) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0437. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mqtt` (bin "mqtt" test) due to 2 previous errors; 32 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9a68e82624c69330068224039f2b27322f35a035376c25b4388ab85c333811ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a68e82624c69330068224039f2b27322f35a035376c25b4388ab85c333811ce", kill_on_drop: false }` [INFO] [stdout] 9a68e82624c69330068224039f2b27322f35a035376c25b4388ab85c333811ce