[INFO] cloning repository https://github.com/atopx/tinyq [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/atopx/tinyq" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatopx%2Ftinyq", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatopx%2Ftinyq'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 685744b67d13dd03a7a93f36e1f07b655a771aa8 [INFO] checking atopx/tinyq/685744b67d13dd03a7a93f36e1f07b655a771aa8 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatopx%2Ftinyq" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atopx/tinyq on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/atopx/tinyq [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/atopx/tinyq [INFO] tweaked toml for git repo https://github.com/atopx/tinyq written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/atopx/tinyq already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59fab90283f90ee232cb824ccbd660ad26d74aadff264c989909ad5dd4ca1d67 [INFO] running `Command { std: "docker" "start" "-a" "59fab90283f90ee232cb824ccbd660ad26d74aadff264c989909ad5dd4ca1d67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59fab90283f90ee232cb824ccbd660ad26d74aadff264c989909ad5dd4ca1d67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59fab90283f90ee232cb824ccbd660ad26d74aadff264c989909ad5dd4ca1d67", kill_on_drop: false }` [INFO] [stdout] 59fab90283f90ee232cb824ccbd660ad26d74aadff264c989909ad5dd4ca1d67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04b7d737e059852f41ea8f268a54f95b5b1bee55e36891e4961df6ded06ab067 [INFO] running `Command { std: "docker" "start" "-a" "04b7d737e059852f41ea8f268a54f95b5b1bee55e36891e4961df6ded06ab067", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tinyq v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/command/topic.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/store.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | sync::{broadcast, mpsc, Notify}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/store.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/command/topic.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> src/store.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | sync::{broadcast, mpsc, Notify}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/store.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use tracing::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/command/topic.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | queue: &Queues, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/command/subscribe.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | queue: &Queues, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/command/subscribe.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | dst: &mut Connection, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shutdown` [INFO] [stdout] --> src/command/subscribe.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | shutdown: &mut Shutdown, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/command/topic.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | queue: &Queues, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/command/subscribe.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | dst: &mut Connection, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/command/subscribe.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | queue: &Queues, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/command/subscribe.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | dst: &mut Connection, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shutdown` [INFO] [stdout] --> src/command/subscribe.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | shutdown: &mut Shutdown, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst` [INFO] [stdout] --> src/command/subscribe.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | dst: &mut Connection, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Messages` is never used [INFO] [stdout] --> src/command/subscribe.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | type Messages = Pin + Send>>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `subscribe_to_channel` is never used [INFO] [stdout] --> src/command/subscribe.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | async fn subscribe_to_channel( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mode` and `topic` are never read [INFO] [stdout] --> src/command/topic.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Action { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | mode: Mode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | topic: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_QUEUE_LENGTH` is never used [INFO] [stdout] --> src/config.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const MAX_QUEUE_LENGTH: usize = 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_data` is never used [INFO] [stdout] --> src/connection.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 26 | impl Connection { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn write_data(&mut self, data: Bytes) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AuthTimeout` is never constructed [INFO] [stdout] --> src/ecode.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ECode { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | AuthTimeout = 41, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ECode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Error` is never used [INFO] [stdout] --> src/ecode.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub type Error = Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push`, `mpush`, `len`, `pop`, `mpop`, and `subscribe` are never used [INFO] [stdout] --> src/store.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Queues { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn push(&self, topic: String, body: Bytes) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn mpush(&self, topic: String, bodys: Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn len(&self, topic: String) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn pop(&self, topic: String) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn mpop(&self, topic: String, n: usize) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) fn subscribe(&self, topic: String) -> broadcast::Receiver { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/connection.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(socket: TcpStream) -> Connection { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Connection { client, stream: BufWriter::new(socket) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | .map(|q| q.drain(q.len().saturating_sub(n)..).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn publish(&self, topic: &str, body: Bytes) -> usize { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | let state = self.shared.state.lock().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | .map(|tx| tx.send(body).unwrap_or(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn publish(&self, topic: &str, body: Bytes) -> usize { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | .map(|tx| tx.send(body).unwrap_or(0)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tinyq` (bin "tinyq" test) due to 5 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: type alias `Messages` is never used [INFO] [stdout] --> src/command/subscribe.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | type Messages = Pin + Send>>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `subscribe_to_channel` is never used [INFO] [stdout] --> src/command/subscribe.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | async fn subscribe_to_channel( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mode` and `topic` are never read [INFO] [stdout] --> src/command/topic.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Action { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9 | mode: Mode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | topic: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Action` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_QUEUE_LENGTH` is never used [INFO] [stdout] --> src/config.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const MAX_QUEUE_LENGTH: usize = 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_data` is never used [INFO] [stdout] --> src/connection.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 26 | impl Connection { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub async fn write_data(&mut self, data: Bytes) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AuthTimeout` is never constructed [INFO] [stdout] --> src/ecode.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ECode { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 26 | AuthTimeout = 41, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ECode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Error` is never used [INFO] [stdout] --> src/ecode.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | pub type Error = Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push`, `mpush`, `len`, `pop`, `mpop`, and `subscribe` are never used [INFO] [stdout] --> src/store.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Queues { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn push(&self, topic: String, body: Bytes) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn mpush(&self, topic: String, bodys: Vec) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn len(&self, topic: String) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn pop(&self, topic: String) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn mpop(&self, topic: String, n: usize) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub(crate) fn subscribe(&self, topic: String) -> broadcast::Receiver { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/connection.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(socket: TcpStream) -> Connection { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | Connection { client, stream: BufWriter::new(socket) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | .map(|q| q.drain(q.len().saturating_sub(n)..).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn publish(&self, topic: &str, body: Bytes) -> usize { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | let state = self.shared.state.lock().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | .map(|tx| tx.send(body).unwrap_or(0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/store.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 100 | pub(crate) fn publish(&self, topic: &str, body: Bytes) -> usize { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | .map(|tx| tx.send(body).unwrap_or(0)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tinyq` (bin "tinyq") due to 5 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "04b7d737e059852f41ea8f268a54f95b5b1bee55e36891e4961df6ded06ab067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04b7d737e059852f41ea8f268a54f95b5b1bee55e36891e4961df6ded06ab067", kill_on_drop: false }` [INFO] [stdout] 04b7d737e059852f41ea8f268a54f95b5b1bee55e36891e4961df6ded06ab067