[INFO] cloning repository https://github.com/siliangQ/curve_fitting_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/siliangQ/curve_fitting_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsiliangQ%2Fcurve_fitting_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsiliangQ%2Fcurve_fitting_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 20830563e5a660d315628c2c11cad52ae096e742
[INFO] checking siliangQ/curve_fitting_rs against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FsiliangQ%2Fcurve_fitting_rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/siliangQ/curve_fitting_rs
[INFO] finished tweaking git repo https://github.com/siliangQ/curve_fitting_rs
[INFO] tweaked toml for git repo https://github.com/siliangQ/curve_fitting_rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/siliangQ/curve_fitting_rs on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/siliangQ/curve_fitting_rs 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.62
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.62
[INFO] [stderr]   Downloaded proc-macro2 v1.0.17
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.62
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.62
[INFO] [stderr]   Downloaded c_vec v1.0.12
[INFO] [stderr]   Downloaded pathfinder_simd v0.5.0
[INFO] [stderr]   Downloaded font-kit v0.7.0
[INFO] [stderr]   Downloaded js-sys v0.3.39
[INFO] [stderr]   Downloaded bumpalo v3.3.0
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.62
[INFO] [stderr]   Downloaded syn v1.0.27
[INFO] [stderr]   Downloaded GSL v1.1.0
[INFO] [stderr]   Downloaded web-sys v0.3.39
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 16331f0f74947601c30fbf5adef833e24e186f02e4f123e398055049355d323f
[INFO] running `Command { std: "docker" "start" "-a" "16331f0f74947601c30fbf5adef833e24e186f02e4f123e398055049355d323f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "16331f0f74947601c30fbf5adef833e24e186f02e4f123e398055049355d323f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16331f0f74947601c30fbf5adef833e24e186f02e4f123e398055049355d323f", kill_on_drop: false }`
[INFO] [stdout] 16331f0f74947601c30fbf5adef833e24e186f02e4f123e398055049355d323f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 91a8e19b5a3adf3d8fb0c84c7ac7f86028ca54acec90b046a134b16f56f863b7
[INFO] running `Command { std: "docker" "start" "-a" "91a8e19b5a3adf3d8fb0c84c7ac7f86028ca54acec90b046a134b16f56f863b7", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling cc v1.0.54
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.17
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling servo-fontconfig-sys v4.0.9
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling syn v1.0.27
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking miniz_oxide v0.3.6
[INFO] [stderr]    Compiling pathfinder_simd v0.5.0
[INFO] [stderr]    Compiling palette v0.5.0
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]    Compiling GSL v1.1.0
[INFO] [stderr]     Checking bytemuck v1.2.0
[INFO] [stderr]     Checking float-ord v0.2.0
[INFO] [stderr]     Checking c_vec v1.0.12
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]     Checking pathfinder_geometry v0.5.1
[INFO] [stderr]     Checking deflate v0.8.4
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]     Checking tiff v0.4.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking dirs-sys v0.3.4
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking dirs v2.0.2
[INFO] [stderr]    Compiling quote v1.0.6
[INFO] [stderr]     Checking crossbeam-queue v0.2.1
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking ordered-float v1.0.2
[INFO] [stderr]     Checking png v0.16.3
[INFO] [stderr]    Compiling cmake v0.1.44
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking rusttype v0.8.3
[INFO] [stderr]     Checking chrono v0.4.11
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]    Compiling servo-freetype-sys v4.0.5
[INFO] [stderr]    Compiling expat-sys v2.1.6
[INFO] [stderr]     Checking freetype v0.4.1
[INFO] [stderr]     Checking servo-fontconfig v0.4.0
[INFO] [stderr]     Checking font-kit v0.7.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.19
[INFO] [stderr]     Checking image v0.23.4
[INFO] [stderr]    Compiling palette_derive v0.5.0
[INFO] [stderr]     Checking plotters v0.2.15
[INFO] [stderr]     Checking curve_fitting v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::cell::RefCell;
[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 import: `std::io::BufReader`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::io::BufReader;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ImageFormat` and `imageops::FilterType`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use image::{imageops::FilterType, ImageFormat};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/main.rs:54:11
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn exp_df(x: &rgsl::VectorF64, J: &mut rgsl::MatrixF64, data: &Data) -> rgsl::Value {
[INFO] [stdout]    |           ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `image_path`
[INFO] [stdout]   --> src/main.rs:93:110
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn plot_parabola(data: &Data, params: &rgsl::VectorF64, additional_points: Vec<Vec<f64>>, fig_path: &String, image_path: &String){
[INFO] [stdout]    |                                                                                                              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:24:28
[INFO] [stdout]     |
[INFO] [stdout]  24 |       (@param $x:ident) => ( mut $x );
[INFO] [stdout]     |                              ----^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              help: remove this `mut`
[INFO] [stdout] ...
[INFO] [stdout] 229 |       let expb_f = clone!(data => move |x, f| {
[INFO] [stdout]     |  __________________-
[INFO] [stdout] 230 | |         exp_f(&x, &mut f, &*data)
[INFO] [stdout] 231 | |     });
[INFO] [stdout]     | |______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:24:28
[INFO] [stdout]     |
[INFO] [stdout]  24 |       (@param $x:ident) => ( mut $x );
[INFO] [stdout]     |                              ----^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              help: remove this `mut`
[INFO] [stdout] ...
[INFO] [stdout] 233 |       let expb_df = clone!(data => move |x, J| {
[INFO] [stdout]     |  ___________________-
[INFO] [stdout] 234 | |         exp_df(&x, &mut J, &*data)
[INFO] [stdout] 235 | |     });
[INFO] [stdout]     | |______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:24:28
[INFO] [stdout]     |
[INFO] [stdout]  24 |       (@param $x:ident) => ( mut $x );
[INFO] [stdout]     |                              ----^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              help: remove this `mut`
[INFO] [stdout] ...
[INFO] [stdout] 237 |       let expb_fdf = clone!(data => move |x, f, J| {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 238 | |         exp_f(&x, &mut f, &*data);
[INFO] [stdout] 239 | |         exp_df(&x, &mut J, &*data);
[INFO] [stdout] ...   |
[INFO] [stdout] 242 | |     });
[INFO] [stdout]     | |______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:212:9
[INFO] [stdout]     |
[INFO] [stdout] 212 |     let mut J = match rgsl::MatrixF64::new(num_params, num_params){
[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/main.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let mut rng = match rgsl::Rng::new(&rng_type){
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `J`
[INFO] [stdout]    --> src/main.rs:212:9
[INFO] [stdout]     |
[INFO] [stdout] 212 |     let mut J = match rgsl::MatrixF64::new(num_params, num_params){
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_J`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]    --> src/main.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let mut rng = match rgsl::Rng::new(&rng_type){
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `status` is never read
[INFO] [stdout]    --> src/main.rs:210:22
[INFO] [stdout]     |
[INFO] [stdout] 210 |     let mut status = rgsl::Value::Success;
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `theta_2` is never read
[INFO] [stdout]    --> src/main.rs:285:27
[INFO] [stdout]     |
[INFO] [stdout] 285 |         let mut theta_2 = 0f64;
[INFO] [stdout]     |                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `theta` is never read
[INFO] [stdout]    --> src/main.rs:286:25
[INFO] [stdout]     |
[INFO] [stdout] 286 |         let mut theta = 0f64;
[INFO] [stdout]     |                         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:369:21
[INFO] [stdout]     |
[INFO] [stdout] 369 |                 let mut data = Rc::new(Data{
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:379:29
[INFO] [stdout]     |
[INFO] [stdout] 379 |                         Err(e) => panic!("can't reconstruct curve")
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fig_path`
[INFO] [stdout]    --> src/main.rs:403:25
[INFO] [stdout]     |
[INFO] [stdout] 403 |                     let fig_path: String = format!("./figs_mm/{}_{}.png", elements[0], elements[2]);
[INFO] [stdout]     |                         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fig_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bound_in_axis` is never used
[INFO] [stdout]   --> src/main.rs:86:4
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn bound_in_axis(x: f32, y: f32) -> bool{
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plot_parabola` is never used
[INFO] [stdout]   --> src/main.rs:93:4
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn plot_parabola(data: &Data, params: &rgsl::VectorF64, additional_points: Vec<Vec<f64>>, fig_path: &String, image_path: &String){
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `J` should have a snake case name
[INFO] [stdout]   --> src/main.rs:54:32
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn exp_df(x: &rgsl::VectorF64, J: &mut rgsl::MatrixF64, data: &Data) -> rgsl::Value {
[INFO] [stdout]    |                                ^ help: convert the identifier to snake case: `j`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `J` should have a snake case name
[INFO] [stdout]    --> src/main.rs:212:13
[INFO] [stdout]     |
[INFO] [stdout] 212 |     let mut J = match rgsl::MatrixF64::new(num_params, num_params){
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `J` should have a snake case name
[INFO] [stdout]    --> src/main.rs:233:43
[INFO] [stdout]     |
[INFO] [stdout] 233 |     let expb_df = clone!(data => move |x, J| {
[INFO] [stdout]     |                                           ^ help: convert the identifier to snake case: `j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `J` should have a snake case name
[INFO] [stdout]    --> src/main.rs:237:47
[INFO] [stdout]     |
[INFO] [stdout] 237 |     let expb_fdf = clone!(data => move |x, f, J| {
[INFO] [stdout]     |                                               ^ help: convert the identifier to snake case: `j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/main.rs:360:9
[INFO] [stdout]     |
[INFO] [stdout] 360 |         file.write_all(b"scanId\teyeId\tbscanId\tpm0xmm\tpm0ymm\tpm0zmm\tpm1xmm\tpm1ymm\tpm1zmm\n");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 360 |         let _ = file.write_all(b"scanId\teyeId\tbscanId\tpm0xmm\tpm0ymm\tpm0zmm\tpm1xmm\tpm1ymm\tpm1zmm\n");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::cell::RefCell;
[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 import: `std::io::BufReader`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::io::BufReader;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ImageFormat` and `imageops::FilterType`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use image::{imageops::FilterType, ImageFormat};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/main.rs:54:11
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn exp_df(x: &rgsl::VectorF64, J: &mut rgsl::MatrixF64, data: &Data) -> rgsl::Value {
[INFO] [stdout]    |           ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `image_path`
[INFO] [stdout]   --> src/main.rs:93:110
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn plot_parabola(data: &Data, params: &rgsl::VectorF64, additional_points: Vec<Vec<f64>>, fig_path: &String, image_path: &String){
[INFO] [stdout]    |                                                                                                              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:24:28
[INFO] [stdout]     |
[INFO] [stdout]  24 |       (@param $x:ident) => ( mut $x );
[INFO] [stdout]     |                              ----^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              help: remove this `mut`
[INFO] [stdout] ...
[INFO] [stdout] 229 |       let expb_f = clone!(data => move |x, f| {
[INFO] [stdout]     |  __________________-
[INFO] [stdout] 230 | |         exp_f(&x, &mut f, &*data)
[INFO] [stdout] 231 | |     });
[INFO] [stdout]     | |______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:24:28
[INFO] [stdout]     |
[INFO] [stdout]  24 |       (@param $x:ident) => ( mut $x );
[INFO] [stdout]     |                              ----^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              help: remove this `mut`
[INFO] [stdout] ...
[INFO] [stdout] 233 |       let expb_df = clone!(data => move |x, J| {
[INFO] [stdout]     |  ___________________-
[INFO] [stdout] 234 | |         exp_df(&x, &mut J, &*data)
[INFO] [stdout] 235 | |     });
[INFO] [stdout]     | |______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:24:28
[INFO] [stdout]     |
[INFO] [stdout]  24 |       (@param $x:ident) => ( mut $x );
[INFO] [stdout]     |                              ----^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              help: remove this `mut`
[INFO] [stdout] ...
[INFO] [stdout] 237 |       let expb_fdf = clone!(data => move |x, f, J| {
[INFO] [stdout]     |  ____________________-
[INFO] [stdout] 238 | |         exp_f(&x, &mut f, &*data);
[INFO] [stdout] 239 | |         exp_df(&x, &mut J, &*data);
[INFO] [stdout] ...   |
[INFO] [stdout] 242 | |     });
[INFO] [stdout]     | |______- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `clone` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:212:9
[INFO] [stdout]     |
[INFO] [stdout] 212 |     let mut J = match rgsl::MatrixF64::new(num_params, num_params){
[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/main.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let mut rng = match rgsl::Rng::new(&rng_type){
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `J`
[INFO] [stdout]    --> src/main.rs:212:9
[INFO] [stdout]     |
[INFO] [stdout] 212 |     let mut J = match rgsl::MatrixF64::new(num_params, num_params){
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_J`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]    --> src/main.rs:221:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |     let mut rng = match rgsl::Rng::new(&rng_type){
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `status` is never read
[INFO] [stdout]    --> src/main.rs:210:22
[INFO] [stdout]     |
[INFO] [stdout] 210 |     let mut status = rgsl::Value::Success;
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `theta_2` is never read
[INFO] [stdout]    --> src/main.rs:285:27
[INFO] [stdout]     |
[INFO] [stdout] 285 |         let mut theta_2 = 0f64;
[INFO] [stdout]     |                           ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `theta` is never read
[INFO] [stdout]    --> src/main.rs:286:25
[INFO] [stdout]     |
[INFO] [stdout] 286 |         let mut theta = 0f64;
[INFO] [stdout]     |                         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:369:21
[INFO] [stdout]     |
[INFO] [stdout] 369 |                 let mut data = Rc::new(Data{
[INFO] [stdout]     |                     ----^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/main.rs:379:29
[INFO] [stdout]     |
[INFO] [stdout] 379 |                         Err(e) => panic!("can't reconstruct curve")
[INFO] [stdout]     |                             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fig_path`
[INFO] [stdout]    --> src/main.rs:403:25
[INFO] [stdout]     |
[INFO] [stdout] 403 |                     let fig_path: String = format!("./figs_mm/{}_{}.png", elements[0], elements[2]);
[INFO] [stdout]     |                         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fig_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `bound_in_axis` is never used
[INFO] [stdout]   --> src/main.rs:86:4
[INFO] [stdout]    |
[INFO] [stdout] 86 | fn bound_in_axis(x: f32, y: f32) -> bool{
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `plot_parabola` is never used
[INFO] [stdout]   --> src/main.rs:93:4
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn plot_parabola(data: &Data, params: &rgsl::VectorF64, additional_points: Vec<Vec<f64>>, fig_path: &String, image_path: &String){
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `J` should have a snake case name
[INFO] [stdout]   --> src/main.rs:54:32
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn exp_df(x: &rgsl::VectorF64, J: &mut rgsl::MatrixF64, data: &Data) -> rgsl::Value {
[INFO] [stdout]    |                                ^ help: convert the identifier to snake case: `j`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `J` should have a snake case name
[INFO] [stdout]    --> src/main.rs:212:13
[INFO] [stdout]     |
[INFO] [stdout] 212 |     let mut J = match rgsl::MatrixF64::new(num_params, num_params){
[INFO] [stdout]     |             ^ help: convert the identifier to snake case: `j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `J` should have a snake case name
[INFO] [stdout]    --> src/main.rs:233:43
[INFO] [stdout]     |
[INFO] [stdout] 233 |     let expb_df = clone!(data => move |x, J| {
[INFO] [stdout]     |                                           ^ help: convert the identifier to snake case: `j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `J` should have a snake case name
[INFO] [stdout]    --> src/main.rs:237:47
[INFO] [stdout]     |
[INFO] [stdout] 237 |     let expb_fdf = clone!(data => move |x, f, J| {
[INFO] [stdout]     |                                               ^ help: convert the identifier to snake case: `j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/main.rs:360:9
[INFO] [stdout]     |
[INFO] [stdout] 360 |         file.write_all(b"scanId\teyeId\tbscanId\tpm0xmm\tpm0ymm\tpm0zmm\tpm1xmm\tpm1ymm\tpm1zmm\n");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 360 |         let _ = file.write_all(b"scanId\teyeId\tbscanId\tpm0xmm\tpm0ymm\tpm0zmm\tpm1xmm\tpm1ymm\tpm1zmm\n");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.89s
[INFO] running `Command { std: "docker" "inspect" "91a8e19b5a3adf3d8fb0c84c7ac7f86028ca54acec90b046a134b16f56f863b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91a8e19b5a3adf3d8fb0c84c7ac7f86028ca54acec90b046a134b16f56f863b7", kill_on_drop: false }`
[INFO] [stdout] 91a8e19b5a3adf3d8fb0c84c7ac7f86028ca54acec90b046a134b16f56f863b7
