[INFO] cloning repository https://github.com/1tgr/simplejit-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1tgr/simplejit-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1tgr%2Fsimplejit-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1tgr%2Fsimplejit-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 750a1f628452d42836d0da5fc415fcef7750c045 [INFO] checking 1tgr/simplejit-demo/750a1f628452d42836d0da5fc415fcef7750c045 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%2F1tgr%2Fsimplejit-demo" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/1tgr/simplejit-demo 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] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/1tgr/simplejit-demo [INFO] finished tweaking git repo https://github.com/1tgr/simplejit-demo [INFO] tweaked toml for git repo https://github.com/1tgr/simplejit-demo written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/1tgr/simplejit-demo 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7b43db6a7ee37e95ccfaaa54976fcfab5824ffc87614529cfb2340eab8aab46b [INFO] running `Command { std: "docker" "start" "-a" "7b43db6a7ee37e95ccfaaa54976fcfab5824ffc87614529cfb2340eab8aab46b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b43db6a7ee37e95ccfaaa54976fcfab5824ffc87614529cfb2340eab8aab46b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b43db6a7ee37e95ccfaaa54976fcfab5824ffc87614529cfb2340eab8aab46b", kill_on_drop: false }` [INFO] [stdout] 7b43db6a7ee37e95ccfaaa54976fcfab5824ffc87614529cfb2340eab8aab46b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a1e2caa1d53d66c0fe6fbc16eef5c76c7d65e6286f9f637a508ea97ec5475786 [INFO] running `Command { std: "docker" "start" "-a" "a1e2caa1d53d66c0fe6fbc16eef5c76c7d65e6286f9f637a508ea97ec5475786", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling cranelift-entity v0.68.0 (https://github.com/1tgr/wasmtime?branch=main#0bd0f643) [INFO] [stderr] Compiling cranelift-codegen-shared v0.68.0 (https://github.com/1tgr/wasmtime?branch=main#0bd0f643) [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling target-lexicon v0.11.1 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking cranelift-bforest v0.68.0 (https://github.com/1tgr/wasmtime?branch=main#0bd0f643) [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Compiling cranelift-codegen-meta v0.68.0 (https://github.com/1tgr/wasmtime?branch=main#0bd0f643) [INFO] [stderr] Checking regalloc v0.0.31 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking instant v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling unicode-segmentation v1.7.0 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Compiling im-rc v15.0.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking oorandom v11.1.2 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling peg-runtime v0.6.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.0 [INFO] [stderr] Compiling raw-cpuid v8.1.2 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking errno v0.2.7 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Compiling peg-macros v0.6.3 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking object-pool v0.5.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking sized-chunks v0.6.2 [INFO] [stderr] Checking peg v0.6.3 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking csv v1.1.4 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Compiling cranelift-codegen v0.68.0 (https://github.com/1tgr/wasmtime?branch=main#0bd0f643) [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling salsa-macros v0.16.0 (https://github.com/1tgr/salsa#aef53642) [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking salsa v0.16.0 (https://github.com/1tgr/salsa#aef53642) [INFO] [stderr] Checking criterion v0.3.3 [INFO] [stderr] Checking cranelift-module v0.68.0 (https://github.com/1tgr/wasmtime?branch=main#0bd0f643) [INFO] [stderr] Checking cranelift-native v0.68.0 (https://github.com/1tgr/wasmtime?branch=main#0bd0f643) [INFO] [stderr] Checking cranelift-frontend v0.68.0 (https://github.com/1tgr/wasmtime?branch=main#0bd0f643) [INFO] [stderr] Checking cranelift-simplejit v0.68.0 (https://github.com/1tgr/wasmtime?branch=main#0bd0f643) [INFO] [stderr] Checking cranelift v0.68.0 (https://github.com/1tgr/wasmtime?branch=main#0bd0f643) [INFO] [stderr] Checking simplejit-demo v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `filter_map` and `flat_map` are never used [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 111 | trait VecMapExt: Sized { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 115 | fn filter_map Option>(self, f: F) -> Self::Output; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 116 | fn flat_map, F: FnMut(T) -> I>(self, f: F) -> Self::Output; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/lib.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn new(error: anyhow::Error) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | Self(Rc::new(error)) [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/lib.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 81 | fn from(error: E) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | Self::new(anyhow::Error::new(error)) [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/lib.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 148 | fn map U>(self, f: F) -> Vec { [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] 149 | self.into_iter().map(f).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 152 | fn filter_map Option>(self, f: F) -> Vec { [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] 153 | self.into_iter().filter_map(f).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 156 | fn flat_map, F: FnMut(T) -> I>(self, f: F) -> Vec { [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] 157 | self.into_iter().flat_map(f).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 164 | fn map U>(self, f: F) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | self.iter().map(f).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 168 | fn filter_map Option>(self, f: F) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | self.iter().filter_map(f).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 172 | fn flat_map, F: FnMut(&'a T) -> I>(self, f: F) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | self.iter().flat_map(f).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/expr.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn transform(mut self, transform: &mut T) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 312 | Ok(Expr::StructInit(self)) [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/intern.rs:172:74 [INFO] [stdout] | [INFO] [stdout] 172 | stmts.into_single_item().unwrap_or_else(|stmts| self.intern_expr(Expr::Block(Block { stmts }))) [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/jit.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 121 | let mut ctx = ClifContext::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | let func_ctx_pool = db.func_ctx_pool(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | let mut func_ctx = func_ctx_pool.pull(FunctionBuilderContext::new); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | db.with_module_mut(|module| { [INFO] [stdout] | ________________________^ [INFO] [stdout] 145 | | module.define_function(func, &mut ctx, &mut NullTrapSink {}).map_err(|mut e| { [INFO] [stdout] 146 | | if let ModuleError::Compilation(CodegenError::Verifier(VerifierErrors(v))) = &mut e { [INFO] [stdout] 147 | | if let Some(e) = v.as_single_item() { [INFO] [stdout] ... | [INFO] [stdout] 155 | | Ok(Context(Rc::new(ctx))) [INFO] [stdout] 156 | | }) [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] | |_____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/jit.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 121 | let mut ctx = ClifContext::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 155 | Ok(Context(Rc::new(ctx))) [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/lower.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 16 | let mut envs = HashMap::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let global_env = db.global_env()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | let Env { mut bindings, ty_bindings } = global_env; [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] ... [INFO] [stdout] 41 | Ok((Rc::new(envs), body)) [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] | [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/parse.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 85 | let mut bindings = im_rc::HashMap::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let mut ty_bindings = im_rc::HashMap::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | Ok(Env { bindings, ty_bindings }) [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/target.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | fn with_module T>(&self, f: F) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | f(&self.module().borrow()) [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/target.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 27 | fn with_module_mut T>(&self, f: F) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | f(&mut self.module().borrow_mut()) [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 16 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simplejit-demo` (lib) due to 17 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `filter_map` and `flat_map` are never used [INFO] [stdout] --> src/lib.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 111 | trait VecMapExt: Sized { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 115 | fn filter_map Option>(self, f: F) -> Self::Output; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 116 | fn flat_map, F: FnMut(T) -> I>(self, f: F) -> Self::Output; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/lib.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn new(error: anyhow::Error) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | Self(Rc::new(error)) [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/lib.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 81 | fn from(error: E) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | Self::new(anyhow::Error::new(error)) [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/lib.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 148 | fn map U>(self, f: F) -> Vec { [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] 149 | self.into_iter().map(f).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 152 | fn filter_map Option>(self, f: F) -> Vec { [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] 153 | self.into_iter().filter_map(f).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 156 | fn flat_map, F: FnMut(T) -> I>(self, f: F) -> Vec { [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] 157 | self.into_iter().flat_map(f).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 164 | fn map U>(self, f: F) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 165 | self.iter().map(f).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 168 | fn filter_map Option>(self, f: F) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | self.iter().filter_map(f).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 172 | fn flat_map, F: FnMut(&'a T) -> I>(self, f: F) -> Vec { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 173 | self.iter().flat_map(f).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/expr.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn transform(mut self, transform: &mut T) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 312 | Ok(Expr::StructInit(self)) [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/intern.rs:172:74 [INFO] [stdout] | [INFO] [stdout] 172 | stmts.into_single_item().unwrap_or_else(|stmts| self.intern_expr(Expr::Block(Block { stmts }))) [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/jit.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 121 | let mut ctx = ClifContext::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | let func_ctx_pool = db.func_ctx_pool(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 125 | let mut func_ctx = func_ctx_pool.pull(FunctionBuilderContext::new); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | db.with_module_mut(|module| { [INFO] [stdout] | ________________________^ [INFO] [stdout] 145 | | module.define_function(func, &mut ctx, &mut NullTrapSink {}).map_err(|mut e| { [INFO] [stdout] 146 | | if let ModuleError::Compilation(CodegenError::Verifier(VerifierErrors(v))) = &mut e { [INFO] [stdout] 147 | | if let Some(e) = v.as_single_item() { [INFO] [stdout] ... | [INFO] [stdout] 155 | | Ok(Context(Rc::new(ctx))) [INFO] [stdout] 156 | | }) [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] | |_____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/jit.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 121 | let mut ctx = ClifContext::new(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 155 | Ok(Context(Rc::new(ctx))) [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/lower.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 16 | let mut envs = HashMap::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let global_env = db.global_env()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | let Env { mut bindings, ty_bindings } = global_env; [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] ... [INFO] [stdout] 41 | Ok((Rc::new(envs), body)) [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] | [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/parse.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 85 | let mut bindings = im_rc::HashMap::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | let mut ty_bindings = im_rc::HashMap::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | Ok(Env { bindings, ty_bindings }) [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/target.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | fn with_module T>(&self, f: F) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | f(&self.module().borrow()) [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/target.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 27 | fn with_module_mut T>(&self, f: F) -> T { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | f(&mut self.module().borrow_mut()) [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 16 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simplejit-demo` (lib test) due to 17 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a1e2caa1d53d66c0fe6fbc16eef5c76c7d65e6286f9f637a508ea97ec5475786", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1e2caa1d53d66c0fe6fbc16eef5c76c7d65e6286f9f637a508ea97ec5475786", kill_on_drop: false }` [INFO] [stdout] a1e2caa1d53d66c0fe6fbc16eef5c76c7d65e6286f9f637a508ea97ec5475786