[INFO] fetching crate transformfs 0.4.0... [INFO] checking transformfs-0.4.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate transformfs 0.4.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate transformfs 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 transformfs 0.4.0 [INFO] finished tweaking crates.io crate transformfs 0.4.0 [INFO] tweaked toml for crates.io crate transformfs 0.4.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate transformfs 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ee2b6bb714ed8e76369e41873c5e06492a00a7ffb4909c5ea3031fb51a975e6e [INFO] running `Command { std: "docker" "start" "-a" "ee2b6bb714ed8e76369e41873c5e06492a00a7ffb4909c5ea3031fb51a975e6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee2b6bb714ed8e76369e41873c5e06492a00a7ffb4909c5ea3031fb51a975e6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee2b6bb714ed8e76369e41873c5e06492a00a7ffb4909c5ea3031fb51a975e6e", kill_on_drop: false }` [INFO] [stdout] ee2b6bb714ed8e76369e41873c5e06492a00a7ffb4909c5ea3031fb51a975e6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b2fde31a6d6ff50ebde5499aa55647d315800774389a8841cafe0f85c74eef47 [INFO] running `Command { std: "docker" "start" "-a" "b2fde31a6d6ff50ebde5499aa55647d315800774389a8841cafe0f85c74eef47", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Compiling fuser v0.14.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Compiling lua-src v547.0.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking daemonize v0.5.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling which v6.0.1 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Compiling luajit-src v210.5.8+5790d25 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Compiling mlua-sys v0.6.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.34 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Checking mlua v0.10.0-beta.1 [INFO] [stderr] Checking transformfs v0.4.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/transformfs.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn from_lua(value: mlua::Value, _lua: &Lua) -> mlua::Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok(UserFn { [INFO] [stdout] | ________^ [INFO] [stdout] 44 | | transform: load_fn(table, "transform")?.ok_or( [INFO] [stdout] 45 | | mlua::Error::runtime("transform not defined in user module") [INFO] [stdout] 46 | | )? [INFO] [stdout] 47 | | }) [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/transformfs.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 74 | let lua = Lua::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let user_fn: UserFn = lua.load(fs::read_to_string(script)?).eval()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let output = Output::init(&lua, &user_fn.transform, &inputs)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let cur_time = SystemTime::now(); [INFO] [stdout] 78 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 79 | | inputs, [INFO] [stdout] 80 | | config, [INFO] [stdout] 81 | | lua, [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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:22:3 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn read_files(root: impl AsRef) -> impl Iterator { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | / WalkDir::new(root) [INFO] [stdout] 23 | | .into_iter() [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/output.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn from_lua(value: mlua::Value, _lua: &Lua) -> mlua::Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | Ok(OutputEntry { [INFO] [stdout] | ________^ [INFO] [stdout] 75 | | path, [INFO] [stdout] 76 | | content: OutputContent::File(OutputFile { [INFO] [stdout] 77 | | metadata: table.get("metadata")?, [INFO] [stdout] ... | [INFO] [stdout] 81 | | }) [INFO] [stdout] 82 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/output.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 122 | let mut inode_map: HashMap = HashMap::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | let input_files = input.iter() [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | let output_files: Vec = function.call(input_files).map_err( [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | Ok(Output { [INFO] [stdout] | ________^ [INFO] [stdout] 217 | | inode_map, [INFO] [stdout] 218 | | path_map [INFO] [stdout] 219 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/output.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | content: OutputContent::Dir(Vec::new()) [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 6 previous errors [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/transformfs.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn from_lua(value: mlua::Value, _lua: &Lua) -> mlua::Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok(UserFn { [INFO] [stdout] | ________^ [INFO] [stdout] 44 | | transform: load_fn(table, "transform")?.ok_or( [INFO] [stdout] 45 | | mlua::Error::runtime("transform not defined in user module") [INFO] [stdout] 46 | | )? [INFO] [stdout] 47 | | }) [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/transformfs.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 74 | let lua = Lua::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | let user_fn: UserFn = lua.load(fs::read_to_string(script)?).eval()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | let output = Output::init(&lua, &user_fn.transform, &inputs)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 77 | let cur_time = SystemTime::now(); [INFO] [stdout] 78 | Ok(Self { [INFO] [stdout] | ________^ [INFO] [stdout] 79 | | inputs, [INFO] [stdout] 80 | | config, [INFO] [stdout] 81 | | lua, [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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:22:3 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn read_files(root: impl AsRef) -> impl Iterator { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | / WalkDir::new(root) [INFO] [stdout] 23 | | .into_iter() [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/output.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn from_lua(value: mlua::Value, _lua: &Lua) -> mlua::Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 74 | Ok(OutputEntry { [INFO] [stdout] | ________^ [INFO] [stdout] 75 | | path, [INFO] [stdout] 76 | | content: OutputContent::File(OutputFile { [INFO] [stdout] 77 | | metadata: table.get("metadata")?, [INFO] [stdout] ... | [INFO] [stdout] 81 | | }) [INFO] [stdout] 82 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/output.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 122 | let mut inode_map: HashMap = HashMap::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 126 | let input_files = input.iter() [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | let output_files: Vec = function.call(input_files).map_err( [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | Ok(Output { [INFO] [stdout] | ________^ [INFO] [stdout] 217 | | inode_map, [INFO] [stdout] 218 | | path_map [INFO] [stdout] 219 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/output.rs:206:22 [INFO] [stdout] | [INFO] [stdout] 206 | content: OutputContent::Dir(Vec::new()) [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `transformfs` (bin "transformfs") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `transformfs` (bin "transformfs" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "b2fde31a6d6ff50ebde5499aa55647d315800774389a8841cafe0f85c74eef47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2fde31a6d6ff50ebde5499aa55647d315800774389a8841cafe0f85c74eef47", kill_on_drop: false }` [INFO] [stdout] b2fde31a6d6ff50ebde5499aa55647d315800774389a8841cafe0f85c74eef47