[INFO] cloning repository https://github.com/artemisYo/tara [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/artemisYo/tara" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FartemisYo%2Ftara", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FartemisYo%2Ftara'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5661a325ad20271eca1409c62c28fcb50bdba7fb [INFO] checking artemisYo/tara/5661a325ad20271eca1409c62c28fcb50bdba7fb against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FartemisYo%2Ftara" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/artemisYo/tara on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/artemisYo/tara [INFO] finished tweaking git repo https://github.com/artemisYo/tara [INFO] tweaked toml for git repo https://github.com/artemisYo/tara written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/artemisYo/tara 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6170a77b6a6f101e5642fd241a0663bd59dbf09d0bb8239d4bb876a1fc4e9cf [INFO] running `Command { std: "docker" "start" "-a" "c6170a77b6a6f101e5642fd241a0663bd59dbf09d0bb8239d4bb876a1fc4e9cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6170a77b6a6f101e5642fd241a0663bd59dbf09d0bb8239d4bb876a1fc4e9cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6170a77b6a6f101e5642fd241a0663bd59dbf09d0bb8239d4bb876a1fc4e9cf", kill_on_drop: false }` [INFO] [stdout] c6170a77b6a6f101e5642fd241a0663bd59dbf09d0bb8239d4bb876a1fc4e9cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2770b4dbf04f1f9f4678cdcb8c75d28ff4d93ad74def89fd6c728fa952981a76 [INFO] running `Command { std: "docker" "start" "-a" "2770b4dbf04f1f9f4678cdcb8c75d28ff4d93ad74def89fd6c728fa952981a76", kill_on_drop: false }` [INFO] [stderr] Checking tara v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TokenNode` [INFO] [stdout] --> src/parser.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::tokenizer::{TokenKind, TokenView, TokenNode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenNode` [INFO] [stdout] --> src/parser.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::tokenizer::{TokenKind, TokenView, TokenNode}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tt` [INFO] [stdout] --> src/parser.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | fn block<'a>(&mut self, tt: TokenView<'a>) -> PRes<'a, BlockBase> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tt` [INFO] [stdout] --> src/parser.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | fn block<'a>(&mut self, tt: TokenView<'a>) -> PRes<'a, BlockBase> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ViewBase` is more private than the item `View<'a, T>` [INFO] [stdout] --> src/parser/prism.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a, T: ViewBase> View<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation `View<'a, T>` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `ViewBase` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser/prism.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | trait ViewBase { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ViewBase` is more private than the item `View::<'a, T>::cast` [INFO] [stdout] --> src/parser/prism.rs:97:2 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn cast(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `View::<'a, T>::cast` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `ViewBase` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser/prism.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | trait ViewBase { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ViewBase` is more private than the item `View::<'a, VecBase>::get` [INFO] [stdout] --> src/parser/prism.rs:252:2 [INFO] [stdout] | [INFO] [stdout] 252 | / pub fn get(&self, idx: usize) -> Option> [INFO] [stdout] 253 | | where T: ViewBase { [INFO] [stdout] | |_____________________^ method `View::<'a, VecBase>::get` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `ViewBase` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser/prism.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | trait ViewBase { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ViewBase` is more private than the item `View::<'a, prism::PairBase>::first` [INFO] [stdout] --> src/parser/prism.rs:270:2 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn first(&self) -> View<'a, T> where T: ViewBase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `View::<'a, prism::PairBase>::first` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `ViewBase` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser/prism.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | trait ViewBase { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ViewBase` is more private than the item `View::<'a, prism::PairBase>::second` [INFO] [stdout] --> src/parser/prism.rs:276:2 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn second(&self) -> View<'a, U> where U: ViewBase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `View::<'a, prism::PairBase>::second` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `ViewBase` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser/prism.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | trait ViewBase { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ViewBase` is more private than the item `View<'a, T>` [INFO] [stdout] --> src/parser/prism.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a, T: ViewBase> View<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation `View<'a, T>` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `ViewBase` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser/prism.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | trait ViewBase { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ViewBase` is more private than the item `View::<'a, T>::cast` [INFO] [stdout] --> src/parser/prism.rs:97:2 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn cast(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `View::<'a, T>::cast` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `ViewBase` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser/prism.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | trait ViewBase { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ViewBase` is more private than the item `View::<'a, VecBase>::get` [INFO] [stdout] --> src/parser/prism.rs:252:2 [INFO] [stdout] | [INFO] [stdout] 252 | / pub fn get(&self, idx: usize) -> Option> [INFO] [stdout] 253 | | where T: ViewBase { [INFO] [stdout] | |_____________________^ method `View::<'a, VecBase>::get` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `ViewBase` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser/prism.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | trait ViewBase { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ViewBase` is more private than the item `View::<'a, prism::PairBase>::first` [INFO] [stdout] --> src/parser/prism.rs:270:2 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn first(&self) -> View<'a, T> where T: ViewBase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `View::<'a, prism::PairBase>::first` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `ViewBase` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser/prism.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | trait ViewBase { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ViewBase` is more private than the item `View::<'a, prism::PairBase>::second` [INFO] [stdout] --> src/parser/prism.rs:276:2 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn second(&self) -> View<'a, U> where U: ViewBase { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `View::<'a, prism::PairBase>::second` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but trait `ViewBase` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/parser/prism.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | trait ViewBase { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/tokenizer.rs:56:2 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct TokenView<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 55 | tokens: &'a [TokenNode], [INFO] [stdout] 56 | source: &'a [Box], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenView` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_current_string` and `get_string` are never used [INFO] [stdout] --> src/tokenizer.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 92 | impl<'a> TokenView<'a> { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn get_current_string(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn get_string(&self, t: TokenNode) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/errors.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | impl UniqueError { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log_warning` is never used [INFO] [stdout] --> src/errors.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 35 | impl ErrorQueue { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn log_warning(&mut self, warning: E) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/prism.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct File(pub Vec); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `File` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/prism.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | Name(usize), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TreeKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 | Name(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/prism.rs:32:2 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum TreeKind { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 32 | Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | Let, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | IfExpr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | BiopExpr(Op), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | Funccall, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | Name(usize), [INFO] [stdout] 38 | Number(usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | TreeString(usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TreeKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_statement` and `is_expr` are never used [INFO] [stdout] --> src/parser/prism.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | impl TreeKind { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 50 | fn is_statement(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn is_expr(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/prism.rs:68:2 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum Op { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] 68 | Less, More, Equal, [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] 69 | LessEq, MoreEq, [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] 70 | Add, Sub, [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Op` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/tokenizer.rs:56:2 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct TokenView<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 55 | tokens: &'a [TokenNode], [INFO] [stdout] 56 | source: &'a [Box], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TokenView` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_current_string` and `get_string` are never used [INFO] [stdout] --> src/tokenizer.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 92 | impl<'a> TokenView<'a> { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn get_current_string(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn get_string(&self, t: TokenNode) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/errors.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | impl UniqueError { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 9 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log_warning` is never used [INFO] [stdout] --> src/errors.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 35 | impl ErrorQueue { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn log_warning(&mut self, warning: E) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/prism.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct File(pub Vec); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `File` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser/prism.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | Name(usize), [INFO] [stdout] | ---- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TreeKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 | Name(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/prism.rs:32:2 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum TreeKind { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 32 | Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | Let, [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | IfExpr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | BiopExpr(Op), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | Funccall, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | Name(usize), [INFO] [stdout] 38 | Number(usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | TreeString(usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TreeKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_statement` and `is_expr` are never used [INFO] [stdout] --> src/parser/prism.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | impl TreeKind { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 50 | fn is_statement(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn is_expr(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/prism.rs:68:2 [INFO] [stdout] | [INFO] [stdout] 67 | pub enum Op { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] 68 | Less, More, Equal, [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ [INFO] [stdout] 69 | LessEq, MoreEq, [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] 70 | Add, Sub, [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Op` 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: type alias `FileView` is never used [INFO] [stdout] --> src/parser/prism.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | pub type FileView<'a> = VecView<'a, Func<'a>>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `view` is never used [INFO] [stdout] --> src/parser/prism.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | impl File { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 75 | pub fn view<'a>(&'a self) -> FileView<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ViewBase` is never used [INFO] [stdout] --> src/parser/prism.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | trait ViewBase { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `View` is never constructed [INFO] [stdout] --> src/parser/prism.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct View<'a, T>(&'a [TreeNode], PhantomData); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_at`, `is_valid`, and `cast` are never used [INFO] [stdout] --> src/parser/prism.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a, T: ViewBase> View<'a, T> { [INFO] [stdout] | --------------------------------- associated items in this implementation [INFO] [stdout] 90 | fn new_at(slice: &'a [TreeNode]) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn cast(&self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Nil` is never used [INFO] [stdout] --> src/parser/prism.rs:149:6 [INFO] [stdout] | [INFO] [stdout] 149 | type Nil = (); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `VecView` is never used [INFO] [stdout] --> src/parser/prism.rs:226:10 [INFO] [stdout] | [INFO] [stdout] 226 | pub type VecView<'a, T> = View<'a, VecBase>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `in_bounds`, `get_offset`, and `get` are never used [INFO] [stdout] --> src/parser/prism.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 236 | impl<'a, T> VecView<'a, T> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 237 | fn in_bounds(&self, offset: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | fn get_offset(&self, idx: usize) -> Option<&'a [TreeNode]> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn get(&self, idx: usize) -> Option> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Pair` is never used [INFO] [stdout] --> src/parser/prism.rs:259:10 [INFO] [stdout] | [INFO] [stdout] 259 | pub type Pair<'a, T, U> = View<'a, PairBase>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `first`, `second_offset`, and `second` are never used [INFO] [stdout] --> src/parser/prism.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 269 | impl<'a, T, U> Pair<'a, T, U> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 270 | pub fn first(&self) -> View<'a, T> where T: ViewBase { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | fn second_offset(&self) -> &'a [TreeNode] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn second(&self) -> View<'a, U> where U: ViewBase { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Params` is never used [INFO] [stdout] --> src/parser/prism.rs:282:10 [INFO] [stdout] | [INFO] [stdout] 282 | pub type Params<'a> = VecView<'a, Pair<'a, Name<'a>, Name<'a>>>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Func` is never used [INFO] [stdout] --> src/parser/prism.rs:284:10 [INFO] [stdout] | [INFO] [stdout] 284 | pub type Func<'a> = View<'a, FuncBase>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `params`, `ret_offset`, `ret`, `body_offset`, and `body` are never used [INFO] [stdout] --> src/parser/prism.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 299 | impl<'a> Func<'a> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 300 | pub fn name(&self) -> Name<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn params(&self) -> Params<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | fn ret_offset(&self) -> &'a [TreeNode] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn ret(&self) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | fn body_offset(&self) -> &'a [TreeNode] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub fn body(&self) -> Block<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Statements` is never used [INFO] [stdout] --> src/parser/prism.rs:324:10 [INFO] [stdout] | [INFO] [stdout] 324 | pub type Statements<'a> = VecView<'a, Statement<'a>>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Block` is never used [INFO] [stdout] --> src/parser/prism.rs:326:10 [INFO] [stdout] | [INFO] [stdout] 326 | pub type Block<'a> = View<'a, BlockBase>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stmts`, `tail_offset`, and `tail` are never used [INFO] [stdout] --> src/parser/prism.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 336 | impl<'a> Block<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 337 | pub fn stmts(&self) -> Statements<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | fn tail_offset(&self) -> &'a [TreeNode] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub fn tail(&self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Statement` is never used [INFO] [stdout] --> src/parser/prism.rs:351:10 [INFO] [stdout] | [INFO] [stdout] 351 | pub type Statement<'a> = View<'a, StatementBase>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Expr` is never used [INFO] [stdout] --> src/parser/prism.rs:363:10 [INFO] [stdout] | [INFO] [stdout] 363 | pub type Expr<'a> = View<'a, ExprBase>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Let` is never used [INFO] [stdout] --> src/parser/prism.rs:382:10 [INFO] [stdout] | [INFO] [stdout] 382 | pub type Let<'a> = View<'a, LetBase>; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `initializer` are never used [INFO] [stdout] --> src/parser/prism.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 392 | impl<'a> Let<'a> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 393 | pub fn name(&self) -> Name<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | pub fn initializer(&self) -> Expr<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IfExpr` is never used [INFO] [stdout] --> src/parser/prism.rs:402:10 [INFO] [stdout] | [INFO] [stdout] 402 | pub type IfExpr<'a> = View<'a, IfExprBase>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `FileView` is never used [INFO] [stdout] --> src/parser/prism.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | pub type FileView<'a> = VecView<'a, Func<'a>>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cond`, `then_offset`, `then`, `else_offset`, and `else_` are never used [INFO] [stdout] --> src/parser/prism.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 416 | impl<'a> IfExpr<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 417 | pub fn cond(&self) -> Expr<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | fn then_offset(&self) -> &'a [TreeNode] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 423 | pub fn then(&self) -> Expr<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 426 | fn else_offset(&self) -> &'a [TreeNode] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn else_(&self) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `view` is never used [INFO] [stdout] --> src/parser/prism.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 74 | impl File { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 75 | pub fn view<'a>(&'a self) -> FileView<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ViewBase` is never used [INFO] [stdout] --> src/parser/prism.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | trait ViewBase { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `View` is never constructed [INFO] [stdout] --> src/parser/prism.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct View<'a, T>(&'a [TreeNode], PhantomData); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BiopExpr` is never used [INFO] [stdout] --> src/parser/prism.rs:438:10 [INFO] [stdout] | [INFO] [stdout] 438 | pub type BiopExpr<'a> = View<'a, BiopExprBase>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_at`, `is_valid`, and `cast` are never used [INFO] [stdout] --> src/parser/prism.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | impl<'a, T: ViewBase> View<'a, T> { [INFO] [stdout] | --------------------------------- associated items in this implementation [INFO] [stdout] 90 | fn new_at(slice: &'a [TreeNode]) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn cast(&self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Nil` is never used [INFO] [stdout] --> src/parser/prism.rs:149:6 [INFO] [stdout] | [INFO] [stdout] 149 | type Nil = (); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `VecView` is never used [INFO] [stdout] --> src/parser/prism.rs:226:10 [INFO] [stdout] | [INFO] [stdout] 226 | pub type VecView<'a, T> = View<'a, VecBase>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `in_bounds`, `get_offset`, and `get` are never used [INFO] [stdout] --> src/parser/prism.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 236 | impl<'a, T> VecView<'a, T> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] 237 | fn in_bounds(&self, offset: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | fn get_offset(&self, idx: usize) -> Option<&'a [TreeNode]> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn get(&self, idx: usize) -> Option> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `op`, `rhs`, `lhs_offset`, and `lhs` are never used [INFO] [stdout] --> src/parser/prism.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 448 | impl<'a> BiopExpr<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 449 | pub fn op(&self) -> Op { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 455 | pub fn rhs(&self) -> Expr<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 458 | fn lhs_offset(&self) -> &'a [TreeNode] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | pub fn lhs(&self) -> Expr<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Pair` is never used [INFO] [stdout] --> src/parser/prism.rs:259:10 [INFO] [stdout] | [INFO] [stdout] 259 | pub type Pair<'a, T, U> = View<'a, PairBase>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Args` is never used [INFO] [stdout] --> src/parser/prism.rs:467:10 [INFO] [stdout] | [INFO] [stdout] 467 | pub type Args<'a> = VecView<'a, Expr<'a>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `first`, `second_offset`, and `second` are never used [INFO] [stdout] --> src/parser/prism.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 269 | impl<'a, T, U> Pair<'a, T, U> { [INFO] [stdout] | ----------------------------- methods in this implementation [INFO] [stdout] 270 | pub fn first(&self) -> View<'a, T> where T: ViewBase { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | fn second_offset(&self) -> &'a [TreeNode] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn second(&self) -> View<'a, U> where U: ViewBase { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Funccall` is never used [INFO] [stdout] --> src/parser/prism.rs:469:10 [INFO] [stdout] | [INFO] [stdout] 469 | pub type Funccall<'a> = View<'a, FunccallBase>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Params` is never used [INFO] [stdout] --> src/parser/prism.rs:282:10 [INFO] [stdout] | [INFO] [stdout] 282 | pub type Params<'a> = VecView<'a, Pair<'a, Name<'a>, Name<'a>>>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Func` is never used [INFO] [stdout] --> src/parser/prism.rs:284:10 [INFO] [stdout] | [INFO] [stdout] 284 | pub type Func<'a> = View<'a, FuncBase>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `base`, `args_offset`, and `args` are never used [INFO] [stdout] --> src/parser/prism.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 470 | impl<'a> Funccall<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 471 | pub fn base(&self) -> Expr<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | fn args_offset(&self) -> &'a [TreeNode] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | pub fn args(&self) -> Args<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name`, `params`, `ret_offset`, `ret`, `body_offset`, and `body` are never used [INFO] [stdout] --> src/parser/prism.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 299 | impl<'a> Func<'a> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 300 | pub fn name(&self) -> Name<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn params(&self) -> Params<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | fn ret_offset(&self) -> &'a [TreeNode] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn ret(&self) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | fn body_offset(&self) -> &'a [TreeNode] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub fn body(&self) -> Block<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Name` is never used [INFO] [stdout] --> src/parser/prism.rs:492:10 [INFO] [stdout] | [INFO] [stdout] 492 | pub type Name<'a> = View<'a, NameBase>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Statements` is never used [INFO] [stdout] --> src/parser/prism.rs:324:10 [INFO] [stdout] | [INFO] [stdout] 324 | pub type Statements<'a> = VecView<'a, Statement<'a>>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Block` is never used [INFO] [stdout] --> src/parser/prism.rs:326:10 [INFO] [stdout] | [INFO] [stdout] 326 | pub type Block<'a> = View<'a, BlockBase>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Number` is never used [INFO] [stdout] --> src/parser/prism.rs:503:10 [INFO] [stdout] | [INFO] [stdout] 503 | pub type Number<'a> = View<'a, NumberBase>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `stmts`, `tail_offset`, and `tail` are never used [INFO] [stdout] --> src/parser/prism.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 336 | impl<'a> Block<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 337 | pub fn stmts(&self) -> Statements<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | fn tail_offset(&self) -> &'a [TreeNode] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub fn tail(&self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Statement` is never used [INFO] [stdout] --> src/parser/prism.rs:351:10 [INFO] [stdout] | [INFO] [stdout] 351 | pub type Statement<'a> = View<'a, StatementBase>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TreeString` is never used [INFO] [stdout] --> src/parser/prism.rs:514:10 [INFO] [stdout] | [INFO] [stdout] 514 | pub type TreeString<'a> = View<'a, TreeStringBase>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Expr` is never used [INFO] [stdout] --> src/parser/prism.rs:363:10 [INFO] [stdout] | [INFO] [stdout] 363 | pub type Expr<'a> = View<'a, ExprBase>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Let` is never used [INFO] [stdout] --> src/parser/prism.rs:382:10 [INFO] [stdout] | [INFO] [stdout] 382 | pub type Let<'a> = View<'a, LetBase>; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `initializer` are never used [INFO] [stdout] --> src/parser/prism.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 392 | impl<'a> Let<'a> { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 393 | pub fn name(&self) -> Name<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | pub fn initializer(&self) -> Expr<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `IfExpr` is never used [INFO] [stdout] --> src/parser/prism.rs:402:10 [INFO] [stdout] | [INFO] [stdout] 402 | pub type IfExpr<'a> = View<'a, IfExprBase>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cond`, `then_offset`, `then`, `else_offset`, and `else_` are never used [INFO] [stdout] --> src/parser/prism.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 416 | impl<'a> IfExpr<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 417 | pub fn cond(&self) -> Expr<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 420 | fn then_offset(&self) -> &'a [TreeNode] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 423 | pub fn then(&self) -> Expr<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 426 | fn else_offset(&self) -> &'a [TreeNode] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn else_(&self) -> Option> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BiopExpr` is never used [INFO] [stdout] --> src/parser/prism.rs:438:10 [INFO] [stdout] | [INFO] [stdout] 438 | pub type BiopExpr<'a> = View<'a, BiopExprBase>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `op`, `rhs`, `lhs_offset`, and `lhs` are never used [INFO] [stdout] --> src/parser/prism.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 448 | impl<'a> BiopExpr<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 449 | pub fn op(&self) -> Op { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 455 | pub fn rhs(&self) -> Expr<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 458 | fn lhs_offset(&self) -> &'a [TreeNode] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | pub fn lhs(&self) -> Expr<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Args` is never used [INFO] [stdout] --> src/parser/prism.rs:467:10 [INFO] [stdout] | [INFO] [stdout] 467 | pub type Args<'a> = VecView<'a, Expr<'a>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Funccall` is never used [INFO] [stdout] --> src/parser/prism.rs:469:10 [INFO] [stdout] | [INFO] [stdout] 469 | pub type Funccall<'a> = View<'a, FunccallBase>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `base`, `args_offset`, and `args` are never used [INFO] [stdout] --> src/parser/prism.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 470 | impl<'a> Funccall<'a> { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 471 | pub fn base(&self) -> Expr<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 474 | fn args_offset(&self) -> &'a [TreeNode] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | pub fn args(&self) -> Args<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Name` is never used [INFO] [stdout] --> src/parser/prism.rs:492:10 [INFO] [stdout] | [INFO] [stdout] 492 | pub type Name<'a> = View<'a, NameBase>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Number` is never used [INFO] [stdout] --> src/parser/prism.rs:503:10 [INFO] [stdout] | [INFO] [stdout] 503 | pub type Number<'a> = View<'a, NumberBase>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TreeString` is never used [INFO] [stdout] --> src/parser/prism.rs:514:10 [INFO] [stdout] | [INFO] [stdout] 514 | pub type TreeString<'a> = View<'a, TreeStringBase>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "2770b4dbf04f1f9f4678cdcb8c75d28ff4d93ad74def89fd6c728fa952981a76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2770b4dbf04f1f9f4678cdcb8c75d28ff4d93ad74def89fd6c728fa952981a76", kill_on_drop: false }` [INFO] [stdout] 2770b4dbf04f1f9f4678cdcb8c75d28ff4d93ad74def89fd6c728fa952981a76