[INFO] fetching crate cruncher 0.2.1... [INFO] checking cruncher-0.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cruncher 0.2.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate cruncher 0.2.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cruncher 0.2.1 [INFO] finished tweaking crates.io crate cruncher 0.2.1 [INFO] tweaked toml for crates.io crate cruncher 0.2.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 50 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.2.19 (latest: v0.8.11) [INFO] [stderr] Adding autocfg v0.1.8 (latest: v1.3.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cranelift v0.56.0 (latest: v0.111.0) [INFO] [stderr] Adding cranelift-bforest v0.56.0 (latest: v0.111.0) [INFO] [stderr] Adding cranelift-codegen v0.56.0 (latest: v0.111.0) [INFO] [stderr] Adding cranelift-codegen-meta v0.56.0 (latest: v0.111.0) [INFO] [stderr] Adding cranelift-codegen-shared v0.56.0 (latest: v0.111.0) [INFO] [stderr] Adding cranelift-entity v0.56.0 (latest: v0.111.0) [INFO] [stderr] Adding cranelift-frontend v0.56.0 (latest: v0.111.0) [INFO] [stderr] Adding cranelift-module v0.56.0 (latest: v0.111.0) [INFO] [stderr] Adding cranelift-native v0.56.0 (latest: v0.111.0) [INFO] [stderr] Adding cranelift-simplejit v0.56.0 (latest: v0.68.0) [INFO] [stderr] Adding errno v0.2.8 (latest: v0.3.9) [INFO] [stderr] Adding hashbrown v0.6.3 (latest: v0.14.5) [INFO] [stderr] Adding raw-cpuid v7.0.4 (latest: v11.1.0) [INFO] [stderr] Adding region v2.2.0 (latest: v3.0.2) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.1) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding target-lexicon v0.10.0 (latest: v0.12.16) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 7190369ccb2a1db565947e1b4e146919c525d5ad97eda3ae6a37de6f1da8eab8 [INFO] running `Command { std: "docker" "start" "-a" "7190369ccb2a1db565947e1b4e146919c525d5ad97eda3ae6a37de6f1da8eab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7190369ccb2a1db565947e1b4e146919c525d5ad97eda3ae6a37de6f1da8eab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7190369ccb2a1db565947e1b4e146919c525d5ad97eda3ae6a37de6f1da8eab8", kill_on_drop: false }` [INFO] [stdout] 7190369ccb2a1db565947e1b4e146919c525d5ad97eda3ae6a37de6f1da8eab8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5e714d714f022800b3d495f9073f6e3691b35ef33fcd0ba0d56c969521ef2969 [INFO] running `Command { std: "docker" "start" "-a" "5e714d714f022800b3d495f9073f6e3691b35ef33fcd0ba0d56c969521ef2969", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling cranelift-codegen-shared v0.56.0 [INFO] [stderr] Compiling cranelift-entity v0.56.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling cranelift-codegen-meta v0.56.0 [INFO] [stderr] Checking cranelift-bforest v0.56.0 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking region v2.2.0 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling raw-cpuid v7.0.4 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking ahash v0.2.19 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling cranelift-codegen v0.56.0 [INFO] [stderr] Checking cranelift-native v0.56.0 [INFO] [stderr] Checking cranelift-frontend v0.56.0 [INFO] [stderr] Checking cranelift-module v0.56.0 [INFO] [stderr] Checking cranelift-simplejit v0.56.0 [INFO] [stderr] Checking cranelift v0.56.0 [INFO] [stderr] Checking cruncher v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/expr.rs:172:35 [INFO] [stdout] | [INFO] [stdout] 172 | result.err().unwrap().description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/expr.rs:177:35 [INFO] [stdout] | [INFO] [stdout] 177 | result.err().unwrap().description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stmts` [INFO] [stdout] --> src/jit.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | stmts: &Ast, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stmts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_global_data_addr` is never used [INFO] [stdout] --> src/jit.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 366 | impl<'a> FunctionTranslator<'a> { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 430 | fn translate_global_data_addr(&mut self, name: String) -> Value { [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/expr.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn eval<'a, C>(input: &str, context: C) -> Result [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | Expr::parse(input).and_then(|expr| expr.eval(context)) [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/expr.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn eval<'a, C>(input: &str, context: C) -> Result [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | Expr::parse(input).and_then(|expr| expr.eval(context)) [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:49:30 [INFO] [stdout] | [INFO] [stdout] 45 | let mut builder = SimpleJITBuilder::new(cranelift_module::default_libcall_names()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let _s = builder.symbol(POW, pow as *const u8); [INFO] [stdout] 47 | let module = Module::new(builder); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | Self { [INFO] [stdout] 49 | builder_context: FunctionBuilderContext::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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:50:18 [INFO] [stdout] | [INFO] [stdout] 45 | let mut builder = SimpleJITBuilder::new(cranelift_module::default_libcall_names()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let _s = builder.symbol(POW, pow as *const u8); [INFO] [stdout] 47 | let module = Module::new(builder); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | ctx: module.make_context(), [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:51:23 [INFO] [stdout] | [INFO] [stdout] 45 | let mut builder = SimpleJITBuilder::new(cranelift_module::default_libcall_names()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let _s = builder.symbol(POW, pow as *const u8); [INFO] [stdout] 47 | let module = Module::new(builder); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | data_ctx: DataContext::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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:53:34 [INFO] [stdout] | [INFO] [stdout] 45 | let mut builder = SimpleJITBuilder::new(cranelift_module::default_libcall_names()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let _s = builder.symbol(POW, pow as *const u8); [INFO] [stdout] 47 | let module = Module::new(builder); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | required_parameters: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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:111:12 [INFO] [stdout] | [INFO] [stdout] 74 | let ast = Ast::from_tokens(&mut lexer.parse().map_err(|e| Error::ParseError(e.to_string()))?, "") [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | Ok(Self::dynamic_param_fn( [INFO] [stdout] | ____________^ [INFO] [stdout] 112 | | code, [INFO] [stdout] 113 | | &self.required_parameters, [INFO] [stdout] 114 | | )) [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] warning: unused variable: `stmts` [INFO] [stdout] --> src/jit.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | stmts: &Ast, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stmts` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cruncher` (lib) due to 8 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `translate_global_data_addr` is never used [INFO] [stdout] --> src/jit.rs:430:8 [INFO] [stdout] | [INFO] [stdout] 366 | impl<'a> FunctionTranslator<'a> { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 430 | fn translate_global_data_addr(&mut self, name: String) -> Value { [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/expr.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn eval<'a, C>(input: &str, context: C) -> Result [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | Expr::parse(input).and_then(|expr| expr.eval(context)) [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/expr.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn eval<'a, C>(input: &str, context: C) -> Result [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | Expr::parse(input).and_then(|expr| expr.eval(context)) [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:49:30 [INFO] [stdout] | [INFO] [stdout] 45 | let mut builder = SimpleJITBuilder::new(cranelift_module::default_libcall_names()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let _s = builder.symbol(POW, pow as *const u8); [INFO] [stdout] 47 | let module = Module::new(builder); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | Self { [INFO] [stdout] 49 | builder_context: FunctionBuilderContext::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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:50:18 [INFO] [stdout] | [INFO] [stdout] 45 | let mut builder = SimpleJITBuilder::new(cranelift_module::default_libcall_names()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let _s = builder.symbol(POW, pow as *const u8); [INFO] [stdout] 47 | let module = Module::new(builder); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | ctx: module.make_context(), [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:51:23 [INFO] [stdout] | [INFO] [stdout] 45 | let mut builder = SimpleJITBuilder::new(cranelift_module::default_libcall_names()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let _s = builder.symbol(POW, pow as *const u8); [INFO] [stdout] 47 | let module = Module::new(builder); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | data_ctx: DataContext::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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:53:34 [INFO] [stdout] | [INFO] [stdout] 45 | let mut builder = SimpleJITBuilder::new(cranelift_module::default_libcall_names()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | let _s = builder.symbol(POW, pow as *const u8); [INFO] [stdout] 47 | let module = Module::new(builder); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | required_parameters: HashMap::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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:111:12 [INFO] [stdout] | [INFO] [stdout] 74 | let ast = Ast::from_tokens(&mut lexer.parse().map_err(|e| Error::ParseError(e.to_string()))?, "") [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | Ok(Self::dynamic_param_fn( [INFO] [stdout] | ____________^ [INFO] [stdout] 112 | | code, [INFO] [stdout] 113 | | &self.required_parameters, [INFO] [stdout] 114 | | )) [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: aborting due to 7 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cruncher` (lib test) due to 8 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5e714d714f022800b3d495f9073f6e3691b35ef33fcd0ba0d56c969521ef2969", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e714d714f022800b3d495f9073f6e3691b35ef33fcd0ba0d56c969521ef2969", kill_on_drop: false }` [INFO] [stdout] 5e714d714f022800b3d495f9073f6e3691b35ef33fcd0ba0d56c969521ef2969