[INFO] cloning repository https://github.com/wjlewis/lammy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wjlewis/lammy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwjlewis%2Flammy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwjlewis%2Flammy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f3f8de77840a8caa2d8dd77b4f078196b0948b9 [INFO] checking wjlewis/lammy against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwjlewis%2Flammy" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wjlewis/lammy 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/wjlewis/lammy [INFO] finished tweaking git repo https://github.com/wjlewis/lammy [INFO] tweaked toml for git repo https://github.com/wjlewis/lammy written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wjlewis/lammy 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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 3fb51a4634cd64a86202ee484d39c0d76d6933de70e22212452a92f608549742 [INFO] running `Command { std: "docker" "start" "-a" "3fb51a4634cd64a86202ee484d39c0d76d6933de70e22212452a92f608549742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fb51a4634cd64a86202ee484d39c0d76d6933de70e22212452a92f608549742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fb51a4634cd64a86202ee484d39c0d76d6933de70e22212452a92f608549742", kill_on_drop: false }` [INFO] [stdout] 3fb51a4634cd64a86202ee484d39c0d76d6933de70e22212452a92f608549742 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4e39fbb7cb811d8d2413fc14d9b9e5f0e69b5b973f653eca808f83bf8cdca7b2 [INFO] running `Command { std: "docker" "start" "-a" "4e39fbb7cb811d8d2413fc14d9b9e5f0e69b5b973f653eca808f83bf8cdca7b2", kill_on_drop: false }` [INFO] [stderr] Checking lammy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Def`, `Filepath`, `Import`, `Module`, `Name`, `ReplInput`, and `Term` [INFO] [stdout] --> src/syntax.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | pub use self::parser::ast::{Def, Filepath, Import, Module, Name, ReplInput, Term}; [INFO] [stdout] | ^^^ ^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseResult`, `parse_module`, and `parse_repl_input` [INFO] [stdout] --> src/syntax.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::parser::{parse_module, parse_repl_input, ParseResult}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Def`, `Filepath`, `Import`, `Module`, `Name`, `ReplInput`, and `Term` [INFO] [stdout] --> src/syntax.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | pub use self::parser::ast::{Def, Filepath, Import, Module, Name, ReplInput, Term}; [INFO] [stdout] | ^^^ ^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseResult`, `parse_module`, and `parse_repl_input` [INFO] [stdout] --> src/syntax.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub use self::parser::{parse_module, parse_repl_input, ParseResult}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/errors.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | fn report(&self, src: &Source, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src` [INFO] [stdout] --> src/errors.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | fn report(&self, src: &Source, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `report` is never used [INFO] [stdout] --> src/errors.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Error: fmt::Debug { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 5 | fn report(&self, src: &Source, f: &mut fmt::Formatter) -> fmt::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/errors.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SimpleError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | message: String, [INFO] [stdout] 11 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleError` 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 `new` is never used [INFO] [stdout] --> src/errors.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl SimpleError { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new(message: impl Into, span: Span) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/nbe.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Name { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 9 | pub fn new(name: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `freshen_in` is never used [INFO] [stdout] --> src/nbe.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Name { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 15 | pub fn freshen_in(&self, used: &List) -> Name { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/nbe.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Term(Rc<_Term>); [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Term` 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: variants `Index`, `Abs`, and `App` are never constructed [INFO] [stdout] --> src/nbe.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum _Term { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 49 | Index { index: usize }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | Abs { name: Name, body: Term }, [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | App { rator: Term, rand: Term }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Value` is never constructed [INFO] [stdout] --> src/nbe.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Value(Rc<_Value>); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stuck` is never constructed [INFO] [stdout] --> src/nbe.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Stuck(Rc<_Stuck>); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stuck` 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 `Thunk` is never constructed [INFO] [stdout] --> src/nbe.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Thunk(Rc>); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Thunk` 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: enum `ThunkContent` is never used [INFO] [stdout] --> src/nbe.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | enum ThunkContent { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `thaw` and `new` are never used [INFO] [stdout] --> src/nbe.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl Thunk { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 81 | pub fn thaw(&self) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn new(term: Term, env: Env) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Env` is never used [INFO] [stdout] --> src/nbe.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | pub type Env = List; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `norm`, `eval`, `eval_or_freeze`, `index`, `abs`, and `app` are never used [INFO] [stdout] --> src/nbe.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl Term { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 101 | pub fn norm(&self) -> Term { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn eval(&self, env: &Env) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn eval_or_freeze(&self, env: &Env) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn index(index: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn abs(name: Name, body: Term) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn app(rator: Term, rand: Term) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `apply`, `quote`, `quote_from`, `closure`, `stuck`, and `thunk` are never used [INFO] [stdout] --> src/nbe.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 138 | impl Value { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 139 | pub fn apply(&self, arg: Value) -> Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn quote(&self) -> Term { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn quote_from(&self, binder_count: usize, used_names: &List) -> Term { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn closure(name: Name, body: Term, env: Env) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn stuck(stuck: Stuck) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn thunk(term: Term, env: Env) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `quote_from`, `index`, and `app` are never used [INFO] [stdout] --> src/nbe.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 190 | impl Stuck { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 191 | pub fn quote_from(&self, binder_count: usize, used_names: &List) -> Term { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn index(binder_count: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn app(op: Stuck, arg: Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Empty` and `Cons` are never constructed [INFO] [stdout] --> src/nbe.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 261 | enum _List { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 262 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 263 | Cons(T, List), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `get`, and `includes` are never used [INFO] [stdout] --> src/nbe.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 266 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 267 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn push(&self, x: T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn get(&self, i: usize) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn includes(&self, x: &U) -> bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filename` and `text` are never read [INFO] [stdout] --> src/source.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Source { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 30 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | pub text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Source` 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 `new` is never used [INFO] [stdout] --> src/source.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Source { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(filename: String, text: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `chars`, `interner`, and `peeked` are never read [INFO] [stdout] --> src/syntax/lexer.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Lexer<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 13 | /// The source string [INFO] [stdout] 14 | source: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | chars: Chars<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | interner: Interner<'a>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | /// A collection of already peeked tokens. [INFO] [stdout] 18 | peeked: VecDeque, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/syntax/lexer.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn pop(&mut self) -> Token { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn peek(&mut self) -> &Token { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn peek_ahead(&mut self, n: usize) -> &Token { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn read_next(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn read_equals_or_arrow(&mut self) -> Tk { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn read_comment(&mut self) -> Tk { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn read_string(&mut self) -> Tk { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | fn read_name(&mut self) -> Tk { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | fn read_alias(&mut self) -> Tk { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn read_whitespace(&mut self) -> Tk { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | fn read_unknown(&mut self) -> Tk { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn eat_while(&mut self, pred: impl Fn(char) -> bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | fn peek_char(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn current_pos(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn is_name_start(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | fn is_alias_start(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | fn is_name_continue(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | fn is_alias_continue(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | fn is_whitespace(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | fn is_unknown(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | fn extract_text(&mut self, kind: &Tk, start: usize, end: usize) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seen` is never read [INFO] [stdout] --> src/syntax/lexer/interner.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Interner<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 8 | seen: HashMap<&'a str, Rc>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `intern` is never used [INFO] [stdout] --> src/syntax/lexer/interner.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl<'a> Interner<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn intern(&mut self, text: &'a str) -> Rc { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_repl_input` is never used [INFO] [stdout] --> src/syntax/parser.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn parse_repl_input<'a>(source: &'a str) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_module` is never used [INFO] [stdout] --> src/syntax/parser.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_module<'a>(source: &'a str) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParseResult` is never constructed [INFO] [stdout] --> src/syntax/parser.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ParseResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseResult` 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 `map` is never used [INFO] [stdout] --> src/syntax/parser.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl ParseResult { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 27 | pub fn map(self, mut f: impl FnMut(T) -> U) -> ParseResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/syntax/parser/ast.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | Def(Def), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReplInput` 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] 10 | Def(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/syntax/parser/ast.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | Term(Term), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReplInput` 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] 12 | Term(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `imports`, `defs`, and `span` are never read [INFO] [stdout] --> src/syntax/parser/ast.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Module { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | /// All of the module's imports. [INFO] [stdout] 20 | pub imports: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | /// All of the module's definitions. [INFO] [stdout] 22 | pub defs: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | pub span: Span, [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 `tokens`, `wip`, `errors`, and `pos` are never read [INFO] [stdout] --> src/syntax/parser/tree_builder.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TreeBuilder<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 12 | /// The source of tokens used to construct a tree. [INFO] [stdout] 13 | tokens: Lexer<'a>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | wip: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | errors: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/syntax/parser/tree_builder.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl<'a> TreeBuilder<'a> { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 28 | /// Parses input to the REPL (e.g. definitions, terms, special commands). [INFO] [stdout] 29 | pub fn parse_repl_input(source: &'a str) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn parse_module(source: &'a str) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn skip_to_decl_separator(&mut self) -> Span { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn parse_def(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | fn parse_import(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | fn parse_import_aliases(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | fn parse_tms(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | fn parse_tm(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | fn parse_single_abs(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | fn parse_multi_abs(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 394 | fn parse_abs_from_arrow(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 412 | fn parse_abs_after_names(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | fn parse_abs_names(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | fn parse_name(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 521 | fn parse_alias(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | fn parse_parend(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 544 | fn starts_single_abs(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 559 | fn starts_abs_names(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 599 | fn starts_def(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 617 | fn skip_trivia(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 632 | fn pop_leaf(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 637 | fn leaf(&mut self, token: Token) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | fn open(&mut self, kind: Sk) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 649 | fn close(&mut self, kind: Sk) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 679 | fn error(&mut self, message: impl Into, span: Span) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 683 | fn missing(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 696 | pub fn take(mut self) -> ParseResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InProgress` and `Complete` are never constructed [INFO] [stdout] --> src/syntax/parser/tree_builder.rs:726:5 [INFO] [stdout] | [INFO] [stdout] 725 | enum Entry { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 726 | InProgress { kind: Sk, start: usize }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 727 | Complete(UntypedTree), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `report` is never used [INFO] [stdout] --> src/errors.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Error: fmt::Debug { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 5 | fn report(&self, src: &Source, f: &mut fmt::Formatter) -> fmt::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/errors.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SimpleError { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10 | message: String, [INFO] [stdout] 11 | span: Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleError` 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/nbe.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Term(Rc<_Term>); [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Term` 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: variants `Index`, `Abs`, and `App` are never constructed [INFO] [stdout] --> src/nbe.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub enum _Term { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 49 | Index { index: usize }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | Abs { name: Name, body: Term }, [INFO] [stdout] | ^^^ [INFO] [stdout] 51 | App { rator: Term, rand: Term }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Value` is never constructed [INFO] [stdout] --> src/nbe.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Value(Rc<_Value>); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stuck` is never constructed [INFO] [stdout] --> src/nbe.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Stuck(Rc<_Stuck>); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stuck` 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 `Thunk` is never constructed [INFO] [stdout] --> src/nbe.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct Thunk(Rc>); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Thunk` 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: enum `ThunkContent` is never used [INFO] [stdout] --> src/nbe.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | enum ThunkContent { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `thaw` and `new` are never used [INFO] [stdout] --> src/nbe.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl Thunk { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 81 | pub fn thaw(&self) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn new(term: Term, env: Env) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Env` is never used [INFO] [stdout] --> src/nbe.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | pub type Env = List; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `norm`, `eval`, `eval_or_freeze`, `index`, `abs`, and `app` are never used [INFO] [stdout] --> src/nbe.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl Term { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 101 | pub fn norm(&self) -> Term { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn eval(&self, env: &Env) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn eval_or_freeze(&self, env: &Env) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn index(index: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn abs(name: Name, body: Term) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn app(rator: Term, rand: Term) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `apply`, `quote`, `quote_from`, `closure`, `stuck`, and `thunk` are never used [INFO] [stdout] --> src/nbe.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 138 | impl Value { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 139 | pub fn apply(&self, arg: Value) -> Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn quote(&self) -> Term { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | fn quote_from(&self, binder_count: usize, used_names: &List) -> Term { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn closure(name: Name, body: Term, env: Env) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn stuck(stuck: Stuck) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn thunk(term: Term, env: Env) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `quote_from`, `index`, and `app` are never used [INFO] [stdout] --> src/nbe.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 190 | impl Stuck { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 191 | pub fn quote_from(&self, binder_count: usize, used_names: &List) -> Term { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn index(binder_count: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn app(op: Stuck, arg: Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/nbe.rs:275:12 [INFO] [stdout] | [INFO] [stdout] 266 | impl List { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn get(&self, i: usize) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filename` and `text` are never read [INFO] [stdout] --> src/source.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Source { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 30 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | pub text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Source` 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 `new` is never used [INFO] [stdout] --> src/source.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Source { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(filename: String, text: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_repl_input` is never used [INFO] [stdout] --> src/syntax/parser.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn parse_repl_input<'a>(source: &'a str) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_module` is never used [INFO] [stdout] --> src/syntax/parser.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_module<'a>(source: &'a str) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `map` is never used [INFO] [stdout] --> src/syntax/parser.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl ParseResult { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 27 | pub fn map(self, mut f: impl FnMut(T) -> U) -> ParseResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/syntax/parser/ast.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | Def(Def), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReplInput` 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] 10 | Def(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/syntax/parser/ast.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | Term(Term), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ReplInput` 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] 12 | Term(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `imports`, `defs`, and `span` are never read [INFO] [stdout] --> src/syntax/parser/ast.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Module { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | /// All of the module's imports. [INFO] [stdout] 20 | pub imports: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | /// All of the module's definitions. [INFO] [stdout] 22 | pub defs: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | pub span: Span, [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: associated items `parse_module`, `skip_to_decl_separator`, `parse_import`, and `parse_import_aliases` are never used [INFO] [stdout] --> src/syntax/parser/tree_builder.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl<'a> TreeBuilder<'a> { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn parse_module(source: &'a str) -> ParseResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn skip_to_decl_separator(&mut self) -> Span { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | fn parse_import(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | fn parse_import_aliases(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `inner` and `leaf` are never used [INFO] [stdout] --> src/syntax/parser/tree_builder.rs:749:12 [INFO] [stdout] | [INFO] [stdout] 748 | impl KindTree { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 749 | fn inner(kind: Sk, children: Vec) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 753 | fn leaf(text: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "4e39fbb7cb811d8d2413fc14d9b9e5f0e69b5b973f653eca808f83bf8cdca7b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e39fbb7cb811d8d2413fc14d9b9e5f0e69b5b973f653eca808f83bf8cdca7b2", kill_on_drop: false }` [INFO] [stdout] 4e39fbb7cb811d8d2413fc14d9b9e5f0e69b5b973f653eca808f83bf8cdca7b2