[INFO] fetching crate minint 0.1.0... [INFO] testing minint-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate minint 0.1.0 into /workspace/builds/worker-2-tc1/source [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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate minint 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 102 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding tokio-tungstenite v0.21.0 (available: v0.28.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e3ec634cd2265a08d55502caa595ffb01077dc502035641a11d5ba2477f1c2b [INFO] running `Command { std: "docker" "start" "-a" "8e3ec634cd2265a08d55502caa595ffb01077dc502035641a11d5ba2477f1c2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e3ec634cd2265a08d55502caa595ffb01077dc502035641a11d5ba2477f1c2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e3ec634cd2265a08d55502caa595ffb01077dc502035641a11d5ba2477f1c2b", kill_on_drop: false }` [INFO] [stdout] 8e3ec634cd2265a08d55502caa595ffb01077dc502035641a11d5ba2477f1c2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8035640d8759ceccc6b9bdd973b6f72056d089a8435e1990cc8d954be758c563 [INFO] running `Command { std: "docker" "start" "-a" "8035640d8759ceccc6b9bdd973b6f72056d089a8435e1990cc8d954be758c563", kill_on_drop: false }` [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 117 | name: impl Into, [INFO] [stdout] 118 | ) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.15s [INFO] running `Command { std: "docker" "inspect" "8035640d8759ceccc6b9bdd973b6f72056d089a8435e1990cc8d954be758c563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8035640d8759ceccc6b9bdd973b6f72056d089a8435e1990cc8d954be758c563", kill_on_drop: false }` [INFO] [stdout] 8035640d8759ceccc6b9bdd973b6f72056d089a8435e1990cc8d954be758c563 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30ec61f481bff4bb3dc65ca2c0c8b5a0cd6fed07c8ce4232dbfee9f9778b475a [INFO] running `Command { std: "docker" "start" "-a" "30ec61f481bff4bb3dc65ca2c0c8b5a0cd6fed07c8ce4232dbfee9f9778b475a", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] Compiling minint v0.1.0 (/opt/rustwide/workdir) [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 117 | name: impl Into, [INFO] [stdout] 118 | ) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 117 | name: impl Into, [INFO] [stdout] 118 | ) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `Command { std: "docker" "inspect" "30ec61f481bff4bb3dc65ca2c0c8b5a0cd6fed07c8ce4232dbfee9f9778b475a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30ec61f481bff4bb3dc65ca2c0c8b5a0cd6fed07c8ce4232dbfee9f9778b475a", kill_on_drop: false }` [INFO] [stdout] 30ec61f481bff4bb3dc65ca2c0c8b5a0cd6fed07c8ce4232dbfee9f9778b475a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0126605d1d33db938935ea92b63ddcef7d9c22aa3fab11bbfe47f83068fbafc5 [INFO] running `Command { std: "docker" "start" "-a" "0126605d1d33db938935ea92b63ddcef7d9c22aa3fab11bbfe47f83068fbafc5", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ser::SerializeMap` [INFO] [stderr] --> src/messages.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use serde::{ser::SerializeMap, Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:63:14 [INFO] [stderr] | [INFO] [stderr] 63 | let (mut sock, _) = tokio_tungstenite::connect_async(req).await?; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `read_bin_frame` is never used [INFO] [stderr] --> src/lib.rs:171:8 [INFO] [stderr] | [INFO] [stderr] 40 | impl<'nt> NtConn<'nt> { [INFO] [stderr] | --------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 171 | fn read_bin_frame(buf: Vec) -> Result<(u64, u64, Data), ()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: enum `Data` is never used [INFO] [stderr] --> src/datatype.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | pub enum Data { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from` is never used [INFO] [stderr] --> src/datatype.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl Data { [INFO] [stderr] | --------- associated function in this implementation [INFO] [stderr] 16 | pub fn from(rd: &mut R, data_type: u8) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `STRING` and `decode` are never used [INFO] [stderr] --> src/datatype.rs:39:11 [INFO] [stderr] | [INFO] [stderr] 37 | pub trait DataWrap: Sized { [INFO] [stderr] | -------- associated items in this trait [INFO] [stderr] 38 | const MSGPCK: u8; [INFO] [stderr] 39 | const STRING: &'static str; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 40 | [INFO] [stderr] 41 | fn decode(rd: &mut R) -> Result; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `SetProperties` is never constructed [INFO] [stderr] --> src/messages.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub enum ClientMsg { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 52 | SetProperties { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `id`, `type`, `pubuid`, and `properties` are never read [INFO] [stderr] --> src/messages.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 89 | Announce { [INFO] [stderr] | -------- fields in this variant [INFO] [stderr] 90 | /// Topic name [INFO] [stderr] 91 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 95 | id: i32, [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 99 | r#type: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 103 | pubuid: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 107 | properties: BTreeMap, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServerMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `id` are never read [INFO] [stderr] --> src/messages.rs:115:9 [INFO] [stderr] | [INFO] [stderr] 113 | Unannounce { [INFO] [stderr] | ---------- fields in this variant [INFO] [stderr] 114 | /// Topic name [INFO] [stderr] 115 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 119 | id: i32, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServerMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `ack` are never read [INFO] [stderr] --> src/messages.rs:127:9 [INFO] [stderr] | [INFO] [stderr] 125 | Properties { [INFO] [stderr] | ---------- fields in this variant [INFO] [stderr] 126 | /// Topic name [INFO] [stderr] 127 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 131 | ack: bool, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServerMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 116 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 117 | name: impl Into, [INFO] [stderr] 118 | ) -> Result, Box> { [INFO] [stderr] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 118 | ) -> Result, Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `minint` (lib) generated 11 warnings (run `cargo fix --lib -p minint` to apply 3 suggestions) [INFO] [stderr] warning: `minint` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/minint-ed59abe19338b6c0) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests minint [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0126605d1d33db938935ea92b63ddcef7d9c22aa3fab11bbfe47f83068fbafc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0126605d1d33db938935ea92b63ddcef7d9c22aa3fab11bbfe47f83068fbafc5", kill_on_drop: false }` [INFO] [stdout] 0126605d1d33db938935ea92b63ddcef7d9c22aa3fab11bbfe47f83068fbafc5