[INFO] cloning repository https://github.com/SE-691-Graphing-Calculator/esoteric_nonsense [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SE-691-Graphing-Calculator/esoteric_nonsense" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSE-691-Graphing-Calculator%2Fesoteric_nonsense", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSE-691-Graphing-Calculator%2Fesoteric_nonsense'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e8db69d3fec9df1911462ced94e1b21e3f798c4 [INFO] checking SE-691-Graphing-Calculator/esoteric_nonsense against master#9503ea19edbf01b9435e80e17d60ce1b88390116 for pr-81782 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSE-691-Graphing-Calculator%2Fesoteric_nonsense" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SE-691-Graphing-Calculator/esoteric_nonsense on toolchain 9503ea19edbf01b9435e80e17d60ce1b88390116 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SE-691-Graphing-Calculator/esoteric_nonsense [INFO] finished tweaking git repo https://github.com/SE-691-Graphing-Calculator/esoteric_nonsense [INFO] tweaked toml for git repo https://github.com/SE-691-Graphing-Calculator/esoteric_nonsense written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/SE-691-Graphing-Calculator/esoteric_nonsense already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-5/source/src/main.rs [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23cfd352f3c857551150148845f2d9b133f93f2b30d70439b958ec254aa4071d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "23cfd352f3c857551150148845f2d9b133f93f2b30d70439b958ec254aa4071d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23cfd352f3c857551150148845f2d9b133f93f2b30d70439b958ec254aa4071d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23cfd352f3c857551150148845f2d9b133f93f2b30d70439b958ec254aa4071d", kill_on_drop: false }` [INFO] [stdout] 23cfd352f3c857551150148845f2d9b133f93f2b30d70439b958ec254aa4071d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+9503ea19edbf01b9435e80e17d60ce1b88390116" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 128f224009c6305978752854e573dda1b7747dfe26a831334c996d2cc085a7fa [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "128f224009c6305978752854e573dda1b7747dfe26a831334c996d2cc085a7fa", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/src/main.rs [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking eq_solve v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `y_lower` [INFO] [stdout] --> src/main.rs:125:85 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn func_of_x (expression: String, x_lower: f64, x_upper: f64, x_precision: f64, y_lower: f64, y_upper: f64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_lower` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_upper` [INFO] [stdout] --> src/main.rs:125:99 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn func_of_x (expression: String, x_lower: f64, x_upper: f64, x_precision: f64, y_lower: f64, y_upper: f64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_upper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rr_mat_b` [INFO] [stdout] --> src/matrix.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let rr_mat_b = &mut r_mat_b; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rr_mat_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/matrix.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut result: String = "".to_string(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_lower` [INFO] [stdout] --> src/main.rs:125:85 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn func_of_x (expression: String, x_lower: f64, x_upper: f64, x_precision: f64, y_lower: f64, y_upper: f64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_lower` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_upper` [INFO] [stdout] --> src/main.rs:125:99 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn func_of_x (expression: String, x_lower: f64, x_upper: f64, x_precision: f64, y_lower: f64, y_upper: f64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_upper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rr_mat_b` [INFO] [stdout] --> src/matrix.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let rr_mat_b = &mut r_mat_b; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rr_mat_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/matrix.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut result: String = "".to_string(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 58 | pub unsafe extern "C" fn calculate(input: *const c_char) -> f64 { [INFO] [stdout] | --------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] 59 | let input_c_str: &CStr = unsafe { CStr::from_ptr(input)}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe extern "C" fn calculate_string(input: *const c_char) -> *mut c_char { [INFO] [stdout] | ------------------------------------------------------------------------------ because it's nested under this `unsafe` fn [INFO] [stdout] 66 | let input_c_str: &CStr = unsafe { CStr::from_ptr(input)}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WholeNumber` [INFO] [stdout] --> src/s_y.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | WholeNumber(i64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string_ast` [INFO] [stdout] --> src/s_y.rs:622:12 [INFO] [stdout] | [INFO] [stdout] 622 | pub fn to_string_ast(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `conversion_commander` [INFO] [stdout] --> src/conversions.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn conversion_commander(conversion_type: String, from_unit: String, to_unit: String, units: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `convert_temperature` [INFO] [stdout] --> src/conversions.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn convert_temperature(from_unit: &str, to_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_celsius` [INFO] [stdout] --> src/conversions.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn to_celsius(from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_delisle` [INFO] [stdout] --> src/conversions.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn to_delisle (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_fahrenheit` [INFO] [stdout] --> src/conversions.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn to_fahrenheit (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_kelvin` [INFO] [stdout] --> src/conversions.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn to_kelvin (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_newton` [INFO] [stdout] --> src/conversions.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn to_newton (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_rankine` [INFO] [stdout] --> src/conversions.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn to_rankine(from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_reaumer` [INFO] [stdout] --> src/conversions.rs:279:4 [INFO] [stdout] | [INFO] [stdout] 279 | fn to_reaumer (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_romer` [INFO] [stdout] --> src/conversions.rs:317:4 [INFO] [stdout] | [INFO] [stdout] 317 | fn to_romer (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `commander` [INFO] [stdout] --> src/matrix.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn commander(command: &str, matrix_a_in: &str, matrix_b_in: &str, scalar_1: f64, scalar_2: f64) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lower_upper_decomposition` [INFO] [stdout] --> src/matrix.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn lower_upper_decomposition(matrix: &Vec>) -> (Vec>, Vec>, Vec>, Vec>,) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pivotize_matrix` [INFO] [stdout] --> src/matrix.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn pivotize_matrix(matrix: &Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `zero_matrix` [INFO] [stdout] --> src/matrix.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn zero_matrix(rows: usize, cols: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identity_matrix` [INFO] [stdout] --> src/matrix.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn identity_matrix(n: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `matrix_multiplication` [INFO] [stdout] --> src/matrix.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn matrix_multiplication(a: &Vec>, b: &Vec>) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reduced_row_echelon_form` [INFO] [stdout] --> src/matrix.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn reduced_row_echelon_form(matrix: &mut Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `subtract_matrices` [INFO] [stdout] --> src/matrix.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn subtract_matrices(matrix_a: Vec>, matrix_b: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_matrices` [INFO] [stdout] --> src/matrix.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn add_matrices(matrix_a: Vec>, matrix_b: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scalar_multiplication` [INFO] [stdout] --> src/matrix.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn scalar_multiplication(matrix: &mut Vec>, scalar: f64 ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `minor` [INFO] [stdout] --> src/matrix.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | fn minor( a: &mut Vec>, x: usize, y: usize) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `determinant` [INFO] [stdout] --> src/matrix.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn determinant(matrix: &mut Vec>) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `permanent` [INFO] [stdout] --> src/matrix.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn permanent(matrix: &mut Vec>) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `matrix_transpose` [INFO] [stdout] --> src/matrix.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn matrix_transpose(matrix: &mut Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_square` [INFO] [stdout] --> src/matrix.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn is_square(matrix: &Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_rref_compat` [INFO] [stdout] --> src/matrix.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn is_rref_compat(matrix: &Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_matrices` [INFO] [stdout] --> src/matrix.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn parse_matrices(matrix_in: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `string_from_vec_vec` [INFO] [stdout] --> src/matrix.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn string_from_vec_vec(matrix: Vec>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 58 | pub unsafe extern "C" fn calculate(input: *const c_char) -> f64 { [INFO] [stdout] | --------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] 59 | let input_c_str: &CStr = unsafe { CStr::from_ptr(input)}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe extern "C" fn calculate_string(input: *const c_char) -> *mut c_char { [INFO] [stdout] | ------------------------------------------------------------------------------ because it's nested under this `unsafe` fn [INFO] [stdout] 66 | let input_c_str: &CStr = unsafe { CStr::from_ptr(input)}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WholeNumber` [INFO] [stdout] --> src/s_y.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | WholeNumber(i64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string_ast` [INFO] [stdout] --> src/s_y.rs:622:12 [INFO] [stdout] | [INFO] [stdout] 622 | pub fn to_string_ast(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `conversion_commander` [INFO] [stdout] --> src/conversions.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn conversion_commander(conversion_type: String, from_unit: String, to_unit: String, units: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `convert_temperature` [INFO] [stdout] --> src/conversions.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn convert_temperature(from_unit: &str, to_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_celsius` [INFO] [stdout] --> src/conversions.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn to_celsius(from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_delisle` [INFO] [stdout] --> src/conversions.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn to_delisle (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_fahrenheit` [INFO] [stdout] --> src/conversions.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn to_fahrenheit (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_kelvin` [INFO] [stdout] --> src/conversions.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn to_kelvin (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_newton` [INFO] [stdout] --> src/conversions.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn to_newton (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_rankine` [INFO] [stdout] --> src/conversions.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn to_rankine(from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_reaumer` [INFO] [stdout] --> src/conversions.rs:279:4 [INFO] [stdout] | [INFO] [stdout] 279 | fn to_reaumer (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_romer` [INFO] [stdout] --> src/conversions.rs:317:4 [INFO] [stdout] | [INFO] [stdout] 317 | fn to_romer (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `commander` [INFO] [stdout] --> src/matrix.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn commander(command: &str, matrix_a_in: &str, matrix_b_in: &str, scalar_1: f64, scalar_2: f64) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lower_upper_decomposition` [INFO] [stdout] --> src/matrix.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn lower_upper_decomposition(matrix: &Vec>) -> (Vec>, Vec>, Vec>, Vec>,) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pivotize_matrix` [INFO] [stdout] --> src/matrix.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn pivotize_matrix(matrix: &Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `zero_matrix` [INFO] [stdout] --> src/matrix.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn zero_matrix(rows: usize, cols: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `identity_matrix` [INFO] [stdout] --> src/matrix.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn identity_matrix(n: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `matrix_multiplication` [INFO] [stdout] --> src/matrix.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn matrix_multiplication(a: &Vec>, b: &Vec>) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reduced_row_echelon_form` [INFO] [stdout] --> src/matrix.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn reduced_row_echelon_form(matrix: &mut Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `subtract_matrices` [INFO] [stdout] --> src/matrix.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn subtract_matrices(matrix_a: Vec>, matrix_b: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_matrices` [INFO] [stdout] --> src/matrix.rs:200:8 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn add_matrices(matrix_a: Vec>, matrix_b: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scalar_multiplication` [INFO] [stdout] --> src/matrix.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn scalar_multiplication(matrix: &mut Vec>, scalar: f64 ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `minor` [INFO] [stdout] --> src/matrix.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | fn minor( a: &mut Vec>, x: usize, y: usize) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `determinant` [INFO] [stdout] --> src/matrix.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn determinant(matrix: &mut Vec>) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `permanent` [INFO] [stdout] --> src/matrix.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn permanent(matrix: &mut Vec>) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `matrix_transpose` [INFO] [stdout] --> src/matrix.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 277 | pub fn matrix_transpose(matrix: &mut Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_square` [INFO] [stdout] --> src/matrix.rs:289:8 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn is_square(matrix: &Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_rref_compat` [INFO] [stdout] --> src/matrix.rs:293:8 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn is_rref_compat(matrix: &Vec>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_matrices` [INFO] [stdout] --> src/matrix.rs:300:8 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn parse_matrices(matrix_in: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `string_from_vec_vec` [INFO] [stdout] --> src/matrix.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn string_from_vec_vec(matrix: Vec>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/main.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_lower` [INFO] [stdout] --> src/main.rs:125:85 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn func_of_x (expression: String, x_lower: f64, x_upper: f64, x_precision: f64, y_lower: f64, y_upper: f64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_lower` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_upper` [INFO] [stdout] --> src/main.rs:125:99 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn func_of_x (expression: String, x_lower: f64, x_upper: f64, x_precision: f64, y_lower: f64, y_upper: f64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_upper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rr_mat_b` [INFO] [stdout] --> src/matrix.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let rr_mat_b = &mut r_mat_b; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rr_mat_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/matrix.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut result: String = "".to_string(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_lower` [INFO] [stdout] --> src/main.rs:125:85 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn func_of_x (expression: String, x_lower: f64, x_upper: f64, x_precision: f64, y_lower: f64, y_upper: f64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_lower` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_upper` [INFO] [stdout] --> src/main.rs:125:99 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn func_of_x (expression: String, x_lower: f64, x_upper: f64, x_precision: f64, y_lower: f64, y_upper: f64) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_upper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rr_mat_b` [INFO] [stdout] --> src/matrix.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let rr_mat_b = &mut r_mat_b; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rr_mat_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/matrix.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut result: String = "".to_string(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 58 | pub unsafe extern "C" fn calculate(input: *const c_char) -> f64 { [INFO] [stdout] | --------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] 59 | let input_c_str: &CStr = unsafe { CStr::from_ptr(input)}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe extern "C" fn calculate_string(input: *const c_char) -> *mut c_char { [INFO] [stdout] | ------------------------------------------------------------------------------ because it's nested under this `unsafe` fn [INFO] [stdout] 66 | let input_c_str: &CStr = unsafe { CStr::from_ptr(input)}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WholeNumber` [INFO] [stdout] --> src/s_y.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | WholeNumber(i64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `conversion_commander` [INFO] [stdout] --> src/conversions.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn conversion_commander(conversion_type: String, from_unit: String, to_unit: String, units: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `convert_temperature` [INFO] [stdout] --> src/conversions.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn convert_temperature(from_unit: &str, to_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_celsius` [INFO] [stdout] --> src/conversions.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn to_celsius(from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_delisle` [INFO] [stdout] --> src/conversions.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn to_delisle (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_fahrenheit` [INFO] [stdout] --> src/conversions.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn to_fahrenheit (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_kelvin` [INFO] [stdout] --> src/conversions.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn to_kelvin (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_newton` [INFO] [stdout] --> src/conversions.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn to_newton (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_rankine` [INFO] [stdout] --> src/conversions.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn to_rankine(from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_reaumer` [INFO] [stdout] --> src/conversions.rs:279:4 [INFO] [stdout] | [INFO] [stdout] 279 | fn to_reaumer (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_romer` [INFO] [stdout] --> src/conversions.rs:317:4 [INFO] [stdout] | [INFO] [stdout] 317 | fn to_romer (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `commander` [INFO] [stdout] --> src/matrix.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn commander(command: &str, matrix_a_in: &str, matrix_b_in: &str, scalar_1: f64, scalar_2: f64) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 58 | pub unsafe extern "C" fn calculate(input: *const c_char) -> f64 { [INFO] [stdout] | --------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] 59 | let input_c_str: &CStr = unsafe { CStr::from_ptr(input)}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 65 | pub unsafe extern "C" fn calculate_string(input: *const c_char) -> *mut c_char { [INFO] [stdout] | ------------------------------------------------------------------------------ because it's nested under this `unsafe` fn [INFO] [stdout] 66 | let input_c_str: &CStr = unsafe { CStr::from_ptr(input)}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WholeNumber` [INFO] [stdout] --> src/s_y.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | WholeNumber(i64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `conversion_commander` [INFO] [stdout] --> src/conversions.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn conversion_commander(conversion_type: String, from_unit: String, to_unit: String, units: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `convert_temperature` [INFO] [stdout] --> src/conversions.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn convert_temperature(from_unit: &str, to_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_celsius` [INFO] [stdout] --> src/conversions.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn to_celsius(from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_delisle` [INFO] [stdout] --> src/conversions.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn to_delisle (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_fahrenheit` [INFO] [stdout] --> src/conversions.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn to_fahrenheit (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_kelvin` [INFO] [stdout] --> src/conversions.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 165 | fn to_kelvin (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_newton` [INFO] [stdout] --> src/conversions.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn to_newton (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_rankine` [INFO] [stdout] --> src/conversions.rs:241:4 [INFO] [stdout] | [INFO] [stdout] 241 | fn to_rankine(from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_reaumer` [INFO] [stdout] --> src/conversions.rs:279:4 [INFO] [stdout] | [INFO] [stdout] 279 | fn to_reaumer (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_romer` [INFO] [stdout] --> src/conversions.rs:317:4 [INFO] [stdout] | [INFO] [stdout] 317 | fn to_romer (from_unit: &str, degrees: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `commander` [INFO] [stdout] --> src/matrix.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn commander(command: &str, matrix_a_in: &str, matrix_b_in: &str, scalar_1: f64, scalar_2: f64) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.67s [INFO] running `Command { std: "docker" "inspect" "128f224009c6305978752854e573dda1b7747dfe26a831334c996d2cc085a7fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "128f224009c6305978752854e573dda1b7747dfe26a831334c996d2cc085a7fa", kill_on_drop: false }` [INFO] [stdout] 128f224009c6305978752854e573dda1b7747dfe26a831334c996d2cc085a7fa