[INFO] fetching crate ida 0.1.1... [INFO] checking ida-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate ida 0.1.1 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ida 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 154 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.7.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.2) [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ndarray-rand v0.9.0 [INFO] [stderr] Downloaded nearly_eq v0.2.4 [INFO] [stderr] Downloaded ndarray v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86666402a87e51a5f5eca1a90169f2f4d65e4dcb562123139bb51675d48cc2bd [INFO] running `Command { std: "docker" "start" "-a" "86666402a87e51a5f5eca1a90169f2f4d65e4dcb562123139bb51675d48cc2bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86666402a87e51a5f5eca1a90169f2f4d65e4dcb562123139bb51675d48cc2bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86666402a87e51a5f5eca1a90169f2f4d65e4dcb562123139bb51675d48cc2bd", kill_on_drop: false }` [INFO] [stdout] 86666402a87e51a5f5eca1a90169f2f4d65e4dcb562123139bb51675d48cc2bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 992dff151e177a256268052c40b44397258d5e2a772607d1d45670d5535b4af5 [INFO] running `Command { std: "docker" "start" "-a" "992dff151e177a256268052c40b44397258d5e2a772607d1d45670d5535b4af5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking nearly_eq v0.2.4 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking ndarray-rand v0.9.0 [INFO] [stderr] Checking 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 `Debug` and `Clone`, 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 `Clone` and `Debug`, 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ida_io.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_yy(&self) -> ndarray::ArrayView1 { [INFO] [stdout] | ^^^^^ ------------------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_yy(&self) -> ndarray::ArrayView1<'_, P::Scalar> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ida_io.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_yp(&self) -> ndarray::ArrayView1 { [INFO] [stdout] | ^^^^^ ------------------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_yp(&self) -> ndarray::ArrayView1<'_, P::Scalar> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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] Checking criterion v0.2.11 [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] running `Command { std: "docker" "inspect" "992dff151e177a256268052c40b44397258d5e2a772607d1d45670d5535b4af5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "992dff151e177a256268052c40b44397258d5e2a772607d1d45670d5535b4af5", kill_on_drop: false }` [INFO] [stdout] 992dff151e177a256268052c40b44397258d5e2a772607d1d45670d5535b4af5