[INFO] cloning repository https://github.com/invpt/radi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/invpt/radi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finvpt%2Fradi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finvpt%2Fradi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2cf47619b4a2c16494475e34fb044d7191bfbf63 [INFO] checking invpt/radi against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finvpt%2Fradi" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/invpt/radi on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/invpt/radi [INFO] finished tweaking git repo https://github.com/invpt/radi [INFO] tweaked toml for git repo https://github.com/invpt/radi written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/invpt/radi 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cc4909f84d3661b16390ad162631c2c45aa9dff89f18a02459a513f94f7a7c9 [INFO] running `Command { std: "docker" "start" "-a" "0cc4909f84d3661b16390ad162631c2c45aa9dff89f18a02459a513f94f7a7c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cc4909f84d3661b16390ad162631c2c45aa9dff89f18a02459a513f94f7a7c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cc4909f84d3661b16390ad162631c2c45aa9dff89f18a02459a513f94f7a7c9", kill_on_drop: false }` [INFO] [stdout] 0cc4909f84d3661b16390ad162631c2c45aa9dff89f18a02459a513f94f7a7c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78d37953f625add4403f98b9672b80fcdc6fc53d71ac503ac3e9b656490c55ba [INFO] running `Command { std: "docker" "start" "-a" "78d37953f625add4403f98b9672b80fcdc6fc53d71ac503ac3e9b656490c55ba", kill_on_drop: false }` [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking codef v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/optimizers/simplify/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | fn run(&mut self, cfg: &mut Cfg) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/backends/riscv/mod.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn codegen(module: Module) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/backends/riscv/mod.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | fn gen(&mut self, cfg: Cfg) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/char_reader.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'r, R: CharReader> CharReaderSaver<'r, R> { [INFO] [stdout] | ---------------------------------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(chars: &'r mut R) -> CharReaderSaver<'r, R> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `warning` and `error` are never used [INFO] [stdout] --> src/errors.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'s> ErrorStream<'s> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn warning(&self, warning: impl Into>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn error(&self, error: impl Into>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `span` are never read [INFO] [stdout] --> src/errors.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CompilationError<'s> { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 30 | pub kind: CompilationErrorKind<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | pub span: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | Parse(ParseErrorKind<'s>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompilationErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 | Parse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | Tokenization(TokenizationErrorKind), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompilationErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 | Tokenization(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompilationErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `span` are never read [INFO] [stdout] --> src/parser/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ParseError<'s> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 15 | pub kind: ParseErrorKind<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub span: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/mod.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | Unexpected(Option>), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | Unexpected(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `errors` is never read [INFO] [stdout] --> src/parser/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct Parser<'s, R> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 46 | tokens: Tokens<'s, R>, [INFO] [stdout] 47 | errors: &'s ErrorStream<'s>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peek` is never used [INFO] [stdout] --> src/parser/mod.rs:626:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'i, 's, R: CharReader> Parser<'s, R> { [INFO] [stdout] | ----------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 626 | fn peek(&mut self, pred: impl Fn(&Token<'s>) -> Option) -> Result<'s, Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Recv`, `BitOr`, `BitXor`, `BitAnd`, `Shl`, and `Shr` are never constructed [INFO] [stdout] --> src/parser/ast.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum BinOp { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 70 | Recv, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | BitOr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | BitXor, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 73 | BitAnd, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 74 | Shl, [INFO] [stdout] | ^^^ [INFO] [stdout] 75 | Shr, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | String(Intern<'s>), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 100 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Boolean` is never constructed [INFO] [stdout] --> src/parser/ast.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum Literal<'s> { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 101 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_bpred` is never used [INFO] [stdout] --> src/parser/preds.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn to_bpred<'s, T>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `span` are never read [INFO] [stdout] --> src/reifier/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ReifyError<'s> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 20 | pub kind: ReifyErrorKind<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | pub span: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReifyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/reifier/mod.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | UndefinedSymbol(Intern<'s>), [INFO] [stdout] | --------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReifyErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | UndefinedSymbol(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/reifier/mod.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | UnexpectedMarker(SolveMarker), [INFO] [stdout] | ---------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReifyErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | UnexpectedMarker(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidFile` and `TypeAssertionConflict` are never constructed [INFO] [stdout] --> src/reifier/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum ReifyErrorKind<'s> { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 26 | InvalidFile, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | TypeAssertionConflict, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReifyErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `x` is never used [INFO] [stdout] --> src/reifier/mod.rs:739:8 [INFO] [stdout] | [INFO] [stdout] 61 | impl<'s> Reifier<'s> { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 739 | fn x() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `main` is never read [INFO] [stdout] --> src/reifier/rst.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Module<'s> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 11 | pub main: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Println`, `Input`, and `Itoa` are never constructed [INFO] [stdout] --> src/reifier/rst.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Builtin { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | Println, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | Input, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | Itoa, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Builtin` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeDef` is never constructed [INFO] [stdout] --> src/reifier/rst.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct TypeDef<'s> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDef` 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 `is_unit` is never used [INFO] [stdout] --> src/reifier/rst.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'s> Type<'s> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn is_unit(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `decl_span` and `name` are never read [INFO] [stdout] --> src/reifier/rst.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Local<'s> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 183 | pub decl_span: Span, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 184 | pub name: Intern<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Local` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `decl_span` is never read [INFO] [stdout] --> src/reifier/rst.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct Def<'s> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 191 | pub decl_span: Span, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Def` 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 `index` is never used [INFO] [stdout] --> src/reifier/rst.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 199 | impl Symbol { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 200 | pub fn index(self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/reifier/rst.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct Expr<'s> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 213 | pub kind: ExprKind<'s>, [INFO] [stdout] 214 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/reifier/rst.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | Symbol(Symbol), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PatternKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 261 | Symbol(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VariantItem` is never constructed [INFO] [stdout] --> src/reifier/rst.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct VariantItem<'s> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariantItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `main` and `defs` are never read [INFO] [stdout] --> src/lowerer/lir.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Module<'s> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | pub main: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub defs: FxHashMap>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/lowerer/lir.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Def<'s> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 16 | pub name: Intern<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | pub value: Value<'s>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Def` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `temps`, `params`, `blocks`, and `entry` are never read [INFO] [stdout] --> src/lowerer/lir.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Cfg { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 22 | pub temps: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub params: Box<[Temp]>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | pub blocks: Box<[Block]>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub entry: BlockRef, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cfg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TempInfo` is never constructed [INFO] [stdout] --> src/lowerer/lir.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct TempInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TempInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `successors` is never used [INFO] [stdout] --> src/lowerer/lir.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Block { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 48 | pub fn successors(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block` and `arguments` are never read [INFO] [stdout] --> src/lowerer/lir.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Target { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 70 | pub block: BlockRef, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 71 | pub arguments: Box<[Temp]>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Target` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lowerer/lir.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | Load(Temp, Producer), [INFO] [stdout] | ---- ^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Insn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 93 | Load((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lowerer/lir.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | Store(MemRef, Temp), [INFO] [stdout] | ----- ^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Insn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 94 | Store((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lowerer/lir.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | Memory(Kind, MemRef), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | Memory(Kind, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lowerer/lir.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | Symbol(Kind, Symbol), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 100 | Symbol(Kind, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | Builtin(Builtin), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 101 | Builtin(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | Ir(Cfg), [INFO] [stdout] | -- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 102 | Ir(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> src/lowerer/lir.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | Binary(BinOp, Temp, Temp), [INFO] [stdout] | ------ ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 104 | Binary(BinOp, (), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lowerer/lir.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | Unary(UnOp, Temp), [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 105 | Unary(UnOp, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lowerer/lir.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | Call(Temp, Box<[Temp]>, Kind), [INFO] [stdout] | ---- ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 106 | Call((), (), Kind), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | ConstI(u64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 107 | ConstI(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | ConstF(f64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 108 | ConstF(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Copy` is never constructed [INFO] [stdout] --> src/lowerer/lir.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub enum Producer { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 103 | Copy(Temp), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lowerer/lir.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct MemRef(pub Temp, pub u64); [INFO] [stdout] | ------ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `MemRef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BitNotI` is never constructed [INFO] [stdout] --> src/lowerer/lir.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub enum UnOp { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 182 | BoolNotI, [INFO] [stdout] 183 | BitNotI, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 218 | Function(Cfg), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 218 | Function(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Integer`, `Float`, `Tuple`, and `Variant` are never constructed [INFO] [stdout] --> src/lowerer/lir.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub enum Value<'s> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 214 | Integer(i64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 215 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 216 | Tuple(Box<[Value<'s>]>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 217 | Variant(Intern<'s>, Option>>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `optimize` is never used [INFO] [stdout] --> src/optimizers/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn optimize(module: &mut Module) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OptimizationPass` is never used [INFO] [stdout] --> src/optimizers/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | trait OptimizationPass { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Simplify` is never constructed [INFO] [stdout] --> src/optimizers/simplify/mod.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Simplify { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `codegen` is never used [INFO] [stdout] --> src/backends/riscv/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn codegen(module: Module) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RvCodegen` is never constructed [INFO] [stdout] --> src/backends/riscv/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct RvCodegen { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `gen` is never used [INFO] [stdout] --> src/backends/riscv/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl RvCodegen { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 14 | fn gen(&mut self, cfg: Cfg) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RvInsn` is never used [INFO] [stdout] --> src/backends/riscv/mod.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum RvInsn { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dominators` is never used [INFO] [stdout] --> src/backends/riscv/regalloc.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn dominators(cfg: &Cfg) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersect` is never used [INFO] [stdout] --> src/backends/riscv/regalloc.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn intersect(labels: &Vec, doms: &mut [Option], b1: BlockRef, b2: BlockRef) -> BlockRef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dfs` is never used [INFO] [stdout] --> src/backends/riscv/regalloc.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn dfs(cfg: &Cfg, block: BlockRef, visited: &mut Vec, labels: &mut Vec, postorder: &mut Vec, preds: &mut Vec src/optimizers/simplify/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | fn run(&mut self, cfg: &mut Cfg) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/backends/riscv/mod.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn codegen(module: Module) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/backends/riscv/mod.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | fn gen(&mut self, cfg: Cfg) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/char_reader.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'r, R: CharReader> CharReaderSaver<'r, R> { [INFO] [stdout] | ---------------------------------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(chars: &'r mut R) -> CharReaderSaver<'r, R> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `warning` and `error` are never used [INFO] [stdout] --> src/errors.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'s> ErrorStream<'s> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn warning(&self, warning: impl Into>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn error(&self, error: impl Into>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `span` are never read [INFO] [stdout] --> src/errors.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CompilationError<'s> { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 30 | pub kind: CompilationErrorKind<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | pub span: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | Parse(ParseErrorKind<'s>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompilationErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 | Parse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | Tokenization(TokenizationErrorKind), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompilationErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 | Tokenization(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompilationErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `span` are never read [INFO] [stdout] --> src/parser/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ParseError<'s> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 15 | pub kind: ParseErrorKind<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub span: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/mod.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | Unexpected(Option>), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | Unexpected(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `errors` is never read [INFO] [stdout] --> src/parser/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct Parser<'s, R> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 46 | tokens: Tokens<'s, R>, [INFO] [stdout] 47 | errors: &'s ErrorStream<'s>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peek` is never used [INFO] [stdout] --> src/parser/mod.rs:626:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'i, 's, R: CharReader> Parser<'s, R> { [INFO] [stdout] | ----------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 626 | fn peek(&mut self, pred: impl Fn(&Token<'s>) -> Option) -> Result<'s, Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Recv`, `BitOr`, `BitXor`, `BitAnd`, `Shl`, and `Shr` are never constructed [INFO] [stdout] --> src/parser/ast.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum BinOp { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 70 | Recv, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | BitOr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | BitXor, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 73 | BitAnd, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 74 | Shl, [INFO] [stdout] | ^^^ [INFO] [stdout] 75 | Shr, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | String(Intern<'s>), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 100 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Boolean` is never constructed [INFO] [stdout] --> src/parser/ast.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum Literal<'s> { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 101 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_bpred` is never used [INFO] [stdout] --> src/parser/preds.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn to_bpred<'s, T>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `span` are never read [INFO] [stdout] --> src/reifier/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ReifyError<'s> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 20 | pub kind: ReifyErrorKind<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | pub span: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReifyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/reifier/mod.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | UndefinedSymbol(Intern<'s>), [INFO] [stdout] | --------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReifyErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | UndefinedSymbol(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/reifier/mod.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | UnexpectedMarker(SolveMarker), [INFO] [stdout] | ---------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReifyErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | UnexpectedMarker(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidFile` and `TypeAssertionConflict` are never constructed [INFO] [stdout] --> src/reifier/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum ReifyErrorKind<'s> { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 26 | InvalidFile, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | TypeAssertionConflict, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReifyErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `x` is never used [INFO] [stdout] --> src/reifier/mod.rs:739:8 [INFO] [stdout] | [INFO] [stdout] 61 | impl<'s> Reifier<'s> { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 739 | fn x() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `main` is never read [INFO] [stdout] --> src/reifier/rst.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Module<'s> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 11 | pub main: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Println`, `Input`, and `Itoa` are never constructed [INFO] [stdout] --> src/reifier/rst.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Builtin { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | Println, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | Input, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | Itoa, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Builtin` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeDef` is never constructed [INFO] [stdout] --> src/reifier/rst.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct TypeDef<'s> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDef` 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 `is_unit` is never used [INFO] [stdout] --> src/reifier/rst.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'s> Type<'s> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn is_unit(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `decl_span` and `name` are never read [INFO] [stdout] --> src/reifier/rst.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Local<'s> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 183 | pub decl_span: Span, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 184 | pub name: Intern<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Local` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `decl_span` is never read [INFO] [stdout] --> src/reifier/rst.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct Def<'s> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 191 | pub decl_span: Span, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Def` 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 `index` is never used [INFO] [stdout] --> src/reifier/rst.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 199 | impl Symbol { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 200 | pub fn index(self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/reifier/rst.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct Expr<'s> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 213 | pub kind: ExprKind<'s>, [INFO] [stdout] 214 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/reifier/rst.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | Symbol(Symbol), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PatternKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 261 | Symbol(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VariantItem` is never constructed [INFO] [stdout] --> src/reifier/rst.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct VariantItem<'s> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariantItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `main` and `defs` are never read [INFO] [stdout] --> src/lowerer/lir.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Module<'s> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | pub main: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub defs: FxHashMap>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/lowerer/lir.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Def<'s> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 16 | pub name: Intern<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | pub value: Value<'s>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Def` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `temps`, `params`, `blocks`, and `entry` are never read [INFO] [stdout] --> src/lowerer/lir.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Cfg { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 22 | pub temps: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub params: Box<[Temp]>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | pub blocks: Box<[Block]>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub entry: BlockRef, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cfg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TempInfo` is never constructed [INFO] [stdout] --> src/lowerer/lir.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct TempInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TempInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `successors` is never used [INFO] [stdout] --> src/lowerer/lir.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Block { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 48 | pub fn successors(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block` and `arguments` are never read [INFO] [stdout] --> src/lowerer/lir.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Target { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 70 | pub block: BlockRef, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 71 | pub arguments: Box<[Temp]>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Target` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lowerer/lir.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | Load(Temp, Producer), [INFO] [stdout] | ---- ^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Insn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 93 | Load((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lowerer/lir.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | Store(MemRef, Temp), [INFO] [stdout] | ----- ^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Insn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 94 | Store((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lowerer/lir.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | Memory(Kind, MemRef), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | Memory(Kind, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lowerer/lir.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | Symbol(Kind, Symbol), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 100 | Symbol(Kind, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | Builtin(Builtin), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 101 | Builtin(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | Ir(Cfg), [INFO] [stdout] | -- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 102 | Ir(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> src/lowerer/lir.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | Binary(BinOp, Temp, Temp), [INFO] [stdout] | ------ ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 104 | Binary(BinOp, (), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lowerer/lir.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | Unary(UnOp, Temp), [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 105 | Unary(UnOp, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lowerer/lir.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | Call(Temp, Box<[Temp]>, Kind), [INFO] [stdout] | ---- ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 106 | Call((), (), Kind), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | ConstI(u64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 107 | ConstI(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | ConstF(f64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 108 | ConstF(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Copy` is never constructed [INFO] [stdout] --> src/lowerer/lir.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub enum Producer { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 103 | Copy(Temp), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lowerer/lir.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct MemRef(pub Temp, pub u64); [INFO] [stdout] | ------ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `MemRef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BitNotI` is never constructed [INFO] [stdout] --> src/lowerer/lir.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub enum UnOp { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 182 | BoolNotI, [INFO] [stdout] 183 | BitNotI, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 218 | Function(Cfg), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 218 | Function(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Integer`, `Float`, `Tuple`, and `Variant` are never constructed [INFO] [stdout] --> src/lowerer/lir.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub enum Value<'s> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 214 | Integer(i64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 215 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 216 | Tuple(Box<[Value<'s>]>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 217 | Variant(Intern<'s>, Option>>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `optimize` is never used [INFO] [stdout] --> src/optimizers/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn optimize(module: &mut Module) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OptimizationPass` is never used [INFO] [stdout] --> src/optimizers/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | trait OptimizationPass { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Simplify` is never constructed [INFO] [stdout] --> src/optimizers/simplify/mod.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Simplify { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `codegen` is never used [INFO] [stdout] --> src/backends/riscv/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn codegen(module: Module) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RvCodegen` is never constructed [INFO] [stdout] --> src/backends/riscv/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct RvCodegen { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `gen` is never used [INFO] [stdout] --> src/backends/riscv/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl RvCodegen { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 14 | fn gen(&mut self, cfg: Cfg) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RvInsn` is never used [INFO] [stdout] --> src/backends/riscv/mod.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum RvInsn { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dominators` is never used [INFO] [stdout] --> src/backends/riscv/regalloc.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn dominators(cfg: &Cfg) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersect` is never used [INFO] [stdout] --> src/backends/riscv/regalloc.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn intersect(labels: &Vec, doms: &mut [Option], b1: BlockRef, b2: BlockRef) -> BlockRef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dfs` is never used [INFO] [stdout] --> src/backends/riscv/regalloc.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn dfs(cfg: &Cfg, block: BlockRef, visited: &mut Vec, labels: &mut Vec, postorder: &mut Vec, preds: &mut Vec src/optimizers/simplify/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | fn run(&mut self, cfg: &mut Cfg) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/backends/riscv/mod.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn codegen(module: Module) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/backends/riscv/mod.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | fn gen(&mut self, cfg: Cfg) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/optimizers/simplify/mod.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | fn run(&mut self, cfg: &mut Cfg) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/char_reader.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'r, R: CharReader> CharReaderSaver<'r, R> { [INFO] [stdout] | ---------------------------------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(chars: &'r mut R) -> CharReaderSaver<'r, R> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `warning` and `error` are never used [INFO] [stdout] --> src/errors.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'s> ErrorStream<'s> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn warning(&self, warning: impl Into>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn error(&self, error: impl Into>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `span` are never read [INFO] [stdout] --> src/errors.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CompilationError<'s> { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 30 | pub kind: CompilationErrorKind<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | pub span: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | Parse(ParseErrorKind<'s>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompilationErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 | Parse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | Tokenization(TokenizationErrorKind), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompilationErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 | Tokenization(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompilationErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `span` are never read [INFO] [stdout] --> src/parser/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ParseError<'s> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 15 | pub kind: ParseErrorKind<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub span: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/mod.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | Unexpected(Option>), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | Unexpected(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `errors` is never read [INFO] [stdout] --> src/parser/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct Parser<'s, R> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 46 | tokens: Tokens<'s, R>, [INFO] [stdout] 47 | errors: &'s ErrorStream<'s>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peek` is never used [INFO] [stdout] --> src/parser/mod.rs:626:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'i, 's, R: CharReader> Parser<'s, R> { [INFO] [stdout] | ----------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 626 | fn peek(&mut self, pred: impl Fn(&Token<'s>) -> Option) -> Result<'s, Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Recv`, `BitOr`, `BitXor`, `BitAnd`, `Shl`, and `Shr` are never constructed [INFO] [stdout] --> src/parser/ast.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum BinOp { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 70 | Recv, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | BitOr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | BitXor, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 73 | BitAnd, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 74 | Shl, [INFO] [stdout] | ^^^ [INFO] [stdout] 75 | Shr, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | String(Intern<'s>), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 100 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Boolean` is never constructed [INFO] [stdout] --> src/parser/ast.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum Literal<'s> { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 101 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_bpred` is never used [INFO] [stdout] --> src/parser/preds.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn to_bpred<'s, T>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `span` are never read [INFO] [stdout] --> src/reifier/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ReifyError<'s> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 20 | pub kind: ReifyErrorKind<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | pub span: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReifyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/reifier/mod.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | UndefinedSymbol(Intern<'s>), [INFO] [stdout] | --------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReifyErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | UndefinedSymbol(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/reifier/mod.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | UnexpectedMarker(SolveMarker), [INFO] [stdout] | ---------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReifyErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | UnexpectedMarker(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidFile` and `TypeAssertionConflict` are never constructed [INFO] [stdout] --> src/reifier/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum ReifyErrorKind<'s> { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 26 | InvalidFile, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | TypeAssertionConflict, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReifyErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `x` is never used [INFO] [stdout] --> src/reifier/mod.rs:739:8 [INFO] [stdout] | [INFO] [stdout] 61 | impl<'s> Reifier<'s> { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 739 | fn x() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `main` is never read [INFO] [stdout] --> src/reifier/rst.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Module<'s> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 11 | pub main: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Println`, `Input`, and `Itoa` are never constructed [INFO] [stdout] --> src/reifier/rst.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Builtin { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | Println, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | Input, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | Itoa, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Builtin` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeDef` is never constructed [INFO] [stdout] --> src/reifier/rst.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct TypeDef<'s> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDef` 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 `is_unit` is never used [INFO] [stdout] --> src/reifier/rst.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'s> Type<'s> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn is_unit(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `decl_span` and `name` are never read [INFO] [stdout] --> src/reifier/rst.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Local<'s> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 183 | pub decl_span: Span, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 184 | pub name: Intern<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Local` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `decl_span` is never read [INFO] [stdout] --> src/reifier/rst.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct Def<'s> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 191 | pub decl_span: Span, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Def` 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 `index` is never used [INFO] [stdout] --> src/reifier/rst.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 199 | impl Symbol { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 200 | pub fn index(self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/reifier/rst.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct Expr<'s> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 213 | pub kind: ExprKind<'s>, [INFO] [stdout] 214 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/reifier/rst.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | Symbol(Symbol), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PatternKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 261 | Symbol(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VariantItem` is never constructed [INFO] [stdout] --> src/reifier/rst.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct VariantItem<'s> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariantItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `main` and `defs` are never read [INFO] [stdout] --> src/lowerer/lir.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Module<'s> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | pub main: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub defs: FxHashMap>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/lowerer/lir.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Def<'s> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 16 | pub name: Intern<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | pub value: Value<'s>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Def` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `temps`, `params`, `blocks`, and `entry` are never read [INFO] [stdout] --> src/lowerer/lir.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Cfg { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 22 | pub temps: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub params: Box<[Temp]>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | pub blocks: Box<[Block]>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub entry: BlockRef, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cfg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TempInfo` is never constructed [INFO] [stdout] --> src/lowerer/lir.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct TempInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TempInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `successors` is never used [INFO] [stdout] --> src/lowerer/lir.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Block { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 48 | pub fn successors(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block` and `arguments` are never read [INFO] [stdout] --> src/lowerer/lir.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Target { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 70 | pub block: BlockRef, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 71 | pub arguments: Box<[Temp]>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Target` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/backends/riscv/mod.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn codegen(module: Module) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lowerer/lir.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | Load(Temp, Producer), [INFO] [stdout] | ---- ^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Insn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 93 | Load((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/backends/riscv/mod.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | fn gen(&mut self, cfg: Cfg) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lowerer/lir.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | Store(MemRef, Temp), [INFO] [stdout] | ----- ^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Insn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 94 | Store((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lowerer/lir.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | Memory(Kind, MemRef), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | Memory(Kind, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lowerer/lir.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | Symbol(Kind, Symbol), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 100 | Symbol(Kind, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | Builtin(Builtin), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 101 | Builtin(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | Ir(Cfg), [INFO] [stdout] | -- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 102 | Ir(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> src/lowerer/lir.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | Binary(BinOp, Temp, Temp), [INFO] [stdout] | ------ ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 104 | Binary(BinOp, (), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lowerer/lir.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | Unary(UnOp, Temp), [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 105 | Unary(UnOp, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lowerer/lir.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | Call(Temp, Box<[Temp]>, Kind), [INFO] [stdout] | ---- ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 106 | Call((), (), Kind), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | ConstI(u64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 107 | ConstI(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | ConstF(f64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 108 | ConstF(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Copy` is never constructed [INFO] [stdout] --> src/lowerer/lir.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub enum Producer { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 103 | Copy(Temp), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lowerer/lir.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct MemRef(pub Temp, pub u64); [INFO] [stdout] | ------ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `MemRef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BitNotI` is never constructed [INFO] [stdout] --> src/lowerer/lir.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub enum UnOp { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 182 | BoolNotI, [INFO] [stdout] 183 | BitNotI, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 218 | Function(Cfg), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 218 | Function(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Integer`, `Float`, `Tuple`, and `Variant` are never constructed [INFO] [stdout] --> src/lowerer/lir.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub enum Value<'s> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 214 | Integer(i64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 215 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 216 | Tuple(Box<[Value<'s>]>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 217 | Variant(Intern<'s>, Option>>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `optimize` is never used [INFO] [stdout] --> src/optimizers/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn optimize(module: &mut Module) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OptimizationPass` is never used [INFO] [stdout] --> src/optimizers/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | trait OptimizationPass { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Simplify` is never constructed [INFO] [stdout] --> src/optimizers/simplify/mod.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Simplify { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `codegen` is never used [INFO] [stdout] --> src/backends/riscv/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn codegen(module: Module) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RvCodegen` is never constructed [INFO] [stdout] --> src/backends/riscv/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct RvCodegen { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `gen` is never used [INFO] [stdout] --> src/backends/riscv/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl RvCodegen { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 14 | fn gen(&mut self, cfg: Cfg) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RvInsn` is never used [INFO] [stdout] --> src/backends/riscv/mod.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum RvInsn { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dominators` is never used [INFO] [stdout] --> src/backends/riscv/regalloc.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn dominators(cfg: &Cfg) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersect` is never used [INFO] [stdout] --> src/backends/riscv/regalloc.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn intersect(labels: &Vec, doms: &mut [Option], b1: BlockRef, b2: BlockRef) -> BlockRef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dfs` is never used [INFO] [stdout] --> src/backends/riscv/regalloc.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn dfs(cfg: &Cfg, block: BlockRef, visited: &mut Vec, labels: &mut Vec, postorder: &mut Vec, preds: &mut Vec src/errors.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 68 | fn from((err, span): (io::Error, Option)) -> Self { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | CompilationError { [INFO] [stdout] 70 | kind: CompilationErrorKind::Io(err), [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/mod.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 26 | fn from(err: TokenizationError) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | kind: ParseErrorKind::TokenizationError(err), [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/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 37 | tokens: Tokens<'s, impl CharReader>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | let mut parser = Parser { tokens, errors }; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let res = parser.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | Ok((parser.tokens.strings, res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 137 | let abs = self.termexpr()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | [INFO] [stdout] 139 | Ok(Def { [INFO] [stdout] | ____________^ [INFO] [stdout] 140 | | decl_span: Span { [INFO] [stdout] 141 | | start: kw_tok.span.start, [INFO] [stdout] 142 | | end: name_span.end, [INFO] [stdout] ... | [INFO] [stdout] 145 | | value: Box::new(abs), [INFO] [stdout] 146 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/mod.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 152 | let value = self.termexpr()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | [INFO] [stdout] 154 | Ok(Def { [INFO] [stdout] | ____________^ [INFO] [stdout] 155 | | decl_span: Span { [INFO] [stdout] 156 | | start: kw_tok.span.start, [INFO] [stdout] 157 | | end: name_span.end, [INFO] [stdout] ... | [INFO] [stdout] 160 | | value: Box::new(value), [INFO] [stdout] 161 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/mod.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 245 | let cond = self.logical()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 246 | let on_true = self.termbody()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | let on_false = self.termelse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | [INFO] [stdout] 249 | Ok(Expr { [INFO] [stdout] | ____________^ [INFO] [stdout] 250 | | span: Span { [INFO] [stdout] 251 | | start: case_tok.span.start, [INFO] [stdout] 252 | | end: on_false [INFO] [stdout] ... | [INFO] [stdout] 261 | | }, [INFO] [stdout] 262 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________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/parser/mod.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 274 | let cond = self.logical()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 275 | let on_true = self.termbody()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 276 | let on_false = self.termelse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | [INFO] [stdout] 278 | Ok(Some(Expr { [INFO] [stdout] | ____________^ [INFO] [stdout] 279 | | span: Span { [INFO] [stdout] 280 | | start: else_tok.span.start, [INFO] [stdout] 281 | | end: on_false [INFO] [stdout] ... | [INFO] [stdout] 290 | | }, [INFO] [stdout] 291 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________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/parser/mod.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 296 | let first = self.logical()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | let mut second = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 298 | let mut third = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 305 | let body = self.termbody()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 306 | [INFO] [stdout] 307 | Ok(Expr { [INFO] [stdout] | ____________^ [INFO] [stdout] 308 | | span: Span { [INFO] [stdout] 309 | | start: for_tok.span.start, [INFO] [stdout] 310 | | end: body.span.end, [INFO] [stdout] ... | [INFO] [stdout] 337 | | }, [INFO] [stdout] 338 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/mod.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 341 | fn tuple(&mut self, end_pred: impl Fn(&Token<'s>) -> Option<()>) -> Result<'s, Expr<'s>> { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 352 | let first = self.expr()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 360 | let mut items = Vec::from([first]); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 371 | Ok(Expr { [INFO] [stdout] | ____________^ [INFO] [stdout] 372 | | kind: ExprKind::Tuple { [INFO] [stdout] 373 | | items: items.into_boxed_slice(), [INFO] [stdout] 374 | | }, [INFO] [stdout] 375 | | span: Span { start, end }, [INFO] [stdout] 376 | | }) [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/parser/mod.rs:593:12 [INFO] [stdout] | [INFO] [stdout] 579 | let mut items = Vec::with_capacity(1); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 593 | Ok(Expr { [INFO] [stdout] | ____________^ [INFO] [stdout] 594 | | span: Span { [INFO] [stdout] 595 | | start: items.first().unwrap().span.start, [INFO] [stdout] 596 | | end: items.last().unwrap().span.end, [INFO] [stdout] 597 | | }, [INFO] [stdout] 598 | | kind: ExprKind::Variant(items.into()), [INFO] [stdout] 599 | | }) [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/mod.rs:655:15 [INFO] [stdout] | [INFO] [stdout] 654 | fn require(&mut self, pred: impl Fn(&Token<'s>) -> Option) -> Result<'s, T> { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 655 | match self.maybe_require(pred) { [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/preds.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 6 | a: impl Fn(&Token<'s>) -> Option, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | b: impl Fn(&Token<'s>) -> Option, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | ) -> impl Fn(&Token<'s>) -> Option { [INFO] [stdout] 9 | move |t| a(t).or_else(|| b(t)) [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/preds.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 13 | pred: impl Fn(&Token<'s>) -> Option, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | ) -> impl Fn(&Token<'s>) -> Option<()> { [INFO] [stdout] 15 | move |t| match pred(t) { [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/tokenizer/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 22 | fn from(err: io::Error) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | TokenizationError { [INFO] [stdout] 24 | kind: TokenizationErrorKind::Io(err), [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/tokenizer/mod.rs:319:57 [INFO] [stdout] | [INFO] [stdout] 319 | kind: TokenKind::String(self.strings.intern(string.into_boxed_str())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/reifier/mod.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 159 | let mut exprs = Vec::with_capacity(scope.exprs.len()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | Ok(Scope { [INFO] [stdout] | ____________^ [INFO] [stdout] 167 | | exprs: exprs.into_boxed_slice(), [INFO] [stdout] 168 | | discard: scope.discard, [INFO] [stdout] 169 | | }) [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: associated function `new` is never used [INFO] [stdout] --> src/char_reader.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'r, R: CharReader> CharReaderSaver<'r, R> { [INFO] [stdout] | ---------------------------------------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(chars: &'r mut R) -> CharReaderSaver<'r, R> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `warning` and `error` are never used [INFO] [stdout] --> src/errors.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'s> ErrorStream<'s> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn warning(&self, warning: impl Into>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn error(&self, error: impl Into>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `span` are never read [INFO] [stdout] --> src/errors.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct CompilationError<'s> { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 30 | pub kind: CompilationErrorKind<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | pub span: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompilationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | Parse(ParseErrorKind<'s>), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompilationErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 36 | Parse(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | Tokenization(TokenizationErrorKind), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompilationErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 | Tokenization(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/errors.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CompilationErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `span` are never read [INFO] [stdout] --> src/parser/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ParseError<'s> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 15 | pub kind: ParseErrorKind<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub span: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/mod.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | Unexpected(Option>), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | Unexpected(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `errors` is never read [INFO] [stdout] --> src/parser/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct Parser<'s, R> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 46 | tokens: Tokens<'s, R>, [INFO] [stdout] 47 | errors: &'s ErrorStream<'s>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `peek` is never used [INFO] [stdout] --> src/parser/mod.rs:626:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl<'i, 's, R: CharReader> Parser<'s, R> { [INFO] [stdout] | ----------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 626 | fn peek(&mut self, pred: impl Fn(&Token<'s>) -> Option) -> Result<'s, Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Recv`, `BitOr`, `BitXor`, `BitAnd`, `Shl`, and `Shr` are never constructed [INFO] [stdout] --> src/parser/ast.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum BinOp { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 70 | Recv, [INFO] [stdout] | ^^^^ [INFO] [stdout] 71 | BitOr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | BitXor, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 73 | BitAnd, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 74 | Shl, [INFO] [stdout] | ^^^ [INFO] [stdout] 75 | Shr, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BinOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/ast.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | String(Intern<'s>), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 100 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Boolean` is never constructed [INFO] [stdout] --> src/parser/ast.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub enum Literal<'s> { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 101 | Boolean(bool), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_bpred` is never used [INFO] [stdout] --> src/parser/preds.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn to_bpred<'s, T>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `span` are never read [INFO] [stdout] --> src/reifier/mod.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ReifyError<'s> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 20 | pub kind: ReifyErrorKind<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | pub span: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReifyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/reifier/mod.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | UndefinedSymbol(Intern<'s>), [INFO] [stdout] | --------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReifyErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | UndefinedSymbol(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/reifier/mod.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | UnexpectedMarker(SolveMarker), [INFO] [stdout] | ---------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReifyErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | UnexpectedMarker(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidFile` and `TypeAssertionConflict` are never constructed [INFO] [stdout] --> src/reifier/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum ReifyErrorKind<'s> { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 26 | InvalidFile, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | TypeAssertionConflict, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReifyErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `x` is never used [INFO] [stdout] --> src/reifier/mod.rs:739:8 [INFO] [stdout] | [INFO] [stdout] 61 | impl<'s> Reifier<'s> { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 739 | fn x() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `main` is never read [INFO] [stdout] --> src/reifier/rst.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Module<'s> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 11 | pub main: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Println`, `Input`, and `Itoa` are never constructed [INFO] [stdout] --> src/reifier/rst.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum Builtin { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | Println, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | Input, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 24 | Itoa, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Builtin` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TypeDef` is never constructed [INFO] [stdout] --> src/reifier/rst.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct TypeDef<'s> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeDef` 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 `is_unit` is never used [INFO] [stdout] --> src/reifier/rst.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'s> Type<'s> { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn is_unit(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `decl_span` and `name` are never read [INFO] [stdout] --> src/reifier/rst.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct Local<'s> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 183 | pub decl_span: Span, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 184 | pub name: Intern<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Local` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `decl_span` is never read [INFO] [stdout] --> src/reifier/rst.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 190 | pub struct Def<'s> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 191 | pub decl_span: Span, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Def` 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 `index` is never used [INFO] [stdout] --> src/reifier/rst.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 199 | impl Symbol { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 200 | pub fn index(self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/reifier/rst.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct Expr<'s> { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 213 | pub kind: ExprKind<'s>, [INFO] [stdout] 214 | pub span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/reifier/rst.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | Symbol(Symbol), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `PatternKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 261 | Symbol(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VariantItem` is never constructed [INFO] [stdout] --> src/reifier/rst.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 265 | pub struct VariantItem<'s> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VariantItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `main` and `defs` are never read [INFO] [stdout] --> src/lowerer/lir.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Module<'s> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | pub main: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub defs: FxHashMap>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/lowerer/lir.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Def<'s> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 16 | pub name: Intern<'s>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | pub value: Value<'s>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Def` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `temps`, `params`, `blocks`, and `entry` are never read [INFO] [stdout] --> src/lowerer/lir.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Cfg { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 22 | pub temps: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub params: Box<[Temp]>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | pub blocks: Box<[Block]>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | pub entry: BlockRef, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cfg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TempInfo` is never constructed [INFO] [stdout] --> src/lowerer/lir.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct TempInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TempInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `successors` is never used [INFO] [stdout] --> src/lowerer/lir.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Block { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 48 | pub fn successors(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block` and `arguments` are never read [INFO] [stdout] --> src/lowerer/lir.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Target { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 70 | pub block: BlockRef, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 71 | pub arguments: Box<[Temp]>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Target` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lowerer/lir.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | Load(Temp, Producer), [INFO] [stdout] | ---- ^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Insn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 93 | Load((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lowerer/lir.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | Store(MemRef, Temp), [INFO] [stdout] | ----- ^^^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Insn` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 94 | Store((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lowerer/lir.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 99 | Memory(Kind, MemRef), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 99 | Memory(Kind, ()), [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/reifier/mod.rs:637:12 [INFO] [stdout] | [INFO] [stdout] 212 | let (kind, ty) = match &expr.kind { [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] 213 | parser::ExprKind::Scope(scope) => { [INFO] [stdout] 214 | let scope = self.scope(scope)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | let last_ty = last.ty.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | let arg = if let Some(arg) = arg { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 236 | let body_ty = if let Some(ret) = ret { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | let body = self.expr(body, &body_ty)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 243 | let arg_ty = arg.as_ref().map(|a| Box::new(a.ty.clone())); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 244 | let body_ty = Box::new(body.ty.clone()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 263 | let init = if let Some(init) = init { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 268 | let cond = Box::new(self.expr(cond, &Type::Primitive(PrimitiveType::Boolean))?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | let afterthought = if let Some(afterthought) = afterthought { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | let body = Box::new(self.expr(body, &Type::Tuple(Box::new([])))?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 294 | let cond = Box::new(self.expr(cond, &Type::Primitive(PrimitiveType::Boolean))?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | let on_true = Box::new(self.expr(on_true, superty)?); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 299 | let on_false = self.expr(&on_false, superty)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 300 | [INFO] [stdout] 301 | let Some(widened) = on_true.ty.widen(&on_false.ty) else { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 336 | let mut reified_items = Vec::with_capacity(items.len()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 337 | let mut tys = Vec::with_capacity(items.len()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 338 | for (item, superty) in items.iter().zip(supertys) { [INFO] [stdout] 339 | let reified = self.expr(&item, superty)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 350 | let asserted = self.type_(ty)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | let expr = self.expr(expr, &asserted)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | let kind = match (Self::has_solve(a)?, Self::has_solve(b)?) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | let b = Box::new(self.expr(b, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 367 | let a = Box::new(self.expr(a, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 371 | let a = Box::new(self.expr(a, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 372 | let b = Box::new(self.expr(b, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | let (ty, a, b) = match op { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 389 | BinOp::Eq | BinOp::Neq => { [INFO] [stdout] 390 | let a = Box::new(self.expr(a, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 391 | let b = Box::new(self.expr(b, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 403 | let a = Box::new(self.expr(a, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 404 | let b = Box::new(self.expr(b, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 433 | let a = Box::new(self.expr(a, &Type::Primitive(PrimitiveType::Integer))?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 434 | let b = Box::new(self.expr(b, &Type::Primitive(PrimitiveType::Integer))?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 439 | let a = Box::new(self.expr(a, superty)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 440 | let b = Box::new(self.expr(b, superty)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 469 | let a = Box::new(self.expr(a, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 470 | [INFO] [stdout] 471 | let ty = match op { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 498 | let b = Box::new(self.expr(b, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 499 | let a_ty = [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 500 | Type::Function(Some(Box::new(b.ty.clone())), Box::new(superty.clone())); [INFO] [stdout] 501 | let a = Box::new(self.expr(&a, &a_ty)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 509 | let ret = ret.deref().clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 512 | let a = Box::new(self.expr(a, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 523 | let b = Box::new(self.expr(b, &*param)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 524 | [INFO] [stdout] 525 | let ret = ret.deref().clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 550 | let value = self.expr(&value, &Type::Unknown)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 551 | let ty = Type::Variant(Box::new([VariantItemType { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 558 | let ty = Type::Variant(Box::new([VariantItemType { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 575 | let kind = ExprKind::Load(sym); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 576 | let ty = if let Some(local) = self.module.locals.get(&sym) { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 618 | let kind = ExprKind::Literal(lit); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 619 | let ty = match lit { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 637 | Ok(Expr { [INFO] [stdout] | ____________^ [INFO] [stdout] 638 | | kind, [INFO] [stdout] 639 | | span: expr.span, [INFO] [stdout] 640 | | ty, [INFO] [stdout] 641 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lowerer/lir.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | Symbol(Kind, Symbol), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 100 | Symbol(Kind, ()), [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/reifier/mod.rs:243:60 [INFO] [stdout] | [INFO] [stdout] 243 | let arg_ty = arg.as_ref().map(|a| Box::new(a.ty.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: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | Builtin(Builtin), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 101 | Builtin(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | Ir(Cfg), [INFO] [stdout] | -- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 102 | Ir(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `1` and `2` are never read [INFO] [stdout] --> src/lowerer/lir.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | Binary(BinOp, Temp, Temp), [INFO] [stdout] | ------ ^^^^ ^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 104 | Binary(BinOp, (), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lowerer/lir.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | Unary(UnOp, Temp), [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 105 | Unary(UnOp, ()), [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/reifier/mod.rs:955:12 [INFO] [stdout] | [INFO] [stdout] 754 | let (kind, ty) = match &expr.kind { [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] 755 | parser::ExprKind::Apply(a, b) => { [INFO] [stdout] 756 | let a_ty = if !superty.is_unknown() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 771 | let a = self.pattern(&a, &a_ty)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 784 | let b = self.pattern(&b, ¶m)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 793 | let value_ty = if !superty.is_unknown() { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 815 | let value = self.pattern(&value, &value_ty)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 816 | let inner_ty = Some(value.ty.clone()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 858 | let mut reified_items = Vec::with_capacity(items.len()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 868 | let mut reified_items = Vec::with_capacity(items.len()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 869 | let mut ty_its = Vec::with_capacity(items.len()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 870 | for item in &**items { [INFO] [stdout] 871 | let item = self.pattern(&item, &Type::Unknown)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 883 | let ty = self.type_(ty)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 884 | let pat = self.pattern(expr, &ty)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 955 | Ok(Pattern { [INFO] [stdout] | ____________^ [INFO] [stdout] 956 | | kind, [INFO] [stdout] 957 | | span: expr.span, [INFO] [stdout] 958 | | ty, [INFO] [stdout] 959 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________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] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/lowerer/lir.rs:106:10 [INFO] [stdout] | [INFO] [stdout] 106 | Call(Temp, Box<[Temp]>, Kind), [INFO] [stdout] | ---- ^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 106 | Call((), (), Kind), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | ConstI(u64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 107 | ConstI(()), [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/lowerer/mod.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 93 | mut self, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | let mut blocks = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | params: self.args.into_boxed_slice(), [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: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | ConstF(f64), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 108 | ConstF(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Copy` is never constructed [INFO] [stdout] --> src/lowerer/lir.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub enum Producer { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 103 | Copy(Temp), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Producer` has a derived impl for the trait `Debug`, but this is 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/lowerer/mod.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 93 | mut self, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | let mut blocks = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | blocks: blocks.into_boxed_slice(), [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: fields `0` and `1` are never read [INFO] [stdout] --> src/lowerer/lir.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | pub struct MemRef(pub Temp, pub u64); [INFO] [stdout] | ------ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `MemRef` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BitNotI` is never constructed [INFO] [stdout] --> src/lowerer/lir.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 181 | pub enum UnOp { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 182 | BoolNotI, [INFO] [stdout] 183 | BitNotI, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lowerer/lir.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 218 | Function(Cfg), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 218 | Function(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Integer`, `Float`, `Tuple`, and `Variant` are never constructed [INFO] [stdout] --> src/lowerer/lir.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub enum Value<'s> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 214 | Integer(i64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 215 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 216 | Tuple(Box<[Value<'s>]>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 217 | Variant(Intern<'s>, Option>>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `optimize` is never used [INFO] [stdout] --> src/optimizers/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn optimize(module: &mut Module) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `OptimizationPass` is never used [INFO] [stdout] --> src/optimizers/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | trait OptimizationPass { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Simplify` is never constructed [INFO] [stdout] --> src/optimizers/simplify/mod.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Simplify { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `codegen` is never used [INFO] [stdout] --> src/backends/riscv/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn codegen(module: Module) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RvCodegen` is never constructed [INFO] [stdout] --> src/backends/riscv/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct RvCodegen { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `gen` is never used [INFO] [stdout] --> src/backends/riscv/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl RvCodegen { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 14 | fn gen(&mut self, cfg: Cfg) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RvInsn` is never used [INFO] [stdout] --> src/backends/riscv/mod.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | enum RvInsn { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dominators` is never used [INFO] [stdout] --> src/backends/riscv/regalloc.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn dominators(cfg: &Cfg) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `intersect` is never used [INFO] [stdout] --> src/backends/riscv/regalloc.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn intersect(labels: &Vec, doms: &mut [Option], b1: BlockRef, b2: BlockRef) -> BlockRef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dfs` is never used [INFO] [stdout] --> src/backends/riscv/regalloc.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn dfs(cfg: &Cfg, block: BlockRef, visited: &mut Vec, labels: &mut Vec, postorder: &mut Vec, preds: &mut Vec src/errors.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 68 | fn from((err, span): (io::Error, Option)) -> Self { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | CompilationError { [INFO] [stdout] 70 | kind: CompilationErrorKind::Io(err), [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/mod.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 26 | fn from(err: TokenizationError) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | kind: ParseErrorKind::TokenizationError(err), [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/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 37 | tokens: Tokens<'s, impl CharReader>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | let mut parser = Parser { tokens, errors }; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | let res = parser.parse()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | Ok((parser.tokens.strings, res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/mod.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 137 | let abs = self.termexpr()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | [INFO] [stdout] 139 | Ok(Def { [INFO] [stdout] | ____________^ [INFO] [stdout] 140 | | decl_span: Span { [INFO] [stdout] 141 | | start: kw_tok.span.start, [INFO] [stdout] 142 | | end: name_span.end, [INFO] [stdout] ... | [INFO] [stdout] 145 | | value: Box::new(abs), [INFO] [stdout] 146 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/mod.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 152 | let value = self.termexpr()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | [INFO] [stdout] 154 | Ok(Def { [INFO] [stdout] | ____________^ [INFO] [stdout] 155 | | decl_span: Span { [INFO] [stdout] 156 | | start: kw_tok.span.start, [INFO] [stdout] 157 | | end: name_span.end, [INFO] [stdout] ... | [INFO] [stdout] 160 | | value: Box::new(value), [INFO] [stdout] 161 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/mod.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 245 | let cond = self.logical()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 246 | let on_true = self.termbody()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | let on_false = self.termelse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | [INFO] [stdout] 249 | Ok(Expr { [INFO] [stdout] | ____________^ [INFO] [stdout] 250 | | span: Span { [INFO] [stdout] 251 | | start: case_tok.span.start, [INFO] [stdout] 252 | | end: on_false [INFO] [stdout] ... | [INFO] [stdout] 261 | | }, [INFO] [stdout] 262 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________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/parser/mod.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 274 | let cond = self.logical()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 275 | let on_true = self.termbody()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 276 | let on_false = self.termelse()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | [INFO] [stdout] 278 | Ok(Some(Expr { [INFO] [stdout] | ____________^ [INFO] [stdout] 279 | | span: Span { [INFO] [stdout] 280 | | start: else_tok.span.start, [INFO] [stdout] 281 | | end: on_false [INFO] [stdout] ... | [INFO] [stdout] 290 | | }, [INFO] [stdout] 291 | | })) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________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/parser/mod.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 296 | let first = self.logical()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 297 | let mut second = None; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 298 | let mut third = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 305 | let body = self.termbody()?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 306 | [INFO] [stdout] 307 | Ok(Expr { [INFO] [stdout] | ____________^ [INFO] [stdout] 308 | | span: Span { [INFO] [stdout] 309 | | start: for_tok.span.start, [INFO] [stdout] 310 | | end: body.span.end, [INFO] [stdout] ... | [INFO] [stdout] 337 | | }, [INFO] [stdout] 338 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [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/mod.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 341 | fn tuple(&mut self, end_pred: impl Fn(&Token<'s>) -> Option<()>) -> Result<'s, Expr<'s>> { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 352 | let first = self.expr()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 360 | let mut items = Vec::from([first]); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 371 | Ok(Expr { [INFO] [stdout] | ____________^ [INFO] [stdout] 372 | | kind: ExprKind::Tuple { [INFO] [stdout] 373 | | items: items.into_boxed_slice(), [INFO] [stdout] 374 | | }, [INFO] [stdout] 375 | | span: Span { start, end }, [INFO] [stdout] 376 | | }) [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/parser/mod.rs:593:12 [INFO] [stdout] | [INFO] [stdout] 579 | let mut items = Vec::with_capacity(1); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 593 | Ok(Expr { [INFO] [stdout] | ____________^ [INFO] [stdout] 594 | | span: Span { [INFO] [stdout] 595 | | start: items.first().unwrap().span.start, [INFO] [stdout] 596 | | end: items.last().unwrap().span.end, [INFO] [stdout] 597 | | }, [INFO] [stdout] 598 | | kind: ExprKind::Variant(items.into()), [INFO] [stdout] 599 | | }) [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/mod.rs:655:15 [INFO] [stdout] | [INFO] [stdout] 654 | fn require(&mut self, pred: impl Fn(&Token<'s>) -> Option) -> Result<'s, T> { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 655 | match self.maybe_require(pred) { [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/preds.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 6 | a: impl Fn(&Token<'s>) -> Option, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | b: impl Fn(&Token<'s>) -> Option, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | ) -> impl Fn(&Token<'s>) -> Option { [INFO] [stdout] 9 | move |t| a(t).or_else(|| b(t)) [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/preds.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 13 | pred: impl Fn(&Token<'s>) -> Option, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | ) -> impl Fn(&Token<'s>) -> Option<()> { [INFO] [stdout] 15 | move |t| match pred(t) { [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/tokenizer/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 22 | fn from(err: io::Error) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | TokenizationError { [INFO] [stdout] 24 | kind: TokenizationErrorKind::Io(err), [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/tokenizer/mod.rs:319:57 [INFO] [stdout] | [INFO] [stdout] 319 | kind: TokenKind::String(self.strings.intern(string.into_boxed_str())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/reifier/mod.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 159 | let mut exprs = Vec::with_capacity(scope.exprs.len()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | Ok(Scope { [INFO] [stdout] | ____________^ [INFO] [stdout] 167 | | exprs: exprs.into_boxed_slice(), [INFO] [stdout] 168 | | discard: scope.discard, [INFO] [stdout] 169 | | }) [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/reifier/mod.rs:637:12 [INFO] [stdout] | [INFO] [stdout] 212 | let (kind, ty) = match &expr.kind { [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] 213 | parser::ExprKind::Scope(scope) => { [INFO] [stdout] 214 | let scope = self.scope(scope)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 218 | let last_ty = last.ty.clone(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 230 | let arg = if let Some(arg) = arg { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 236 | let body_ty = if let Some(ret) = ret { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 242 | let body = self.expr(body, &body_ty)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 243 | let arg_ty = arg.as_ref().map(|a| Box::new(a.ty.clone())); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 244 | let body_ty = Box::new(body.ty.clone()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 263 | let init = if let Some(init) = init { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 268 | let cond = Box::new(self.expr(cond, &Type::Primitive(PrimitiveType::Boolean))?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | let afterthought = if let Some(afterthought) = afterthought { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 274 | let body = Box::new(self.expr(body, &Type::Tuple(Box::new([])))?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 294 | let cond = Box::new(self.expr(cond, &Type::Primitive(PrimitiveType::Boolean))?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 295 | let on_true = Box::new(self.expr(on_true, superty)?); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 299 | let on_false = self.expr(&on_false, superty)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 300 | [INFO] [stdout] 301 | let Some(widened) = on_true.ty.widen(&on_false.ty) else { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 336 | let mut reified_items = Vec::with_capacity(items.len()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 337 | let mut tys = Vec::with_capacity(items.len()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 338 | for (item, superty) in items.iter().zip(supertys) { [INFO] [stdout] 339 | let reified = self.expr(&item, superty)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 350 | let asserted = self.type_(ty)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 351 | let expr = self.expr(expr, &asserted)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | let kind = match (Self::has_solve(a)?, Self::has_solve(b)?) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 363 | let b = Box::new(self.expr(b, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 367 | let a = Box::new(self.expr(a, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 371 | let a = Box::new(self.expr(a, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 372 | let b = Box::new(self.expr(b, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | let (ty, a, b) = match op { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 389 | BinOp::Eq | BinOp::Neq => { [INFO] [stdout] 390 | let a = Box::new(self.expr(a, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 391 | let b = Box::new(self.expr(b, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 403 | let a = Box::new(self.expr(a, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 404 | let b = Box::new(self.expr(b, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 433 | let a = Box::new(self.expr(a, &Type::Primitive(PrimitiveType::Integer))?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 434 | let b = Box::new(self.expr(b, &Type::Primitive(PrimitiveType::Integer))?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 439 | let a = Box::new(self.expr(a, superty)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 440 | let b = Box::new(self.expr(b, superty)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 469 | let a = Box::new(self.expr(a, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 470 | [INFO] [stdout] 471 | let ty = match op { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 498 | let b = Box::new(self.expr(b, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 499 | let a_ty = [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 500 | Type::Function(Some(Box::new(b.ty.clone())), Box::new(superty.clone())); [INFO] [stdout] 501 | let a = Box::new(self.expr(&a, &a_ty)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 509 | let ret = ret.deref().clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 512 | let a = Box::new(self.expr(a, &Type::Unknown)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 523 | let b = Box::new(self.expr(b, &*param)?); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 524 | [INFO] [stdout] 525 | let ret = ret.deref().clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 550 | let value = self.expr(&value, &Type::Unknown)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 551 | let ty = Type::Variant(Box::new([VariantItemType { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 558 | let ty = Type::Variant(Box::new([VariantItemType { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 575 | let kind = ExprKind::Load(sym); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 576 | let ty = if let Some(local) = self.module.locals.get(&sym) { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 618 | let kind = ExprKind::Literal(lit); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 619 | let ty = match lit { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 637 | Ok(Expr { [INFO] [stdout] | ____________^ [INFO] [stdout] 638 | | kind, [INFO] [stdout] 639 | | span: expr.span, [INFO] [stdout] 640 | | ty, [INFO] [stdout] 641 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/reifier/mod.rs:243:60 [INFO] [stdout] | [INFO] [stdout] 243 | let arg_ty = arg.as_ref().map(|a| Box::new(a.ty.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/reifier/mod.rs:955:12 [INFO] [stdout] | [INFO] [stdout] 754 | let (kind, ty) = match &expr.kind { [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] 755 | parser::ExprKind::Apply(a, b) => { [INFO] [stdout] 756 | let a_ty = if !superty.is_unknown() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 771 | let a = self.pattern(&a, &a_ty)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 784 | let b = self.pattern(&b, ¶m)?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 793 | let value_ty = if !superty.is_unknown() { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 815 | let value = self.pattern(&value, &value_ty)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 816 | let inner_ty = Some(value.ty.clone()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 858 | let mut reified_items = Vec::with_capacity(items.len()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 868 | let mut reified_items = Vec::with_capacity(items.len()); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 869 | let mut ty_its = Vec::with_capacity(items.len()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 870 | for item in &**items { [INFO] [stdout] 871 | let item = self.pattern(&item, &Type::Unknown)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 883 | let ty = self.type_(ty)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 884 | let pat = self.pattern(expr, &ty)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 955 | Ok(Pattern { [INFO] [stdout] | ____________^ [INFO] [stdout] 956 | | kind, [INFO] [stdout] 957 | | span: expr.span, [INFO] [stdout] 958 | | ty, [INFO] [stdout] 959 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________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/lowerer/mod.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 93 | mut self, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | let mut blocks = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 183 | params: self.args.into_boxed_slice(), [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/lowerer/mod.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 93 | mut self, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | let mut blocks = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 184 | blocks: blocks.into_boxed_slice(), [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 21 previous errors; 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `codef` (bin "codef" test) due to 22 previous errors; 64 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 21 previous errors; 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `codef` (bin "codef") due to 22 previous errors; 64 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ed723a17fe8d176f4f67e88655969a56c407bd4f032912b8458bbaa753a12f8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed723a17fe8d176f4f67e88655969a56c407bd4f032912b8458bbaa753a12f8d", kill_on_drop: false }` [INFO] [stdout] ed723a17fe8d176f4f67e88655969a56c407bd4f032912b8458bbaa753a12f8d