[INFO] cloning repository https://github.com/ryunezm/rust_numerical_methods [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryunezm/rust_numerical_methods" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryunezm%2Frust_numerical_methods", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryunezm%2Frust_numerical_methods'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4771e15fdfef481ec81919ee06ec694f8cff2c55 [INFO] testing ryunezm/rust_numerical_methods against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryunezm%2Frust_numerical_methods" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ryunezm/rust_numerical_methods [INFO] finished tweaking git repo https://github.com/ryunezm/rust_numerical_methods [INFO] tweaked toml for git repo https://github.com/ryunezm/rust_numerical_methods written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ryunezm/rust_numerical_methods on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ryunezm/rust_numerical_methods 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded target-lexicon v0.12.13 [INFO] [stderr] Downloaded proc-macro-crate v2.0.1 [INFO] [stderr] Downloaded pkg-config v0.3.28 [INFO] [stderr] Downloaded system-deps v6.2.0 [INFO] [stderr] Downloaded graphene-rs v0.18.1 [INFO] [stderr] Downloaded gtk4-macros v0.7.2 [INFO] [stderr] Downloaded gsk4 v0.7.3 [INFO] [stderr] Downloaded graphene-sys v0.18.1 [INFO] [stderr] Downloaded gdk4-sys v0.7.2 [INFO] [stderr] Downloaded toml v0.8.2 [INFO] [stderr] Downloaded evalexpr v11.1.0 [INFO] [stderr] Downloaded gtk4-sys v0.7.3 [INFO] [stderr] Downloaded toml_edit v0.20.2 [INFO] [stderr] Downloaded gdk4 v0.7.3 [INFO] [stderr] Downloaded winnow v0.5.33 [INFO] [stderr] Downloaded gsk4-sys v0.7.3 [INFO] [stderr] Downloaded cfg-expr v0.15.6 [INFO] [stderr] Downloaded gtk4 v0.7.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 397cf1ada4ec9cea0fe77867fdc6c2bf26871f7cf1f9330720ef1dd1ede220da [INFO] running `Command { std: "docker" "start" "-a" "397cf1ada4ec9cea0fe77867fdc6c2bf26871f7cf1f9330720ef1dd1ede220da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "397cf1ada4ec9cea0fe77867fdc6c2bf26871f7cf1f9330720ef1dd1ede220da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "397cf1ada4ec9cea0fe77867fdc6c2bf26871f7cf1f9330720ef1dd1ede220da", kill_on_drop: false }` [INFO] [stdout] 397cf1ada4ec9cea0fe77867fdc6c2bf26871f7cf1f9330720ef1dd1ede220da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ede3b7e19e8398918a2ae7c018e96044eb3e89d715cb42df364ef5b58862721 [INFO] running `Command { std: "docker" "start" "-a" "0ede3b7e19e8398918a2ae7c018e96044eb3e89d715cb42df364ef5b58862721", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling winnow v0.5.33 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling evalexpr v11.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling cfg-expr v0.15.6 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.1 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Compiling system-deps v6.2.0 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling graphene-sys v0.18.1 [INFO] [stderr] Compiling gdk4-sys v0.7.2 [INFO] [stderr] Compiling gsk4-sys v0.7.3 [INFO] [stderr] Compiling gtk4-sys v0.7.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling gtk4-macros v0.7.2 [INFO] [stderr] Compiling glib v0.18.5 [INFO] [stderr] Compiling cairo-rs v0.18.5 [INFO] [stderr] Compiling graphene-rs v0.18.1 [INFO] [stderr] Compiling gdk-pixbuf v0.18.5 [INFO] [stderr] Compiling pango v0.18.3 [INFO] [stderr] Compiling gdk4 v0.7.3 [INFO] [stderr] Compiling gsk4 v0.7.3 [INFO] [stderr] Compiling gtk4 v0.7.3 [INFO] [stderr] Compiling numerical_methods v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:23:52 [INFO] [stdout] | [INFO] [stdout] 23 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:23:60 [INFO] [stdout] | [INFO] [stdout] 23 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:37:60 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:37:68 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:51:52 [INFO] [stdout] | [INFO] [stdout] 51 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:51:60 [INFO] [stdout] | [INFO] [stdout] 51 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:51:68 [INFO] [stdout] | [INFO] [stdout] 51 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `solve` are never used [INFO] [stdout] --> src/find_roots/find_root_bracketing.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) trait FindRoot { [INFO] [stdout] | -------- associated items in this trait [INFO] [stdout] 3 | fn info(); [INFO] [stdout] 4 | fn new(function: Box f64>, a: f64, b: f64, tolerance: f64) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | fn solve(&mut self) -> Option<(f64, f64, usize)>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `a`, `b`, and `tolerance` are never read [INFO] [stdout] --> src/find_roots/find_root_bracketing.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Bisection { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | a: f64, [INFO] [stdout] | ^ [INFO] [stdout] 12 | b: f64, [INFO] [stdout] | ^ [INFO] [stdout] 13 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `a`, `b`, and `tolerance` are never read [INFO] [stdout] --> src/find_roots/find_root_bracketing.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FalsePosition { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 17 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | a: f64, [INFO] [stdout] | ^ [INFO] [stdout] 19 | b: f64, [INFO] [stdout] | ^ [INFO] [stdout] 20 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `a`, `b`, and `tolerance` are never read [INFO] [stdout] --> src/find_roots/find_root_bracketing.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ITP { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 24 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | a: f64, [INFO] [stdout] | ^ [INFO] [stdout] 26 | b: f64, [INFO] [stdout] | ^ [INFO] [stdout] 27 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `solve` is never used [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) trait FindRoot { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 3 | fn info(); [INFO] [stdout] 4 | fn solve(&mut self) -> Option<(f64, f64, usize)>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `function_derivative`, `x0`, `tolerance`, and `max_iter` are never read [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Newton { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | function_derivative: fn(f64) -> f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | x0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | max_iter: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `x0`, `x1`, `tolerance`, and `max_iter` are never read [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Secant { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | x0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | x1: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 21 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | max_iter: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `x0`, `tolerance`, and `max_iter` are never read [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Steffensen { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 26 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | x0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 28 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | max_iter: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `x0`, `tolerance`, and `max_iter` are never read [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct FixedPoint { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 33 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | x0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | max_iter: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `x0`, `x1`, `x2`, `tolerance`, and `max_iter` are never read [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct InverseQuadraticInterpolation { [INFO] [stdout] | ----------------------------- fields in this struct [INFO] [stdout] 40 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 41 | x0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 42 | x1: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 43 | x2: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 44 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | max_iter: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl Newton { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 51 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl Secant { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 112 | fn new(function: Box f64>, x0: f64, x1: f64, tolerance: f64, max_iter: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 160 | impl Steffensen { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 161 | fn new(function: Box f64>, x0: f64, tolerance: f64, max_iter: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 207 | impl FixedPoint { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 208 | fn new(function: Box f64>, x0: f64, tolerance: f64, max_iter: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 253 | impl InverseQuadraticInterpolation { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 254 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `solve` are never used [INFO] [stdout] --> src/find_roots/find_root_combination.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) trait FindRoot { [INFO] [stdout] | -------- associated items in this trait [INFO] [stdout] 3 | fn info(); [INFO] [stdout] 4 | fn new(function: Box f64>, a: f64, b: f64, tolerance: f64, max_iter: usize) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | fn solve(&mut self) -> Option<(f64, f64, usize)>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `a`, `b`, `tolerance`, and `max_iter` are never read [INFO] [stdout] --> src/find_roots/find_root_combination.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Brent{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | a: f64, [INFO] [stdout] | ^ [INFO] [stdout] 12 | b: f64, [INFO] [stdout] | ^ [INFO] [stdout] 13 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | max_iter: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `a`, `b`, `tolerance`, and `max_iter` are never read [INFO] [stdout] --> src/find_roots/find_root_combination.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Ridder{ [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | a: f64, [INFO] [stdout] | ^ [INFO] [stdout] 20 | b: f64, [INFO] [stdout] | ^ [INFO] [stdout] 21 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | max_iter: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APP_ID` is never used [INFO] [stdout] --> src/view/menu_gui.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const APP_ID: &str = "rust_numerical_methods"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `menu_gui` is never used [INFO] [stdout] --> src/view/menu_gui.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn menu_gui() -> glib::ExitCode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_ui` is never used [INFO] [stdout] --> src/view/menu_gui.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn build_ui(app: &Application) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `solve` are never used [INFO] [stdout] --> src/sodes/sode_explicit_methods.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) trait Functions{ [INFO] [stdout] | --------- associated items in this trait [INFO] [stdout] 3 | fn info(); [INFO] [stdout] 4 | fn new(function: Box f64>, y0: f64, h: f64, n: i64) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | fn solve(&mut self) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `y0`, `h`, and `n` are never read [INFO] [stdout] --> src/sodes/sode_explicit_methods.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Euler { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | y0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | h: f64, [INFO] [stdout] | ^ [INFO] [stdout] 14 | n: i64, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `y0`, `h`, and `n` are never read [INFO] [stdout] --> src/sodes/sode_explicit_methods.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RK2 { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 18 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | y0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | h: f64, [INFO] [stdout] | ^ [INFO] [stdout] 21 | n: i64, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `y0`, `h`, and `n` are never read [INFO] [stdout] --> src/sodes/sode_explicit_methods.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct RK4 { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 25 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | y0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 27 | h: f64, [INFO] [stdout] | ^ [INFO] [stdout] 28 | n: i64, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `solve` are never used [INFO] [stdout] --> src/sodes/sode_implicit_methods.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) trait Functions{ [INFO] [stdout] | --------- associated items in this trait [INFO] [stdout] 3 | fn info(); [INFO] [stdout] 4 | fn new(function: Box f64>, y0: f64, h: f64, n: i64) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | fn solve(&mut self) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `y0`, `h`, and `n` are never read [INFO] [stdout] --> src/sodes/sode_implicit_methods.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ImplicitEuler { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 11 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | y0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | h: f64, [INFO] [stdout] | ^ [INFO] [stdout] 14 | n: i64, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `y0`, `h`, and `n` are never read [INFO] [stdout] --> src/sodes/sode_implicit_methods.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct BackwardEuler { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 18 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | y0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | h: f64, [INFO] [stdout] | ^ [INFO] [stdout] 21 | n: i64, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `y0`, `h`, and `n` are never read [INFO] [stdout] --> src/sodes/sode_implicit_methods.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CrankNicolson { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 25 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | y0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 27 | h: f64, [INFO] [stdout] | ^ [INFO] [stdout] 28 | n: i64, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Functions` is never used [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) trait Functions { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trapezoidal` is never constructed [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Trapezoidal {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdamsBashforth` is never constructed [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AdamsBashforth {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdamsMoulton` is never constructed [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AdamsMoulton {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "0ede3b7e19e8398918a2ae7c018e96044eb3e89d715cb42df364ef5b58862721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ede3b7e19e8398918a2ae7c018e96044eb3e89d715cb42df364ef5b58862721", kill_on_drop: false }` [INFO] [stdout] 0ede3b7e19e8398918a2ae7c018e96044eb3e89d715cb42df364ef5b58862721 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dfcad946cb96235a1a67090bedf873841b1aacd35d143ca28301c44060ba4e9 [INFO] running `Command { std: "docker" "start" "-a" "6dfcad946cb96235a1a67090bedf873841b1aacd35d143ca28301c44060ba4e9", kill_on_drop: false }` [INFO] [stderr] Compiling numerical_methods v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:23:52 [INFO] [stdout] | [INFO] [stdout] 23 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:23:60 [INFO] [stdout] | [INFO] [stdout] 23 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:23:68 [INFO] [stdout] | [INFO] [stdout] 23 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:37:52 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:37:60 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:37:68 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:51:52 [INFO] [stdout] | [INFO] [stdout] 51 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:51:60 [INFO] [stdout] | [INFO] [stdout] 51 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:51:68 [INFO] [stdout] | [INFO] [stdout] 51 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `solve` are never used [INFO] [stdout] --> src/find_roots/find_root_bracketing.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) trait FindRoot { [INFO] [stdout] | -------- associated items in this trait [INFO] [stdout] 3 | fn info(); [INFO] [stdout] 4 | fn new(function: Box f64>, a: f64, b: f64, tolerance: f64) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | fn solve(&mut self) -> Option<(f64, f64, usize)>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `a`, `b`, and `tolerance` are never read [INFO] [stdout] --> src/find_roots/find_root_bracketing.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Bisection { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | a: f64, [INFO] [stdout] | ^ [INFO] [stdout] 12 | b: f64, [INFO] [stdout] | ^ [INFO] [stdout] 13 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `a`, `b`, and `tolerance` are never read [INFO] [stdout] --> src/find_roots/find_root_bracketing.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FalsePosition { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 17 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | a: f64, [INFO] [stdout] | ^ [INFO] [stdout] 19 | b: f64, [INFO] [stdout] | ^ [INFO] [stdout] 20 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `a`, `b`, and `tolerance` are never read [INFO] [stdout] --> src/find_roots/find_root_bracketing.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ITP { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 24 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 25 | a: f64, [INFO] [stdout] | ^ [INFO] [stdout] 26 | b: f64, [INFO] [stdout] | ^ [INFO] [stdout] 27 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `solve` is never used [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) trait FindRoot { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 3 | fn info(); [INFO] [stdout] 4 | fn solve(&mut self) -> Option<(f64, f64, usize)>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `function_derivative`, `x0`, `tolerance`, and `max_iter` are never read [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Newton { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | function_derivative: fn(f64) -> f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | x0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | max_iter: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `x0`, `x1`, `tolerance`, and `max_iter` are never read [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Secant { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | x0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | x1: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 21 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | max_iter: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `x0`, `tolerance`, and `max_iter` are never read [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Steffensen { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 26 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 27 | x0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 28 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | max_iter: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `x0`, `tolerance`, and `max_iter` are never read [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct FixedPoint { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 33 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | x0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | max_iter: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `x0`, `x1`, `x2`, `tolerance`, and `max_iter` are never read [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct InverseQuadraticInterpolation { [INFO] [stdout] | ----------------------------- fields in this struct [INFO] [stdout] 40 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 41 | x0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 42 | x1: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 43 | x2: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 44 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 45 | max_iter: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl Newton { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 51 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 111 | impl Secant { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 112 | fn new(function: Box f64>, x0: f64, x1: f64, tolerance: f64, max_iter: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 160 | impl Steffensen { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 161 | fn new(function: Box f64>, x0: f64, tolerance: f64, max_iter: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 207 | impl FixedPoint { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 208 | fn new(function: Box f64>, x0: f64, tolerance: f64, max_iter: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/find_roots/find_root_iterative.rs:254:8 [INFO] [stdout] | [INFO] [stdout] 253 | impl InverseQuadraticInterpolation { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 254 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `solve` are never used [INFO] [stdout] --> src/find_roots/find_root_combination.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) trait FindRoot { [INFO] [stdout] | -------- associated items in this trait [INFO] [stdout] 3 | fn info(); [INFO] [stdout] 4 | fn new(function: Box f64>, a: f64, b: f64, tolerance: f64, max_iter: usize) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | fn solve(&mut self) -> Option<(f64, f64, usize)>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `a`, `b`, `tolerance`, and `max_iter` are never read [INFO] [stdout] --> src/find_roots/find_root_combination.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Brent{ [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 10 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | a: f64, [INFO] [stdout] | ^ [INFO] [stdout] 12 | b: f64, [INFO] [stdout] | ^ [INFO] [stdout] 13 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | max_iter: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `a`, `b`, `tolerance`, and `max_iter` are never read [INFO] [stdout] --> src/find_roots/find_root_combination.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Ridder{ [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | a: f64, [INFO] [stdout] | ^ [INFO] [stdout] 20 | b: f64, [INFO] [stdout] | ^ [INFO] [stdout] 21 | tolerance: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | max_iter: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `APP_ID` is never used [INFO] [stdout] --> src/view/menu_gui.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const APP_ID: &str = "rust_numerical_methods"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `menu_gui` is never used [INFO] [stdout] --> src/view/menu_gui.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn menu_gui() -> glib::ExitCode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_ui` is never used [INFO] [stdout] --> src/view/menu_gui.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn build_ui(app: &Application) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `solve` are never used [INFO] [stdout] --> src/sodes/sode_explicit_methods.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) trait Functions{ [INFO] [stdout] | --------- associated items in this trait [INFO] [stdout] 3 | fn info(); [INFO] [stdout] 4 | fn new(function: Box f64>, y0: f64, h: f64, n: i64) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | fn solve(&mut self) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `y0`, `h`, and `n` are never read [INFO] [stdout] --> src/sodes/sode_explicit_methods.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Euler { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 11 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | y0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | h: f64, [INFO] [stdout] | ^ [INFO] [stdout] 14 | n: i64, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `y0`, `h`, and `n` are never read [INFO] [stdout] --> src/sodes/sode_explicit_methods.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RK2 { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 18 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | y0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | h: f64, [INFO] [stdout] | ^ [INFO] [stdout] 21 | n: i64, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `y0`, `h`, and `n` are never read [INFO] [stdout] --> src/sodes/sode_explicit_methods.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct RK4 { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 25 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | y0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 27 | h: f64, [INFO] [stdout] | ^ [INFO] [stdout] 28 | n: i64, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `solve` are never used [INFO] [stdout] --> src/sodes/sode_implicit_methods.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) trait Functions{ [INFO] [stdout] | --------- associated items in this trait [INFO] [stdout] 3 | fn info(); [INFO] [stdout] 4 | fn new(function: Box f64>, y0: f64, h: f64, n: i64) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 5 | fn solve(&mut self) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `y0`, `h`, and `n` are never read [INFO] [stdout] --> src/sodes/sode_implicit_methods.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ImplicitEuler { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 11 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | y0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | h: f64, [INFO] [stdout] | ^ [INFO] [stdout] 14 | n: i64, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `y0`, `h`, and `n` are never read [INFO] [stdout] --> src/sodes/sode_implicit_methods.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct BackwardEuler { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 18 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | y0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | h: f64, [INFO] [stdout] | ^ [INFO] [stdout] 21 | n: i64, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `function`, `y0`, `h`, and `n` are never read [INFO] [stdout] --> src/sodes/sode_implicit_methods.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct CrankNicolson { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 25 | function: Box f64>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | y0: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 27 | h: f64, [INFO] [stdout] | ^ [INFO] [stdout] 28 | n: i64, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Functions` is never used [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) trait Functions { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Trapezoidal` is never constructed [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Trapezoidal {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdamsBashforth` is never constructed [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AdamsBashforth {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AdamsMoulton` is never constructed [INFO] [stdout] --> src/sodes/sode_multistep_methods.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AdamsMoulton {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "6dfcad946cb96235a1a67090bedf873841b1aacd35d143ca28301c44060ba4e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dfcad946cb96235a1a67090bedf873841b1aacd35d143ca28301c44060ba4e9", kill_on_drop: false }` [INFO] [stdout] 6dfcad946cb96235a1a67090bedf873841b1aacd35d143ca28301c44060ba4e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 87138d1290d6b1a6bfc1b0f7367614effaee2eea2f1d48a13f418623ab94545f [INFO] running `Command { std: "docker" "start" "-a" "87138d1290d6b1a6bfc1b0f7367614effaee2eea2f1d48a13f418623ab94545f", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `function` [INFO] [stderr] --> src/sodes/sode_multistep_methods.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> src/sodes/sode_multistep_methods.rs:23:52 [INFO] [stderr] | [INFO] [stderr] 23 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> src/sodes/sode_multistep_methods.rs:23:60 [INFO] [stderr] | [INFO] [stderr] 23 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/sodes/sode_multistep_methods.rs:23:68 [INFO] [stderr] | [INFO] [stderr] 23 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `function` [INFO] [stderr] --> src/sodes/sode_multistep_methods.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> src/sodes/sode_multistep_methods.rs:37:52 [INFO] [stderr] | [INFO] [stderr] 37 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> src/sodes/sode_multistep_methods.rs:37:60 [INFO] [stderr] | [INFO] [stderr] 37 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/sodes/sode_multistep_methods.rs:37:68 [INFO] [stderr] | [INFO] [stderr] 37 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `function` [INFO] [stderr] --> src/sodes/sode_multistep_methods.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> src/sodes/sode_multistep_methods.rs:51:52 [INFO] [stderr] | [INFO] [stderr] 51 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> src/sodes/sode_multistep_methods.rs:51:60 [INFO] [stderr] | [INFO] [stderr] 51 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/sodes/sode_multistep_methods.rs:51:68 [INFO] [stderr] | [INFO] [stderr] 51 | fn new(function: Box f64>, a: f64, b: f64, n: f64) -> Self { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `solve` are never used [INFO] [stderr] --> src/find_roots/find_root_bracketing.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 2 | pub(crate) trait FindRoot { [INFO] [stderr] | -------- associated items in this trait [INFO] [stderr] 3 | fn info(); [INFO] [stderr] 4 | fn new(function: Box f64>, a: f64, b: f64, tolerance: f64) -> Self; [INFO] [stderr] | ^^^ [INFO] [stderr] 5 | fn solve(&mut self) -> Option<(f64, f64, usize)>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `function`, `a`, `b`, and `tolerance` are never read [INFO] [stderr] --> src/find_roots/find_root_bracketing.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Bisection { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 10 | function: Box f64>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 11 | a: f64, [INFO] [stderr] | ^ [INFO] [stderr] 12 | b: f64, [INFO] [stderr] | ^ [INFO] [stderr] 13 | tolerance: f64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `function`, `a`, `b`, and `tolerance` are never read [INFO] [stderr] --> src/find_roots/find_root_bracketing.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct FalsePosition { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 17 | function: Box f64>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 18 | a: f64, [INFO] [stderr] | ^ [INFO] [stderr] 19 | b: f64, [INFO] [stderr] | ^ [INFO] [stderr] 20 | tolerance: f64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `function`, `a`, `b`, and `tolerance` are never read [INFO] [stderr] --> src/find_roots/find_root_bracketing.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct ITP { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 24 | function: Box f64>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 25 | a: f64, [INFO] [stderr] | ^ [INFO] [stderr] 26 | b: f64, [INFO] [stderr] | ^ [INFO] [stderr] 27 | tolerance: f64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `solve` is never used [INFO] [stderr] --> src/find_roots/find_root_iterative.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 2 | pub(crate) trait FindRoot { [INFO] [stderr] | -------- method in this trait [INFO] [stderr] 3 | fn info(); [INFO] [stderr] 4 | fn solve(&mut self) -> Option<(f64, f64, usize)>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `function`, `function_derivative`, `x0`, `tolerance`, and `max_iter` are never read [INFO] [stderr] --> src/find_roots/find_root_iterative.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Newton { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 10 | function: Box f64>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 11 | function_derivative: fn(f64) -> f64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 12 | x0: f64, [INFO] [stderr] | ^^ [INFO] [stderr] 13 | tolerance: f64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 14 | max_iter: usize, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `function`, `x0`, `x1`, `tolerance`, and `max_iter` are never read [INFO] [stderr] --> src/find_roots/find_root_iterative.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Secant { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 18 | function: Box f64>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 19 | x0: f64, [INFO] [stderr] | ^^ [INFO] [stderr] 20 | x1: f64, [INFO] [stderr] | ^^ [INFO] [stderr] 21 | tolerance: f64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 22 | max_iter: usize, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `function`, `x0`, `tolerance`, and `max_iter` are never read [INFO] [stderr] --> src/find_roots/find_root_iterative.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct Steffensen { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 26 | function: Box f64>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 27 | x0: f64, [INFO] [stderr] | ^^ [INFO] [stderr] 28 | tolerance: f64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 29 | max_iter: usize, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `function`, `x0`, `tolerance`, and `max_iter` are never read [INFO] [stderr] --> src/find_roots/find_root_iterative.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct FixedPoint { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 33 | function: Box f64>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 34 | x0: f64, [INFO] [stderr] | ^^ [INFO] [stderr] 35 | tolerance: f64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 36 | max_iter: usize, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `function`, `x0`, `x1`, `x2`, `tolerance`, and `max_iter` are never read [INFO] [stderr] --> src/find_roots/find_root_iterative.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct InverseQuadraticInterpolation { [INFO] [stderr] | ----------------------------- fields in this struct [INFO] [stderr] 40 | function: Box f64>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 41 | x0: f64, [INFO] [stderr] | ^^ [INFO] [stderr] 42 | x1: f64, [INFO] [stderr] | ^^ [INFO] [stderr] 43 | x2: f64, [INFO] [stderr] | ^^ [INFO] [stderr] 44 | tolerance: f64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 45 | max_iter: usize, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/find_roots/find_root_iterative.rs:51:8 [INFO] [stderr] | [INFO] [stderr] 50 | impl Newton { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 51 | fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/find_roots/find_root_iterative.rs:112:8 [INFO] [stderr] | [INFO] [stderr] 111 | impl Secant { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 112 | fn new(function: Box f64>, x0: f64, x1: f64, tolerance: f64, max_iter: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/find_roots/find_root_iterative.rs:161:8 [INFO] [stderr] | [INFO] [stderr] 160 | impl Steffensen { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 161 | fn new(function: Box f64>, x0: f64, tolerance: f64, max_iter: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/find_roots/find_root_iterative.rs:208:8 [INFO] [stderr] | [INFO] [stderr] 207 | impl FixedPoint { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 208 | fn new(function: Box f64>, x0: f64, tolerance: f64, max_iter: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/find_roots/find_root_iterative.rs:254:8 [INFO] [stderr] | [INFO] [stderr] 253 | impl InverseQuadraticInterpolation { [INFO] [stderr] | ---------------------------------- associated function in this implementation [INFO] [stderr] 254 | fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `solve` are never used [INFO] [stderr] --> src/find_roots/find_root_combination.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 2 | pub(crate) trait FindRoot { [INFO] [stderr] | -------- associated items in this trait [INFO] [stderr] 3 | fn info(); [INFO] [stderr] 4 | fn new(function: Box f64>, a: f64, b: f64, tolerance: f64, max_iter: usize) -> Self; [INFO] [stderr] | ^^^ [INFO] [stderr] 5 | fn solve(&mut self) -> Option<(f64, f64, usize)>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `function`, `a`, `b`, `tolerance`, and `max_iter` are never read [INFO] [stderr] --> src/find_roots/find_root_combination.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct Brent{ [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 10 | function: Box f64>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 11 | a: f64, [INFO] [stderr] | ^ [INFO] [stderr] 12 | b: f64, [INFO] [stderr] | ^ [INFO] [stderr] 13 | tolerance: f64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 14 | max_iter: usize, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `function`, `a`, `b`, `tolerance`, and `max_iter` are never read [INFO] [stderr] --> src/find_roots/find_root_combination.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Ridder{ [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 18 | function: Box f64>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 19 | a: f64, [INFO] [stderr] | ^ [INFO] [stderr] 20 | b: f64, [INFO] [stderr] | ^ [INFO] [stderr] 21 | tolerance: f64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 22 | max_iter: usize, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `APP_ID` is never used [INFO] [stderr] --> src/view/menu_gui.rs:4:7 [INFO] [stderr] | [INFO] [stderr] 4 | const APP_ID: &str = "rust_numerical_methods"; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `menu_gui` is never used [INFO] [stderr] --> src/view/menu_gui.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn menu_gui() -> glib::ExitCode { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `build_ui` is never used [INFO] [stderr] --> src/view/menu_gui.rs:17:4 [INFO] [stderr] | [INFO] [stderr] 17 | fn build_ui(app: &Application) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `solve` are never used [INFO] [stderr] --> src/sodes/sode_explicit_methods.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 2 | pub(crate) trait Functions{ [INFO] [stderr] | --------- associated items in this trait [INFO] [stderr] 3 | fn info(); [INFO] [stderr] 4 | fn new(function: Box f64>, y0: f64, h: f64, n: i64) -> Self; [INFO] [stderr] | ^^^ [INFO] [stderr] 5 | fn solve(&mut self) -> Option; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `function`, `y0`, `h`, and `n` are never read [INFO] [stderr] --> src/sodes/sode_explicit_methods.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct Euler { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] 11 | function: Box f64>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 12 | y0: f64, [INFO] [stderr] | ^^ [INFO] [stderr] 13 | h: f64, [INFO] [stderr] | ^ [INFO] [stderr] 14 | n: i64, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: fields `function`, `y0`, `h`, and `n` are never read [INFO] [stderr] --> src/sodes/sode_explicit_methods.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct RK2 { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 18 | function: Box f64>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 19 | y0: f64, [INFO] [stderr] | ^^ [INFO] [stderr] 20 | h: f64, [INFO] [stderr] | ^ [INFO] [stderr] 21 | n: i64, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: fields `function`, `y0`, `h`, and `n` are never read [INFO] [stderr] --> src/sodes/sode_explicit_methods.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct RK4 { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] 25 | function: Box f64>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 26 | y0: f64, [INFO] [stderr] | ^^ [INFO] [stderr] 27 | h: f64, [INFO] [stderr] | ^ [INFO] [stderr] 28 | n: i64, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `solve` are never used [INFO] [stderr] --> src/sodes/sode_implicit_methods.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 2 | pub(crate) trait Functions{ [INFO] [stderr] | --------- associated items in this trait [INFO] [stderr] 3 | fn info(); [INFO] [stderr] 4 | fn new(function: Box f64>, y0: f64, h: f64, n: i64) -> Self; [INFO] [stderr] | ^^^ [INFO] [stderr] 5 | fn solve(&mut self) -> Option; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `function`, `y0`, `h`, and `n` are never read [INFO] [stderr] --> src/sodes/sode_implicit_methods.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct ImplicitEuler { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 11 | function: Box f64>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 12 | y0: f64, [INFO] [stderr] | ^^ [INFO] [stderr] 13 | h: f64, [INFO] [stderr] | ^ [INFO] [stderr] 14 | n: i64, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: fields `function`, `y0`, `h`, and `n` are never read [INFO] [stderr] --> src/sodes/sode_implicit_methods.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct BackwardEuler { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 18 | function: Box f64>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 19 | y0: f64, [INFO] [stderr] | ^^ [INFO] [stderr] 20 | h: f64, [INFO] [stderr] | ^ [INFO] [stderr] 21 | n: i64, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: fields `function`, `y0`, `h`, and `n` are never read [INFO] [stderr] --> src/sodes/sode_implicit_methods.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct CrankNicolson { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 25 | function: Box f64>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 26 | y0: f64, [INFO] [stderr] | ^^ [INFO] [stderr] 27 | h: f64, [INFO] [stderr] | ^ [INFO] [stderr] 28 | n: i64, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: trait `Functions` is never used [INFO] [stderr] --> src/sodes/sode_multistep_methods.rs:3:18 [INFO] [stderr] | [INFO] [stderr] 3 | pub(crate) trait Functions { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Trapezoidal` is never constructed [INFO] [stderr] --> src/sodes/sode_multistep_methods.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct Trapezoidal {} [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AdamsBashforth` is never constructed [INFO] [stderr] --> src/sodes/sode_multistep_methods.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct AdamsBashforth {} [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AdamsMoulton` is never constructed [INFO] [stderr] --> src/sodes/sode_multistep_methods.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct AdamsMoulton {} [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `numerical_methods` (bin "numerical_methods" test) generated 45 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/numerical_methods-c2e8e870c76a9f60) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "87138d1290d6b1a6bfc1b0f7367614effaee2eea2f1d48a13f418623ab94545f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87138d1290d6b1a6bfc1b0f7367614effaee2eea2f1d48a13f418623ab94545f", kill_on_drop: false }` [INFO] [stdout] 87138d1290d6b1a6bfc1b0f7367614effaee2eea2f1d48a13f418623ab94545f