[INFO] cloning repository https://github.com/dsekercioglu/doodlang
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dsekercioglu/doodlang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsekercioglu%2Fdoodlang", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsekercioglu%2Fdoodlang'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 716209877ec2e4f70bfe45443068b71dc85f4d89
[INFO] checking dsekercioglu/doodlang against try#0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef for pr-147859
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdsekercioglu%2Fdoodlang" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dsekercioglu/doodlang
[INFO] finished tweaking git repo https://github.com/dsekercioglu/doodlang
[INFO] tweaked toml for git repo https://github.com/dsekercioglu/doodlang written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dsekercioglu/doodlang on toolchain 0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dsekercioglu/doodlang 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" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded text_io v0.1.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 000141b6a3dadde96fbc613c2e0e2f5f7b9b6b56144c1f50edccfbf08b2f2dc6
[INFO] running `Command { std: "docker" "start" "-a" "000141b6a3dadde96fbc613c2e0e2f5f7b9b6b56144c1f50edccfbf08b2f2dc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "000141b6a3dadde96fbc613c2e0e2f5f7b9b6b56144c1f50edccfbf08b2f2dc6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "000141b6a3dadde96fbc613c2e0e2f5f7b9b6b56144c1f50edccfbf08b2f2dc6", kill_on_drop: false }`
[INFO] [stdout] 000141b6a3dadde96fbc613c2e0e2f5f7b9b6b56144c1f50edccfbf08b2f2dc6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bcbba4d048210bcdbf9bdadf8440e8ce6c459e260ec40ccb1b76d8c6dab167b0
[INFO] running `Command { std: "docker" "start" "-a" "bcbba4d048210bcdbf9bdadf8440e8ce6c459e260ec40ccb1b76d8c6dab167b0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]     Checking ppv-lite86 v0.2.9
[INFO] [stderr]     Checking text_io v0.1.8
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking doodlang v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::eq_solver::matrix::Matrix`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::eq_solver::matrix::Matrix;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FunctionManager`, `Parser`, and `generate_tree`
[INFO] [stdout]  --> src/main.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use doodlang::parser::{Parser, FunctionManager, Node, generate_tree};
[INFO] [stdout]   |                        ^^^^^^  ^^^^^^^^^^^^^^^        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PolyApprox` and `SecantSolver`
[INFO] [stdout]  --> src/main.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::eq_solver::approx::{PolyApprox, SecantSolver};
[INFO] [stdout]   |                                ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::print_vec`
[INFO] [stdout]  --> src/eq_solver/approx.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::print_vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/eq_solver/function.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Index`, `Mul`, and `Neg`
[INFO] [stdout]  --> src/eq_solver/matrix.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Mul, Index, Neg};
[INFO] [stdout]   |                ^^^  ^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::print_vec`
[INFO] [stdout]  --> src/eq_solver/matrix.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::print_vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/doodlang/interpreter.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/doodlang/interpreter.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `generate_tree`
[INFO] [stdout]  --> src/doodlang/interpreter.rs:3:48
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::doodlang::parser::{FunctionManager, generate_tree, smart_generate_tree};
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/doodlang/parser.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::print_vec`
[INFO] [stdout]  --> src/doodlang/parser.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::print_vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/doodlang/parser.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::eq_solver::matrix::Matrix`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::eq_solver::matrix::Matrix;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FunctionManager`, `Parser`, and `generate_tree`
[INFO] [stdout]  --> src/main.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use doodlang::parser::{Parser, FunctionManager, Node, generate_tree};
[INFO] [stdout]   |                        ^^^^^^  ^^^^^^^^^^^^^^^        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PolyApprox` and `SecantSolver`
[INFO] [stdout]  --> src/main.rs:4:32
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::eq_solver::approx::{PolyApprox, SecantSolver};
[INFO] [stdout]   |                                ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::print_vec`
[INFO] [stdout]  --> src/eq_solver/approx.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::print_vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/eq_solver/function.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Index`, `Mul`, and `Neg`
[INFO] [stdout]  --> src/eq_solver/matrix.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ops::{Mul, Index, Neg};
[INFO] [stdout]   |                ^^^  ^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::print_vec`
[INFO] [stdout]  --> src/eq_solver/matrix.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::print_vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/doodlang/interpreter.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/doodlang/interpreter.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `generate_tree`
[INFO] [stdout]  --> src/doodlang/interpreter.rs:3:48
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::doodlang::parser::{FunctionManager, generate_tree, smart_generate_tree};
[INFO] [stdout]   |                                                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/doodlang/parser.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::print_vec`
[INFO] [stdout]  --> src/doodlang/parser.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::print_vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/doodlang/parser.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/doodlang/parser.rs:284:17
[INFO] [stdout]     |
[INFO] [stdout] 284 |             let mut min_func_scope = function_in_scope(node_formula, "ln", min_local_scope);
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/doodlang/parser.rs:292:17
[INFO] [stdout]     |
[INFO] [stdout] 292 |             let mut min_func_scope = function_in_scope(node_formula, "sin", min_local_scope);
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/doodlang/parser.rs:300:17
[INFO] [stdout]     |
[INFO] [stdout] 300 |             let mut min_func_scope = function_in_scope(node_formula, "cos", min_local_scope);
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stuff` is never used
[INFO] [stdout]   --> src/main.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn stuff(range: usize) -> [usize; 2] {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `degree` is never read
[INFO] [stdout]  --> src/eq_solver/approx.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct PolyApprox {
[INFO] [stdout]   |            ---------- field in this struct
[INFO] [stdout] 8 |     degree: usize,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `approx1d` are never used
[INFO] [stdout]   --> src/eq_solver/approx.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl PolyApprox {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(degree: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn approx1d(&mut self, function_manager: &mut Box<FunctionManager>, function: &mut Box<dyn Function>, parameter: &str, range...
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `range`, `regress_range`, `attempt_num`, `iter`, `margin`, and `poly` are never read
[INFO] [stdout]    --> src/eq_solver/approx.rs:95:5
[INFO] [stdout]     |
[INFO] [stdout]  94 | pub struct QuadFind {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout]  95 |     range: [f64; 2],
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]  96 |     regress_range: f64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]  97 |     attempt_num: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]  98 |     iter: usize,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]  99 |     margin: f64,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 100 |     poly: PolyApprox,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `solve_for_param` is never used
[INFO] [stdout]    --> src/eq_solver/approx.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | impl QuadFind {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn solve_for_param(&mut self, func: &mut Box<dyn Function>, func_manager: &mut Box<FunctionManager>, param: &str) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `quad_solver` is never read
[INFO] [stdout]   --> src/doodlang/interpreter.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct DoodlangInterpreter<'a> {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     quad_solver: QuadFind,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Parser` is never constructed
[INFO] [stdout]  --> src/doodlang/parser.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Parser;
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_tree` is never used
[INFO] [stdout]    --> src/doodlang/parser.rs:212:8
[INFO] [stdout]     |
[INFO] [stdout] 212 | pub fn generate_tree(formula: &str) -> Node<[usize; 2]> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/doodlang/interpreter.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn new(code: &str) -> DoodlangInterpreter {
[INFO] [stdout]    |                      ^^^^     ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn new(code: &str) -> DoodlangInterpreter<'_> {
[INFO] [stdout]    |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/doodlang/parser.rs:284:17
[INFO] [stdout]     |
[INFO] [stdout] 284 |             let mut min_func_scope = function_in_scope(node_formula, "ln", min_local_scope);
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/doodlang/parser.rs:292:17
[INFO] [stdout]     |
[INFO] [stdout] 292 |             let mut min_func_scope = function_in_scope(node_formula, "sin", min_local_scope);
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/doodlang/parser.rs:300:17
[INFO] [stdout]     |
[INFO] [stdout] 300 |             let mut min_func_scope = function_in_scope(node_formula, "cos", min_local_scope);
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `stuff` is never used
[INFO] [stdout]   --> src/main.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn stuff(range: usize) -> [usize; 2] {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `degree` is never read
[INFO] [stdout]  --> src/eq_solver/approx.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct PolyApprox {
[INFO] [stdout]   |            ---------- field in this struct
[INFO] [stdout] 8 |     degree: usize,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `approx1d` are never used
[INFO] [stdout]   --> src/eq_solver/approx.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl PolyApprox {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(degree: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub fn approx1d(&mut self, function_manager: &mut Box<FunctionManager>, function: &mut Box<dyn Function>, parameter: &str, range...
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `range`, `regress_range`, `attempt_num`, `iter`, `margin`, and `poly` are never read
[INFO] [stdout]    --> src/eq_solver/approx.rs:95:5
[INFO] [stdout]     |
[INFO] [stdout]  94 | pub struct QuadFind {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout]  95 |     range: [f64; 2],
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]  96 |     regress_range: f64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^
[INFO] [stdout]  97 |     attempt_num: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]  98 |     iter: usize,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]  99 |     margin: f64,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 100 |     poly: PolyApprox,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `solve_for_param` is never used
[INFO] [stdout]    --> src/eq_solver/approx.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | impl QuadFind {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn solve_for_param(&mut self, func: &mut Box<dyn Function>, func_manager: &mut Box<FunctionManager>, param: &str) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `quad_solver` is never read
[INFO] [stdout]   --> src/doodlang/interpreter.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct DoodlangInterpreter<'a> {
[INFO] [stdout]    |            ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 28 |     quad_solver: QuadFind,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Parser` is never constructed
[INFO] [stdout]  --> src/doodlang/parser.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Parser;
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_tree` is never used
[INFO] [stdout]    --> src/doodlang/parser.rs:212:8
[INFO] [stdout]     |
[INFO] [stdout] 212 | pub fn generate_tree(formula: &str) -> Node<[usize; 2]> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/doodlang/interpreter.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn new(code: &str) -> DoodlangInterpreter {
[INFO] [stdout]    |                      ^^^^     ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn new(code: &str) -> DoodlangInterpreter<'_> {
[INFO] [stdout]    |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.14s
[INFO] running `Command { std: "docker" "inspect" "bcbba4d048210bcdbf9bdadf8440e8ce6c459e260ec40ccb1b76d8c6dab167b0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bcbba4d048210bcdbf9bdadf8440e8ce6c459e260ec40ccb1b76d8c6dab167b0", kill_on_drop: false }`
[INFO] [stdout] bcbba4d048210bcdbf9bdadf8440e8ce6c459e260ec40ccb1b76d8c6dab167b0
