[INFO] cloning repository https://github.com/Amphibological/chi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Amphibological/chi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmphibological%2Fchi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmphibological%2Fchi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 641cc68c359957ff40526366b78bdfc0104b7a5f [INFO] checking Amphibological/chi/641cc68c359957ff40526366b78bdfc0104b7a5f against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmphibological%2Fchi" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Amphibological/chi 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 git repo https://github.com/Amphibological/chi [INFO] finished tweaking git repo https://github.com/Amphibological/chi [INFO] tweaked toml for git repo https://github.com/Amphibological/chi written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Amphibological/chi 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 882659f1cc232a9a92a6ceb191c36e40b3b04aa1cd4530025696846481898359 [INFO] running `Command { std: "docker" "start" "-a" "882659f1cc232a9a92a6ceb191c36e40b3b04aa1cd4530025696846481898359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "882659f1cc232a9a92a6ceb191c36e40b3b04aa1cd4530025696846481898359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "882659f1cc232a9a92a6ceb191c36e40b3b04aa1cd4530025696846481898359", kill_on_drop: false }` [INFO] [stdout] 882659f1cc232a9a92a6ceb191c36e40b3b04aa1cd4530025696846481898359 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a6aa16d79ff731b7b8120bb49c694d0c0d6dfb6c5b37f8971fbd7a69bd08601a [INFO] running `Command { std: "docker" "start" "-a" "a6aa16d79ff731b7b8120bb49c694d0c0d6dfb6c5b37f8971fbd7a69bd08601a", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling llvm-sys v100.1.0 [INFO] [stderr] Checking elgin v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `typ`, `msg`, `pos`, and `len` are never read [INFO] [stdout] --> src/errors.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 34 | typ: ErrorType, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | len: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/astgen.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 79 | UseStatement { [INFO] [stdout] | ------------ field in this variant [INFO] [stdout] 80 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/astgen.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 86 | fn spanned(node: Node, pos: usize, len: usize) -> Span { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | Span { [INFO] [stdout] 88 | contents: node.clone(), [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/astgen.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 147 | let condition = self.expr(0)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | let body = self.block()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | let else_body; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | Some(spanned(Node::IfStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 168 | | condition: Box::new(condition), [INFO] [stdout] 169 | | body: Box::new(body.clone()), [INFO] [stdout] 170 | | else_body: Box::new(else_body), [INFO] [stdout] 171 | | }, 0, 0)) [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/astgen.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 176 | let condition = self.expr(0)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | let body = self.block()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | [INFO] [stdout] 179 | Some(spanned(Node::WhileStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 180 | | condition: Box::new(condition), [INFO] [stdout] 181 | | body: Box::new(body.clone()), [INFO] [stdout] 182 | | }, 0, 0)) [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/astgen.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 187 | let condition = spanned(Node::Literal { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | let body = self.block()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | [INFO] [stdout] 193 | Some(spanned(Node::WhileStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 194 | | condition: Box::new(condition), [INFO] [stdout] 195 | | body: Box::new(body.clone()), [INFO] [stdout] 196 | | }, 0, 0)) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |________________| [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/astgen.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 200 | let mut nodes = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | Some(spanned(Node::Block { [INFO] [stdout] | ______________^ [INFO] [stdout] 215 | | nodes, [INFO] [stdout] 216 | | }, 0, 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/astgen.rs:239:14 [INFO] [stdout] | [INFO] [stdout] 222 | let typ; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 228 | let value; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 239 | Some(spanned(Node::VarStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 240 | | name, [INFO] [stdout] 241 | | typ, [INFO] [stdout] 242 | | value: Box::new(value), [INFO] [stdout] 243 | | }, 0, 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/astgen.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 263 | let value = self.expr(0)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | [INFO] [stdout] 265 | Some(spanned(Node::AssignStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 266 | | name, [INFO] [stdout] 267 | | value: Box::new(value), [INFO] [stdout] 268 | | }, 0, 0)) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |________________| [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/astgen.rs:283:14 [INFO] [stdout] | [INFO] [stdout] 274 | let typ; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | let value = self.expr(0)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 282 | [INFO] [stdout] 283 | Some(spanned(Node::ConstStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 284 | | name, [INFO] [stdout] 285 | | typ, [INFO] [stdout] 286 | | value: Box::new(value), [INFO] [stdout] 287 | | }, 0, 0)) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |________________| [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/astgen.rs:322:14 [INFO] [stdout] | [INFO] [stdout] 295 | let mut arg_types = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 307 | let ret_type; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | let body; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | Some(spanned(Node::ProcStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 323 | | name, [INFO] [stdout] 324 | | args, [INFO] [stdout] 325 | | arg_types, [INFO] [stdout] 326 | | ret_type, [INFO] [stdout] 327 | | body: Box::new(body), [INFO] [stdout] 328 | | }, 0, 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] warning: panic message is not a string literal [INFO] [stdout] --> src/astgen.rs:525:27 [INFO] [stdout] | [INFO] [stdout] 525 | o => unreachable!(o), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 525 | o => unreachable!("{}", o), [INFO] [stdout] | +++++ [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/ir.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn spanned(ins: Instruction, pos: usize, len: usize) -> Span { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | Span { [INFO] [stdout] 89 | contents: ins.clone(), [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/analysis.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 139 | let mut new_body = proc.body.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | let mut new_constraints = constraints.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | Some(IRProc { [INFO] [stdout] | ______________^ [INFO] [stdout] 153 | | name: proc.name.clone(), [INFO] [stdout] 154 | | args: proc.args.clone(), [INFO] [stdout] 155 | | arg_types: proc.arg_types.clone(), [INFO] [stdout] 156 | | ret_type: proc.ret_type.clone(), [INFO] [stdout] 157 | | body: new_body, [INFO] [stdout] 158 | | }) [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/llvm.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 118 | let typ = ins.contents.typ.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | match ins.clone().contents.ins { [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 12 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elgin` (bin "elgin") due to 13 previous errors; 3 warnings emitted [INFO] [stdout] warning: fields `typ`, `msg`, `pos`, and `len` are never read [INFO] [stdout] --> src/errors.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Error { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 34 | typ: ErrorType, [INFO] [stdout] | ^^^ [INFO] [stdout] 35 | msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 36 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | len: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/astgen.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 79 | UseStatement { [INFO] [stdout] | ------------ field in this variant [INFO] [stdout] 80 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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/astgen.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 86 | fn spanned(node: Node, pos: usize, len: usize) -> Span { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | Span { [INFO] [stdout] 88 | contents: node.clone(), [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/astgen.rs:167:14 [INFO] [stdout] | [INFO] [stdout] 147 | let condition = self.expr(0)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | let body = self.block()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | let else_body; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | Some(spanned(Node::IfStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 168 | | condition: Box::new(condition), [INFO] [stdout] 169 | | body: Box::new(body.clone()), [INFO] [stdout] 170 | | else_body: Box::new(else_body), [INFO] [stdout] 171 | | }, 0, 0)) [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/astgen.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 176 | let condition = self.expr(0)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | let body = self.block()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | [INFO] [stdout] 179 | Some(spanned(Node::WhileStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 180 | | condition: Box::new(condition), [INFO] [stdout] 181 | | body: Box::new(body.clone()), [INFO] [stdout] 182 | | }, 0, 0)) [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/astgen.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 187 | let condition = spanned(Node::Literal { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 191 | let body = self.block()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | [INFO] [stdout] 193 | Some(spanned(Node::WhileStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 194 | | condition: Box::new(condition), [INFO] [stdout] 195 | | body: Box::new(body.clone()), [INFO] [stdout] 196 | | }, 0, 0)) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |________________| [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/astgen.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 200 | let mut nodes = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | Some(spanned(Node::Block { [INFO] [stdout] | ______________^ [INFO] [stdout] 215 | | nodes, [INFO] [stdout] 216 | | }, 0, 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/astgen.rs:239:14 [INFO] [stdout] | [INFO] [stdout] 222 | let typ; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 228 | let value; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 239 | Some(spanned(Node::VarStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 240 | | name, [INFO] [stdout] 241 | | typ, [INFO] [stdout] 242 | | value: Box::new(value), [INFO] [stdout] 243 | | }, 0, 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/astgen.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 263 | let value = self.expr(0)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 264 | [INFO] [stdout] 265 | Some(spanned(Node::AssignStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 266 | | name, [INFO] [stdout] 267 | | value: Box::new(value), [INFO] [stdout] 268 | | }, 0, 0)) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |________________| [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/astgen.rs:283:14 [INFO] [stdout] | [INFO] [stdout] 274 | let typ; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | let value = self.expr(0)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 282 | [INFO] [stdout] 283 | Some(spanned(Node::ConstStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 284 | | name, [INFO] [stdout] 285 | | typ, [INFO] [stdout] 286 | | value: Box::new(value), [INFO] [stdout] 287 | | }, 0, 0)) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |________________| [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/astgen.rs:322:14 [INFO] [stdout] | [INFO] [stdout] 295 | let mut arg_types = vec![]; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 307 | let ret_type; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | let body; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | Some(spanned(Node::ProcStatement { [INFO] [stdout] | ______________^ [INFO] [stdout] 323 | | name, [INFO] [stdout] 324 | | args, [INFO] [stdout] 325 | | arg_types, [INFO] [stdout] 326 | | ret_type, [INFO] [stdout] 327 | | body: Box::new(body), [INFO] [stdout] 328 | | }, 0, 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] warning: panic message is not a string literal [INFO] [stdout] --> src/astgen.rs:525:27 [INFO] [stdout] | [INFO] [stdout] 525 | o => unreachable!(o), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 525 | o => unreachable!("{}", o), [INFO] [stdout] | +++++ [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/ir.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn spanned(ins: Instruction, pos: usize, len: usize) -> Span { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | Span { [INFO] [stdout] 89 | contents: ins.clone(), [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/analysis.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 139 | let mut new_body = proc.body.clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | let mut new_constraints = constraints.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | Some(IRProc { [INFO] [stdout] | ______________^ [INFO] [stdout] 153 | | name: proc.name.clone(), [INFO] [stdout] 154 | | args: proc.args.clone(), [INFO] [stdout] 155 | | arg_types: proc.arg_types.clone(), [INFO] [stdout] 156 | | ret_type: proc.ret_type.clone(), [INFO] [stdout] 157 | | body: new_body, [INFO] [stdout] 158 | | }) [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/llvm.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 118 | let typ = ins.contents.typ.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | match ins.clone().contents.ins { [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 12 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `elgin` (bin "elgin" test) due to 13 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a6aa16d79ff731b7b8120bb49c694d0c0d6dfb6c5b37f8971fbd7a69bd08601a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6aa16d79ff731b7b8120bb49c694d0c0d6dfb6c5b37f8971fbd7a69bd08601a", kill_on_drop: false }` [INFO] [stdout] a6aa16d79ff731b7b8120bb49c694d0c0d6dfb6c5b37f8971fbd7a69bd08601a