[INFO] fetching crate packapp 0.4.0... [INFO] checking packapp-0.4.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate packapp 0.4.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate packapp 0.4.0 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 crates.io crate packapp 0.4.0 [INFO] finished tweaking crates.io crate packapp 0.4.0 [INFO] tweaked toml for crates.io crate packapp 0.4.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate packapp 0.4.0 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 0bfc50f4309bda547d75f8d80bf45743696ee0ab1f7b5e30a6ce0746c089a659 [INFO] running `Command { std: "docker" "start" "-a" "0bfc50f4309bda547d75f8d80bf45743696ee0ab1f7b5e30a6ce0746c089a659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bfc50f4309bda547d75f8d80bf45743696ee0ab1f7b5e30a6ce0746c089a659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bfc50f4309bda547d75f8d80bf45743696ee0ab1f7b5e30a6ce0746c089a659", kill_on_drop: false }` [INFO] [stdout] 0bfc50f4309bda547d75f8d80bf45743696ee0ab1f7b5e30a6ce0746c089a659 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 6087932dd1d996a4eb94da29b84c88cf1fd84503c3ecd1cb3b6044d85c43ff7d [INFO] running `Command { std: "docker" "start" "-a" "6087932dd1d996a4eb94da29b84c88cf1fd84503c3ecd1cb3b6044d85c43ff7d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling argh_shared v0.1.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Checking fs_extra v1.1.0 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Compiling argh_derive v0.1.1 [INFO] [stderr] Checking argh v0.1.3 [INFO] [stderr] Checking plist v1.0.0 [INFO] [stderr] Checking packapp v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/err.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/err.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_exists` is never used [INFO] [stdout] --> src/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn assert_exists(path: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write` is never used [INFO] [stdout] --> src/utils.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn write(path: impl AsRef, content: impl AsRef<[u8]>) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read` is never used [INFO] [stdout] --> src/utils.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn read(path: impl AsRef) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `basename` is never used [INFO] [stdout] --> src/utils.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn basename(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extname` is never used [INFO] [stdout] --> src/utils.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn extname(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ext` is never used [INFO] [stdout] --> src/utils.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn assert_ext(path: impl AsRef, ext: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Plugins` and `SharedSupport` are never constructed [INFO] [stdout] --> src/bundle.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 15 | enum AppDir { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Plugins, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | SharedSupport, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppDir` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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/bundle.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/bundle.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_exists` is never used [INFO] [stdout] --> src/utils.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn assert_exists(path: impl AsRef) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write` is never used [INFO] [stdout] --> src/utils.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn write(path: impl AsRef, content: impl AsRef<[u8]>) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read` is never used [INFO] [stdout] --> src/utils.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn read(path: impl AsRef) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `basename` is never used [INFO] [stdout] --> src/utils.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn basename(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extname` is never used [INFO] [stdout] --> src/utils.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn extname(path: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_ext` is never used [INFO] [stdout] --> src/utils.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn assert_ext(path: impl AsRef, ext: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Plugins` and `SharedSupport` are never constructed [INFO] [stdout] --> src/bundle.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 15 | enum AppDir { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Plugins, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | SharedSupport, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppDir` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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/bundle.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/bundle.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Serialize, Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `packapp` (lib) due to 3 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `packapp` (lib test) due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6087932dd1d996a4eb94da29b84c88cf1fd84503c3ecd1cb3b6044d85c43ff7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6087932dd1d996a4eb94da29b84c88cf1fd84503c3ecd1cb3b6044d85c43ff7d", kill_on_drop: false }` [INFO] [stdout] 6087932dd1d996a4eb94da29b84c88cf1fd84503c3ecd1cb3b6044d85c43ff7d