[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] building invpt/radi against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [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 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8398692a0aa29d25f824846af6aad2ce75af4956f94dc45d50d6331e480bc9a [INFO] running `Command { std: "docker" "start" "-a" "a8398692a0aa29d25f824846af6aad2ce75af4956f94dc45d50d6331e480bc9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8398692a0aa29d25f824846af6aad2ce75af4956f94dc45d50d6331e480bc9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8398692a0aa29d25f824846af6aad2ce75af4956f94dc45d50d6331e480bc9a", kill_on_drop: false }` [INFO] [stdout] a8398692a0aa29d25f824846af6aad2ce75af4956f94dc45d50d6331e480bc9a [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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1c91d41adf2a6115f702987bc7692222cce45ffde648f474ad639f756fe2045 [INFO] running `Command { std: "docker" "start" "-a" "f1c91d41adf2a6115f702987bc7692222cce45ffde648f474ad639f756fe2045", kill_on_drop: false }` [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling 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