[INFO] fetching crate evmil 0.4.6... [INFO] checking evmil-0.4.6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate evmil 0.4.6 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate evmil 0.4.6 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 evmil 0.4.6 [INFO] finished tweaking crates.io crate evmil 0.4.6 [INFO] tweaked toml for crates.io crate evmil 0.4.6 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate evmil 0.4.6 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 219d3b239ceeb65d85e2da4e3d3b60b4beb338fa61feb962914ebefbb9cbb5e4 [INFO] running `Command { std: "docker" "start" "-a" "219d3b239ceeb65d85e2da4e3d3b60b4beb338fa61feb962914ebefbb9cbb5e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "219d3b239ceeb65d85e2da4e3d3b60b4beb338fa61feb962914ebefbb9cbb5e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "219d3b239ceeb65d85e2da4e3d3b60b4beb338fa61feb962914ebefbb9cbb5e4", kill_on_drop: false }` [INFO] [stdout] 219d3b239ceeb65d85e2da4e3d3b60b4beb338fa61feb962914ebefbb9cbb5e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 86639c750529bc2d8454dc32b8cae25af258349c1086bc30b0589d8ed7342eee [INFO] running `Command { std: "docker" "start" "-a" "86639c750529bc2d8454dc32b8cae25af258349c1086bc30b0589d8ed7342eee", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking thread-id v4.1.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Compiling ruint-macro v1.1.0 [INFO] [stderr] Checking arc-swap v1.6.0 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Compiling evmil v0.4.6 (/opt/rustwide/workdir) [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking delta_inc v0.3.3 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking ruint v1.10.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking ordered-float v2.10.0 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking log4rs v1.2.0 [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/analysis/state_set.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | fn iter(&self) -> std::slice::Iter<'_,T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 53 | self.iter() [INFO] [stdout] | ----------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/analysis/memory.rs:401:13 [INFO] [stdout] | [INFO] [stdout] 401 | let mut w1 = w256::from(0xf0e0d0c0b0a0908070605040302010u128); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bytecode/instruction.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | _ => { unreachable!("{:?}",self); } [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/bytecode/instruction.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 281 | STOP => 0, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 282 | ADD|MUL|SUB|DIV|SDIV|MOD|SMOD|EXP|SIGNEXTEND => 2, [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] 283 | ADDMOD|MULMOD => 3, [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 284 | LT|GT|SLT|SGT|EQ|AND|OR|XOR => 2, [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 318 | _ => { unreachable!("{:?}",self); } [INFO] [stdout] | ^ ...and 24 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/analysis/memory.rs:416:13 [INFO] [stdout] | [INFO] [stdout] 416 | let mut w1 = w256::from(0xf0e0d0c0b0a0908070605040302010u128); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/analysis/state_set.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | fn iter(&self) -> std::slice::Iter<'_,T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing [INFO] [stdout] 53 | self.iter() [INFO] [stdout] | ----------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bytecode/instruction.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | _ => { unreachable!("{:?}",self); } [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/bytecode/instruction.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 281 | STOP => 0, [INFO] [stdout] | ---- matches some of the same values [INFO] [stdout] 282 | ADD|MUL|SUB|DIV|SDIV|MOD|SMOD|EXP|SIGNEXTEND => 2, [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] 283 | ADDMOD|MULMOD => 3, [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] 284 | LT|GT|SLT|SGT|EQ|AND|OR|XOR => 2, [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 318 | _ => { unreachable!("{:?}",self); } [INFO] [stdout] | ^ ...and 24 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/analysis/semantics.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | Exception(EvmException) [INFO] [stdout] | --------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | Exception(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/analysis/semantics.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum EvmException { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 35 | Revert, [INFO] [stdout] 36 | InsufficientGas, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | InsufficientFunds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | BalanceOverflow, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | ReturnDataOverflow, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | InvalidJumpDest, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | InvalidPrecondition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | CodeSizeExceeded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | CallDepthExceeded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | AccountCollision, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | WriteProtectionViolated [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_abs_bytes` is never used [INFO] [stdout] --> src/bytecode/instruction.rs:681:4 [INFO] [stdout] | [INFO] [stdout] 681 | fn to_abs_bytes(large: bool, target: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_int` is never used [INFO] [stdout] --> src/il/lexer.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 260 | impl Lexer { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn get_int(&self, t: Span) -> u32 { [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/analysis/semantics.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | ADDMOD => execute_ternary(state, |l,r,m| l.add(r).rem(m)), [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] = 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/analysis/semantics.rs:71:50 [INFO] [stdout] | [INFO] [stdout] 71 | MULMOD => execute_ternary(state, |l,r,m| l.mul(r).rem(m)), [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/analysis/stack.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 110 | fn set(&mut self, n: usize, item: Self::Word) -> Self::Word { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | self.items.pop().unwrap() [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/il/parser.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 156 | let expr = self.parse_expr()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | self.lexer.snap(Token::SemiColon)?; [INFO] [stdout] 158 | Ok(Term::Assert(Box::new(expr))) [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/il/parser.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 162 | let lhs = self.parse_expr()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | let rhs = self.parse_expr()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | self.lexer.snap(Token::SemiColon)?; [INFO] [stdout] 167 | Ok(Term::Assignment(Box::new(lhs), Box::new(rhs))) [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] = 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/il/parser.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 176 | let exprs = self.parse_expr_list(Token::RightBrace)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | Ok(Term::Call(self.lexer.get_str(target),exprs)) [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/il/parser.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 204 | let expr = self.parse_expr()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | Ok(Term::IfGoto(Box::new(expr), self.lexer.get_str(target))) [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/il/parser.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 221 | let exprs = self.parse_expr_list(Token::SemiColon)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 222 | self.lexer.snap(Token::SemiColon)?; [INFO] [stdout] 223 | Ok(Term::Return(exprs)) [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/il/parser.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 228 | let exprs = self.parse_expr_list(Token::SemiColon)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | self.lexer.snap(Token::SemiColon)?; [INFO] [stdout] 230 | Ok(Term::Revert(exprs)) [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/il/parser.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 235 | let exprs = self.parse_expr_list(Token::SemiColon)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | self.lexer.snap(Token::SemiColon)?; [INFO] [stdout] 237 | Ok(Term::Succeed(exprs)) [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: aborting due to 10 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `evmil` (lib) due to 11 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/analysis/semantics.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | Exception(EvmException) [INFO] [stdout] | --------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | Exception(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/analysis/semantics.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum EvmException { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 35 | Revert, [INFO] [stdout] 36 | InsufficientGas, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | InsufficientFunds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | BalanceOverflow, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | ReturnDataOverflow, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | InvalidJumpDest, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | InvalidPrecondition, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | CodeSizeExceeded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | CallDepthExceeded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | AccountCollision, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | WriteProtectionViolated [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_abs_bytes` is never used [INFO] [stdout] --> src/bytecode/instruction.rs:681:4 [INFO] [stdout] | [INFO] [stdout] 681 | fn to_abs_bytes(large: bool, target: usize) -> Vec { [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/analysis/semantics.rs:70:51 [INFO] [stdout] | [INFO] [stdout] 70 | ADDMOD => execute_ternary(state, |l,r,m| l.add(r).rem(m)), [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] = 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/analysis/semantics.rs:71:50 [INFO] [stdout] | [INFO] [stdout] 71 | MULMOD => execute_ternary(state, |l,r,m| l.mul(r).rem(m)), [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/analysis/stack.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 110 | fn set(&mut self, n: usize, item: Self::Word) -> Self::Word { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | self.items.pop().unwrap() [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/il/parser.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 156 | let expr = self.parse_expr()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 157 | self.lexer.snap(Token::SemiColon)?; [INFO] [stdout] 158 | Ok(Term::Assert(Box::new(expr))) [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/il/parser.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 162 | let lhs = self.parse_expr()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | let rhs = self.parse_expr()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | self.lexer.snap(Token::SemiColon)?; [INFO] [stdout] 167 | Ok(Term::Assignment(Box::new(lhs), Box::new(rhs))) [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] = 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/il/parser.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 176 | let exprs = self.parse_expr_list(Token::RightBrace)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | Ok(Term::Call(self.lexer.get_str(target),exprs)) [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/il/parser.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 204 | let expr = self.parse_expr()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | Ok(Term::IfGoto(Box::new(expr), self.lexer.get_str(target))) [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/il/parser.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 221 | let exprs = self.parse_expr_list(Token::SemiColon)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 222 | self.lexer.snap(Token::SemiColon)?; [INFO] [stdout] 223 | Ok(Term::Return(exprs)) [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/il/parser.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 228 | let exprs = self.parse_expr_list(Token::SemiColon)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 229 | self.lexer.snap(Token::SemiColon)?; [INFO] [stdout] 230 | Ok(Term::Revert(exprs)) [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/il/parser.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 235 | let exprs = self.parse_expr_list(Token::SemiColon)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | self.lexer.snap(Token::SemiColon)?; [INFO] [stdout] 237 | Ok(Term::Succeed(exprs)) [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: aborting due to 10 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `evmil` (lib test) due to 11 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "86639c750529bc2d8454dc32b8cae25af258349c1086bc30b0589d8ed7342eee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86639c750529bc2d8454dc32b8cae25af258349c1086bc30b0589d8ed7342eee", kill_on_drop: false }` [INFO] [stdout] 86639c750529bc2d8454dc32b8cae25af258349c1086bc30b0589d8ed7342eee