[INFO] fetching crate bard 2.0.1... [INFO] checking bard-2.0.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate bard 2.0.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate bard 2.0.1 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bard 2.0.1 [INFO] finished tweaking crates.io crate bard 2.0.1 [INFO] tweaked toml for crates.io crate bard 2.0.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate bard 2.0.1 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `clap` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `comrak` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `image` dependency) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16845f5bfdd6b2d741105097ad073f44b1924981a462e42c71110613f33af4e0 [INFO] running `Command { std: "docker" "start" "-a" "16845f5bfdd6b2d741105097ad073f44b1924981a462e42c71110613f33af4e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16845f5bfdd6b2d741105097ad073f44b1924981a462e42c71110613f33af4e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16845f5bfdd6b2d741105097ad073f44b1924981a462e42c71110613f33af4e0", kill_on_drop: false }` [INFO] [stdout] 16845f5bfdd6b2d741105097ad073f44b1924981a462e42c71110613f33af4e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4b182dee59bd7c3ef8c30719446d74ebfad0329f7838a103555ca06d818584f [INFO] running `Command { std: "docker" "start" "-a" "c4b182dee59bd7c3ef8c30719446d74ebfad0329f7838a103555ca06d818584f", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `clap` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `comrak` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `image` dependency) [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking equivalent v1.0.0 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking simd-adler32 v0.3.5 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking winnow v0.4.7 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Checking bstr v1.5.0 [INFO] [stderr] Checking clap_builder v4.3.10 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Checking any_ascii v0.1.7 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking filetime v0.2.21 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking lexical-sort v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking quick-xml v0.29.0 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking notify v6.0.1 [INFO] [stderr] Compiling indoc v2.0.1 [INFO] [stderr] Checking fs_extra v1.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking image v0.24.6 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking globset v0.4.10 [INFO] [stderr] Checking comrak v0.18.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Checking ctrlc v3.4.0 [INFO] [stderr] Compiling pest v2.7.0 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Checking clap v4.3.10 [INFO] [stderr] Compiling pest_meta v2.7.0 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Compiling pest_generator v2.7.0 [INFO] [stderr] Compiling pest_derive v2.7.0 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking toml_edit v0.19.11 [INFO] [stderr] Checking handlebars v4.3.7 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking toml v0.7.5 [INFO] [stderr] Checking bard v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `std::result::Result<(), std::io::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util/path.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 112 | fn create_dir(path: impl AsRef) -> Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | let path = Path::new(path.as_ref()); [INFO] [stdout] 114 | match fs::create_dir(path) { [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: this value of type `std::result::Result<(), anyhow::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:216:23 [INFO] [stdout] | [INFO] [stdout] 206 | let app = match &cmd { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | if let Err(err) = cmd.run(&app) { [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bard` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::result::Result<(), std::io::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util/path.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 112 | fn create_dir(path: impl AsRef) -> Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | let path = Path::new(path.as_ref()); [INFO] [stdout] 114 | match fs::create_dir(path) { [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: this value of type `std::result::Result<(), anyhow::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:216:23 [INFO] [stdout] | [INFO] [stdout] 206 | let app = match &cmd { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | if let Err(err) = cmd.run(&app) { [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bard` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "c4b182dee59bd7c3ef8c30719446d74ebfad0329f7838a103555ca06d818584f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4b182dee59bd7c3ef8c30719446d74ebfad0329f7838a103555ca06d818584f", kill_on_drop: false }` [INFO] [stdout] c4b182dee59bd7c3ef8c30719446d74ebfad0329f7838a103555ca06d818584f