[INFO] fetching crate kerblam 1.0.0... [INFO] checking kerblam-1.0.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate kerblam 1.0.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate kerblam 1.0.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 kerblam 1.0.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate kerblam 1.0.0 [INFO] tweaked toml for crates.io crate kerblam 1.0.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate kerblam 1.0.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] 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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbcf7ab9ca77685dfbdeb2a7ec74b3076df2f4c8ee3d21cae51dff74e7a454cf [INFO] running `Command { std: "docker" "start" "-a" "cbcf7ab9ca77685dfbdeb2a7ec74b3076df2f4c8ee3d21cae51dff74e7a454cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbcf7ab9ca77685dfbdeb2a7ec74b3076df2f4c8ee3d21cae51dff74e7a454cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbcf7ab9ca77685dfbdeb2a7ec74b3076df2f4c8ee3d21cae51dff74e7a454cf", kill_on_drop: false }` [INFO] [stdout] cbcf7ab9ca77685dfbdeb2a7ec74b3076df2f4c8ee3d21cae51dff74e7a454cf [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a2cb9daabaa9b68f45922c2a66d42735d56db3adab78776a9b7349cad8c0599 [INFO] running `Command { std: "docker" "start" "-a" "0a2cb9daabaa9b68f45922c2a66d42735d56db3adab78776a9b7349cad8c0599", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking indexmap v2.2.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling libz-sys v1.1.15 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustls v0.21.11 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling strict v0.2.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking anstyle v1.0.5 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Compiling crokey-proc_macros v0.6.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking winnow v0.5.37 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking crokey v0.6.3 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking toml_edit v0.21.1 [INFO] [stderr] Checking coolor v0.9.0 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.1.0 [INFO] [stderr] Checking minimad v0.13.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking toml v0.8.9 [INFO] [stderr] Checking lazy-regex v3.1.0 [INFO] [stderr] Checking termimad v0.29.0 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking sdd v0.2.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking version-compare v0.1.1 [INFO] [stderr] Checking scc v2.1.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling serial_test_derive v3.1.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking ctrlc v3.4.2 [INFO] [stderr] Checking similar v2.4.0 [INFO] [stderr] Checking chwd v0.2.0 [INFO] [stderr] Checking homedir v0.2.1 [INFO] [stderr] Checking serial_test v3.1.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.24 [INFO] [stderr] Checking kerblam v1.0.0 (/opt/rustwide/workdir) [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/commands/data.rs:202:18 [INFO] [stdout] | [INFO] [stdout] 202 | .map(|x| x.try_into().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] = 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/options.rs:454:32 [INFO] [stdout] | [INFO] [stdout] 454 | .unwrap_or_else(|| current_dir().unwrap().join("src/workflows")) [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/options.rs:462:32 [INFO] [stdout] | [INFO] [stdout] 462 | .unwrap_or_else(|| current_dir().unwrap().join("src/dockerfiles")) [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/utils.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn kerblam_create_dir(dir: impl AsRef) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | match fs::create_dir_all(dir) { [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/utils.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 47 | file: impl AsRef, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | match fs::write(file, content) { [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/utils.rs:265:28 [INFO] [stdout] | [INFO] [stdout] 265 | .filter(|path| path.metadata().unwrap().is_file()) [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/utils.rs:272:53 [INFO] [stdout] | [INFO] [stdout] 272 | find_path_items_with_filter(inspected_path, |x| x.metadata().unwrap().is_file(), filters) [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/utils.rs:276:53 [INFO] [stdout] | [INFO] [stdout] 276 | find_path_items_with_filter(inspected_path, |x| x.metadata().unwrap().is_dir(), filters) [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/utils.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | .and_then(|x| Some(x.into_keys().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: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kerblam` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0a2cb9daabaa9b68f45922c2a66d42735d56db3adab78776a9b7349cad8c0599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a2cb9daabaa9b68f45922c2a66d42735d56db3adab78776a9b7349cad8c0599", kill_on_drop: false }` [INFO] [stdout] 0a2cb9daabaa9b68f45922c2a66d42735d56db3adab78776a9b7349cad8c0599