[INFO] fetching crate ida 0.1.1... [INFO] testing ida-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate ida 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate ida 0.1.1 [INFO] finished tweaking crates.io crate ida 0.1.1 [INFO] tweaked toml for crates.io crate ida 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ida 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 145 packages to latest compatible versions [INFO] [stderr] Adding approx v0.3.2 (available: v0.5.1) [INFO] [stderr] Adding criterion v0.2.11 (available: v0.6.0) [INFO] [stderr] Adding ndarray v0.12.1 (available: v0.16.1) [INFO] [stderr] Adding ndarray-rand v0.9.0 (available: v0.15.0) [INFO] [stderr] Adding pretty_env_logger v0.3.1 (available: v0.5.0) [INFO] [stderr] Adding prettytable-rs v0.8.0 (available: v0.10.0) [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nearly_eq v0.2.4 [INFO] [stderr] Downloaded thread_profiler v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dffb5661894cc449ae7ad9ae8269c7a526a329e906a53fd465c6c5a9b4d16ab [INFO] running `Command { std: "docker" "start" "-a" "9dffb5661894cc449ae7ad9ae8269c7a526a329e906a53fd465c6c5a9b4d16ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dffb5661894cc449ae7ad9ae8269c7a526a329e906a53fd465c6c5a9b4d16ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dffb5661894cc449ae7ad9ae8269c7a526a329e906a53fd465c6c5a9b4d16ab", kill_on_drop: false }` [INFO] [stdout] 9dffb5661894cc449ae7ad9ae8269c7a526a329e906a53fd465c6c5a9b4d16ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 10edd80f9bcec003abc16da0c342f40c9e635e25ce655178a2ae13ec6f573ec6 [INFO] running `Command { std: "docker" "start" "-a" "10edd80f9bcec003abc16da0c342f40c9e635e25ce655178a2ae13ec6f573ec6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling ida v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::error::IdaError` [INFO] [stdout] --> src/ida_nls.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::error::IdaError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `imax_loop` is never read [INFO] [stdout] --> src/impl_r_check.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | let mut imax_loop = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/traits.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | t: Self::Scalar, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/traits.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | y: ArrayBase, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yp` [INFO] [stdout] --> src/traits.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | yp: ArrayBase, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_yp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gout` [INFO] [stdout] --> src/traits.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | gout: ArrayBase, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_gout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IdaConverged` is never used [INFO] [stdout] --> src/lib.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | enum IdaConverged { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ida_nre` is never read [INFO] [stdout] --> src/lib.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct IdaCounters { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | ida_nre: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdaCounters` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ida_constraints` is never read [INFO] [stdout] --> src/lib.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Ida [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 123 | ida_constraints: Array, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ida` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXNH` is never used [INFO] [stdout] --> src/constants.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const MAXNH: u32 = 5; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXNJ` is never used [INFO] [stdout] --> src/constants.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const MAXNJ: u32 = 4; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXNI` is never used [INFO] [stdout] --> src/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const MAXNI: u32 = 10; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXBACKS` is never used [INFO] [stdout] --> src/constants.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const MAXBACKS: u32 = 100; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Residual`, `LSetup`, `LSolve`, `Constraint`, and `NLSSetup` are never constructed [INFO] [stdout] --> src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Recoverable { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 5 | /// IDA_RES_RECVR [INFO] [stdout] 6 | Residual, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | /// IDA_LSETUP_RECVR [INFO] [stdout] 8 | LSetup, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | /// IDA_LSOLVE_RECVR [INFO] [stdout] 10 | LSolve, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | /// IDA_CONSTR_RECVR [INFO] [stdout] 12 | Constraint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | /// IDA_NLS_SETUP_RECVR [INFO] [stdout] 14 | NLSSetup, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Recoverable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/error.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum IdaError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 30 | RepeatedResidualError {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | LinearInitFail {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | BadErrorWeightVector {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | FirstResidualFail {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | LinearSetupFail {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | LinearSolveFail {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | NoRecovery {}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | RecoverableFail { rec_type: Recoverable }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | LinesearchFail {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | RootFunctionFail { t: f64 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdaError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dqincfac`, `npe`, `nps`, `njtsetup`, and `njtimes` are never read [INFO] [stdout] --> src/ida_ls.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct IdaLProblem [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | dqincfac: P::Scalar, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | npe: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | nps: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | njtsetup: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | /// njtimes = total number of calls to jtimes [INFO] [stdout] 59 | njtimes: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdaLProblem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `a` is never read [INFO] [stdout] --> src/ida_nls.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct IdaNLProblem [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | a: Array2, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `IdaNLProblem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `x` is never read [INFO] [stdout] --> src/linear/dense.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Dense { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 9 | x: Scalar, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Dense` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/lib.rs:440:12 [INFO] [stdout] | [INFO] [stdout] 440 | if (k < 0) || (k > self.ida_kused) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_IdaError` [INFO] [stdout] 18 | pub enum IdaError { [INFO] [stdout] | -------- `IdaError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_IdaError` [INFO] [stdout] 18 | pub enum IdaError { [INFO] [stdout] | -------- `IdaError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ida_io.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_yy(&self) -> ndarray::ArrayView1 { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_yy(&self) -> ndarray::ArrayView1<'_, P::Scalar> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ida_io.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_yp(&self) -> ndarray::ArrayView1 { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_yp(&self) -> ndarray::ArrayView1<'_, P::Scalar> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ida_io.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn get_root_info(&self) -> ndarray::ArrayView1 { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 115 | pub fn get_root_info(&self) -> ndarray::ArrayView1<'_, P::Scalar> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/impl_r_check.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | self.get_solution(self.ida_tlo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 122 | let _ = self.get_solution(self.ida_tlo); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/impl_r_check.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | self.get_solution(tplus); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 162 | let _ = self.get_solution(tplus); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/impl_r_check.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | self.get_solution(self.ida_thi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 236 | let _ = self.get_solution(self.ida_thi); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/impl_r_check.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | self.get_solution(self.ida_trout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 267 | let _ = self.get_solution(self.ida_trout); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/impl_r_check.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | self.get_solution(tmid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 472 | let _ = self.get_solution(tmid); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/nonlinear/traits.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/nonlinear/traits.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `J1` should have a snake case name [INFO] [stdout] --> src/sample_problems/slider_crank.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | J1: f64, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `j1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `J2` should have a snake case name [INFO] [stdout] --> src/sample_problems/slider_crank.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | J2: f64, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `j2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `F` should have a snake case name [INFO] [stdout] --> src/sample_problems/slider_crank.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | F: f64, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/sample_problems/slider_crank.rs:47:57 [INFO] [stdout] | [INFO] [stdout] 47 | fn force(&self, yy: ArrayBase, mut Q: ArrayBase) [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/sample_problems/slider_crank.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let mut Q = Array1::zeros(3); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.66s [INFO] running `Command { std: "docker" "inspect" "10edd80f9bcec003abc16da0c342f40c9e635e25ce655178a2ae13ec6f573ec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10edd80f9bcec003abc16da0c342f40c9e635e25ce655178a2ae13ec6f573ec6", kill_on_drop: false }` [INFO] [stdout] 10edd80f9bcec003abc16da0c342f40c9e635e25ce655178a2ae13ec6f573ec6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4a981aa00e8503546d2d9bb8612e88514b6a9dc5d20539a73c7d19176f9ed9f4 [INFO] running `Command { std: "docker" "start" "-a" "4a981aa00e8503546d2d9bb8612e88514b6a9dc5d20539a73c7d19176f9ed9f4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stdout] warning: unused import: `super::error::IdaError` [INFO] [stdout] --> src/ida_nls.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::error::IdaError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `imax_loop` is never read [INFO] [stdout] --> src/impl_r_check.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | let mut imax_loop = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/traits.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | t: Self::Scalar, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/traits.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | y: ArrayBase, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yp` [INFO] [stdout] --> src/traits.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | yp: ArrayBase, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_yp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gout` [INFO] [stdout] --> src/traits.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | gout: ArrayBase, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_gout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IdaConverged` is never used [INFO] [stdout] --> src/lib.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | enum IdaConverged { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ida_nre` is never read [INFO] [stdout] --> src/lib.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct IdaCounters { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 76 | ida_nre: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdaCounters` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ida_constraints` is never read [INFO] [stdout] --> src/lib.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct Ida [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 123 | ida_constraints: Array, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ida` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXNH` is never used [INFO] [stdout] --> src/constants.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const MAXNH: u32 = 5; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXNJ` is never used [INFO] [stdout] --> src/constants.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const MAXNJ: u32 = 4; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXNI` is never used [INFO] [stdout] --> src/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const MAXNI: u32 = 10; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAXBACKS` is never used [INFO] [stdout] --> src/constants.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const MAXBACKS: u32 = 100; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Residual`, `LSetup`, `LSolve`, `Constraint`, and `NLSSetup` are never constructed [INFO] [stdout] --> src/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Recoverable { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 5 | /// IDA_RES_RECVR [INFO] [stdout] 6 | Residual, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | /// IDA_LSETUP_RECVR [INFO] [stdout] 8 | LSetup, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | /// IDA_LSOLVE_RECVR [INFO] [stdout] 10 | LSolve, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | /// IDA_CONSTR_RECVR [INFO] [stdout] 12 | Constraint, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | /// IDA_NLS_SETUP_RECVR [INFO] [stdout] 14 | NLSSetup, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Recoverable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/error.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum IdaError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 30 | RepeatedResidualError {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | LinearInitFail {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | BadErrorWeightVector {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | FirstResidualFail {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | LinearSetupFail {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | LinearSolveFail {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | NoRecovery {}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | RecoverableFail { rec_type: Recoverable }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | LinesearchFail {}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | RootFunctionFail { t: f64 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdaError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dqincfac`, `npe`, `nps`, `njtsetup`, and `njtimes` are never read [INFO] [stdout] --> src/ida_ls.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct IdaLProblem [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 43 | dqincfac: P::Scalar, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | npe: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | nps: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | njtsetup: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | /// njtimes = total number of calls to jtimes [INFO] [stdout] 59 | njtimes: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdaLProblem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `a` is never read [INFO] [stdout] --> src/ida_nls.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct IdaNLProblem [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | a: Array2, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `IdaNLProblem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `x` is never read [INFO] [stdout] --> src/linear/dense.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Dense { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 9 | x: Scalar, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Dense` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/lib.rs:440:12 [INFO] [stdout] | [INFO] [stdout] 440 | if (k < 0) || (k > self.ida_kused) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_IdaError` [INFO] [stdout] 18 | pub enum IdaError { [INFO] [stdout] | -------- `IdaError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_IdaError` [INFO] [stdout] 18 | pub enum IdaError { [INFO] [stdout] | -------- `IdaError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ida_io.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_yy(&self) -> ndarray::ArrayView1 { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_yy(&self) -> ndarray::ArrayView1<'_, P::Scalar> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ida_io.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_yp(&self) -> ndarray::ArrayView1 { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_yp(&self) -> ndarray::ArrayView1<'_, P::Scalar> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ida_io.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn get_root_info(&self) -> ndarray::ArrayView1 { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 115 | pub fn get_root_info(&self) -> ndarray::ArrayView1<'_, P::Scalar> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/impl_r_check.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | self.get_solution(self.ida_tlo); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 122 | let _ = self.get_solution(self.ida_tlo); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/impl_r_check.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | self.get_solution(tplus); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 162 | let _ = self.get_solution(tplus); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/impl_r_check.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | self.get_solution(self.ida_thi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 236 | let _ = self.get_solution(self.ida_thi); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/impl_r_check.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | self.get_solution(self.ida_trout); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 267 | let _ = self.get_solution(self.ida_trout); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/impl_r_check.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | self.get_solution(tmid); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 472 | let _ = self.get_solution(tmid); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/nonlinear/traits.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/nonlinear/traits.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `J1` should have a snake case name [INFO] [stdout] --> src/sample_problems/slider_crank.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | J1: f64, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `j1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `J2` should have a snake case name [INFO] [stdout] --> src/sample_problems/slider_crank.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | J2: f64, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `j2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `F` should have a snake case name [INFO] [stdout] --> src/sample_problems/slider_crank.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | F: f64, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/sample_problems/slider_crank.rs:47:57 [INFO] [stdout] | [INFO] [stdout] 47 | fn force(&self, yy: ArrayBase, mut Q: ArrayBase) [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/sample_problems/slider_crank.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | let mut Q = Array1::zeros(3); [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling ndarray-rand v0.9.0 [INFO] [stderr] Compiling criterion-plot v0.3.1 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling criterion v0.2.11 [INFO] [stderr] Compiling nearly_eq v0.2.4 [INFO] [stderr] Compiling ida v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `*`, `linear::*`, and `nonlinear::*` [INFO] [stdout] --> tests/lorenz63.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use ida::{linear::*, nonlinear::*, traits::*, *}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tres` [INFO] [stdout] --> tests/lorenz63.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | tres: Self::Scalar, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tres` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yy` [INFO] [stdout] --> tests/lorenz63.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | yy: ArrayBase, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_yy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yp` [INFO] [stdout] --> tests/lorenz63.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | yp: ArrayBase, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_yp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resval` [INFO] [stdout] --> tests/lorenz63.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | mut resval: ArrayBase, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_resval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/lorenz63.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | mut resval: ArrayBase, [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tt` [INFO] [stdout] --> tests/lorenz63.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | tt: Self::Scalar, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cj` [INFO] [stdout] --> tests/lorenz63.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | cj: Self::Scalar, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yy` [INFO] [stdout] --> tests/lorenz63.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | yy: ArrayBase, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_yy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yp` [INFO] [stdout] --> tests/lorenz63.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | yp: ArrayBase, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_yp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rr` [INFO] [stdout] --> tests/lorenz63.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | rr: ArrayBase, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> tests/lorenz63.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | mut j: ArrayBase, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/lorenz63.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | mut j: ArrayBase, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::error::IdaError` [INFO] [stdout] --> src/ida_nls.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::error::IdaError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 1]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/get_solution.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | assert_nearly_eq!(ida.get_yy(), yret_expect); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `get_solution::test_get_solution::nearly_eq_noeps` [INFO] [stdout] --> src/tests/get_solution.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | assert_nearly_eq!(ida.get_yy(), yret_expect); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 1]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/get_solution.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | assert_nearly_eq!(ida.get_yp(), ypret_expect); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `get_solution::test_get_solution::nearly_eq_noeps` [INFO] [stdout] --> src/tests/get_solution.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | assert_nearly_eq!(ida.get_yp(), ypret_expect); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 2]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/predict.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | assert_nearly_eq!(ida.ida_phi, ida_phi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `predict::test1::nearly_eq_noeps` [INFO] [stdout] --> src/tests/predict.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | assert_nearly_eq!(ida.ida_phi, ida_phi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 1]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/predict.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | assert_nearly_eq!(ida.nlp.ida_yypredict, ida_yypredict); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `predict::test1::nearly_eq_noeps` [INFO] [stdout] --> src/tests/predict.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | assert_nearly_eq!(ida.nlp.ida_yypredict, ida_yypredict); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 1]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/predict.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | assert_nearly_eq!(ida.nlp.ida_yppredict, ida_yppredict); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `predict::test1::nearly_eq_noeps` [INFO] [stdout] --> src/tests/predict.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | assert_nearly_eq!(ida.nlp.ida_yppredict, ida_yppredict); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 1]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/restore.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | assert_nearly_eq!(ida.ida_cvals, cvals_after); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `restore::test_restore1::nearly_eq_noeps` [INFO] [stdout] --> src/tests/restore.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | assert_nearly_eq!(ida.ida_cvals, cvals_after); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 1]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/restore.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | assert_nearly_eq!(ida.ida_beta, beta_after); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `restore::test_restore1::nearly_eq_noeps` [INFO] [stdout] --> src/tests/restore.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | assert_nearly_eq!(ida.ida_beta, beta_after); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 1]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/restore.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | assert_nearly_eq!(ida.ida_psi, psi_after); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `restore::test_restore1::nearly_eq_noeps` [INFO] [stdout] --> src/tests/restore.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | assert_nearly_eq!(ida.ida_psi, psi_after); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 2]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/restore.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | assert_nearly_eq!(ida.ida_phi, phi_after); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `restore::test_restore1::nearly_eq_noeps` [INFO] [stdout] --> src/tests/restore.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | assert_nearly_eq!(ida.ida_phi, phi_after); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 1]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/set_coeffs.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | assert_nearly_eq!(ida.ida_beta, ida_beta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `set_coeffs::test1::nearly_eq_noeps` [INFO] [stdout] --> src/tests/set_coeffs.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | assert_nearly_eq!(ida.ida_beta, ida_beta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 1]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/set_coeffs.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | assert_nearly_eq!(ida.ida_alpha, ida_alpha); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `set_coeffs::test1::nearly_eq_noeps` [INFO] [stdout] --> src/tests/set_coeffs.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | assert_nearly_eq!(ida.ida_alpha, ida_alpha); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 1]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/set_coeffs.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | assert_nearly_eq!(ida.ida_gamma, ida_gamma); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `set_coeffs::test1::nearly_eq_noeps` [INFO] [stdout] --> src/tests/set_coeffs.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | assert_nearly_eq!(ida.ida_gamma, ida_gamma); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 1]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/set_coeffs.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | assert_nearly_eq!(ida.ida_sigma, ida_sigma); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `set_coeffs::test1::nearly_eq_noeps` [INFO] [stdout] --> src/tests/set_coeffs.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | assert_nearly_eq!(ida.ida_sigma, ida_sigma); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 2]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/set_coeffs.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | assert_nearly_eq!(ida.ida_phi, ida_phi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `set_coeffs::test1::nearly_eq_noeps` [INFO] [stdout] --> src/tests/set_coeffs.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | assert_nearly_eq!(ida.ida_phi, ida_phi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 1]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/set_coeffs.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | assert_nearly_eq!(ida.ida_psi, ida_psi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `set_coeffs::test1::nearly_eq_noeps` [INFO] [stdout] --> src/tests/set_coeffs.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | assert_nearly_eq!(ida.ida_psi, ida_psi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 1]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/set_coeffs.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | assert_nearly_eq!(ida.ida_beta, ida_beta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `set_coeffs::test2::nearly_eq_noeps` [INFO] [stdout] --> src/tests/set_coeffs.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | assert_nearly_eq!(ida.ida_beta, ida_beta); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 1]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/set_coeffs.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | assert_nearly_eq!(ida.ida_alpha, ida_alpha); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `set_coeffs::test2::nearly_eq_noeps` [INFO] [stdout] --> src/tests/set_coeffs.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | assert_nearly_eq!(ida.ida_alpha, ida_alpha); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 1]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/set_coeffs.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | assert_nearly_eq!(ida.ida_gamma, ida_gamma); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `set_coeffs::test2::nearly_eq_noeps` [INFO] [stdout] --> src/tests/set_coeffs.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | assert_nearly_eq!(ida.ida_gamma, ida_gamma); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 1]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/set_coeffs.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | assert_nearly_eq!(ida.ida_sigma, ida_sigma); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `set_coeffs::test2::nearly_eq_noeps` [INFO] [stdout] --> src/tests/set_coeffs.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | assert_nearly_eq!(ida.ida_sigma, ida_sigma); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 2]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/set_coeffs.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | assert_nearly_eq!(ida.ida_phi, ida_phi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `set_coeffs::test2::nearly_eq_noeps` [INFO] [stdout] --> src/tests/set_coeffs.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | assert_nearly_eq!(ida.ida_phi, ida_phi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 1]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/tests/set_coeffs.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | assert_nearly_eq!(ida.ida_psi, ida_psi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `set_coeffs::test2::nearly_eq_noeps` [INFO] [stdout] --> src/tests/set_coeffs.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | assert_nearly_eq!(ida.ida_psi, ida_psi); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 1]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/linear/dense.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | assert_nearly_eq!(x, expected); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `dense::tests::test_dense1::nearly_eq_noeps` [INFO] [stdout] --> src/linear/dense.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | assert_nearly_eq!(x, expected); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq_noeps` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, Dim<[usize; 1]>>: nearly_eq::NearlyEq<_, _>` is not satisfied [INFO] [stdout] --> src/nonlinear/newton.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | assert_nearly_eq!(&y - &y_exp, expected_err, 1e-9); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the trait `nearly_eq::NearlyEq<_, _>` is not implemented for `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `nearly_eq::NearlyEq`: [INFO] [stdout] `&'a C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `&'a mut C` implements `nearly_eq::NearlyEq` [INFO] [stdout] `Arc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Cell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Option` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Rc` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `RefCell` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] `Vec` implements `nearly_eq::NearlyEq, B>` [INFO] [stdout] and 46 others [INFO] [stdout] note: required by a bound in `nearly_eq` [INFO] [stdout] --> src/nonlinear/newton.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | assert_nearly_eq!(&y - &y_exp, expected_err, 1e-9); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `nearly_eq` [INFO] [stdout] = note: this error originates in the macro `assert_nearly_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `imax_loop` is never read [INFO] [stdout] --> src/impl_r_check.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | let mut imax_loop = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ida_ss` [INFO] [stdout] --> src/tests/nonlinear_solve.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let ida_ss = 5.8988157110219739e-03; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ida_ss` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/traits.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | t: Self::Scalar, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/traits.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | y: ArrayBase, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yp` [INFO] [stdout] --> src/traits.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | yp: ArrayBase, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_yp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gout` [INFO] [stdout] --> src/traits.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | gout: ArrayBase, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_gout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ida` (lib test) due to 23 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4a981aa00e8503546d2d9bb8612e88514b6a9dc5d20539a73c7d19176f9ed9f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a981aa00e8503546d2d9bb8612e88514b6a9dc5d20539a73c7d19176f9ed9f4", kill_on_drop: false }` [INFO] [stdout] 4a981aa00e8503546d2d9bb8612e88514b6a9dc5d20539a73c7d19176f9ed9f4