[INFO] fetching crate minint 0.1.0... [INFO] building minint-0.1.0 against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] extracting crate minint 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate minint 0.1.0 on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate minint 0.1.0 [INFO] finished tweaking crates.io crate minint 0.1.0 [INFO] tweaked toml for crates.io crate minint 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 107 packages to latest compatible versions [INFO] [stderr] Adding tokio-tungstenite v0.21.0 (available: v0.26.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5f5bbd80ad70ca3f7f222e8d25a2a2202965396abd306617dc9d1653e54a3b3 [INFO] running `Command { std: "docker" "start" "-a" "e5f5bbd80ad70ca3f7f222e8d25a2a2202965396abd306617dc9d1653e54a3b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5f5bbd80ad70ca3f7f222e8d25a2a2202965396abd306617dc9d1653e54a3b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5f5bbd80ad70ca3f7f222e8d25a2a2202965396abd306617dc9d1653e54a3b3", kill_on_drop: false }` [INFO] [stdout] e5f5bbd80ad70ca3f7f222e8d25a2a2202965396abd306617dc9d1653e54a3b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1db2ab60d63edfbda2ed24143499e0b23512f0042abd2656dcda1ab3094bc46f [INFO] running `Command { std: "docker" "start" "-a" "1db2ab60d63edfbda2ed24143499e0b23512f0042abd2656dcda1ab3094bc46f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling minint v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ser::SerializeMap` [INFO] [stdout] --> src/messages.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{ser::SerializeMap, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | let (mut sock, _) = tokio_tungstenite::connect_async(req).await?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read_bin_frame` is never used [INFO] [stdout] --> src/lib.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'nt> NtConn<'nt> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 171 | fn read_bin_frame(buf: Vec) -> Result<(u64, u64, Data), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Data` is never used [INFO] [stdout] --> src/datatype.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/datatype.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Data { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 16 | pub fn from(rd: &mut R, data_type: u8) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `STRING` and `decode` are never used [INFO] [stdout] --> src/datatype.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait DataWrap: Sized { [INFO] [stdout] | -------- associated items in this trait [INFO] [stdout] 38 | const MSGPCK: u8; [INFO] [stdout] 39 | const STRING: &'static str; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | [INFO] [stdout] 41 | fn decode(rd: &mut R) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SetProperties` is never constructed [INFO] [stdout] --> src/messages.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ClientMsg { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | SetProperties { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `id`, `type`, `pubuid`, and `properties` are never read [INFO] [stdout] --> src/messages.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 89 | Announce { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 90 | /// Topic name [INFO] [stdout] 91 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 99 | r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pubuid: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | properties: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `id` are never read [INFO] [stdout] --> src/messages.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 113 | Unannounce { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 114 | /// Topic name [INFO] [stdout] 115 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ack` are never read [INFO] [stdout] --> src/messages.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 125 | Properties { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 126 | /// Topic name [INFO] [stdout] 127 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | ack: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 117 | name: impl Into, [INFO] [stdout] 118 | ) -> Result, Box> { [INFO] [stdout] | ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.18s [INFO] running `Command { std: "docker" "inspect" "1db2ab60d63edfbda2ed24143499e0b23512f0042abd2656dcda1ab3094bc46f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1db2ab60d63edfbda2ed24143499e0b23512f0042abd2656dcda1ab3094bc46f", kill_on_drop: false }` [INFO] [stdout] 1db2ab60d63edfbda2ed24143499e0b23512f0042abd2656dcda1ab3094bc46f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67b4778554f91b08dcab8eb1fec3aaccdbb4c6137b50829a2c7e4c96a33758cd [INFO] running `Command { std: "docker" "start" "-a" "67b4778554f91b08dcab8eb1fec3aaccdbb4c6137b50829a2c7e4c96a33758cd", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `ser::SerializeMap` [INFO] [stdout] --> src/messages.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{ser::SerializeMap, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | let (mut sock, _) = tokio_tungstenite::connect_async(req).await?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read_bin_frame` is never used [INFO] [stdout] --> src/lib.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'nt> NtConn<'nt> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 171 | fn read_bin_frame(buf: Vec) -> Result<(u64, u64, Data), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Data` is never used [INFO] [stdout] --> src/datatype.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/datatype.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Data { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 16 | pub fn from(rd: &mut R, data_type: u8) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `STRING` and `decode` are never used [INFO] [stdout] --> src/datatype.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait DataWrap: Sized { [INFO] [stdout] | -------- associated items in this trait [INFO] [stdout] 38 | const MSGPCK: u8; [INFO] [stdout] 39 | const STRING: &'static str; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | [INFO] [stdout] 41 | fn decode(rd: &mut R) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SetProperties` is never constructed [INFO] [stdout] --> src/messages.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ClientMsg { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | SetProperties { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `id`, `type`, `pubuid`, and `properties` are never read [INFO] [stdout] --> src/messages.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 89 | Announce { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 90 | /// Topic name [INFO] [stdout] 91 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 99 | r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pubuid: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | properties: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `id` are never read [INFO] [stdout] --> src/messages.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 113 | Unannounce { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 114 | /// Topic name [INFO] [stdout] 115 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ack` are never read [INFO] [stdout] --> src/messages.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 125 | Properties { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 126 | /// Topic name [INFO] [stdout] 127 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | ack: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling minint v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 117 | name: impl Into, [INFO] [stdout] 118 | ) -> Result, Box> { [INFO] [stdout] | ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ser::SerializeMap` [INFO] [stdout] --> src/messages.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{ser::SerializeMap, Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | let (mut sock, _) = tokio_tungstenite::connect_async(req).await?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read_bin_frame` is never used [INFO] [stdout] --> src/lib.rs:171:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'nt> NtConn<'nt> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 171 | fn read_bin_frame(buf: Vec) -> Result<(u64, u64, Data), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Data` is never used [INFO] [stdout] --> src/datatype.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/datatype.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Data { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 16 | pub fn from(rd: &mut R, data_type: u8) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `STRING` and `decode` are never used [INFO] [stdout] --> src/datatype.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait DataWrap: Sized { [INFO] [stdout] | -------- associated items in this trait [INFO] [stdout] 38 | const MSGPCK: u8; [INFO] [stdout] 39 | const STRING: &'static str; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 40 | [INFO] [stdout] 41 | fn decode(rd: &mut R) -> Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SetProperties` is never constructed [INFO] [stdout] --> src/messages.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ClientMsg { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | SetProperties { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `id`, `type`, `pubuid`, and `properties` are never read [INFO] [stdout] --> src/messages.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 89 | Announce { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 90 | /// Topic name [INFO] [stdout] 91 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 99 | r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pubuid: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | properties: BTreeMap, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `id` are never read [INFO] [stdout] --> src/messages.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 113 | Unannounce { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 114 | /// Topic name [INFO] [stdout] 115 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `ack` are never read [INFO] [stdout] --> src/messages.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 125 | Properties { [INFO] [stdout] | ---------- fields in this variant [INFO] [stdout] 126 | /// Topic name [INFO] [stdout] 127 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | ack: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 117 | name: impl Into, [INFO] [stdout] 118 | ) -> Result, Box> { [INFO] [stdout] | ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "67b4778554f91b08dcab8eb1fec3aaccdbb4c6137b50829a2c7e4c96a33758cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67b4778554f91b08dcab8eb1fec3aaccdbb4c6137b50829a2c7e4c96a33758cd", kill_on_drop: false }` [INFO] [stdout] 67b4778554f91b08dcab8eb1fec3aaccdbb4c6137b50829a2c7e4c96a33758cd