[INFO] fetching crate temporaries 0.10.0... [INFO] building temporaries-0.10.0 against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate temporaries 0.10.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate temporaries 0.10.0 on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate temporaries 0.10.0 [INFO] finished tweaking crates.io crate temporaries 0.10.0 [INFO] tweaked toml for crates.io crate temporaries 0.10.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7e1215b11f3555dca86ec430ba508545fcbb6628cce4c317c88a5d974e3e972 [INFO] running `Command { std: "docker" "start" "-a" "c7e1215b11f3555dca86ec430ba508545fcbb6628cce4c317c88a5d974e3e972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7e1215b11f3555dca86ec430ba508545fcbb6628cce4c317c88a5d974e3e972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7e1215b11f3555dca86ec430ba508545fcbb6628cce4c317c88a5d974e3e972", kill_on_drop: false }` [INFO] [stdout] c7e1215b11f3555dca86ec430ba508545fcbb6628cce4c317c88a5d974e3e972 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08088d9bb542f6b5a6e4d560df369531784ffe9c7e29123ffb3c78a4b788d156 [INFO] running `Command { std: "docker" "start" "-a" "08088d9bb542f6b5a6e4d560df369531784ffe9c7e29123ffb3c78a4b788d156", kill_on_drop: false }` [INFO] [stderr] Compiling temporaries v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] running `Command { std: "docker" "inspect" "08088d9bb542f6b5a6e4d560df369531784ffe9c7e29123ffb3c78a4b788d156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08088d9bb542f6b5a6e4d560df369531784ffe9c7e29123ffb3c78a4b788d156", kill_on_drop: false }` [INFO] [stdout] 08088d9bb542f6b5a6e4d560df369531784ffe9c7e29123ffb3c78a4b788d156 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6e9a5166c7d7d08d0953baa13701b887054ced889ade182ec059ff06c107f1f [INFO] running `Command { std: "docker" "start" "-a" "c6e9a5166c7d7d08d0953baa13701b887054ced889ade182ec059ff06c107f1f", kill_on_drop: false }` [INFO] [stderr] Compiling temporaries v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/lib.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | ).1 [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 136 | / if_workaround!( [INFO] [stdout] 137 | | 2 < x => { [INFO] [stdout] 138 | | let str = "bigger"; [INFO] [stdout] 139 | | &vec![&String::from(str)] [INFO] [stdout] ... | [INFO] [stdout] 142 | | _ => &vec![&String::from("same")], [INFO] [stdout] | | ---------------------------- consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] 143 | | ) [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `if_workaround` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/lib.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | ).1 [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 136 | / if_workaround!( [INFO] [stdout] 137 | | 2 < x => { [INFO] [stdout] 138 | | let str = "bigger"; [INFO] [stdout] 139 | | &vec![&String::from(str)] [INFO] [stdout] ... | [INFO] [stdout] 142 | | _ => &vec![&String::from("same")], [INFO] [stdout] | | --------------------- consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] 143 | | ) [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this error originates in the macro `if_workaround` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/lib.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | break 'all ($iftrue) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 136 | / if_workaround!( [INFO] [stdout] 137 | | 2 < x => { [INFO] [stdout] 138 | | let str = "bigger"; [INFO] [stdout] 139 | | &vec![&String::from(str)] [INFO] [stdout] 140 | | }, [INFO] [stdout] 141 | | x < 2 => &vec![&String::from("smaller")], [INFO] [stdout] | | ------------------------------- consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] 142 | | _ => &vec![&String::from("same")], [INFO] [stdout] 143 | | ) [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this error originates in the macro `if_workaround` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/lib.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | break 'all ($iftrue) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 136 | / if_workaround!( [INFO] [stdout] 137 | | 2 < x => { [INFO] [stdout] 138 | | let str = "bigger"; [INFO] [stdout] 139 | | &vec![&String::from(str)] [INFO] [stdout] 140 | | }, [INFO] [stdout] 141 | | x < 2 => &vec![&String::from("smaller")], [INFO] [stdout] | | ------------------------ consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] 142 | | _ => &vec![&String::from("same")], [INFO] [stdout] 143 | | ) [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this error originates in the macro `if_workaround` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/lib.rs:139:49 [INFO] [stdout] | [INFO] [stdout] 139 | &vec![&String::from(str)] [INFO] [stdout] | ------------------------^ [INFO] [stdout] | | [INFO] [stdout] | consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/lib.rs:139:49 [INFO] [stdout] | [INFO] [stdout] 139 | &vec![&String::from(str)] [INFO] [stdout] | ------------------^ [INFO] [stdout] | | [INFO] [stdout] | consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/lib.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | break 'all ($iftrue) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 156 | / if_workaround!( [INFO] [stdout] 157 | | 2 < x => Some(&vec![&String::from("bigger")]), [INFO] [stdout] 158 | | x < 2 => Some(&vec![&String::from("smaller")]) [INFO] [stdout] | | ------------------------------- consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] 159 | | ) [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this error originates in the macro `$crate::if_workaround` which comes from the expansion of the macro `if_workaround` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/lib.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | break 'all ($iftrue) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 156 | / if_workaround!( [INFO] [stdout] 157 | | 2 < x => Some(&vec![&String::from("bigger")]), [INFO] [stdout] 158 | | x < 2 => Some(&vec![&String::from("smaller")]) [INFO] [stdout] | | ------------------------ consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] 159 | | ) [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this error originates in the macro `$crate::if_workaround` which comes from the expansion of the macro `if_workaround` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/lib.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | break 'all ($iftrue) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 156 | / if_workaround!( [INFO] [stdout] 157 | | 2 < x => Some(&vec![&String::from("bigger")]), [INFO] [stdout] | | ------------------------------ consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] 158 | | x < 2 => Some(&vec![&String::from("smaller")]) [INFO] [stdout] 159 | | ) [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this error originates in the macro `$crate::if_workaround` which comes from the expansion of the macro `if_workaround` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/lib.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | break 'all ($iftrue) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 156 | / if_workaround!( [INFO] [stdout] 157 | | 2 < x => Some(&vec![&String::from("bigger")]), [INFO] [stdout] | | ----------------------- consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] 158 | | x < 2 => Some(&vec![&String::from("smaller")]) [INFO] [stdout] 159 | | ) [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this error originates in the macro `$crate::if_workaround` which comes from the expansion of the macro `if_workaround` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/lib.rs:68:15 [INFO] [stdout] | [INFO] [stdout] 68 | ).1 [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 99 | format_args!($arg) [INFO] [stdout] | ------------------ consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] ... [INFO] [stdout] 196 | / if_format_args!( [INFO] [stdout] 197 | | 2 < x => ("bigger {}", x), [INFO] [stdout] 198 | | x < 2 => ("smaller {x}"), [INFO] [stdout] 199 | | _ => "same {x}", [INFO] [stdout] 200 | | ) [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this error originates in the macro `$crate::if_workaround` which comes from the expansion of the macro `if_format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/lib.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | break 'all ($iftrue) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 102 | format_args!$args [INFO] [stdout] | ----------- consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] ... [INFO] [stdout] 196 | / if_format_args!( [INFO] [stdout] 197 | | 2 < x => ("bigger {}", x), [INFO] [stdout] 198 | | x < 2 => ("smaller {x}"), [INFO] [stdout] 199 | | _ => "same {x}", [INFO] [stdout] 200 | | ) [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this error originates in the macro `$crate::if_workaround` which comes from the expansion of the macro `if_format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/lib.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | break 'all ($iftrue) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 102 | format_args!$args [INFO] [stdout] | ----------------- consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] ... [INFO] [stdout] 196 | / if_format_args!( [INFO] [stdout] 197 | | 2 < x => ("bigger {}", x), [INFO] [stdout] 198 | | x < 2 => ("smaller {x}"), [INFO] [stdout] 199 | | _ => "same {x}", [INFO] [stdout] 200 | | ) [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this error originates in the macro `$crate::if_workaround` which comes from the expansion of the macro `if_format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/lib.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | break 'all ($iftrue) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 99 | format_args!($arg) [INFO] [stdout] | ------------------ consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] ... [INFO] [stdout] 213 | / if_format_args!( [INFO] [stdout] 214 | | 2 < x => ("bigger {}", x), [INFO] [stdout] 215 | | x < 2 => "smaller {x}", [INFO] [stdout] 216 | | ) [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this error originates in the macro `$crate::if_workaround` which comes from the expansion of the macro `if_format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/lib.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | break 'all ($iftrue) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 102 | format_args!$args [INFO] [stdout] | ----------- consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] ... [INFO] [stdout] 213 | / if_format_args!( [INFO] [stdout] 214 | | 2 < x => ("bigger {}", x), [INFO] [stdout] 215 | | x < 2 => "smaller {x}", [INFO] [stdout] 216 | | ) [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this error originates in the macro `$crate::if_workaround` which comes from the expansion of the macro `if_format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `temporaries` (lib test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "c6e9a5166c7d7d08d0953baa13701b887054ced889ade182ec059ff06c107f1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6e9a5166c7d7d08d0953baa13701b887054ced889ade182ec059ff06c107f1f", kill_on_drop: false }` [INFO] [stdout] c6e9a5166c7d7d08d0953baa13701b887054ced889ade182ec059ff06c107f1f