[INFO] fetching crate mqtt3 0.1.4... [INFO] checking mqtt3-0.1.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate mqtt3 0.1.4 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate mqtt3 0.1.4 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mqtt3 0.1.4 [INFO] finished tweaking crates.io crate mqtt3 0.1.4 [INFO] tweaked toml for crates.io crate mqtt3 0.1.4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Adding byteorder v0.4.2 (latest: v1.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6b466728d14a5d75ed6bae6f7b76956a2e1c12795023e6da6f239854da0f849 [INFO] running `Command { std: "docker" "start" "-a" "a6b466728d14a5d75ed6bae6f7b76956a2e1c12795023e6da6f239854da0f849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6b466728d14a5d75ed6bae6f7b76956a2e1c12795023e6da6f239854da0f849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6b466728d14a5d75ed6bae6f7b76956a2e1c12795023e6da6f239854da0f849", kill_on_drop: false }` [INFO] [stdout] a6b466728d14a5d75ed6bae6f7b76956a2e1c12795023e6da6f239854da0f849 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5f63c946be7c07e11539bbcfe9e5ae5bd6d94d569ae4491279b1e872dfd3127 [INFO] running `Command { std: "docker" "start" "-a" "c5f63c946be7c07e11539bbcfe9e5ae5bd6d94d569ae4491279b1e872dfd3127", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking mqtt3 v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | let hd = try!(self.read_u8()); [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/read.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | let len = try!(self.read_remaining_length()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let header = try!(Header::new(hd, len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:35:55 [INFO] [stdout] | [INFO] [stdout] 35 | PacketType::Connect => Ok(Packet::Connect(try!(raw_packet.read_connect(header)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:36:55 [INFO] [stdout] | [INFO] [stdout] 36 | PacketType::Connack => Ok(Packet::Connack(try!(raw_packet.read_connack(header)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:37:55 [INFO] [stdout] | [INFO] [stdout] 37 | PacketType::Publish => Ok(Packet::Publish(try!(raw_packet.read_publish(header)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | let pid = try!(raw_packet.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | let pid = try!(raw_packet.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | let pid = try!(raw_packet.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | let pid = try!(raw_packet.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:66:59 [INFO] [stdout] | [INFO] [stdout] 66 | PacketType::Subscribe => Ok(Packet::Subscribe(try!(raw_packet.read_subscribe(header)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:67:53 [INFO] [stdout] | [INFO] [stdout] 67 | PacketType::Suback => Ok(Packet::Suback(try!(raw_packet.read_suback(header)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:68:63 [INFO] [stdout] | [INFO] [stdout] 68 | PacketType::Unsubscribe => Ok(Packet::Unsubscribe(try!(raw_packet.read_unsubscribe(header)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | let pid = try!(raw_packet.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | let protocol_name = try!(self.read_mqtt_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | let protocol_level = try!(self.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | let protocol = try!(Protocol::new(protocol_name.as_ref(), protocol_level)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | let connect_flags = try!(self.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | let keep_alive = try!(self.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | let client_id = try!(self.read_mqtt_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | let will_topic = try!(self.read_mqtt_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:100:36 [INFO] [stdout] | [INFO] [stdout] 100 | let will_message = try!(self.read_mqtt_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | let will_qod = try!(QoS::from_u8((connect_flags & 0b11000) >> 3)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | _ => Some(try!(self.read_mqtt_string())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | _ => Some(try!(self.read_mqtt_string())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | let flags = try!(self.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | let return_code = try!(self.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | code: try!(ConnectReturnCode::from_u8(return_code)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | try!(self.read_to_end(&mut payload)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | Some(PacketIdentifier(try!(self.read_u16::()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | qos: try!(header.qos()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | topic_name: try!(topic_name), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 170 | let pid = try!(self.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | let topic_filter = try!(self.read_mqtt_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | let requested_qod = try!(self.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:178:73 [INFO] [stdout] | [INFO] [stdout] 178 | topics.push(SubscribeTopic { topic_path: topic_filter, qos: try!(QoS::from_u8(requested_qod)) }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 188 | let pid = try!(self.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | let return_code = try!(self.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:197:65 [INFO] [stdout] | [INFO] [stdout] 197 | return_codes.push(SubscribeReturnCodes::Success(try!(QoS::from_u8(return_code & 0x3)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:209:19 [INFO] [stdout] | [INFO] [stdout] 209 | let pid = try!(self.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:214:32 [INFO] [stdout] | [INFO] [stdout] 214 | let topic_filter = try!(self.read_mqtt_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | try!(self.take(len as u64).read_to_end(&mut *payload)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | try!(self.take(len as u64).read_to_end(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:232:19 [INFO] [stdout] | [INFO] [stdout] 232 | let len = try!(self.read_u16::()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | Ok(try!(String::from_utf8(data))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 245 | let byte = try!(self.read_u8()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | try!(self.write_u8(0b00010000)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | try!(self.write_remaining_length(len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | try!(self.write_mqtt_string(prot_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | try!(self.write_u8(connect.protocol.level())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | try!(self.write_u8(connect_flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | try!(self.write_u16::(connect.keep_alive)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | try!(self.write_mqtt_string(connect.client_id.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | try!(self.write_mqtt_string(last_will.topic.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | try!(self.write_mqtt_string(last_will.message.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | try!(self.write_mqtt_string(username)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | try!(self.write_mqtt_string(password)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | try!(self.write(&[0x20, 0x02, connack.session_present as u8, connack.code.to_u8()])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | try!(self.write_u8(0b00110000 | publish.retain as u8 | (publish.qos.to_u8() << 1) | ((publish.dup as u8) << 3))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | try!(self.write_remaining_length(len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.write_mqtt_string(publish.topic_name.as_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | try!(self.write(&publish.payload.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | try!(self.write_u16::(pid.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | try!(self.write(&[0x40, 0x02])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | try!(self.write_u16::(pid.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | try!(self.write(&[0x50, 0x02])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | try!(self.write_u16::(pid.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | try!(self.write(&[0x62, 0x02])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | try!(self.write_u16::(pid.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | try!(self.write(&[0x70, 0x02])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | try!(self.write_u16::(pid.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | try!(self.write(&[0x82])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | try!(self.write_remaining_length(len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | try!(self.write_u16::(subscribe.pid.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | try!(self.write_mqtt_string(topic.topic_path.as_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | try!(self.write_u8(topic.qos.to_u8())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | try!(self.write(&[0x90])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | try!(self.write_remaining_length(suback.return_codes.len() + 2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | try!(self.write_u16::(suback.pid.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | try!(self.write(&payload)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | try!(self.write(&[0xA2])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | try!(self.write_remaining_length(len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | try!(self.write_u16::(unsubscribe.pid.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | try!(self.write_mqtt_string(topic.as_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | try!(self.write(&[0xB0, 0x02])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | try!(self.write_u16::(pid.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | try!(self.write(&[0xc0, 0])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | try!(self.write(&[0xd0, 0])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | try!(self.write(&[0xe0, 0])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | try!(self.write_u16::(string.len() as u16)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | try!(self.write(string.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | try!(self.write_u8(byte)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/topic.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | let topic_name = try!(self.to_topic_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:258:18 [INFO] [stdout] | [INFO] [stdout] 258 | typ: try!(PacketType::from_hd(hd)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 20 | let hd = try!(self.read_u8()); [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/read.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | let len = try!(self.read_remaining_length()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let header = try!(Header::new(hd, len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:35:55 [INFO] [stdout] | [INFO] [stdout] 35 | PacketType::Connect => Ok(Packet::Connect(try!(raw_packet.read_connect(header)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:36:55 [INFO] [stdout] | [INFO] [stdout] 36 | PacketType::Connack => Ok(Packet::Connack(try!(raw_packet.read_connack(header)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:37:55 [INFO] [stdout] | [INFO] [stdout] 37 | PacketType::Publish => Ok(Packet::Publish(try!(raw_packet.read_publish(header)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | let pid = try!(raw_packet.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:49:27 [INFO] [stdout] | [INFO] [stdout] 49 | let pid = try!(raw_packet.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | let pid = try!(raw_packet.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | let pid = try!(raw_packet.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:66:59 [INFO] [stdout] | [INFO] [stdout] 66 | PacketType::Subscribe => Ok(Packet::Subscribe(try!(raw_packet.read_subscribe(header)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:67:53 [INFO] [stdout] | [INFO] [stdout] 67 | PacketType::Suback => Ok(Packet::Suback(try!(raw_packet.read_suback(header)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:68:63 [INFO] [stdout] | [INFO] [stdout] 68 | PacketType::Unsubscribe => Ok(Packet::Unsubscribe(try!(raw_packet.read_unsubscribe(header)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:73:27 [INFO] [stdout] | [INFO] [stdout] 73 | let pid = try!(raw_packet.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 83 | let protocol_name = try!(self.read_mqtt_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | let protocol_level = try!(self.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | let protocol = try!(Protocol::new(protocol_name.as_ref(), protocol_level)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | let connect_flags = try!(self.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | let keep_alive = try!(self.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | let client_id = try!(self.read_mqtt_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | let will_topic = try!(self.read_mqtt_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:100:36 [INFO] [stdout] | [INFO] [stdout] 100 | let will_message = try!(self.read_mqtt_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | let will_qod = try!(QoS::from_u8((connect_flags & 0b11000) >> 3)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:113:23 [INFO] [stdout] | [INFO] [stdout] 113 | _ => Some(try!(self.read_mqtt_string())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | _ => Some(try!(self.read_mqtt_string())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | let flags = try!(self.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | let return_code = try!(self.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | code: try!(ConnectReturnCode::from_u8(return_code)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | try!(self.read_to_end(&mut payload)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | Some(PacketIdentifier(try!(self.read_u16::()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | qos: try!(header.qos()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | topic_name: try!(topic_name), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 170 | let pid = try!(self.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | let topic_filter = try!(self.read_mqtt_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | let requested_qod = try!(self.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:178:73 [INFO] [stdout] | [INFO] [stdout] 178 | topics.push(SubscribeTopic { topic_path: topic_filter, qos: try!(QoS::from_u8(requested_qod)) }); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:188:19 [INFO] [stdout] | [INFO] [stdout] 188 | let pid = try!(self.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | let return_code = try!(self.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:197:65 [INFO] [stdout] | [INFO] [stdout] 197 | return_codes.push(SubscribeReturnCodes::Success(try!(QoS::from_u8(return_code & 0x3)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:209:19 [INFO] [stdout] | [INFO] [stdout] 209 | let pid = try!(self.read_u16::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:214:32 [INFO] [stdout] | [INFO] [stdout] 214 | let topic_filter = try!(self.read_mqtt_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | try!(self.take(len as u64).read_to_end(&mut *payload)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:234:9 [INFO] [stdout] | [INFO] [stdout] 234 | try!(self.take(len as u64).read_to_end(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:232:19 [INFO] [stdout] | [INFO] [stdout] 232 | let len = try!(self.read_u16::()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | Ok(try!(String::from_utf8(data))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/read.rs:245:24 [INFO] [stdout] | [INFO] [stdout] 245 | let byte = try!(self.read_u8()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | try!(self.write_u8(0b00010000)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | try!(self.write_remaining_length(len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | try!(self.write_mqtt_string(prot_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | try!(self.write_u8(connect.protocol.level())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | try!(self.write_u8(connect_flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | try!(self.write_u16::(connect.keep_alive)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | try!(self.write_mqtt_string(connect.client_id.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | try!(self.write_mqtt_string(last_will.topic.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | try!(self.write_mqtt_string(last_will.message.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | try!(self.write_mqtt_string(username)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | try!(self.write_mqtt_string(password)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | try!(self.write(&[0x20, 0x02, connack.session_present as u8, connack.code.to_u8()])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | try!(self.write_u8(0b00110000 | publish.retain as u8 | (publish.qos.to_u8() << 1) | ((publish.dup as u8) << 3))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | try!(self.write_remaining_length(len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | try!(self.write_mqtt_string(publish.topic_name.as_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | try!(self.write(&publish.payload.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | try!(self.write_u16::(pid.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | try!(self.write(&[0x40, 0x02])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | try!(self.write_u16::(pid.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | try!(self.write(&[0x50, 0x02])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | try!(self.write_u16::(pid.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | try!(self.write(&[0x62, 0x02])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | try!(self.write_u16::(pid.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | try!(self.write(&[0x70, 0x02])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | try!(self.write_u16::(pid.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | try!(self.write(&[0x82])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | try!(self.write_remaining_length(len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | try!(self.write_u16::(subscribe.pid.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | try!(self.write_mqtt_string(topic.topic_path.as_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | try!(self.write_u8(topic.qos.to_u8())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | try!(self.write(&[0x90])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | try!(self.write_remaining_length(suback.return_codes.len() + 2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | try!(self.write_u16::(suback.pid.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | try!(self.write(&payload)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | try!(self.write(&[0xA2])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | try!(self.write_remaining_length(len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:125:17 [INFO] [stdout] | [INFO] [stdout] 125 | try!(self.write_u16::(unsubscribe.pid.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | try!(self.write_mqtt_string(topic.as_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | try!(self.write(&[0xB0, 0x02])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | try!(self.write_u16::(pid.0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | try!(self.write(&[0xc0, 0])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | try!(self.write(&[0xd0, 0])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | try!(self.write(&[0xe0, 0])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | try!(self.write_u16::(string.len() as u16)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | try!(self.write(string.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/write.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | try!(self.write_u8(byte)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/topic.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | let topic_name = try!(self.to_topic_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:258:18 [INFO] [stdout] | [INFO] [stdout] 258 | typ: try!(PacketType::from_hd(hd)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/read.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 83 | let protocol_name = try!(self.read_mqtt_string()); [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let protocol_level = try!(self.read_u8()); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let protocol = try!(Protocol::new(protocol_name.as_ref(), protocol_level)); [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | [INFO] [stdout] 87 | let connect_flags = try!(self.read_u8()); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let keep_alive = try!(self.read_u16::()); [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let client_id = try!(self.read_mqtt_string()); [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | let will_topic = try!(self.read_mqtt_string()); [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let will_message = try!(self.read_mqtt_string()); [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | let will_qod = try!(QoS::from_u8((connect_flags & 0b11000) >> 3)); [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | _ => Some(try!(self.read_mqtt_string())) [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | _ => Some(try!(self.read_mqtt_string())) [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | Ok(Box::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 122 | | Connect { [INFO] [stdout] 123 | | protocol: protocol, [INFO] [stdout] 124 | | keep_alive: keep_alive, [INFO] [stdout] ... | [INFO] [stdout] 130 | | } [INFO] [stdout] 131 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/read.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 138 | let flags = try!(self.read_u8()); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | let return_code = try!(self.read_u8()); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | code: try!(ConnectReturnCode::from_u8(return_code)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/read.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 147 | let topic_name = self.read_mqtt_string(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | Some(PacketIdentifier(try!(self.read_u16::()))) [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 157 | Ok(Box::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 158 | | Publish { [INFO] [stdout] 159 | | dup: header.dup(), [INFO] [stdout] 160 | | qos: try!(header.qos()), [INFO] [stdout] ... | [INFO] [stdout] 165 | | } [INFO] [stdout] 166 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/read.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 170 | let pid = try!(self.read_u16::()); [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | Ok(Box::new(Subscribe { [INFO] [stdout] | ____________^ [INFO] [stdout] 182 | | pid: PacketIdentifier(pid), [INFO] [stdout] 183 | | topics: topics [INFO] [stdout] 184 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/read.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 188 | let pid = try!(self.read_u16::()); [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | Ok(Box::new(Suback { [INFO] [stdout] | ____________^ [INFO] [stdout] 203 | | pid: PacketIdentifier(pid), [INFO] [stdout] 204 | | return_codes: return_codes [INFO] [stdout] 205 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/read.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 209 | let pid = try!(self.read_u16::()); [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 219 | Ok(Box::new(Unsubscribe { [INFO] [stdout] | ____________^ [INFO] [stdout] 220 | | pid: PacketIdentifier(pid), [INFO] [stdout] 221 | | topics: topics [INFO] [stdout] 222 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/msg.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn from_pub(publish: Box) -> Result> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | Ok(Box::new(Message { [INFO] [stdout] | ____________^ [INFO] [stdout] 22 | | topic: topic, [INFO] [stdout] 23 | | qos: publish.qos, [INFO] [stdout] 24 | | retain: publish.retain, [INFO] [stdout] 25 | | pid: publish.pid, [INFO] [stdout] 26 | | payload: publish.payload.clone() [INFO] [stdout] 27 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 94 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mqtt3` (lib) due to 8 previous errors; 94 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/read.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 83 | let protocol_name = try!(self.read_mqtt_string()); [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | let protocol_level = try!(self.read_u8()); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let protocol = try!(Protocol::new(protocol_name.as_ref(), protocol_level)); [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | [INFO] [stdout] 87 | let connect_flags = try!(self.read_u8()); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let keep_alive = try!(self.read_u16::()); [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | let client_id = try!(self.read_mqtt_string()); [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | let will_topic = try!(self.read_mqtt_string()); [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let will_message = try!(self.read_mqtt_string()); [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | let will_qod = try!(QoS::from_u8((connect_flags & 0b11000) >> 3)); [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | _ => Some(try!(self.read_mqtt_string())) [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | _ => Some(try!(self.read_mqtt_string())) [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | Ok(Box::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 122 | | Connect { [INFO] [stdout] 123 | | protocol: protocol, [INFO] [stdout] 124 | | keep_alive: keep_alive, [INFO] [stdout] ... | [INFO] [stdout] 130 | | } [INFO] [stdout] 131 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/read.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 138 | let flags = try!(self.read_u8()); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | let return_code = try!(self.read_u8()); [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | code: try!(ConnectReturnCode::from_u8(return_code)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/read.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 147 | let topic_name = self.read_mqtt_string(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 150 | Some(PacketIdentifier(try!(self.read_u16::()))) [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 157 | Ok(Box::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 158 | | Publish { [INFO] [stdout] 159 | | dup: header.dup(), [INFO] [stdout] 160 | | qos: try!(header.qos()), [INFO] [stdout] ... | [INFO] [stdout] 165 | | } [INFO] [stdout] 166 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/read.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 170 | let pid = try!(self.read_u16::()); [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | Ok(Box::new(Subscribe { [INFO] [stdout] | ____________^ [INFO] [stdout] 182 | | pid: PacketIdentifier(pid), [INFO] [stdout] 183 | | topics: topics [INFO] [stdout] 184 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/read.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 188 | let pid = try!(self.read_u16::()); [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | Ok(Box::new(Suback { [INFO] [stdout] | ____________^ [INFO] [stdout] 203 | | pid: PacketIdentifier(pid), [INFO] [stdout] 204 | | return_codes: return_codes [INFO] [stdout] 205 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/read.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 209 | let pid = try!(self.read_u16::()); [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 219 | Ok(Box::new(Unsubscribe { [INFO] [stdout] | ____________^ [INFO] [stdout] 220 | | pid: PacketIdentifier(pid), [INFO] [stdout] 221 | | topics: topics [INFO] [stdout] 222 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/msg.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn from_pub(publish: Box) -> Result> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | Ok(Box::new(Message { [INFO] [stdout] | ____________^ [INFO] [stdout] 22 | | topic: topic, [INFO] [stdout] 23 | | qos: publish.qos, [INFO] [stdout] 24 | | retain: publish.retain, [INFO] [stdout] 25 | | pid: publish.pid, [INFO] [stdout] 26 | | payload: publish.payload.clone() [INFO] [stdout] 27 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 94 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mqtt3` (lib test) due to 8 previous errors; 94 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c5f63c946be7c07e11539bbcfe9e5ae5bd6d94d569ae4491279b1e872dfd3127", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5f63c946be7c07e11539bbcfe9e5ae5bd6d94d569ae4491279b1e872dfd3127", kill_on_drop: false }` [INFO] [stdout] c5f63c946be7c07e11539bbcfe9e5ae5bd6d94d569ae4491279b1e872dfd3127