[INFO] cloning repository https://github.com/jcc333/blood-sucker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcc333/blood-sucker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcc333%2Fblood-sucker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcc333%2Fblood-sucker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c107a0771f711193919c54fe1d1330c8e39ac4b [INFO] testing jcc333/blood-sucker against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcc333%2Fblood-sucker" "/workspace/builds/worker-57/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-57/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jcc333/blood-sucker on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jcc333/blood-sucker [INFO] finished tweaking git repo https://github.com/jcc333/blood-sucker [INFO] tweaked toml for git repo https://github.com/jcc333/blood-sucker written to /workspace/builds/worker-57/source/Cargo.toml [INFO] crate git repo https://github.com/jcc333/blood-sucker already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.repo [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-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff5e12d206eadb5f233bab8b4700402cf2c4a991bb9ad5d492573d4544b6a01e [INFO] running `Command { std: "docker" "start" "-a" "ff5e12d206eadb5f233bab8b4700402cf2c4a991bb9ad5d492573d4544b6a01e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff5e12d206eadb5f233bab8b4700402cf2c4a991bb9ad5d492573d4544b6a01e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff5e12d206eadb5f233bab8b4700402cf2c4a991bb9ad5d492573d4544b6a01e", kill_on_drop: false }` [INFO] [stdout] ff5e12d206eadb5f233bab8b4700402cf2c4a991bb9ad5d492573d4544b6a01e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cb901e26612d1d87f41b7f36354e4956246fcc1c29c89ee85696c5925af3d68 [INFO] running `Command { std: "docker" "start" "-a" "6cb901e26612d1d87f41b7f36354e4956246fcc1c29c89ee85696c5925af3d68", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.repo [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling smallvec v0.6.8 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling tokio-executor v0.1.6 [INFO] [stderr] Compiling tokio-sync v0.1.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling tokio-current-thread v0.1.4 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling tokio-io v0.1.11 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.8 [INFO] [stderr] Compiling crossbeam v0.6.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.11 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-fs v0.1.5 [INFO] [stderr] Compiling tokio v0.1.15 [INFO] [stderr] Compiling mqtt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqtt/serde.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | fn ser(&self, sink: &mut Write) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - fn ser(&self, sink: &mut Write) -> Result; [INFO] [stdout] 7 + fn ser(&self, sink: &mut dyn Write) -> Result; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqtt/serde.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | fn de(source: &mut Read) -> Result<(Self, usize)>; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - fn de(source: &mut Read) -> Result<(Self, usize)>; [INFO] [stdout] 10 + fn de(source: &mut dyn Read) -> Result<(Self, usize)>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqtt/qos.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | fn ser(&self, sink: &mut Write) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - fn ser(&self, sink: &mut Write) -> Result { [INFO] [stdout] 45 + fn ser(&self, sink: &mut dyn Write) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqtt/qos.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | fn de(source: &mut Read) -> Result<(QualityOfService, usize)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - fn de(source: &mut Read) -> Result<(QualityOfService, usize)> { [INFO] [stdout] 54 + fn de(source: &mut dyn Read) -> Result<(QualityOfService, usize)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqtt/remaining_length.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | fn ser(&self, sink: &mut Write) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - fn ser(&self, sink: &mut Write) -> Result { [INFO] [stdout] 35 + fn ser(&self, sink: &mut dyn Write) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqtt/remaining_length.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | fn de(source: &mut Read) -> Result<(Self, usize)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 55 - fn de(source: &mut Read) -> Result<(Self, usize)> { [INFO] [stdout] 55 + fn de(source: &mut dyn Read) -> Result<(Self, usize)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqtt/variable_header.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | fn ser(&self, sink: &mut Write) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 - fn ser(&self, sink: &mut Write) -> Result { [INFO] [stdout] 57 + fn ser(&self, sink: &mut dyn Write) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqtt/variable_header.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | fn de(source: &mut Read) -> Result<(Self, usize)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - fn de(source: &mut Read) -> Result<(Self, usize)> { [INFO] [stdout] 61 + fn de(source: &mut dyn Read) -> Result<(Self, usize)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqtt/fixed_header.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | fn ser(&self, sink: &mut Write) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - fn ser(&self, sink: &mut Write) -> Result { [INFO] [stdout] 39 + fn ser(&self, sink: &mut dyn Write) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqtt/fixed_header.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | fn de(source: &mut Read) -> Result<(Self, usize)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - fn de(source: &mut Read) -> Result<(Self, usize)> { [INFO] [stdout] 45 + fn de(source: &mut dyn Read) -> Result<(Self, usize)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqtt/payload.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | fn ser(&self, sink: &mut Write) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 - fn ser(&self, sink: &mut Write) -> Result { [INFO] [stdout] 87 + fn ser(&self, sink: &mut dyn Write) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqtt/payload.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | fn de(source: &mut Read) -> Result<(Self, usize)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 91 - fn de(source: &mut Read) -> Result<(Self, usize)> { [INFO] [stdout] 91 + fn de(source: &mut dyn Read) -> Result<(Self, usize)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqtt/message.rs:198:30 [INFO] [stdout] | [INFO] [stdout] 198 | fn ser(&self, sink: &mut Write) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 198 - fn ser(&self, sink: &mut Write) -> Result { [INFO] [stdout] 198 + fn ser(&self, sink: &mut dyn Write) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mqtt/message.rs:214:24 [INFO] [stdout] | [INFO] [stdout] 214 | fn de(source: &mut Read) -> Result<(Self, usize)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 214 - fn de(source: &mut Read) -> Result<(Self, usize)> { [INFO] [stdout] 214 + fn de(source: &mut dyn Read) -> Result<(Self, usize)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/mqtt/remaining_length.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sink` [INFO] [stdout] --> src/mqtt/variable_header.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | fn ser(&self, sink: &mut Write) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sink` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/mqtt/variable_header.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | fn de(source: &mut Read) -> Result<(Self, usize)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sink` [INFO] [stdout] --> src/mqtt/payload.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | fn ser(&self, sink: &mut Write) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sink` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/mqtt/payload.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | fn de(source: &mut Read) -> Result<(Self, usize)> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `topic` [INFO] [stdout] --> src/mqtt/message.rs:90:50 [INFO] [stdout] | [INFO] [stdout] 90 | Message::Publish { dup, qos, retain, topic, packet_id, payload } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `topic: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet_id` [INFO] [stdout] --> src/mqtt/message.rs:90:57 [INFO] [stdout] | [INFO] [stdout] 90 | Message::Publish { dup, qos, retain, topic, packet_id, payload } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `packet_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/mqtt/message.rs:90:68 [INFO] [stdout] | [INFO] [stdout] 90 | Message::Publish { dup, qos, retain, topic, packet_id, payload } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `payload: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet_id` [INFO] [stdout] --> src/mqtt/message.rs:95:34 [INFO] [stdout] | [INFO] [stdout] 95 | Message::Subscribe { packet_id, topic_filters } => [false, false, true, false], [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `packet_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `topic_filters` [INFO] [stdout] --> src/mqtt/message.rs:95:45 [INFO] [stdout] | [INFO] [stdout] 95 | Message::Subscribe { packet_id, topic_filters } => [false, false, true, false], [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `topic_filters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet_id` [INFO] [stdout] --> src/mqtt/message.rs:96:36 [INFO] [stdout] | [INFO] [stdout] 96 | Message::Unsubscribe { packet_id, topic_filters } => [false, false, true, false], [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `packet_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `topic_filters` [INFO] [stdout] --> src/mqtt/message.rs:96:47 [INFO] [stdout] | [INFO] [stdout] 96 | Message::Unsubscribe { packet_id, topic_filters } => [false, false, true, false], [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `topic_filters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_id` [INFO] [stdout] --> src/mqtt/message.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | client_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `client_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dup` [INFO] [stdout] --> src/mqtt/message.rs:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | Message::Publish { dup, qos, retain, topic, packet_id, payload } => [INFO] [stdout] | ^^^ help: try ignoring the field: `dup: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qos` [INFO] [stdout] --> src/mqtt/message.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | Message::Publish { dup, qos, retain, topic, packet_id, payload } => [INFO] [stdout] | ^^^ help: try ignoring the field: `qos: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `retain` [INFO] [stdout] --> src/mqtt/message.rs:145:42 [INFO] [stdout] | [INFO] [stdout] 145 | Message::Publish { dup, qos, retain, topic, packet_id, payload } => [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `retain: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/mqtt/message.rs:145:68 [INFO] [stdout] | [INFO] [stdout] 145 | Message::Publish { dup, qos, retain, topic, packet_id, payload } => [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `payload: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `topic_filters` [INFO] [stdout] --> src/mqtt/message.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | Message::Subscribe{ packet_id, topic_filters } => [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `topic_filters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_codes` [INFO] [stdout] --> src/mqtt/message.rs:149:41 [INFO] [stdout] | [INFO] [stdout] 149 | Message::Suback{ packet_id, return_codes } => [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `return_codes: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `topic_filters` [INFO] [stdout] --> src/mqtt/message.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | Message::Unsubscribe { packet_id, topic_filters } => [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `topic_filters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_id` [INFO] [stdout] --> src/mqtt/session.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | client_id: &'a str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/mqtt/session.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | username: &'a str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `password` [INFO] [stdout] --> src/mqtt/session.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | password: &'a str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clean_session` [INFO] [stdout] --> src/mqtt/session.rs:80:20 [INFO] [stdout] | [INFO] [stdout] 80 | clean_session: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clean_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keep_alive` [INFO] [stdout] --> src/mqtt/session.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | keep_alive: u16 [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keep_alive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dup` [INFO] [stdout] --> src/mqtt/session.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | dup: bool, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dup` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `qos` [INFO] [stdout] --> src/mqtt/session.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | qos: QualityOfService, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_qos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `retain` [INFO] [stdout] --> src/mqtt/session.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | retain: bool, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_retain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `topic` [INFO] [stdout] --> src/mqtt/session.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 98 | topic: &'a str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_topic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet_id` [INFO] [stdout] --> src/mqtt/session.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | packet_id: Option, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/mqtt/session.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | payload: &'a str) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet_id` [INFO] [stdout] --> src/mqtt/session.rs:105:41 [INFO] [stdout] | [INFO] [stdout] 105 | fn puback(&self, addr: &SocketAddr, packet_id: PacketId) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet_id` [INFO] [stdout] --> src/mqtt/session.rs:110:41 [INFO] [stdout] | [INFO] [stdout] 110 | fn pubrec(&self, addr: &SocketAddr, packet_id: PacketId) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet_id` [INFO] [stdout] --> src/mqtt/session.rs:115:41 [INFO] [stdout] | [INFO] [stdout] 115 | fn pubrel(&self, addr: &SocketAddr, packet_id: PacketId) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet_id` [INFO] [stdout] --> src/mqtt/session.rs:120:42 [INFO] [stdout] | [INFO] [stdout] 120 | fn pubcomp(&self, addr: &SocketAddr, packet_id: PacketId) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet_id` [INFO] [stdout] --> src/mqtt/session.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | packet_id: PacketId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `topic_filters` [INFO] [stdout] --> src/mqtt/session.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | topic_filters: &'a[(&'a str, QualityOfService)] [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_topic_filters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet_id` [INFO] [stdout] --> src/mqtt/session.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | packet_id: PacketId, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `topic_filters` [INFO] [stdout] --> src/mqtt/session.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | topic_filters: &'a[&'a str] [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_topic_filters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_qos` [INFO] [stdout] --> src/mqtt/payload.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn from_qos(qos: Option) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_qos` [INFO] [stdout] --> src/mqtt/payload.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn to_qos(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_byte` [INFO] [stdout] --> src/mqtt/payload.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn to_byte(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_byte` [INFO] [stdout] --> src/mqtt/payload.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn from_byte(byte: u8) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `filters` [INFO] [stdout] --> src/mqtt/session.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | filters: BTreeMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `will` [INFO] [stdout] --> src/mqtt/session.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | will: Option> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `subscribe` [INFO] [stdout] --> src/mqtt/session.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn subscribe(&mut self, qos: QualityOfService, topic_filter: &'a str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from)] [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/lib.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] error: aborting due to previous error; 61 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mqtt` due to 2 previous errors; 61 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6cb901e26612d1d87f41b7f36354e4956246fcc1c29c89ee85696c5925af3d68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cb901e26612d1d87f41b7f36354e4956246fcc1c29c89ee85696c5925af3d68", kill_on_drop: false }` [INFO] [stdout] 6cb901e26612d1d87f41b7f36354e4956246fcc1c29c89ee85696c5925af3d68