[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] testing wjlewis/lammy against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwjlewis%2Flammy" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wjlewis/lammy on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "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-5-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" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a73ff0e2dbb47c483dc22b1b7a93c485fd89c386e102dba66925bb393ac3caeb [INFO] running `Command { std: "docker" "start" "-a" "a73ff0e2dbb47c483dc22b1b7a93c485fd89c386e102dba66925bb393ac3caeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a73ff0e2dbb47c483dc22b1b7a93c485fd89c386e102dba66925bb393ac3caeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a73ff0e2dbb47c483dc22b1b7a93c485fd89c386e102dba66925bb393ac3caeb", kill_on_drop: false }` [INFO] [stdout] a73ff0e2dbb47c483dc22b1b7a93c485fd89c386e102dba66925bb393ac3caeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d5f8e05b5106fa3c6270990b8afd159ec0e24e69223a097c51dd54a970cd948a [INFO] running `Command { std: "docker" "start" "-a" "d5f8e05b5106fa3c6270990b8afd159ec0e24e69223a097c51dd54a970cd948a", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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(Def), [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(Term), [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "d5f8e05b5106fa3c6270990b8afd159ec0e24e69223a097c51dd54a970cd948a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5f8e05b5106fa3c6270990b8afd159ec0e24e69223a097c51dd54a970cd948a", kill_on_drop: false }` [INFO] [stdout] d5f8e05b5106fa3c6270990b8afd159ec0e24e69223a097c51dd54a970cd948a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] daa4c1e5cd618543e4d203d605aea78d29f50f0c64cdc448e40d602f6e8cb1fb [INFO] running `Command { std: "docker" "start" "-a" "daa4c1e5cd618543e4d203d605aea78d29f50f0c64cdc448e40d602f6e8cb1fb", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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: 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(Def), [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(Term), [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "daa4c1e5cd618543e4d203d605aea78d29f50f0c64cdc448e40d602f6e8cb1fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daa4c1e5cd618543e4d203d605aea78d29f50f0c64cdc448e40d602f6e8cb1fb", kill_on_drop: false }` [INFO] [stdout] daa4c1e5cd618543e4d203d605aea78d29f50f0c64cdc448e40d602f6e8cb1fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b81e16c1e74bfeee006a7d7f7b6155569716d62cb90a711611b7774d2e4acd41 [INFO] running `Command { std: "docker" "start" "-a" "b81e16c1e74bfeee006a7d7f7b6155569716d62cb90a711611b7774d2e4acd41", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Def`, `Filepath`, `Import`, `Module`, `Name`, `ReplInput`, and `Term` [INFO] [stderr] --> src/syntax.rs:5:29 [INFO] [stderr] | [INFO] [stderr] 5 | pub use self::parser::ast::{Def, Filepath, Import, Module, Name, ReplInput, Term}; [INFO] [stderr] | ^^^ ^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^ ^^^^^^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ParseResult`, `parse_module`, and `parse_repl_input` [INFO] [stderr] --> src/syntax.rs:6:24 [INFO] [stderr] | [INFO] [stderr] 6 | pub use self::parser::{parse_module, parse_repl_input, ParseResult}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `src` [INFO] [stderr] --> src/errors.rs:24:22 [INFO] [stderr] | [INFO] [stderr] 24 | fn report(&self, src: &Source, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_src` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `report` is never used [INFO] [stderr] --> src/errors.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub trait Error: fmt::Debug { [INFO] [stderr] | ----- method in this trait [INFO] [stderr] 5 | fn report(&self, src: &Source, f: &mut fmt::Formatter) -> fmt::Result; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `span` is never read [INFO] [stderr] --> src/errors.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct SimpleError { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 10 | message: String, [INFO] [stderr] 11 | span: Span, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SimpleError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/nbe.rs:46:17 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct Term(Rc<_Term>); [INFO] [stderr] | ---- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `Term` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Index`, `Abs`, and `App` are never constructed [INFO] [stderr] --> src/nbe.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 48 | pub enum _Term { [INFO] [stderr] | ----- variants in this enum [INFO] [stderr] 49 | Index { index: usize }, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 50 | Abs { name: Name, body: Term }, [INFO] [stderr] | ^^^ [INFO] [stderr] 51 | App { rator: Term, rand: Term }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Value` is never constructed [INFO] [stderr] --> src/nbe.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | pub struct Value(Rc<_Value>); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Value` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Stuck` is never constructed [INFO] [stderr] --> src/nbe.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 64 | pub struct Stuck(Rc<_Stuck>); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Stuck` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Thunk` is never constructed [INFO] [stderr] --> src/nbe.rs:72:12 [INFO] [stderr] | [INFO] [stderr] 72 | pub struct Thunk(Rc>); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Thunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: enum `ThunkContent` is never used [INFO] [stderr] --> src/nbe.rs:75:6 [INFO] [stderr] | [INFO] [stderr] 75 | enum ThunkContent { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `thaw` and `new` are never used [INFO] [stderr] --> src/nbe.rs:81:12 [INFO] [stderr] | [INFO] [stderr] 80 | impl Thunk { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 81 | pub fn thaw(&self) -> Value { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 93 | pub fn new(term: Term, env: Env) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Env` is never used [INFO] [stderr] --> src/nbe.rs:98:10 [INFO] [stderr] | [INFO] [stderr] 98 | pub type Env = List; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `norm`, `eval`, `eval_or_freeze`, `index`, `abs`, and `app` are never used [INFO] [stderr] --> src/nbe.rs:101:12 [INFO] [stderr] | [INFO] [stderr] 100 | impl Term { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 101 | pub fn norm(&self) -> Term { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 106 | pub fn eval(&self, env: &Env) -> Value { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 118 | fn eval_or_freeze(&self, env: &Env) -> Value { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 125 | pub fn index(index: usize) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 129 | pub fn abs(name: Name, body: Term) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 133 | pub fn app(rator: Term, rand: Term) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `apply`, `quote`, `quote_from`, `closure`, `stuck`, and `thunk` are never used [INFO] [stderr] --> src/nbe.rs:139:12 [INFO] [stderr] | [INFO] [stderr] 138 | impl Value { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 139 | pub fn apply(&self, arg: Value) -> Value { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 153 | pub fn quote(&self) -> Term { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 157 | fn quote_from(&self, binder_count: usize, used_names: &List) -> Term { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 177 | pub fn closure(name: Name, body: Term, env: Env) -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 181 | pub fn stuck(stuck: Stuck) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 185 | pub fn thunk(term: Term, env: Env) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `quote_from`, `index`, and `app` are never used [INFO] [stderr] --> src/nbe.rs:191:12 [INFO] [stderr] | [INFO] [stderr] 190 | impl Stuck { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 191 | pub fn quote_from(&self, binder_count: usize, used_names: &List) -> Term { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 207 | pub fn index(binder_count: usize) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 211 | pub fn app(op: Stuck, arg: Value) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get` is never used [INFO] [stderr] --> src/nbe.rs:275:12 [INFO] [stderr] | [INFO] [stderr] 266 | impl List { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 275 | pub fn get(&self, i: usize) -> Option<&T> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `filename` and `text` are never read [INFO] [stderr] --> src/source.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct Source { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 30 | pub filename: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 31 | pub text: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Source` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/source.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 34 | impl Source { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 35 | pub fn new(filename: String, text: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_repl_input` is never used [INFO] [stderr] --> src/syntax/parser.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn parse_repl_input<'a>(source: &'a str) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_module` is never used [INFO] [stderr] --> src/syntax/parser.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn parse_module<'a>(source: &'a str) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `map` is never used [INFO] [stderr] --> src/syntax/parser.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 26 | impl ParseResult { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] 27 | pub fn map(self, mut f: impl FnMut(T) -> U) -> ParseResult { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/syntax/parser/ast.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | Def(Def), [INFO] [stderr] | --- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ReplInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 10 - Def(Def), [INFO] [stderr] 10 + Def(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/syntax/parser/ast.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | Term(Term), [INFO] [stderr] | ---- ^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ReplInput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 12 - Term(Term), [INFO] [stdout] [INFO] [stderr] 12 + Term(()), [INFO] [stdout] running 17 tests [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `imports`, `defs`, and `span` are never read [INFO] [stderr] --> src/syntax/parser/ast.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 18 | pub struct Module { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 19 | /// All of the module's imports. [INFO] [stderr] 20 | pub imports: Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 21 | /// All of the module's definitions. [INFO] [stderr] 22 | pub defs: Vec, [INFO] [stderr] | ^^^^ [INFO] [stderr] 23 | pub span: Span, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Module` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `parse_module`, `skip_to_decl_separator`, `parse_import`, and `parse_import_aliases` are never used [INFO] [stderr] --> src/syntax/parser/tree_builder.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 27 | impl<'a> TreeBuilder<'a> { [INFO] [stderr] | ------------------------ associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 36 | pub fn parse_module(source: &'a str) -> ParseResult { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 118 | fn skip_to_decl_separator(&mut self) -> Span { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 182 | fn parse_import(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 253 | fn parse_import_aliases(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `inner` and `leaf` are never used [INFO] [stderr] --> src/syntax/parser/tree_builder.rs:749:12 [INFO] [stderr] | [INFO] [stderr] 748 | impl KindTree { [INFO] [stderr] | ------------- associated functions in this implementation [INFO] [stderr] 749 | fn inner(kind: Sk, children: Vec) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 753 | fn leaf(text: &str) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `lammy` (bin "lammy" test) generated 27 warnings (run `cargo fix --bin "lammy" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lammy-272778336cb2fe73) [INFO] [stdout] test syntax::lexer::tests::correctly_assigns_non_ascii_spans ... ok [INFO] [stdout] test syntax::lexer::tests::passes_smoke_test_1 ... ok [INFO] [stdout] test syntax::parser::tree_builder::tests::defs_start_with_a_name_followed_by_equals ... ok [INFO] [stdout] test syntax::lexer::tests::correctly_assigns_text_and_spans ... ok [INFO] [stdout] test syntax::lexer::tests::correctly_distinguishes_equals_from_arrow ... ok [INFO] [stdout] test syntax::parser::tree_builder::tests::multi_abs_names_start_with_lparen_rparen_arrow ... ok [INFO] [stdout] test syntax::parser::tree_builder::tests::parses_valid_repl_def_correctly ... ok [INFO] [stdout] test syntax::parser::tree_builder::tests::single_abs_enclosed_in_parens_is_parsed_correctly ... ok [INFO] [stdout] test syntax::lexer::tests::peek_ahead_is_idempotent ... ok [INFO] [stdout] test syntax::parser::tree_builder::tests::single_abs_start_with_name_arrow ... ok [INFO] [stdout] test syntax::lexer::tests::reads_unterminated_strings ... ok [INFO] [stdout] test syntax::lexer::interner::tests::interner_shares_duplicate_strings ... ok [INFO] [stdout] test syntax::lexer::tests::passes_smoke_test_2 ... ok [INFO] [stdout] test nbe::tests::freshen ... ok [INFO] [stdout] test syntax::lexer::tests::reads_unknown_tokens ... ok [INFO] [stdout] test syntax::lexer::tests::passes_smoke_test_3 ... ok [INFO] [stdout] test syntax::lexer::tests::peek_is_idempotent ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b81e16c1e74bfeee006a7d7f7b6155569716d62cb90a711611b7774d2e4acd41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b81e16c1e74bfeee006a7d7f7b6155569716d62cb90a711611b7774d2e4acd41", kill_on_drop: false }` [INFO] [stdout] b81e16c1e74bfeee006a7d7f7b6155569716d62cb90a711611b7774d2e4acd41