[INFO] cloning repository https://github.com/Minigugus/skrull [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Minigugus/skrull" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMinigugus%2Fskrull", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMinigugus%2Fskrull'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 685594995476e6a8ea4b4fddc5ee65146747b63e [INFO] checking Minigugus/skrull/685594995476e6a8ea4b4fddc5ee65146747b63e 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%2FMinigugus%2Fskrull" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Minigugus/skrull on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Minigugus/skrull [INFO] finished tweaking git repo https://github.com/Minigugus/skrull [INFO] tweaked toml for git repo https://github.com/Minigugus/skrull written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Minigugus/skrull 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c94590a14dcc673a00184c98006d7ca2288aced351d4958c1d0e674300e0820e [INFO] running `Command { std: "docker" "start" "-a" "c94590a14dcc673a00184c98006d7ca2288aced351d4958c1d0e674300e0820e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c94590a14dcc673a00184c98006d7ca2288aced351d4958c1d0e674300e0820e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c94590a14dcc673a00184c98006d7ca2288aced351d4958c1d0e674300e0820e", kill_on_drop: false }` [INFO] [stdout] c94590a14dcc673a00184c98006d7ca2288aced351d4958c1d0e674300e0820e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53ffdfee71264b63278442415be1c291f1a723c17f1e0b102dd94b5258fa2e93 [INFO] running `Command { std: "docker" "start" "-a" "53ffdfee71264b63278442415be1c291f1a723c17f1e0b102dd94b5258fa2e93", kill_on_drop: false }` [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking clap_builder v4.5.5 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Checking clap v4.5.5 [INFO] [stderr] Checking skrull v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/printer/rust.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::{format, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::boxed::Box` [INFO] [stdout] --> src/printer/rust.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/scope.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use core::fmt::{Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/mlir/ops.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use core::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::rc::Rc` [INFO] [stdout] --> src/printer/rust.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use alloc::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockExpression`, `Expression`, `Fields`, `FunctionDeclaration`, `FunctionPrototype`, `Mutability`, `Struct`, `VariableSymbolDeclaration`, `parse_enum`, `parse_function_declaration`, and `parse_struct` [INFO] [stdout] --> src/printer/rust.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | ...::{BlockExpression, Expression, Fields, FunctionDeclaration, FunctionPrototype, Mutability, parse_enum, parse_function_declaration, parse_struct, Struct, VariableSymbolDeclaratio... [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModuleBuilder` [INFO] [stdout] --> src/printer/rust.rs:9:69 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::types::{EnumDef, EnumVariantFields, FunctionDef, Module, ModuleBuilder, PrimitiveType, Scope, StructDef, StructFields, Symbol,... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/printer/java.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use alloc::{format, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::boxed::Box` [INFO] [stdout] --> src/printer/java.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use alloc::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Fields`, `Struct`, `parse_enum`, and `parse_struct` [INFO] [stdout] --> src/printer/java.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::parser::{Fields, parse_enum, parse_struct, Struct}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ModuleBuilder` [INFO] [stdout] --> src/printer/java.rs:10:69 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::types::{EnumDef, EnumVariantFields, FunctionDef, Module, ModuleBuilder, PrimitiveType, Scope, StructDef, StructFields, Symbol,... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::Token` [INFO] [stdout] --> src/transform/java.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::lexer::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::borrow::Cow` [INFO] [stdout] --> src/transform/java/match_op.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | use alloc::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::string::ToString` [INFO] [stdout] --> src/transform/java/match_op.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::Token` [INFO] [stdout] --> src/transform/java/match_op.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | use crate::lexer::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::Module` [INFO] [stdout] --> src/transform/java/match_op.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | use crate::types::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::JavaModule` [INFO] [stdout] --> src/transform/java/match_op.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | use super::JavaModule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::Token` [INFO] [stdout] --> src/transform/ts.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::lexer::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::borrow::Cow` [INFO] [stdout] --> src/transform/ts/match_op.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | use alloc::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::format` [INFO] [stdout] --> src/transform/ts/match_op.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | use alloc::format; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::string::ToString` [INFO] [stdout] --> src/transform/ts/match_op.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | use alloc::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::Token` [INFO] [stdout] --> src/transform/ts/match_op.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | use crate::lexer::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::Module` [INFO] [stdout] --> src/transform/ts/match_op.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | use crate::types::Module; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::TsModule` [INFO] [stdout] --> src/transform/ts/match_op.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | use super::TsModule; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parse_function_declaration` [INFO] [stdout] --> src/eval.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::parse_function_declaration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ModuleBuilder` and `SymbolType` [INFO] [stdout] --> src/eval.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::types::{Module, ModuleBuilder, ResolverContext, StructFields, Symbol, SymbolRef, SymbolType}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/scope.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use core::fmt::{Debug, Display, Formatter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> src/mlir/ops.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use core::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::format` [INFO] [stdout] --> src/mlir/ops.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | use alloc::format; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alloc::vec::Vec` [INFO] [stdout] --> src/mlir/ops.rs:349:9 [INFO] [stdout] | [INFO] [stdout] 349 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BlockBuilder` and `Result` [INFO] [stdout] --> src/mlir/ops.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 352 | use super::{BlockBuilder, Body, Printer, Result, RuntimeValue, Typed}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/transform/ts.rs:970:17 [INFO] [stdout] | [INFO] [stdout] 970 | TsValueKind::TsType(match (l, r) { [INFO] [stdout] | _________________^^^^^^^^^^^^^^^^^^^_- [INFO] [stdout] | | | [INFO] [stdout] | | unreachable call [INFO] [stdout] 971 | | // (TsType::Number, TsType::Number) => TsType::Number, [INFO] [stdout] 972 | | [INFO] [stdout] 973 | | _ => return TsValueKind::Never [INFO] [stdout] 974 | | }) [INFO] [stdout] | |_________________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/transform/ts.rs:970:17 [INFO] [stdout] | [INFO] [stdout] 970 | TsValueKind::TsType(match (l, r) { [INFO] [stdout] | _________________^^^^^^^^^^^^^^^^^^^_- [INFO] [stdout] | | | [INFO] [stdout] | | unreachable call [INFO] [stdout] 971 | | // (TsType::Number, TsType::Number) => TsType::Number, [INFO] [stdout] 972 | | [INFO] [stdout] 973 | | _ => return TsValueKind::Never [INFO] [stdout] 974 | | }) [INFO] [stdout] | |_________________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/eval.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 332 | / match body.terminator_op() { [INFO] [stdout] 333 | | SkTerminatorOp::Yield(ref v) => return heap.get(v).ok_or("invalid ref in Yield terminator op".into()) [INFO] [stdout] 334 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 335 | Err("missing Return op")? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/eval.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 332 | / match body.terminator_op() { [INFO] [stdout] 333 | | SkTerminatorOp::Yield(ref v) => return heap.get(v).ok_or("invalid ref in Yield terminator op".into()) [INFO] [stdout] 334 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 335 | Err("missing Return op")? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/mlir/ops.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use core::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/mlir/ops.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use core::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bytecode.rs:171:36 [INFO] [stdout] | [INFO] [stdout] 171 | Symbol::Struct(s) => Err("Expected an enum, not a struct".into()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/transform/java/match_op.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | let tb = b.body([], |bb, params| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/transform/java/match_op.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | b.body([], move |bb, args| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bb` [INFO] [stdout] --> src/transform/java/match_op.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | b.body([], move |bb, args| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/transform/java/match_op.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | b.body([], move |bb, args| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/bytecode.rs:171:36 [INFO] [stdout] | [INFO] [stdout] 171 | Symbol::Struct(s) => Err("Expected an enum, not a struct".into()), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/transform/java/match_op.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | let tb = b.body([], |bb, params| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/transform/java/match_op.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | b.body([], move |bb, args| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bb` [INFO] [stdout] --> src/transform/java/match_op.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | b.body([], move |bb, args| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/transform/java/match_op.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | b.body([], move |bb, args| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transform/java.rs:1106:9 [INFO] [stdout] | [INFO] [stdout] 1106 | mut scope: &mut JavaScope, [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: unused variable: `params` [INFO] [stdout] --> src/transform/ts/match_op.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | let tb = b.body([], |bb, params| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/transform/ts/match_op.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | b.body([], move |bb, args| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bb` [INFO] [stdout] --> src/transform/ts/match_op.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | b.body([], move |bb, args| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/transform/ts/match_op.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | b.body([], move |bb, args| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transform/java.rs:1106:9 [INFO] [stdout] | [INFO] [stdout] 1106 | mut scope: &mut JavaScope, [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: unused variable: `params` [INFO] [stdout] --> src/transform/ts/match_op.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | let tb = b.body([], |bb, params| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/transform/ts/match_op.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | b.body([], move |bb, args| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bb` [INFO] [stdout] --> src/transform/ts/match_op.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | b.body([], move |bb, args| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/transform/ts/match_op.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | b.body([], move |bb, args| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/transform/ts.rs:467:40 [INFO] [stdout] | [INFO] [stdout] 467 | TsOp::InvokeStatic((_, s, ..), _, n, a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/transform/ts.rs:467:40 [INFO] [stdout] | [INFO] [stdout] 467 | TsOp::InvokeStatic((_, s, ..), _, n, a) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transform/ts.rs:1105:9 [INFO] [stdout] | [INFO] [stdout] 1105 | mut scope: &mut TsScope, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/eval.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | let mut fields = match s.fields() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exact` [INFO] [stdout] --> src/eval.rs:264:70 [INFO] [stdout] | [INFO] [stdout] 264 | SkMatchPatternOp::FieldStruct { typ, params, exact } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `exact: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/transform/ts.rs:1105:9 [INFO] [stdout] | [INFO] [stdout] 1105 | mut scope: &mut TsScope, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/scope.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | _ => Err("unknown depth or runtime value type")? [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/scope.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 102 | RuntimeValue::Local(bd, _, oi, _) => if let Some(s) = self.scopes.live.get_mut(*bd) { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 108 | RuntimeValue::Parameter(..) => Err("cannot bind to a parameter")?, [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] 109 | _ => Err("unknown depth or runtime value type")? [INFO] [stdout] | ^ collectively making 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/eval.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | let mut fields = match s.fields() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exact` [INFO] [stdout] --> src/eval.rs:264:70 [INFO] [stdout] | [INFO] [stdout] 264 | SkMatchPatternOp::FieldStruct { typ, params, exact } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `exact: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/mlir/ops.rs:410:27 [INFO] [stdout] | [INFO] [stdout] 410 | Op::If(_, t, None) => ValueType::Unit, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bb` [INFO] [stdout] --> src/mlir/ops.rs:551:22 [INFO] [stdout] | [INFO] [stdout] 551 | |bb, _| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/scope.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | _ => Err("unknown depth or runtime value type")? [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/scope.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 102 | RuntimeValue::Local(bd, _, oi, _) => if let Some(s) = self.scopes.live.get_mut(*bd) { [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 108 | RuntimeValue::Parameter(..) => Err("cannot bind to a parameter")?, [INFO] [stdout] | --------------------------- matches some of the same values [INFO] [stdout] 109 | _ => Err("unknown depth or runtime value type")? [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `JavaField` is more private than the item `JavaModule::resolve_record_field` [INFO] [stdout] --> src/transform/java.rs:813:5 [INFO] [stdout] | [INFO] [stdout] 813 | pub fn resolve_record_field(&self, sr: &JavaSymbolRef, name: &str) -> Option<&JavaField> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `JavaModule::resolve_record_field` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `JavaField` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/transform/java.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | struct JavaField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TsSymbol` is more private than the item `TsModule::resolve` [INFO] [stdout] --> src/transform/ts.rs:796:5 [INFO] [stdout] | [INFO] [stdout] 796 | pub fn resolve(&self, fqdn: &str) -> Option<&TsSymbol> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `TsModule::resolve` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TsSymbol` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/transform/ts.rs:535:1 [INFO] [stdout] | [INFO] [stdout] 535 | struct TsSymbol { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TsField` is more private than the item `TsModule::resolve_record_field` [INFO] [stdout] --> src/transform/ts.rs:814:5 [INFO] [stdout] | [INFO] [stdout] 814 | pub fn resolve_record_field(&self, sr: &TsSymbolRef, name: &str) -> Option<&TsField> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `TsModule::resolve_record_field` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TsField` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/transform/ts.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | struct TsField { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Protected` and `Private` are never constructed [INFO] [stdout] --> src/transform/java.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 38 | enum JavaVisibility { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 39 | Public, [INFO] [stdout] 40 | Protected, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | PackagePrivate, [INFO] [stdout] 42 | Private, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JavaVisibility` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Byte` is never constructed [INFO] [stdout] --> src/transform/java.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 66 | enum JavaType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 69 | Byte, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JavaType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fqdn` is never read [INFO] [stdout] --> src/transform/java.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 569 | struct JavaModuleBuilder<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 570 | fqdn: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unreachable`, `GetParam`, and `And` are never constructed [INFO] [stdout] --> src/transform/java.rs:834:5 [INFO] [stdout] | [INFO] [stdout] 832 | enum JavaOpN { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 833 | Error(Cow<'static, str>), [INFO] [stdout] 834 | Unreachable(Cow<'static, str>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 846 | GetParam(JavaValueKind, Rc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 854 | And(JavaValueRef, JavaValueRef), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JavaOpN` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JavaBlockBuilder` is never used [INFO] [stdout] --> src/transform/java.rs:1043:6 [INFO] [stdout] | [INFO] [stdout] 1043 | type JavaBlockBuilder<'a> = BlockBuilder<'a, SkValueKind, JavaOpN, JavaTerminatorOpN>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fqdn` is never read [INFO] [stdout] --> src/transform/ts.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 569 | struct TsModuleBuilder<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 570 | fqdn: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unreachable`, `GetParam`, and `And` are never constructed [INFO] [stdout] --> src/transform/ts.rs:867:5 [INFO] [stdout] | [INFO] [stdout] 865 | enum TsOp { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 866 | Error(Cow<'static, str>), [INFO] [stdout] 867 | Unreachable(Cow<'static, str>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 878 | GetParam(TsValueKind, Rc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 886 | And(TsValueRef, TsValueRef), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TsOp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `default_value` is never used [INFO] [stdout] --> src/transform/ts.rs:915:12 [INFO] [stdout] | [INFO] [stdout] 907 | impl TsValueKind { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 915 | pub fn default_value(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TsBlockBuilder` is never used [INFO] [stdout] --> src/transform/ts.rs:1042:6 [INFO] [stdout] | [INFO] [stdout] 1042 | type TsBlockBuilder<'a> = BlockBuilder<'a, SkValueKind, TsOp, TsTerminatorOp>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `I16`, `F64`, and `Usize` are never constructed [INFO] [stdout] --> src/eval.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 17 | enum Value { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | I16(i16), [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | F64(f64), [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | Usize(usize), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | fn unwrap_or_expected(self, expected: impl Into) -> Result { [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] 50 | self?.unwrap_or_expected(expected) [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/parser.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | fn unwrap_or_expected_at(self, tokens: &mut Vec, expected: impl Into) -> Result { [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] 54 | self?.unwrap_or_expected_at(tokens, expected) [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/parser.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 268 | parse: F, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | / parse_optional_group_with_dotdot(tokens, parse, open, close) [INFO] [stdout] 273 | | .unwrap_or_expected_at(tokens, "expected an opening token") [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/parser.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 279 | parse: F, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 287 | let mut items = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 299 | Ok(Some((items, dotdot_at_end))) [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/parser.rs:417:8 [INFO] [stdout] | [INFO] [stdout] 409 | let doc = parse_doc_comments(tokens); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 417 | Ok(NamedField { [INFO] [stdout] | ________^ [INFO] [stdout] 418 | | doc, [INFO] [stdout] 419 | | visibility, [INFO] [stdout] 420 | | name, [INFO] [stdout] 421 | | typ, [INFO] [stdout] 422 | | }) [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/parser.rs:457:8 [INFO] [stdout] | [INFO] [stdout] 449 | fn parse_struct_inner<'a>(tokens: &mut Vec>, visibility: Visibility, doc: DocBlock<'a>) -> Result> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 452 | let body = parse_fields(tokens)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 457 | Ok(StructOrEnum { [INFO] [stdout] | ________^ [INFO] [stdout] 458 | | doc, [INFO] [stdout] 459 | | visibility, [INFO] [stdout] 460 | | name, [INFO] [stdout] 461 | | body, [INFO] [stdout] 462 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:479:8 [INFO] [stdout] | [INFO] [stdout] 475 | let doc = parse_doc_comments(tokens); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 476 | let name = parse_identifier(tokens).unwrap_or_expected_at(tokens, "expected a enum name")?; [INFO] [stdout] 477 | let fields = parse_fields(tokens)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 478 | [INFO] [stdout] 479 | Ok(EnumVariant { [INFO] [stdout] | ________^ [INFO] [stdout] 480 | | doc, [INFO] [stdout] 481 | | name, [INFO] [stdout] 482 | | fields, [INFO] [stdout] 483 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 486 | fn parse_enum_inner<'a>(tokens: &mut Vec>, visibility: Visibility, doc: DocBlock<'a>) -> Result> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 489 | let body = parse_group(tokens, parse_enum_variant, BraceOpen, BraceClose) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 492 | Ok(StructOrEnum { [INFO] [stdout] | ________^ [INFO] [stdout] 493 | | doc, [INFO] [stdout] 494 | | visibility, [INFO] [stdout] 495 | | name, [INFO] [stdout] 496 | | body, [INFO] [stdout] 497 | | }) [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: `t` [INFO] [stdout] --> src/mlir/ops.rs:410:27 [INFO] [stdout] | [INFO] [stdout] 410 | Op::If(_, t, None) => ValueType::Unit, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [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/parser.rs:752:8 [INFO] [stdout] | [INFO] [stdout] 744 | fn parse_function_inner<'a>(tokens: &mut Vec>, visibility: Visibility, doc: DocBlock<'a>) -> Result> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 752 | Ok(FunctionDeclaration { [INFO] [stdout] | ________^ [INFO] [stdout] 753 | | prototype: FunctionPrototype { [INFO] [stdout] 754 | | doc, [INFO] [stdout] 755 | | visibility, [INFO] [stdout] ... | [INFO] [stdout] 760 | | body, [INFO] [stdout] 761 | | }) [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/parser.rs:781:8 [INFO] [stdout] | [INFO] [stdout] 778 | let doc = parse_doc_comments(tokens); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 781 | Ok(match peek_token(tokens) { [INFO] [stdout] | ________^ [INFO] [stdout] 782 | | Some(Symbol("enum")) => Declaration::Enum(parse_enum_inner(tokens, visibility, doc)?), [INFO] [stdout] 783 | | Some(Symbol("fn")) => Declaration::Function(parse_function_inner(tokens, visibility, doc)?), [INFO] [stdout] 784 | | Some(Symbol("struct")) => Declaration::Struct(parse_struct_inner(tokens, visibility, doc)?), [INFO] [stdout] 785 | | kind => Err(format!("expected a struct, enum or function declaration, got {kind:?}"))? [INFO] [stdout] 786 | | }) [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/types.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 195 | fn load(self, ctx: &impl LoaderContext) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 197 | | PendingProcessing::Struct(sym) => Symbol::Struct(sym.load(ctx)?), [INFO] [stdout] 198 | | PendingProcessing::Enum(sym) => Symbol::Enum(sym.load(ctx)?), [INFO] [stdout] 199 | | PendingProcessing::Function(sym) => Symbol::Function(sym.load(ctx)?), [INFO] [stdout] 200 | | }) [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/types.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 255 | fn load_named_fields(ctx: &impl LoaderContext, fields: Vec) -> Result> { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | / fields [INFO] [stdout] 257 | | .into_iter() [INFO] [stdout] 258 | | .map(|x| load_named_field(ctx, x)) [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/types.rs:306:23 [INFO] [stdout] | [INFO] [stdout] 301 | fn load(self, ctx: &impl LoaderContext) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 306 | variants: self.body [INFO] [stdout] | _______________________^ [INFO] [stdout] 307 | | .into_iter() [INFO] [stdout] 308 | | .map(|v| load_enum_variant(ctx, v)) [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/types.rs:575:36 [INFO] [stdout] | [INFO] [stdout] 546 | ... let guard = if let Some(ref e) = x.guard { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 568 | ... let body = visit_block_with_variables( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 575 | ... Ok(SkMatchCaseOp { [INFO] [stdout] | __________________________^ [INFO] [stdout] 576 | | ... pattern, [INFO] [stdout] 577 | | ... body, [INFO] [stdout] 578 | | ... guard, [INFO] [stdout] 579 | | ... }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types.rs:665:12 [INFO] [stdout] | [INFO] [stdout] 664 | fn load(self, ctx: &impl LoaderContext) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 665 | Ok(FunctionDef { [INFO] [stdout] | ____________^ [INFO] [stdout] 666 | | doc: format_doc(self.doc), [INFO] [stdout] 667 | | scope: Scope::from(self.visibility), [INFO] [stdout] 668 | | name: self.name.as_ref().to_string(), [INFO] [stdout] ... | [INFO] [stdout] 680 | | body_n: None, [INFO] [stdout] 681 | | }) [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/types.rs:1025:21 [INFO] [stdout] | [INFO] [stdout] 1023 | pub fn new(name: impl Into) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1024 | Self { [INFO] [stdout] 1025 | module: Module { [INFO] [stdout] | _____________________^ [INFO] [stdout] 1026 | | name: name.into(), [INFO] [stdout] 1027 | | symbols: Default::default(), [INFO] [stdout] 1028 | | by_name: Default::default(), [INFO] [stdout] 1029 | | }, [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/types.rs:1030:22 [INFO] [stdout] | [INFO] [stdout] 1023 | pub fn new(name: impl Into) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1030 | loading: Default::default(), [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/types.rs:1071:30 [INFO] [stdout] | [INFO] [stdout] 1069 | pub fn add_function<'b: 'a>(self, symbol: FunctionDeclaration<'b>) -> ModuleBuilder<'b> [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] 1070 | where 'a: 'b { [INFO] [stdout] 1071 | self.add_declaration(Declaration::Function(symbol)) [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/bytecode.rs:207:20 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn label(&mut self, value: ValueRef, label: impl Into) -> Result { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | Ok(self.op(SkOp::Label(value, label.into()))) [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/bytecode.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn block_op(&mut self, block: SkBody) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | Ok(self.op(SkOp::Block(block))) [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/bytecode.rs:276:20 [INFO] [stdout] | [INFO] [stdout] 265 | on_true: SkBody, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 266 | on_false: SkBody, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 276 | Ok(self.op(SkOp::If(cond, on_true, on_false))) [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/bytecode.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn call(&mut self, func: SymbolRef, ret_type: SkValueKind, args: impl Into>) -> Result { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 280 | Ok(self.op(SkOp::Call(func, ret_type, args.into()))) [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/bytecode.rs:284:20 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn create(&mut self, struct_ref: SymbolRef, fields: impl Into>) -> Result { [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | Ok(self.op(SkOp::Create(struct_ref, fields.into()))) [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/bytecode.rs:289:20 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn match_(&mut self, expr: ValueRef, cases: impl Into>) -> Result { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 288 | let cases = cases.into(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | Ok(self.op(SkOp::Match(expr, cases))) [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: type `JavaField` is more private than the item `JavaModule::resolve_record_field` [INFO] [stdout] --> src/transform/java.rs:813:5 [INFO] [stdout] | [INFO] [stdout] 813 | pub fn resolve_record_field(&self, sr: &JavaSymbolRef, name: &str) -> Option<&JavaField> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `JavaModule::resolve_record_field` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `JavaField` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/transform/java.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | struct JavaField { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` 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/mlir/ops.rs:138:77 [INFO] [stdout] | [INFO] [stdout] 138 | .map(|(id, t)| RuntimeValue::Parameter(self.body_depth, bi, id, t.clone())) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mlir/ops.rs:175:35 [INFO] [stdout] | [INFO] [stdout] 175 | .map(move |(oi, op)| (RuntimeValue::Local(depth, 0, oi, op.typ()), op)) [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: type `TsSymbol` is more private than the item `TsModule::resolve` [INFO] [stdout] --> src/transform/ts.rs:796:5 [INFO] [stdout] | [INFO] [stdout] 796 | pub fn resolve(&self, fqdn: &str) -> Option<&TsSymbol> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `TsModule::resolve` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TsSymbol` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/transform/ts.rs:535:1 [INFO] [stdout] | [INFO] [stdout] 535 | struct TsSymbol { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TsField` is more private than the item `TsModule::resolve_record_field` [INFO] [stdout] --> src/transform/ts.rs:814:5 [INFO] [stdout] | [INFO] [stdout] 814 | pub fn resolve_record_field(&self, sr: &TsSymbolRef, name: &str) -> Option<&TsField> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `TsModule::resolve_record_field` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TsField` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/transform/ts.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | struct TsField { [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/mlir/ops.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 192 | parameters: impl Into>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | builder: impl FnOnce(&mut BlockBuilder, Vec>) -> Result, [INFO] [stdout] | ------------------------------------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 194 | ) -> Result> where VT: Clone { [INFO] [stdout] 195 | let parameters = parameters.into(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | let parameter_values = parameters [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | let mut blocks = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 202 | let mut bb = BlockBuilder { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | let terminator_op = (builder)(&mut bb, parameter_values)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | Ok(Body { [INFO] [stdout] | ____________^ [INFO] [stdout] 210 | | depth, [INFO] [stdout] 211 | | entry: Block { [INFO] [stdout] 212 | | parameters, [INFO] [stdout] ... | [INFO] [stdout] 216 | | others: blocks, [INFO] [stdout] 217 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mlir/ops.rs:199:66 [INFO] [stdout] | [INFO] [stdout] 199 | .map(|(id, t)| RuntimeValue::Parameter(depth, 0, id, t.clone())) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Protected` and `Private` are never constructed [INFO] [stdout] --> src/transform/java.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 38 | enum JavaVisibility { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 39 | Public, [INFO] [stdout] 40 | Protected, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | PackagePrivate, [INFO] [stdout] 42 | Private, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JavaVisibility` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Byte` is never constructed [INFO] [stdout] --> src/transform/java.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 66 | enum JavaType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 69 | Byte, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JavaType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fqdn` is never read [INFO] [stdout] --> src/transform/java.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 569 | struct JavaModuleBuilder<'a> { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 570 | fqdn: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unreachable`, `GetParam`, and `And` are never constructed [INFO] [stdout] --> src/transform/java.rs:834:5 [INFO] [stdout] | [INFO] [stdout] 832 | enum JavaOpN { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 833 | Error(Cow<'static, str>), [INFO] [stdout] 834 | Unreachable(Cow<'static, str>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 846 | GetParam(JavaValueKind, Rc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 854 | And(JavaValueRef, JavaValueRef), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JavaOpN` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `JavaBlockBuilder` is never used [INFO] [stdout] --> src/transform/java.rs:1043:6 [INFO] [stdout] | [INFO] [stdout] 1043 | type JavaBlockBuilder<'a> = BlockBuilder<'a, SkValueKind, JavaOpN, JavaTerminatorOpN>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fqdn` is never read [INFO] [stdout] --> src/transform/ts.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 569 | struct TsModuleBuilder<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 570 | fqdn: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unreachable`, `GetParam`, and `And` are never constructed [INFO] [stdout] --> src/transform/ts.rs:867:5 [INFO] [stdout] | [INFO] [stdout] 865 | enum TsOp { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 866 | Error(Cow<'static, str>), [INFO] [stdout] 867 | Unreachable(Cow<'static, str>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 878 | GetParam(TsValueKind, Rc), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 886 | And(TsValueRef, TsValueRef), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TsOp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `default_value` is never used [INFO] [stdout] --> src/transform/ts.rs:915:12 [INFO] [stdout] | [INFO] [stdout] 907 | impl TsValueKind { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 915 | pub fn default_value(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TsBlockBuilder` is never used [INFO] [stdout] --> src/transform/ts.rs:1042:6 [INFO] [stdout] | [INFO] [stdout] 1042 | type TsBlockBuilder<'a> = BlockBuilder<'a, SkValueKind, TsOp, TsTerminatorOp>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/eval.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type Result = core::result::Result>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Composed` is never used [INFO] [stdout] --> src/eval.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | enum Composed { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/eval.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_i16`, `to_bool`, `is_assignable_to`, and `kind` are never used [INFO] [stdout] --> src/eval.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Value { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 29 | pub fn to_i16(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn to_bool(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn is_assignable_to(&self, kind: &SkValueKind) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn kind(&self) -> SkValueKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Heap` is never constructed [INFO] [stdout] --> src/eval.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | struct Heap<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `root`, `nested`, `get`, and `push` are never used [INFO] [stdout] --> src/eval.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 82 | impl<'a> Heap<'a> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 83 | pub fn root(params: &'a [Value]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn nested<'b>(&'b self, params: &'a [Value]) -> Heap<'b> where 'b: 'a { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn get(&self, r: &ValueRef) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn push(&mut self, v: Value) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval` is never used [INFO] [stdout] --> src/eval.rs:114:4 [INFO] [stdout] | [INFO] [stdout] 114 | fn eval(ctx: &impl ResolverContext, body: &SkBody, params_or_heap: core::result::Result<&[Value], Heap>) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_function_body` is never used [INFO] [stdout] --> src/eval.rs:524:4 [INFO] [stdout] | [INFO] [stdout] 524 | fn get_function_body<'a>(module: &'a Module, name: &str) -> Result<&'a SkBody> { [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/parser.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | fn unwrap_or_expected(self, expected: impl Into) -> Result { [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] 50 | self?.unwrap_or_expected(expected) [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/parser.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 53 | fn unwrap_or_expected_at(self, tokens: &mut Vec, expected: impl Into) -> Result { [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] 54 | self?.unwrap_or_expected_at(tokens, expected) [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/parser.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 268 | parse: F, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | / parse_optional_group_with_dotdot(tokens, parse, open, close) [INFO] [stdout] 273 | | .unwrap_or_expected_at(tokens, "expected an opening token") [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/parser.rs:299:8 [INFO] [stdout] | [INFO] [stdout] 279 | parse: F, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 287 | let mut items = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 299 | Ok(Some((items, dotdot_at_end))) [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/parser.rs:417:8 [INFO] [stdout] | [INFO] [stdout] 409 | let doc = parse_doc_comments(tokens); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 417 | Ok(NamedField { [INFO] [stdout] | ________^ [INFO] [stdout] 418 | | doc, [INFO] [stdout] 419 | | visibility, [INFO] [stdout] 420 | | name, [INFO] [stdout] 421 | | typ, [INFO] [stdout] 422 | | }) [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/parser.rs:457:8 [INFO] [stdout] | [INFO] [stdout] 449 | fn parse_struct_inner<'a>(tokens: &mut Vec>, visibility: Visibility, doc: DocBlock<'a>) -> Result> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 452 | let body = parse_fields(tokens)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 457 | Ok(StructOrEnum { [INFO] [stdout] | ________^ [INFO] [stdout] 458 | | doc, [INFO] [stdout] 459 | | visibility, [INFO] [stdout] 460 | | name, [INFO] [stdout] 461 | | body, [INFO] [stdout] 462 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:479:8 [INFO] [stdout] | [INFO] [stdout] 475 | let doc = parse_doc_comments(tokens); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 476 | let name = parse_identifier(tokens).unwrap_or_expected_at(tokens, "expected a enum name")?; [INFO] [stdout] 477 | let fields = parse_fields(tokens)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 478 | [INFO] [stdout] 479 | Ok(EnumVariant { [INFO] [stdout] | ________^ [INFO] [stdout] 480 | | doc, [INFO] [stdout] 481 | | name, [INFO] [stdout] 482 | | fields, [INFO] [stdout] 483 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:492:8 [INFO] [stdout] | [INFO] [stdout] 486 | fn parse_enum_inner<'a>(tokens: &mut Vec>, visibility: Visibility, doc: DocBlock<'a>) -> Result> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 489 | let body = parse_group(tokens, parse_enum_variant, BraceOpen, BraceClose) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 492 | Ok(StructOrEnum { [INFO] [stdout] | ________^ [INFO] [stdout] 493 | | doc, [INFO] [stdout] 494 | | visibility, [INFO] [stdout] 495 | | name, [INFO] [stdout] 496 | | body, [INFO] [stdout] 497 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:752:8 [INFO] [stdout] | [INFO] [stdout] 744 | fn parse_function_inner<'a>(tokens: &mut Vec>, visibility: Visibility, doc: DocBlock<'a>) -> Result> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 752 | Ok(FunctionDeclaration { [INFO] [stdout] | ________^ [INFO] [stdout] 753 | | prototype: FunctionPrototype { [INFO] [stdout] 754 | | doc, [INFO] [stdout] 755 | | visibility, [INFO] [stdout] ... | [INFO] [stdout] 760 | | body, [INFO] [stdout] 761 | | }) [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/parser.rs:781:8 [INFO] [stdout] | [INFO] [stdout] 778 | let doc = parse_doc_comments(tokens); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 781 | Ok(match peek_token(tokens) { [INFO] [stdout] | ________^ [INFO] [stdout] 782 | | Some(Symbol("enum")) => Declaration::Enum(parse_enum_inner(tokens, visibility, doc)?), [INFO] [stdout] 783 | | Some(Symbol("fn")) => Declaration::Function(parse_function_inner(tokens, visibility, doc)?), [INFO] [stdout] 784 | | Some(Symbol("struct")) => Declaration::Struct(parse_struct_inner(tokens, visibility, doc)?), [INFO] [stdout] 785 | | kind => Err(format!("expected a struct, enum or function declaration, got {kind:?}"))? [INFO] [stdout] 786 | | }) [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/types.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 195 | fn load(self, ctx: &impl LoaderContext) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | Ok(match self { [INFO] [stdout] | ____________^ [INFO] [stdout] 197 | | PendingProcessing::Struct(sym) => Symbol::Struct(sym.load(ctx)?), [INFO] [stdout] 198 | | PendingProcessing::Enum(sym) => Symbol::Enum(sym.load(ctx)?), [INFO] [stdout] 199 | | PendingProcessing::Function(sym) => Symbol::Function(sym.load(ctx)?), [INFO] [stdout] 200 | | }) [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/types.rs:256:5 [INFO] [stdout] | [INFO] [stdout] 255 | fn load_named_fields(ctx: &impl LoaderContext, fields: Vec) -> Result> { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 256 | / fields [INFO] [stdout] 257 | | .into_iter() [INFO] [stdout] 258 | | .map(|x| load_named_field(ctx, x)) [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/types.rs:306:23 [INFO] [stdout] | [INFO] [stdout] 301 | fn load(self, ctx: &impl LoaderContext) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 306 | variants: self.body [INFO] [stdout] | _______________________^ [INFO] [stdout] 307 | | .into_iter() [INFO] [stdout] 308 | | .map(|v| load_enum_variant(ctx, v)) [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/types.rs:575:36 [INFO] [stdout] | [INFO] [stdout] 546 | ... let guard = if let Some(ref e) = x.guard { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 568 | ... let body = visit_block_with_variables( [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 575 | ... Ok(SkMatchCaseOp { [INFO] [stdout] | __________________________^ [INFO] [stdout] 576 | | ... pattern, [INFO] [stdout] 577 | | ... body, [INFO] [stdout] 578 | | ... guard, [INFO] [stdout] 579 | | ... }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types.rs:665:12 [INFO] [stdout] | [INFO] [stdout] 664 | fn load(self, ctx: &impl LoaderContext) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 665 | Ok(FunctionDef { [INFO] [stdout] | ____________^ [INFO] [stdout] 666 | | doc: format_doc(self.doc), [INFO] [stdout] 667 | | scope: Scope::from(self.visibility), [INFO] [stdout] 668 | | name: self.name.as_ref().to_string(), [INFO] [stdout] ... | [INFO] [stdout] 680 | | body_n: None, [INFO] [stdout] 681 | | }) [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/types.rs:1025:21 [INFO] [stdout] | [INFO] [stdout] 1023 | pub fn new(name: impl Into) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1024 | Self { [INFO] [stdout] 1025 | module: Module { [INFO] [stdout] | _____________________^ [INFO] [stdout] 1026 | | name: name.into(), [INFO] [stdout] 1027 | | symbols: Default::default(), [INFO] [stdout] 1028 | | by_name: Default::default(), [INFO] [stdout] 1029 | | }, [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/types.rs:1030:22 [INFO] [stdout] | [INFO] [stdout] 1023 | pub fn new(name: impl Into) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1030 | loading: Default::default(), [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/types.rs:1071:30 [INFO] [stdout] | [INFO] [stdout] 1069 | pub fn add_function<'b: 'a>(self, symbol: FunctionDeclaration<'b>) -> ModuleBuilder<'b> [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] 1070 | where 'a: 'b { [INFO] [stdout] 1071 | self.add_declaration(Declaration::Function(symbol)) [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/bytecode.rs:207:20 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn label(&mut self, value: ValueRef, label: impl Into) -> Result { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | Ok(self.op(SkOp::Label(value, label.into()))) [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/bytecode.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn block_op(&mut self, block: SkBody) -> Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 259 | Ok(self.op(SkOp::Block(block))) [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/bytecode.rs:276:20 [INFO] [stdout] | [INFO] [stdout] 265 | on_true: SkBody, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 266 | on_false: SkBody, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 276 | Ok(self.op(SkOp::If(cond, on_true, on_false))) [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/bytecode.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn call(&mut self, func: SymbolRef, ret_type: SkValueKind, args: impl Into>) -> Result { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 280 | Ok(self.op(SkOp::Call(func, ret_type, args.into()))) [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/bytecode.rs:284:20 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn create(&mut self, struct_ref: SymbolRef, fields: impl Into>) -> Result { [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | Ok(self.op(SkOp::Create(struct_ref, fields.into()))) [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/bytecode.rs:289:20 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn match_(&mut self, expr: ValueRef, cases: impl Into>) -> Result { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 288 | let cases = cases.into(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 289 | Ok(self.op(SkOp::Match(expr, cases))) [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 28 previous errors; 35 warnings emitted [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/mlir/ops.rs:138:77 [INFO] [stdout] | [INFO] [stdout] 138 | .map(|(id, t)| RuntimeValue::Parameter(self.body_depth, bi, id, t.clone())) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mlir/ops.rs:175:35 [INFO] [stdout] | [INFO] [stdout] 175 | .map(move |(oi, op)| (RuntimeValue::Local(depth, 0, oi, op.typ()), op)) [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/mlir/ops.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 192 | parameters: impl Into>, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | builder: impl FnOnce(&mut BlockBuilder, Vec>) -> Result, [INFO] [stdout] | ------------------------------------------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 194 | ) -> Result> where VT: Clone { [INFO] [stdout] 195 | let parameters = parameters.into(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 196 | let parameter_values = parameters [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 201 | let mut blocks = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 202 | let mut bb = BlockBuilder { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 208 | let terminator_op = (builder)(&mut bb, parameter_values)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 209 | Ok(Body { [INFO] [stdout] | ____________^ [INFO] [stdout] 210 | | depth, [INFO] [stdout] 211 | | entry: Block { [INFO] [stdout] 212 | | parameters, [INFO] [stdout] ... | [INFO] [stdout] 216 | | others: blocks, [INFO] [stdout] 217 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mlir/ops.rs:199:66 [INFO] [stdout] | [INFO] [stdout] 199 | .map(|(id, t)| RuntimeValue::Parameter(depth, 0, id, t.clone())) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `skrull` (lib test) due to 29 previous errors; 35 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 28 previous errors; 68 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `skrull` (lib) due to 29 previous errors; 68 warnings emitted [INFO] running `Command { std: "docker" "inspect" "53ffdfee71264b63278442415be1c291f1a723c17f1e0b102dd94b5258fa2e93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53ffdfee71264b63278442415be1c291f1a723c17f1e0b102dd94b5258fa2e93", kill_on_drop: false }` [INFO] [stdout] 53ffdfee71264b63278442415be1c291f1a723c17f1e0b102dd94b5258fa2e93