[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] 2baf86fbe7875e1dfb6cea74142ae1b32f47a1dd [INFO] checking SE-691-Graphing-Calculator/esoteric_nonsense against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSE-691-Graphing-Calculator%2Fesoteric_nonsense" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SE-691-Graphing-Calculator/esoteric_nonsense on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-2/source/src/main.rs [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded parking_lot_core v0.8.2 [INFO] [stderr] Downloaded smallvec v1.6.0 [INFO] [stderr] Downloaded inline-python v0.6.0 [INFO] [stderr] Downloaded pyo3 v0.11.1 [INFO] [stderr] Downloaded inline-python-macros v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d5dcafe31bf868f6a1e9d680fa8e9a0e9ef89467442b1b41989db2c177a109b9 [INFO] running `Command { std: "docker" "start" "-a" "d5dcafe31bf868f6a1e9d680fa8e9a0e9ef89467442b1b41989db2c177a109b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5dcafe31bf868f6a1e9d680fa8e9a0e9ef89467442b1b41989db2c177a109b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5dcafe31bf868f6a1e9d680fa8e9a0e9ef89467442b1b41989db2c177a109b9", kill_on_drop: false }` [INFO] [stdout] d5dcafe31bf868f6a1e9d680fa8e9a0e9ef89467442b1b41989db2c177a109b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1b2b4ea11cb87a4c1e6fa2a8efc9d887312774ef397c43b10f6ce5b7dbff110 [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" "d1b2b4ea11cb87a4c1e6fa2a8efc9d887312774ef397c43b10f6ce5b7dbff110", 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 smallvec v1.6.0 [INFO] [stderr] Compiling pyo3 v0.11.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling inline-python-macros v0.5.3 [INFO] [stderr] Checking inline-python v0.6.0 [INFO] [stderr] Checking eq_solve v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/higher_math.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | let solution_string: String = (p.get::("solutions")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/higher_math.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | let solution_string: String = (p.get::("gcd_sol")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/higher_math.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | let solution_string: String = (p.get::("gcd_sol")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/higher_math.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | let solution_string: String = (p.get::("solutions")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/higher_math.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | let solution_string: String = (p.get::("gcd_sol")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/higher_math.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | let solution_string: String = (p.get::("gcd_sol")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/higher_math.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | let solution_string: String = (p.get::("solutions")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/higher_math.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | let solution_string: String = (p.get::("gcd_sol")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/higher_math.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | let solution_string: String = (p.get::("gcd_sol")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/higher_math.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | let solution_string: String = (p.get::("solutions")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/higher_math.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | let solution_string: String = (p.get::("gcd_sol")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/higher_math.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | let solution_string: String = (p.get::("gcd_sol")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let command: String = CStr::from_ptr(command_in).to_str().unwrap().to_string(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tostr` [INFO] [stdout] --> src/main.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let tostr = &exp_eq as &str; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tostr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_lower` [INFO] [stdout] --> src/main.rs:122:85 [INFO] [stdout] | [INFO] [stdout] 122 | 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] [INFO] [stdout] warning: unused variable: `y_upper` [INFO] [stdout] --> src/main.rs:122:99 [INFO] [stdout] | [INFO] [stdout] 122 | 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: `command` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let command: String = CStr::from_ptr(command_in).to_str().unwrap().to_string(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tostr` [INFO] [stdout] --> src/main.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let tostr = &exp_eq as &str; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tostr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_lower` [INFO] [stdout] --> src/main.rs:122:85 [INFO] [stdout] | [INFO] [stdout] 122 | 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] [INFO] [stdout] warning: unused variable: `y_upper` [INFO] [stdout] --> src/main.rs:122:99 [INFO] [stdout] | [INFO] [stdout] 122 | 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: `command` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let command: String = CStr::from_ptr(command_in).to_str().unwrap().to_string(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tostr` [INFO] [stdout] --> src/main.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let tostr = &exp_eq as &str; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tostr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_lower` [INFO] [stdout] --> src/main.rs:122:85 [INFO] [stdout] | [INFO] [stdout] 122 | 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] [INFO] [stdout] warning: unused variable: `y_upper` [INFO] [stdout] --> src/main.rs:122:99 [INFO] [stdout] | [INFO] [stdout] 122 | 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: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 55 | pub unsafe extern "C" fn calculate(input: *const c_char) -> f64 { [INFO] [stdout] | --------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] 56 | 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:63:30 [INFO] [stdout] | [INFO] [stdout] 62 | 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] 63 | 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: `poly_gcd` [INFO] [stdout] --> src/higher_math.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn poly_gcd (poly_1: String, poly_2: String, var: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/main.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/higher_math.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(proc_macro_hygiene)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/higher_math.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(proc_macro_hygiene)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 55 | pub unsafe extern "C" fn calculate(input: *const c_char) -> f64 { [INFO] [stdout] | --------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] 56 | 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:63:30 [INFO] [stdout] | [INFO] [stdout] 62 | 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] 63 | 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: `poly_gcd` [INFO] [stdout] --> src/higher_math.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn poly_gcd (poly_1: String, poly_2: String, var: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/higher_math.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(proc_macro_hygiene)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/higher_math.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(proc_macro_hygiene)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let command: String = CStr::from_ptr(command_in).to_str().unwrap().to_string(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tostr` [INFO] [stdout] --> src/main.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let tostr = &exp_eq as &str; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tostr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_lower` [INFO] [stdout] --> src/main.rs:122:85 [INFO] [stdout] | [INFO] [stdout] 122 | 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] [INFO] [stdout] warning: unused variable: `y_upper` [INFO] [stdout] --> src/main.rs:122:99 [INFO] [stdout] | [INFO] [stdout] 122 | 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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 55 | pub unsafe extern "C" fn calculate(input: *const c_char) -> f64 { [INFO] [stdout] | --------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] 56 | 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:63:30 [INFO] [stdout] | [INFO] [stdout] 62 | 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] 63 | 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: `poly_gcd` [INFO] [stdout] --> src/higher_math.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn poly_gcd (poly_1: String, poly_2: String, var: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/higher_math.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(proc_macro_hygiene)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/higher_math.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(proc_macro_hygiene)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/main.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 55 | pub unsafe extern "C" fn calculate(input: *const c_char) -> f64 { [INFO] [stdout] | --------------------------------------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] 56 | 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:63:30 [INFO] [stdout] | [INFO] [stdout] 62 | 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] 63 | let input_c_str: &CStr = unsafe { CStr::from_ptr(input)}; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 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: `poly_gcd` [INFO] [stdout] --> src/higher_math.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn poly_gcd (poly_1: String, poly_2: String, var: String) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/higher_math.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(proc_macro_hygiene)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/higher_math.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(proc_macro_hygiene)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.76s [INFO] running `Command { std: "docker" "inspect" "d1b2b4ea11cb87a4c1e6fa2a8efc9d887312774ef397c43b10f6ce5b7dbff110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1b2b4ea11cb87a4c1e6fa2a8efc9d887312774ef397c43b10f6ce5b7dbff110", kill_on_drop: false }` [INFO] [stdout] d1b2b4ea11cb87a4c1e6fa2a8efc9d887312774ef397c43b10f6ce5b7dbff110