[INFO] cloning repository https://github.com/acottis/imapserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/acottis/imapserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facottis%2Fimapserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facottis%2Fimapserver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f21706e110520bc490b2881d889e3276278b1f32 [INFO] checking acottis/imapserver/f21706e110520bc490b2881d889e3276278b1f32 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%2Facottis%2Fimapserver" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/acottis/imapserver 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/acottis/imapserver [INFO] finished tweaking git repo https://github.com/acottis/imapserver [INFO] tweaked toml for git repo https://github.com/acottis/imapserver written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/acottis/imapserver 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 122004685fbf604e5dea694f443c3f1e025d43cbfbbf25b1e6962fa71f17c5f3 [INFO] running `Command { std: "docker" "start" "-a" "122004685fbf604e5dea694f443c3f1e025d43cbfbbf25b1e6962fa71f17c5f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "122004685fbf604e5dea694f443c3f1e025d43cbfbbf25b1e6962fa71f17c5f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "122004685fbf604e5dea694f443c3f1e025d43cbfbbf25b1e6962fa71f17c5f3", kill_on_drop: false }` [INFO] [stdout] 122004685fbf604e5dea694f443c3f1e025d43cbfbbf25b1e6962fa71f17c5f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 7c22850ca600dcb713df720129a20d5a28b297669fb31aceef67bf3dc41b0ebe [INFO] running `Command { std: "docker" "start" "-a" "7c22850ca600dcb713df720129a20d5a28b297669fb31aceef67bf3dc41b0ebe", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking aml v0.1.0 (https://github.com/acottis/aml#87c49304) [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking imapserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/session.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn copy(&self, msg: &str) -> Result<()>{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/session.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn copy(&self, msg: &str) -> Result<()>{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/email.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let bytes = data.len()+2; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/email.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let bytes = data.len()+2; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tls_stream` is never read [INFO] [stdout] --> src/stream.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Stream{ [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 14 | tcp_stream: TcpStream, [INFO] [stdout] 15 | tls_stream: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stream` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `peer_addr` and `start_tls` are never used [INFO] [stdout] --> src/stream.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Stream{ [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn peer_addr(&self) -> std::net::SocketAddr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn start_tls(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | IO(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | IO(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | UTF8(std::string::FromUtf8Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | UTF8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | FolderLookup(&'static str), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | FolderLookup(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CommandNotRecognised`, `InvalidToField`, `CantReadEmail`, `TimeDate`, `IMAPCopyErr`, and `ToFieldMissing` are never constructed [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error{ [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | CommandNotRecognised, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | FolderLookup(&'static str), [INFO] [stdout] 9 | InvalidToField, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | CantReadEmail, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | TimeDate(chrono::ParseError), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | IMAPCopyErr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | ToFieldMissing, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MAIL_ROOT` is never used [INFO] [stdout] --> src/email.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | static MAIL_ROOT: &'static str = "D:/MAILSERVER"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_header`, `from_header`, `date_header`, and `subject_header` are never used [INFO] [stdout] --> src/email.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Email{ [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn to_header(&self) -> Result<(String, String, String)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn from_header(&self) -> Result<(String, String, String)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn date_header(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn subject_header(&self) -> Result { [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/stream.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(tcp_stream: TcpStream) -> Self { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | tls_stream: None, [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/session.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 196 | fn fetch_one(&self, seq: &str, mut dir: fs::ReadDir) -> Result { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | let seq_num: usize = seq.parse().unwrap(); [INFO] [stdout] 198 | let file = dir.nth(seq_num-1).unwrap().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | let uid = self.filename_to_uid(&file); [INFO] [stdout] 200 | Ok(Email::new(&uid, &seq, file.path()).unwrap()) [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] warning: method `fetch_uid_flags_RFC822_bodypeek` should have a snake case name [INFO] [stdout] --> src/email.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn fetch_uid_flags_RFC822_bodypeek(&self) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fetch_uid_flags_rfc822_bodypeek` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tls_stream` is never read [INFO] [stdout] --> src/stream.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Stream{ [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 14 | tcp_stream: TcpStream, [INFO] [stdout] 15 | tls_stream: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stream` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `peer_addr` and `start_tls` are never used [INFO] [stdout] --> src/stream.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Stream{ [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn peer_addr(&self) -> std::net::SocketAddr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn start_tls(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | IO(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | IO(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | UTF8(std::string::FromUtf8Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | UTF8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | FolderLookup(&'static str), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | FolderLookup(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CommandNotRecognised`, `InvalidToField`, `CantReadEmail`, `TimeDate`, and `IMAPCopyErr` are never constructed [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error{ [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | CommandNotRecognised, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | FolderLookup(&'static str), [INFO] [stdout] 9 | InvalidToField, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 10 | CantReadEmail, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | TimeDate(chrono::ParseError), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | IMAPCopyErr, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `MAIL_ROOT` is never used [INFO] [stdout] --> src/email.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | static MAIL_ROOT: &'static str = "D:/MAILSERVER"; [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/stream.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(tcp_stream: TcpStream) -> Self { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | tls_stream: None, [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: aborting due to 2 previous errors; 11 warnings emitted [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/session.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 196 | fn fetch_one(&self, seq: &str, mut dir: fs::ReadDir) -> Result { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | let seq_num: usize = seq.parse().unwrap(); [INFO] [stdout] 198 | let file = dir.nth(seq_num-1).unwrap().unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 199 | let uid = self.filename_to_uid(&file); [INFO] [stdout] 200 | Ok(Email::new(&uid, &seq, file.path()).unwrap()) [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] warning: method `fetch_uid_flags_RFC822_bodypeek` should have a snake case name [INFO] [stdout] --> src/email.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn fetch_uid_flags_RFC822_bodypeek(&self) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fetch_uid_flags_rfc822_bodypeek` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `imapserver` (bin "imapserver") due to 3 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `imapserver` (bin "imapserver" test) due to 3 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7c22850ca600dcb713df720129a20d5a28b297669fb31aceef67bf3dc41b0ebe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c22850ca600dcb713df720129a20d5a28b297669fb31aceef67bf3dc41b0ebe", kill_on_drop: false }` [INFO] [stdout] 7c22850ca600dcb713df720129a20d5a28b297669fb31aceef67bf3dc41b0ebe