[INFO] fetching crate minint 0.1.0... [INFO] checking minint-0.1.0 against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] extracting crate minint 0.1.0 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate minint 0.1.0 on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 100 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rmp v0.8.15 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b78811f1b145096860fc28101a75dc470562ec476dffe92fca258333b6941f5 [INFO] running `Command { std: "docker" "start" "-a" "5b78811f1b145096860fc28101a75dc470562ec476dffe92fca258333b6941f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b78811f1b145096860fc28101a75dc470562ec476dffe92fca258333b6941f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b78811f1b145096860fc28101a75dc470562ec476dffe92fca258333b6941f5", kill_on_drop: false }` [INFO] [stdout] 5b78811f1b145096860fc28101a75dc470562ec476dffe92fca258333b6941f5 [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=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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbe170867f7fa2fa8f4c8e5898379ea1efce8ae99b3d7add47fa79950c033699 [INFO] running `Command { std: "docker" "start" "-a" "bbe170867f7fa2fa8f4c8e5898379ea1efce8ae99b3d7add47fa79950c033699", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking rmp v0.8.15 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking 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: 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: 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] [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 14.67s [INFO] running `Command { std: "docker" "inspect" "bbe170867f7fa2fa8f4c8e5898379ea1efce8ae99b3d7add47fa79950c033699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbe170867f7fa2fa8f4c8e5898379ea1efce8ae99b3d7add47fa79950c033699", kill_on_drop: false }` [INFO] [stdout] bbe170867f7fa2fa8f4c8e5898379ea1efce8ae99b3d7add47fa79950c033699