[INFO] fetching crate rusty_oge 1.5.0... [INFO] checking rusty_oge-1.5.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rusty_oge 1.5.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate rusty_oge 1.5.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 rusty_oge 1.5.0 [INFO] finished tweaking crates.io crate rusty_oge 1.5.0 [INFO] tweaked toml for crates.io crate rusty_oge 1.5.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 37 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 785ba6a3a3d3941d68c625798b7d06ddd7240fac137520bdf9b76d5ec14d56ec [INFO] running `Command { std: "docker" "start" "-a" "785ba6a3a3d3941d68c625798b7d06ddd7240fac137520bdf9b76d5ec14d56ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "785ba6a3a3d3941d68c625798b7d06ddd7240fac137520bdf9b76d5ec14d56ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "785ba6a3a3d3941d68c625798b7d06ddd7240fac137520bdf9b76d5ec14d56ec", kill_on_drop: false }` [INFO] [stdout] 785ba6a3a3d3941d68c625798b7d06ddd7240fac137520bdf9b76d5ec14d56ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 6b7c09c6cc5ed91c56ddde4f69346f11403f5e23c37bb52ba20bf3bf6cab59a5 [INFO] running `Command { std: "docker" "start" "-a" "6b7c09c6cc5ed91c56ddde4f69346f11403f5e23c37bb52ba20bf3bf6cab59a5", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking widestring v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking pest v2.7.11 [INFO] [stderr] Compiling unrar_sys v0.5.5 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking unrar v0.5.5 [INFO] [stderr] Checking rusty_oge v1.5.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/modules/module3/core.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 78 | fn make_div_func(modificator: Modificator, div_num: u32) -> LogicFunc { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | Box::new(move |var: u32| modificator(var) % div_num == 0) [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/modules/module3/core.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 82 | fn make_even_odd_func(modificator: Modificator, is_even: bool) -> LogicFunc { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | // Box::new(move |var: u32| modificator(var) % 2 == 0 && is_even) [INFO] [stdout] 84 | Box::new(move |var: u32| if is_even { modificator(var) % 2 == 0 } [INFO] [stdout] | ______________^ [INFO] [stdout] 85 | | else { modificator(var) % 2 != 0 }) [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/modules/module3/core.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 88 | fn make_cmp_func(modificator: Modificator, cmp_op: String, num: u32) -> LogicFunc { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | Box::new(move |var: u32| match cmp_op.as_str() { [INFO] [stdout] | ______________^ [INFO] [stdout] 90 | | "<" => modificator(var) < num, [INFO] [stdout] 91 | | "<=" => modificator(var) <= num, [INFO] [stdout] 92 | | ">" => modificator(var) > num, [INFO] [stdout] 93 | | ">=" => modificator(var) >= num, [INFO] [stdout] 94 | | &_ => unreachable!() [INFO] [stdout] 95 | | }) [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/modules/module3/core.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 98 | fn make_not(f: LogicFunc) -> LogicFunc { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | Box::new(move |var: u32| !f(var)) [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/modules/module3/core.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 102 | fn make_and(f1: LogicFunc, f2: LogicFunc) -> LogicFunc { [INFO] [stdout] | ------------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | Box::new(move |var: u32| f1(var) && f2(var)) [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/modules/module3/core.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 106 | fn make_or(f1: LogicFunc, f2: LogicFunc) -> LogicFunc { [INFO] [stdout] | ------------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | Box::new(move |var: u32| f1(var) || f2(var)) [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/modules/module10/core.rs:20:73 [INFO] [stdout] | [INFO] [stdout] 20 | converted_numbers.push(num.convert(base).map_err(|e| SolveError(e.into()))?); [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_oge` (lib test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/modules/module3/core.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 78 | fn make_div_func(modificator: Modificator, div_num: u32) -> LogicFunc { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | Box::new(move |var: u32| modificator(var) % div_num == 0) [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/modules/module3/core.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 82 | fn make_even_odd_func(modificator: Modificator, is_even: bool) -> LogicFunc { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 83 | // Box::new(move |var: u32| modificator(var) % 2 == 0 && is_even) [INFO] [stdout] 84 | Box::new(move |var: u32| if is_even { modificator(var) % 2 == 0 } [INFO] [stdout] | ______________^ [INFO] [stdout] 85 | | else { modificator(var) % 2 != 0 }) [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/modules/module3/core.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 88 | fn make_cmp_func(modificator: Modificator, cmp_op: String, num: u32) -> LogicFunc { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | Box::new(move |var: u32| match cmp_op.as_str() { [INFO] [stdout] | ______________^ [INFO] [stdout] 90 | | "<" => modificator(var) < num, [INFO] [stdout] 91 | | "<=" => modificator(var) <= num, [INFO] [stdout] 92 | | ">" => modificator(var) > num, [INFO] [stdout] 93 | | ">=" => modificator(var) >= num, [INFO] [stdout] 94 | | &_ => unreachable!() [INFO] [stdout] 95 | | }) [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/modules/module3/core.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 98 | fn make_not(f: LogicFunc) -> LogicFunc { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | Box::new(move |var: u32| !f(var)) [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/modules/module3/core.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 102 | fn make_and(f1: LogicFunc, f2: LogicFunc) -> LogicFunc { [INFO] [stdout] | ------------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | Box::new(move |var: u32| f1(var) && f2(var)) [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/modules/module3/core.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 106 | fn make_or(f1: LogicFunc, f2: LogicFunc) -> LogicFunc { [INFO] [stdout] | ------------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | Box::new(move |var: u32| f1(var) || f2(var)) [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/modules/module10/core.rs:20:73 [INFO] [stdout] | [INFO] [stdout] 20 | converted_numbers.push(num.convert(base).map_err(|e| SolveError(e.into()))?); [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_oge` (lib) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "6b7c09c6cc5ed91c56ddde4f69346f11403f5e23c37bb52ba20bf3bf6cab59a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b7c09c6cc5ed91c56ddde4f69346f11403f5e23c37bb52ba20bf3bf6cab59a5", kill_on_drop: false }` [INFO] [stdout] 6b7c09c6cc5ed91c56ddde4f69346f11403f5e23c37bb52ba20bf3bf6cab59a5