[INFO] fetching crate bayes 0.0.1... [INFO] checking bayes-0.0.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate bayes 0.0.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate bayes 0.0.1 [INFO] finished tweaking crates.io crate bayes 0.0.1 [INFO] tweaked toml for crates.io crate bayes 0.0.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bayes 0.0.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 38 packages to latest compatible versions [INFO] [stderr] Adding nalgebra v0.21.1 (available: v0.34.0) [INFO] [stderr] Adding petgraph v0.5.1 (available: v0.8.2) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] [stderr] Adding rand_distr v0.2.2 (available: v0.5.1) [INFO] [stderr] Adding simba v0.1.5 (available: v0.9.0) [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 simba v0.1.5 [INFO] [stderr] Downloaded nalgebra v0.21.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 80a7a2365d1bd9966b4b1ae5a54f74aedf3ee8a7e37549f0d0631be51f0a7586 [INFO] running `Command { std: "docker" "start" "-a" "80a7a2365d1bd9966b4b1ae5a54f74aedf3ee8a7e37549f0d0631be51f0a7586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80a7a2365d1bd9966b4b1ae5a54f74aedf3ee8a7e37549f0d0631be51f0a7586", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80a7a2365d1bd9966b4b1ae5a54f74aedf3ee8a7e37549f0d0631be51f0a7586", kill_on_drop: false }` [INFO] [stdout] 80a7a2365d1bd9966b4b1ae5a54f74aedf3ee8a7e37549f0d0631be51f0a7586 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] a38232197d507a96511fec2f8266650640558e7b940bfb458ab76a7a0e83fdbb [INFO] running `Command { std: "docker" "start" "-a" "a38232197d507a96511fec2f8266650640558e7b940bfb458ab76a7a0e83fdbb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling bayes v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking simba v0.1.5 [INFO] [stderr] Checking nalgebra v0.21.1 [INFO] [stdout] warning: trait `ApproximateDistribution` is never used [INFO] [stdout] --> src/optim/mod.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | trait ApproximateDistribution [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `obj`, `jac_norm`, and `param_norm` are never read [INFO] [stdout] --> src/optim/gsl/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct OptimizationStep { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 17 | obj : f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | jac_norm : f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | param_norm : f64 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptimizationStep` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `basis` is never read [INFO] [stdout] --> src/basis/frequency/dwt/gsl.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct DWTPlan [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | basis : Basis [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DWTPlan` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/basis/frequency/conv/iter.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | fn windows(&self, win_sz : (usize, usize)) -> PatchIterator; [INFO] [stdout] | ^^^^^ the lifetime is elided here --------------------------- the same lifetime is hidden 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] 93 | fn windows(&self, win_sz : (usize, usize)) -> PatchIterator<'_, N, S, U1, U1>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/basis/frequency/conv/iter.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | fn chunks(&self, sz : (usize, usize)) -> PatchIterator; [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] 103 | fn chunks(&self, sz : (usize, usize)) -> PatchIterator<'_, N, S, Dynamic, Dynamic>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/basis/frequency/conv/iter.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 143 | sz : (usize, usize) [INFO] [stdout] 144 | ) -> PatchIterator { [INFO] [stdout] | --------------------------- the same lifetime is hidden 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] 144 | ) -> PatchIterator<'_, N, S, U1, U1> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/basis/frequency/conv/iter.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 170 | sz : (usize, usize) [INFO] [stdout] 171 | ) -> PatchIterator { [INFO] [stdout] | ------------------------------------- the same lifetime is hidden 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] 171 | ) -> PatchIterator<'_, N, S, Dynamic, Dynamic> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_alloc` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn gsl_interp_alloc(T: *const gsl_interp_type, n: usize) -> *mut gsl_interp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn gsl_interp_alloc(T: *const gsl_interp_type, n: usize) -> *mut gsl_interp; [INFO] [stdout] | -------------------------------------------------------------------------------- `gsl_interp_alloc` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp_type, usize) -> *mut gsl::spline::gsl_interp` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp_type, usize) -> *mut spline2d::gsl_interp` [INFO] [stdout] = note: `#[warn(clashing_extern_declarations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_init` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | / pub fn gsl_interp_init( [INFO] [stdout] 112 | | obj: *mut gsl_interp, [INFO] [stdout] 113 | | xa: *const f64, [INFO] [stdout] 114 | | ya: *const f64, [INFO] [stdout] 115 | | size: usize, [INFO] [stdout] 116 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] | |_______________________________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | ) -> ::std::os::raw::c_int; [INFO] [stdout] | - `gsl_interp_init` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut gsl::spline::gsl_interp, *const f64, *const f64, usize) -> i32` [INFO] [stdout] found `unsafe extern "C" fn(*mut spline2d::gsl_interp, *const f64, *const f64, usize) -> i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_name` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn gsl_interp_name(interp: *const gsl_interp) -> *const ::std::os::raw::c_char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn gsl_interp_name(interp: *const gsl_interp) -> *const ::std::os::raw::c_char; [INFO] [stdout] | ----------------------------------------------------------------------------------- `gsl_interp_name` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp) -> *const i8` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp) -> *const i8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_min_size` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn gsl_interp_min_size(interp: *const gsl_interp) -> ::std::os::raw::c_uint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn gsl_interp_min_size(interp: *const gsl_interp) -> ::std::os::raw::c_uint; [INFO] [stdout] | -------------------------------------------------------------------------------- `gsl_interp_min_size` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp) -> u32` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp) -> u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_type_min_size` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn gsl_interp_type_min_size(T: *const gsl_interp_type) -> ::std::os::raw::c_uint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn gsl_interp_type_min_size(T: *const gsl_interp_type) -> ::std::os::raw::c_uint; [INFO] [stdout] | ------------------------------------------------------------------------------------- `gsl_interp_type_min_size` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp_type) -> u32` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp_type) -> u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_eval_e` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / pub fn gsl_interp_eval_e( [INFO] [stdout] 129 | | obj: *const gsl_interp, [INFO] [stdout] 130 | | xa: *const f64, [INFO] [stdout] 131 | | ya: *const f64, [INFO] [stdout] ... | [INFO] [stdout] 134 | | y: *mut f64, [INFO] [stdout] 135 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] | |_______________________________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:135:31 [INFO] [stdout] | [INFO] [stdout] 135 | ) -> ::std::os::raw::c_int; [INFO] [stdout] | - `gsl_interp_eval_e` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp, *const f64, *const f64, f64, *mut gsl::spline::gsl_interp_accel, *mut f64) -> i32` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp, *const f64, *const f64, f64, *mut spline2d::gsl_interp_accel, *mut f64) -> i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_eval` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / pub fn gsl_interp_eval( [INFO] [stdout] 139 | | obj: *const gsl_interp, [INFO] [stdout] 140 | | xa: *const f64, [INFO] [stdout] 141 | | ya: *const f64, [INFO] [stdout] 142 | | x: f64, [INFO] [stdout] 143 | | a: *mut gsl_interp_accel, [INFO] [stdout] 144 | | ) -> f64; [INFO] [stdout] | |_____________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> f64; [INFO] [stdout] | - `gsl_interp_eval` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp, *const f64, *const f64, f64, *mut gsl::spline::gsl_interp_accel) -> f64` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp, *const f64, *const f64, f64, *mut spline2d::gsl_interp_accel) -> f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_eval_deriv_e` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | / pub fn gsl_interp_eval_deriv_e( [INFO] [stdout] 148 | | obj: *const gsl_interp, [INFO] [stdout] 149 | | xa: *const f64, [INFO] [stdout] 150 | | ya: *const f64, [INFO] [stdout] ... | [INFO] [stdout] 153 | | d: *mut f64, [INFO] [stdout] 154 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] | |_______________________________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | ) -> ::std::os::raw::c_int; [INFO] [stdout] | - `gsl_interp_eval_deriv_e` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp, *const f64, *const f64, f64, *mut gsl::spline::gsl_interp_accel, *mut f64) -> i32` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp, *const f64, *const f64, f64, *mut spline2d::gsl_interp_accel, *mut f64) -> i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_eval_deriv` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | / pub fn gsl_interp_eval_deriv( [INFO] [stdout] 158 | | obj: *const gsl_interp, [INFO] [stdout] 159 | | xa: *const f64, [INFO] [stdout] 160 | | ya: *const f64, [INFO] [stdout] 161 | | x: f64, [INFO] [stdout] 162 | | a: *mut gsl_interp_accel, [INFO] [stdout] 163 | | ) -> f64; [INFO] [stdout] | |_____________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | ) -> f64; [INFO] [stdout] | - `gsl_interp_eval_deriv` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp, *const f64, *const f64, f64, *mut gsl::spline::gsl_interp_accel) -> f64` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp, *const f64, *const f64, f64, *mut spline2d::gsl_interp_accel) -> f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_eval_deriv2_e` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | / pub fn gsl_interp_eval_deriv2_e( [INFO] [stdout] 167 | | obj: *const gsl_interp, [INFO] [stdout] 168 | | xa: *const f64, [INFO] [stdout] 169 | | ya: *const f64, [INFO] [stdout] ... | [INFO] [stdout] 172 | | d2: *mut f64, [INFO] [stdout] 173 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] | |_______________________________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | ) -> ::std::os::raw::c_int; [INFO] [stdout] | - `gsl_interp_eval_deriv2_e` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp, *const f64, *const f64, f64, *mut gsl::spline::gsl_interp_accel, *mut f64) -> i32` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp, *const f64, *const f64, f64, *mut spline2d::gsl_interp_accel, *mut f64) -> i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_eval_deriv2` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | / pub fn gsl_interp_eval_deriv2( [INFO] [stdout] 177 | | obj: *const gsl_interp, [INFO] [stdout] 178 | | xa: *const f64, [INFO] [stdout] 179 | | ya: *const f64, [INFO] [stdout] 180 | | x: f64, [INFO] [stdout] 181 | | a: *mut gsl_interp_accel, [INFO] [stdout] 182 | | ) -> f64; [INFO] [stdout] | |_____________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | ) -> f64; [INFO] [stdout] | - `gsl_interp_eval_deriv2` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp, *const f64, *const f64, f64, *mut gsl::spline::gsl_interp_accel) -> f64` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp, *const f64, *const f64, f64, *mut spline2d::gsl_interp_accel) -> f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_eval_integ_e` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | / pub fn gsl_interp_eval_integ_e( [INFO] [stdout] 186 | | obj: *const gsl_interp, [INFO] [stdout] 187 | | xa: *const f64, [INFO] [stdout] 188 | | ya: *const f64, [INFO] [stdout] ... | [INFO] [stdout] 192 | | result: *mut f64, [INFO] [stdout] 193 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] | |_______________________________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | ) -> ::std::os::raw::c_int; [INFO] [stdout] | - `gsl_interp_eval_integ_e` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp, *const f64, *const f64, f64, f64, *mut gsl::spline::gsl_interp_accel, *mut f64) -> i32` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp, *const f64, *const f64, f64, f64, *mut spline2d::gsl_interp_accel, *mut f64) -> i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_eval_integ` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | / pub fn gsl_interp_eval_integ( [INFO] [stdout] 197 | | obj: *const gsl_interp, [INFO] [stdout] 198 | | xa: *const f64, [INFO] [stdout] 199 | | ya: *const f64, [INFO] [stdout] ... | [INFO] [stdout] 202 | | acc: *mut gsl_interp_accel, [INFO] [stdout] 203 | | ) -> f64; [INFO] [stdout] | |_____________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | ) -> f64; [INFO] [stdout] | - `gsl_interp_eval_integ` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp, *const f64, *const f64, f64, f64, *mut gsl::spline::gsl_interp_accel) -> f64` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp, *const f64, *const f64, f64, f64, *mut spline2d::gsl_interp_accel) -> f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_free` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn gsl_interp_free(interp: *mut gsl_interp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn gsl_interp_free(interp: *mut gsl_interp); [INFO] [stdout] | ------------------------------------------------ `gsl_interp_free` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut gsl::spline::gsl_interp)` [INFO] [stdout] found `unsafe extern "C" fn(*mut spline2d::gsl_interp)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ApproximateDistribution` is never used [INFO] [stdout] --> src/optim/mod.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | trait ApproximateDistribution [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `obj`, `jac_norm`, and `param_norm` are never read [INFO] [stdout] --> src/optim/gsl/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct OptimizationStep { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 17 | obj : f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | jac_norm : f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | param_norm : f64 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OptimizationStep` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `basis` is never read [INFO] [stdout] --> src/basis/frequency/dwt/gsl.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct DWTPlan [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | basis : Basis [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DWTPlan` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/basis/frequency/conv/iter.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | fn windows(&self, win_sz : (usize, usize)) -> PatchIterator; [INFO] [stdout] | ^^^^^ the lifetime is elided here --------------------------- the same lifetime is hidden 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] 93 | fn windows(&self, win_sz : (usize, usize)) -> PatchIterator<'_, N, S, U1, U1>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/basis/frequency/conv/iter.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | fn chunks(&self, sz : (usize, usize)) -> PatchIterator; [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] 103 | fn chunks(&self, sz : (usize, usize)) -> PatchIterator<'_, N, S, Dynamic, Dynamic>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/basis/frequency/conv/iter.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 143 | sz : (usize, usize) [INFO] [stdout] 144 | ) -> PatchIterator { [INFO] [stdout] | --------------------------- the same lifetime is hidden 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] 144 | ) -> PatchIterator<'_, N, S, U1, U1> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/basis/frequency/conv/iter.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 170 | sz : (usize, usize) [INFO] [stdout] 171 | ) -> PatchIterator { [INFO] [stdout] | ------------------------------------- the same lifetime is hidden 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] 171 | ) -> PatchIterator<'_, N, S, Dynamic, Dynamic> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_alloc` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn gsl_interp_alloc(T: *const gsl_interp_type, n: usize) -> *mut gsl_interp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn gsl_interp_alloc(T: *const gsl_interp_type, n: usize) -> *mut gsl_interp; [INFO] [stdout] | -------------------------------------------------------------------------------- `gsl_interp_alloc` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp_type, usize) -> *mut gsl::spline::gsl_interp` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp_type, usize) -> *mut spline2d::gsl_interp` [INFO] [stdout] = note: `#[warn(clashing_extern_declarations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_init` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | / pub fn gsl_interp_init( [INFO] [stdout] 112 | | obj: *mut gsl_interp, [INFO] [stdout] 113 | | xa: *const f64, [INFO] [stdout] 114 | | ya: *const f64, [INFO] [stdout] 115 | | size: usize, [INFO] [stdout] 116 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] | |_______________________________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | ) -> ::std::os::raw::c_int; [INFO] [stdout] | - `gsl_interp_init` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut gsl::spline::gsl_interp, *const f64, *const f64, usize) -> i32` [INFO] [stdout] found `unsafe extern "C" fn(*mut spline2d::gsl_interp, *const f64, *const f64, usize) -> i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_name` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn gsl_interp_name(interp: *const gsl_interp) -> *const ::std::os::raw::c_char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn gsl_interp_name(interp: *const gsl_interp) -> *const ::std::os::raw::c_char; [INFO] [stdout] | ----------------------------------------------------------------------------------- `gsl_interp_name` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp) -> *const i8` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp) -> *const i8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_min_size` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn gsl_interp_min_size(interp: *const gsl_interp) -> ::std::os::raw::c_uint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn gsl_interp_min_size(interp: *const gsl_interp) -> ::std::os::raw::c_uint; [INFO] [stdout] | -------------------------------------------------------------------------------- `gsl_interp_min_size` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp) -> u32` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp) -> u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_type_min_size` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn gsl_interp_type_min_size(T: *const gsl_interp_type) -> ::std::os::raw::c_uint; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn gsl_interp_type_min_size(T: *const gsl_interp_type) -> ::std::os::raw::c_uint; [INFO] [stdout] | ------------------------------------------------------------------------------------- `gsl_interp_type_min_size` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp_type) -> u32` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp_type) -> u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_eval_e` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / pub fn gsl_interp_eval_e( [INFO] [stdout] 129 | | obj: *const gsl_interp, [INFO] [stdout] 130 | | xa: *const f64, [INFO] [stdout] 131 | | ya: *const f64, [INFO] [stdout] ... | [INFO] [stdout] 134 | | y: *mut f64, [INFO] [stdout] 135 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] | |_______________________________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:135:31 [INFO] [stdout] | [INFO] [stdout] 135 | ) -> ::std::os::raw::c_int; [INFO] [stdout] | - `gsl_interp_eval_e` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp, *const f64, *const f64, f64, *mut gsl::spline::gsl_interp_accel, *mut f64) -> i32` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp, *const f64, *const f64, f64, *mut spline2d::gsl_interp_accel, *mut f64) -> i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_eval` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / pub fn gsl_interp_eval( [INFO] [stdout] 139 | | obj: *const gsl_interp, [INFO] [stdout] 140 | | xa: *const f64, [INFO] [stdout] 141 | | ya: *const f64, [INFO] [stdout] 142 | | x: f64, [INFO] [stdout] 143 | | a: *mut gsl_interp_accel, [INFO] [stdout] 144 | | ) -> f64; [INFO] [stdout] | |_____________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | ) -> f64; [INFO] [stdout] | - `gsl_interp_eval` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp, *const f64, *const f64, f64, *mut gsl::spline::gsl_interp_accel) -> f64` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp, *const f64, *const f64, f64, *mut spline2d::gsl_interp_accel) -> f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_eval_deriv_e` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | / pub fn gsl_interp_eval_deriv_e( [INFO] [stdout] 148 | | obj: *const gsl_interp, [INFO] [stdout] 149 | | xa: *const f64, [INFO] [stdout] 150 | | ya: *const f64, [INFO] [stdout] ... | [INFO] [stdout] 153 | | d: *mut f64, [INFO] [stdout] 154 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] | |_______________________________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:154:31 [INFO] [stdout] | [INFO] [stdout] 154 | ) -> ::std::os::raw::c_int; [INFO] [stdout] | - `gsl_interp_eval_deriv_e` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp, *const f64, *const f64, f64, *mut gsl::spline::gsl_interp_accel, *mut f64) -> i32` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp, *const f64, *const f64, f64, *mut spline2d::gsl_interp_accel, *mut f64) -> i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_eval_deriv` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | / pub fn gsl_interp_eval_deriv( [INFO] [stdout] 158 | | obj: *const gsl_interp, [INFO] [stdout] 159 | | xa: *const f64, [INFO] [stdout] 160 | | ya: *const f64, [INFO] [stdout] 161 | | x: f64, [INFO] [stdout] 162 | | a: *mut gsl_interp_accel, [INFO] [stdout] 163 | | ) -> f64; [INFO] [stdout] | |_____________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | ) -> f64; [INFO] [stdout] | - `gsl_interp_eval_deriv` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp, *const f64, *const f64, f64, *mut gsl::spline::gsl_interp_accel) -> f64` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp, *const f64, *const f64, f64, *mut spline2d::gsl_interp_accel) -> f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_eval_deriv2_e` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | / pub fn gsl_interp_eval_deriv2_e( [INFO] [stdout] 167 | | obj: *const gsl_interp, [INFO] [stdout] 168 | | xa: *const f64, [INFO] [stdout] 169 | | ya: *const f64, [INFO] [stdout] ... | [INFO] [stdout] 172 | | d2: *mut f64, [INFO] [stdout] 173 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] | |_______________________________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | ) -> ::std::os::raw::c_int; [INFO] [stdout] | - `gsl_interp_eval_deriv2_e` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp, *const f64, *const f64, f64, *mut gsl::spline::gsl_interp_accel, *mut f64) -> i32` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp, *const f64, *const f64, f64, *mut spline2d::gsl_interp_accel, *mut f64) -> i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_eval_deriv2` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | / pub fn gsl_interp_eval_deriv2( [INFO] [stdout] 177 | | obj: *const gsl_interp, [INFO] [stdout] 178 | | xa: *const f64, [INFO] [stdout] 179 | | ya: *const f64, [INFO] [stdout] 180 | | x: f64, [INFO] [stdout] 181 | | a: *mut gsl_interp_accel, [INFO] [stdout] 182 | | ) -> f64; [INFO] [stdout] | |_____________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | ) -> f64; [INFO] [stdout] | - `gsl_interp_eval_deriv2` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp, *const f64, *const f64, f64, *mut gsl::spline::gsl_interp_accel) -> f64` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp, *const f64, *const f64, f64, *mut spline2d::gsl_interp_accel) -> f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_eval_integ_e` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | / pub fn gsl_interp_eval_integ_e( [INFO] [stdout] 186 | | obj: *const gsl_interp, [INFO] [stdout] 187 | | xa: *const f64, [INFO] [stdout] 188 | | ya: *const f64, [INFO] [stdout] ... | [INFO] [stdout] 192 | | result: *mut f64, [INFO] [stdout] 193 | | ) -> ::std::os::raw::c_int; [INFO] [stdout] | |_______________________________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | ) -> ::std::os::raw::c_int; [INFO] [stdout] | - `gsl_interp_eval_integ_e` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp, *const f64, *const f64, f64, f64, *mut gsl::spline::gsl_interp_accel, *mut f64) -> i32` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp, *const f64, *const f64, f64, f64, *mut spline2d::gsl_interp_accel, *mut f64) -> i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_eval_integ` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | / pub fn gsl_interp_eval_integ( [INFO] [stdout] 197 | | obj: *const gsl_interp, [INFO] [stdout] 198 | | xa: *const f64, [INFO] [stdout] 199 | | ya: *const f64, [INFO] [stdout] ... | [INFO] [stdout] 202 | | acc: *mut gsl_interp_accel, [INFO] [stdout] 203 | | ) -> f64; [INFO] [stdout] | |_____________^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | ) -> f64; [INFO] [stdout] | - `gsl_interp_eval_integ` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*const gsl::spline::gsl_interp, *const f64, *const f64, f64, f64, *mut gsl::spline::gsl_interp_accel) -> f64` [INFO] [stdout] found `unsafe extern "C" fn(*const spline2d::gsl_interp, *const f64, *const f64, f64, f64, *mut spline2d::gsl_interp_accel) -> f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gsl_interp_free` redeclared with a different signature [INFO] [stdout] --> src/gsl/spline2d.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn gsl_interp_free(interp: *mut gsl_interp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/gsl/spline.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn gsl_interp_free(interp: *mut gsl_interp); [INFO] [stdout] | ------------------------------------------------ `gsl_interp_free` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(*mut gsl::spline::gsl_interp)` [INFO] [stdout] found `unsafe extern "C" fn(*mut spline2d::gsl_interp)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bayes::gsl::utils::*` [INFO] [stdout] --> tests/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bayes::gsl::utils::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> tests/mod.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | DMatrix::from_fn(n, 1, |i,j| (i+1) as f64 * (1. / n as f64) ) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> tests/mod.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | DMatrix::from_fn(n, 1, |i,j| (i+1) as f64) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.24s [INFO] running `Command { std: "docker" "inspect" "a38232197d507a96511fec2f8266650640558e7b940bfb458ab76a7a0e83fdbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a38232197d507a96511fec2f8266650640558e7b940bfb458ab76a7a0e83fdbb", kill_on_drop: false }` [INFO] [stdout] a38232197d507a96511fec2f8266650640558e7b940bfb458ab76a7a0e83fdbb