[INFO] cloning repository https://github.com/Pjiwm/email-client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pjiwm/email-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPjiwm%2Femail-client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPjiwm%2Femail-client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 464b1a008d60b3fdd6118cc4d9fad9b7563d8297 [INFO] checking Pjiwm/email-client/464b1a008d60b3fdd6118cc4d9fad9b7563d8297 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%2FPjiwm%2Femail-client" "/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/Pjiwm/email-client 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/Pjiwm/email-client [INFO] finished tweaking git repo https://github.com/Pjiwm/email-client [INFO] tweaked toml for git repo https://github.com/Pjiwm/email-client written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Pjiwm/email-client 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-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] cd27f0a668ebfde544b7433b84c5869c7b820b63468346ad64104a53727c3339 [INFO] running `Command { std: "docker" "start" "-a" "cd27f0a668ebfde544b7433b84c5869c7b820b63468346ad64104a53727c3339", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd27f0a668ebfde544b7433b84c5869c7b820b63468346ad64104a53727c3339", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd27f0a668ebfde544b7433b84c5869c7b820b63468346ad64104a53727c3339", kill_on_drop: false }` [INFO] [stdout] cd27f0a668ebfde544b7433b84c5869c7b820b63468346ad64104a53727c3339 [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] c9170e47c5d224328164ca2520f8ec4aed9c75c3de21433e75d0152421a6d658 [INFO] running `Command { std: "docker" "start" "-a" "c9170e47c5d224328164ca2520f8ec4aed9c75c3de21433e75d0152421a6d658", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling cfg-expr v0.10.2 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling gio v0.15.11 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Compiling gtk v0.15.5 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking nom v2.2.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling field-offset v0.3.4 [INFO] [stderr] Checking lber v0.3.0 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Checking imap-proto v0.10.2 [INFO] [stderr] Compiling system-deps v6.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking imap v2.4.1 [INFO] [stderr] Compiling glib-sys v0.15.10 [INFO] [stderr] Compiling gobject-sys v0.15.10 [INFO] [stderr] Compiling gio-sys v0.15.10 [INFO] [stderr] Compiling gdk-sys v0.15.1 [INFO] [stderr] Compiling pango-sys v0.15.10 [INFO] [stderr] Compiling cairo-sys-rs v0.15.1 [INFO] [stderr] Compiling atk-sys v0.15.1 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.15.10 [INFO] [stderr] Compiling gtk-sys v0.15.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Checking tokio v1.18.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Compiling glib-macros v0.15.11 [INFO] [stderr] Compiling gtk3-macros v0.15.4 [INFO] [stderr] Checking lettre v0.9.6 [INFO] [stderr] Checking lettre_email v0.9.4 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking glib v0.15.11 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking ldap3 v0.10.4 [INFO] [stderr] Checking pango v0.15.10 [INFO] [stderr] Checking cairo-rs v0.15.11 [INFO] [stderr] Checking atk v0.15.1 [INFO] [stderr] Checking gdk-pixbuf v0.15.11 [INFO] [stderr] Checking gdk v0.15.4 [INFO] [stderr] Checking workspace v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `read_file` is never used [INFO] [stdout] --> src/handlers/file_handler.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl FileManager { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn read_file(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email_addr`, `password`, `imap_domain`, and `smtp_domain` are never read [INFO] [stdout] --> src/handlers/email_handler.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Account { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 64 | email_addr: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 65 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 66 | imap_domain: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 67 | smtp_domain: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Account` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch_inbox_top` is never used [INFO] [stdout] --> src/handlers/email_handler.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 69 | impl Account { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | fn fetch_inbox_top(&self) -> imap::error::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/handlers/email_handler.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 14 | let client = SmtpClient::new_simple(domain).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let client = SmtpClient::credentials(client, creds); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | mailer: SmtpTransport::new(client), [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] warning: method `read_file` is never used [INFO] [stdout] --> src/handlers/file_handler.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl FileManager { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn read_file(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email_addr`, `password`, `imap_domain`, and `smtp_domain` are never read [INFO] [stdout] --> src/handlers/email_handler.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct Account { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 64 | email_addr: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 65 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 66 | imap_domain: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 67 | smtp_domain: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Account` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fetch_inbox_top` is never used [INFO] [stdout] --> src/handlers/email_handler.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 69 | impl Account { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | fn fetch_inbox_top(&self) -> imap::error::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/handlers/email_handler.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 14 | let client = SmtpClient::new_simple(domain).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let client = SmtpClient::credentials(client, creds); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | mailer: SmtpTransport::new(client), [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 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `workspace` (bin "workspace") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `workspace` (bin "workspace" test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c9170e47c5d224328164ca2520f8ec4aed9c75c3de21433e75d0152421a6d658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9170e47c5d224328164ca2520f8ec4aed9c75c3de21433e75d0152421a6d658", kill_on_drop: false }` [INFO] [stdout] c9170e47c5d224328164ca2520f8ec4aed9c75c3de21433e75d0152421a6d658