[INFO] cloning repository https://github.com/higgsboson20/CalculatorCalculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/higgsboson20/CalculatorCalculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhiggsboson20%2FCalculatorCalculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhiggsboson20%2FCalculatorCalculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 177edd57907e3599909773103c1d37524f64ee3a [INFO] building higgsboson20/CalculatorCalculator against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhiggsboson20%2FCalculatorCalculator" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/higgsboson20/CalculatorCalculator [INFO] finished tweaking git repo https://github.com/higgsboson20/CalculatorCalculator [INFO] tweaked toml for git repo https://github.com/higgsboson20/CalculatorCalculator written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/higgsboson20/CalculatorCalculator on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/higgsboson20/CalculatorCalculator 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded accesskit v0.11.2 [INFO] [stderr] Downloaded egui_glow v0.23.0 [INFO] [stderr] Downloaded ecolor v0.23.0 [INFO] [stderr] Downloaded atspi-macros v0.2.0 [INFO] [stderr] Downloaded accesskit_unix v0.5.2 [INFO] [stderr] Downloaded accesskit_winit v0.14.4 [INFO] [stderr] Downloaded egui-winit v0.23.0 [INFO] [stderr] Downloaded accesskit_consumer v0.15.2 [INFO] [stderr] Downloaded accesskit_windows v0.14.3 [INFO] [stderr] Downloaded atspi v0.10.1 [INFO] [stderr] Downloaded eframe v0.23.0 [INFO] [stderr] Downloaded emath v0.23.0 [INFO] [stderr] Downloaded accesskit_macos v0.9.0 [INFO] [stderr] Downloaded egui v0.23.0 [INFO] [stderr] Downloaded epaint v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f62773204b2086de1c93e80ca1b003be79aa8f7a6bf1a45cef06be4ebb497d8a [INFO] running `Command { std: "docker" "start" "-a" "f62773204b2086de1c93e80ca1b003be79aa8f7a6bf1a45cef06be4ebb497d8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f62773204b2086de1c93e80ca1b003be79aa8f7a6bf1a45cef06be4ebb497d8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f62773204b2086de1c93e80ca1b003be79aa8f7a6bf1a45cef06be4ebb497d8a", kill_on_drop: false }` [INFO] [stdout] f62773204b2086de1c93e80ca1b003be79aa8f7a6bf1a45cef06be4ebb497d8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 012b2349bb197e0df6c9835b0cce5699b27cd47786eb987a5cbe2bea104ea576 [INFO] running `Command { std: "docker" "start" "-a" "012b2349bb197e0df6c9835b0cce5699b27cd47786eb987a5cbe2bea104ea576", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling xml-rs v0.8.24 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling futures-lite v2.5.0 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling png v0.17.15 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling bytemuck v1.20.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling accesskit v0.11.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling enumflags2 v0.7.10 [INFO] [stderr] Compiling zvariant v3.15.2 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling emath v0.23.0 [INFO] [stderr] Compiling ecolor v0.23.0 [INFO] [stderr] Compiling atspi-macros v0.2.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling epaint v0.23.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling accesskit_consumer v0.15.2 [INFO] [stderr] Compiling zbus_names v2.6.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling zbus v3.15.2 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling egui v0.23.0 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Compiling webbrowser v0.8.15 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling smithay-clipboard v0.6.6 [INFO] [stderr] Compiling egui_glow v0.23.0 [INFO] [stderr] Compiling arboard v3.4.1 [INFO] [stderr] Compiling atspi v0.10.1 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling accesskit_unix v0.5.2 [INFO] [stderr] Compiling accesskit_winit v0.14.4 [INFO] [stderr] Compiling egui-winit v0.23.0 [INFO] [stderr] Compiling eframe v0.23.0 [INFO] [stderr] Compiling calculatorcalculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fmt::Error` [INFO] [stdout] --> src/gui.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fmt::Error}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f_eval` is never read [INFO] [stdout] --> src/math.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut f_eval: f64 = 0.0; [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 `f_prime_eval` is never read [INFO] [stdout] --> src/math.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut f_prime_eval: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x1` is never read [INFO] [stdout] --> src/math.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut x1: f64 = 0.0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Error` [INFO] [stdout] --> src/gui.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fmt::Error}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f_eval` is never read [INFO] [stdout] --> src/math.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut f_eval: f64 = 0.0; [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 `f_prime_eval` is never read [INFO] [stdout] --> src/math.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut f_prime_eval: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x1` is never read [INFO] [stdout] --> src/math.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut x1: f64 = 0.0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `substitute` is never used [INFO] [stdout] --> src/process.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn substitute(eq: &mut str, vars: HashMap) -> String { [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 `subtract` is never used [INFO] [stdout] --> src/process.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn subtract(eq: &mut str) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process` is never used [INFO] [stdout] --> src/process.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn process(eq: &mut str, vars: HashMap) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluate` is never used [INFO] [stdout] --> src/math.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn evaluate(f_proc: &mut str, x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `finite_pos_difference` is never used [INFO] [stdout] --> src/math.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn finite_pos_difference(f_proc: &mut str, x0: f64, epsilon: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newton_raphson` is never used [INFO] [stdout] --> src/math.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn newton_raphson(f_proc: &mut str, mut guess: f64, tolerance: f64, epsilon: f64, iterations: u16) -> f64{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 41s [INFO] running `Command { std: "docker" "inspect" "012b2349bb197e0df6c9835b0cce5699b27cd47786eb987a5cbe2bea104ea576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "012b2349bb197e0df6c9835b0cce5699b27cd47786eb987a5cbe2bea104ea576", kill_on_drop: false }` [INFO] [stdout] 012b2349bb197e0df6c9835b0cce5699b27cd47786eb987a5cbe2bea104ea576 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a9921b0bcd5ff85d3aeb0adb9773bbf5e1ed08b1d16133c26c60740459070b5 [INFO] running `Command { std: "docker" "start" "-a" "4a9921b0bcd5ff85d3aeb0adb9773bbf5e1ed08b1d16133c26c60740459070b5", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `fmt::Error` [INFO] [stdout] --> src/gui.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fmt::Error}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f_eval` is never read [INFO] [stdout] --> src/math.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut f_eval: f64 = 0.0; [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 `f_prime_eval` is never read [INFO] [stdout] --> src/math.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut f_prime_eval: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x1` is never read [INFO] [stdout] --> src/math.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut x1: f64 = 0.0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling calculatorcalculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fmt::Error` [INFO] [stdout] --> src/gui.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fmt::Error}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f_eval` is never read [INFO] [stdout] --> src/math.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut f_eval: f64 = 0.0; [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 `f_prime_eval` is never read [INFO] [stdout] --> src/math.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut f_prime_eval: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x1` is never read [INFO] [stdout] --> src/math.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut x1: f64 = 0.0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `substitute` is never used [INFO] [stdout] --> src/process.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn substitute(eq: &mut str, vars: HashMap) -> String { [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 `subtract` is never used [INFO] [stdout] --> src/process.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn subtract(eq: &mut str) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process` is never used [INFO] [stdout] --> src/process.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn process(eq: &mut str, vars: HashMap) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluate` is never used [INFO] [stdout] --> src/math.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn evaluate(f_proc: &mut str, x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `finite_pos_difference` is never used [INFO] [stdout] --> src/math.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn finite_pos_difference(f_proc: &mut str, x0: f64, epsilon: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newton_raphson` is never used [INFO] [stdout] --> src/math.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn newton_raphson(f_proc: &mut str, mut guess: f64, tolerance: f64, epsilon: f64, iterations: u16) -> f64{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Error` [INFO] [stdout] --> src/gui.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fmt::Error}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f_eval` is never read [INFO] [stdout] --> src/math.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut f_eval: f64 = 0.0; [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 `f_prime_eval` is never read [INFO] [stdout] --> src/math.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut f_prime_eval: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x1` is never read [INFO] [stdout] --> src/math.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut x1: f64 = 0.0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `eqA` should have a snake case name [INFO] [stdout] --> tests/test_math.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut eqA: String = String::from("(3+3)-x"); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `eq_a` [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 `eqB` should have a snake case name [INFO] [stdout] --> tests/test_math.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let mut eqB: String = String::from("5*3*2*8 - e*(e+e) - 5*(2-8*(5+3))"); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `eq_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `eqA` should have a snake case name [INFO] [stdout] --> tests/test_math.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | let mut eqA: String = String::from("x^x - 2"); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `eq_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `eqA` should have a snake case name [INFO] [stdout] --> tests/test_math.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let mut eqA: String = String::from("x^x - 2"); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `eq_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `eqB` should have a snake case name [INFO] [stdout] --> tests/test_math.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut eqB: String = String::from("x^5+x^3-x"); [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `eq_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Error` [INFO] [stdout] --> src/gui.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, fmt::Error}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `f_eval` is never read [INFO] [stdout] --> src/math.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let mut f_eval: f64 = 0.0; [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 `f_prime_eval` is never read [INFO] [stdout] --> src/math.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut f_prime_eval: f64 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x1` is never read [INFO] [stdout] --> src/math.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let mut x1: f64 = 0.0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `substitute` is never used [INFO] [stdout] --> src/process.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn substitute(eq: &mut str, vars: HashMap) -> String { [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 `subtract` is never used [INFO] [stdout] --> src/process.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn subtract(eq: &mut str) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process` is never used [INFO] [stdout] --> src/process.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn process(eq: &mut str, vars: HashMap) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `evaluate` is never used [INFO] [stdout] --> src/math.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn evaluate(f_proc: &mut str, x: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `finite_pos_difference` is never used [INFO] [stdout] --> src/math.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn finite_pos_difference(f_proc: &mut str, x0: f64, epsilon: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `newton_raphson` is never used [INFO] [stdout] --> src/math.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn newton_raphson(f_proc: &mut str, mut guess: f64, tolerance: f64, epsilon: f64, iterations: u16) -> f64{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.19s [INFO] running `Command { std: "docker" "inspect" "4a9921b0bcd5ff85d3aeb0adb9773bbf5e1ed08b1d16133c26c60740459070b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a9921b0bcd5ff85d3aeb0adb9773bbf5e1ed08b1d16133c26c60740459070b5", kill_on_drop: false }` [INFO] [stdout] 4a9921b0bcd5ff85d3aeb0adb9773bbf5e1ed08b1d16133c26c60740459070b5