[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] building ryunezm/rust_numerical_methods against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryunezm%2Frust_numerical_methods" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ryunezm/rust_numerical_methods on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29bca049d74f1e8899ea48bd6e4c6cfc1694166de6e1c0d4e4f865551a07fb84 [INFO] running `Command { std: "docker" "start" "-a" "29bca049d74f1e8899ea48bd6e4c6cfc1694166de6e1c0d4e4f865551a07fb84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29bca049d74f1e8899ea48bd6e4c6cfc1694166de6e1c0d4e4f865551a07fb84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29bca049d74f1e8899ea48bd6e4c6cfc1694166de6e1c0d4e4f865551a07fb84", kill_on_drop: false }` [INFO] [stdout] 29bca049d74f1e8899ea48bd6e4c6cfc1694166de6e1c0d4e4f865551a07fb84 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d93332fda0572ce508821ca0403dcfc4d6e27af37540a0ba62dba0eb04d3b44 [INFO] running `Command { std: "docker" "start" "-a" "3d93332fda0572ce508821ca0403dcfc4d6e27af37540a0ba62dba0eb04d3b44", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.33 [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cfg-expr v0.15.6 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling evalexpr v11.1.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling gtk4-macros v0.7.2 [INFO] [stderr] Compiling system-deps v6.2.0 [INFO] [stderr] Compiling glib-macros v0.18.5 [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 gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling gdk4-sys v0.7.2 [INFO] [stderr] Compiling graphene-sys v0.18.1 [INFO] [stderr] Compiling gsk4-sys v0.7.3 [INFO] [stderr] Compiling gtk4-sys v0.7.3 [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 pango v0.18.3 [INFO] [stderr] Compiling gdk-pixbuf v0.18.5 [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)]` 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)]` 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 2m 02s [INFO] running `Command { std: "docker" "inspect" "3d93332fda0572ce508821ca0403dcfc4d6e27af37540a0ba62dba0eb04d3b44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d93332fda0572ce508821ca0403dcfc4d6e27af37540a0ba62dba0eb04d3b44", kill_on_drop: false }` [INFO] [stdout] 3d93332fda0572ce508821ca0403dcfc4d6e27af37540a0ba62dba0eb04d3b44 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cb558eaccb53185d4be0c2ddf5ffa1bdf9a078d0907edb9d7e11e34e2355b72 [INFO] running `Command { std: "docker" "start" "-a" "7cb558eaccb53185d4be0c2ddf5ffa1bdf9a078d0907edb9d7e11e34e2355b72", 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)]` 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)]` 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.93s [INFO] running `Command { std: "docker" "inspect" "7cb558eaccb53185d4be0c2ddf5ffa1bdf9a078d0907edb9d7e11e34e2355b72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cb558eaccb53185d4be0c2ddf5ffa1bdf9a078d0907edb9d7e11e34e2355b72", kill_on_drop: false }` [INFO] [stdout] 7cb558eaccb53185d4be0c2ddf5ffa1bdf9a078d0907edb9d7e11e34e2355b72