[INFO] fetching crate bayes 0.0.1... [INFO] testing bayes-0.0.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate bayes 0.0.1 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bayes 0.0.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9d613ae0054b4567701857248ee69d22af94317a816122294dc0e85cd77cd9ab [INFO] running `Command { std: "docker" "start" "-a" "9d613ae0054b4567701857248ee69d22af94317a816122294dc0e85cd77cd9ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d613ae0054b4567701857248ee69d22af94317a816122294dc0e85cd77cd9ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d613ae0054b4567701857248ee69d22af94317a816122294dc0e85cd77cd9ab", kill_on_drop: false }` [INFO] [stdout] 9d613ae0054b4567701857248ee69d22af94317a816122294dc0e85cd77cd9ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bde0d0782823ffb2a072b5e5e31f8eaa78ae26f2b9f056efb4cd0e58fd329ea1 [INFO] running `Command { std: "docker" "start" "-a" "bde0d0782823ffb2a072b5e5e31f8eaa78ae26f2b9f056efb4cd0e58fd329ea1", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling bayes v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling simba v0.1.5 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.24s [INFO] running `Command { std: "docker" "inspect" "bde0d0782823ffb2a072b5e5e31f8eaa78ae26f2b9f056efb4cd0e58fd329ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bde0d0782823ffb2a072b5e5e31f8eaa78ae26f2b9f056efb4cd0e58fd329ea1", kill_on_drop: false }` [INFO] [stdout] bde0d0782823ffb2a072b5e5e31f8eaa78ae26f2b9f056efb4cd0e58fd329ea1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcf82536d70dee4f21778e390a357bfd9e9936ee6b7a4d2cbfa3562342471414 [INFO] running `Command { std: "docker" "start" "-a" "bcf82536d70dee4f21778e390a357bfd9e9936ee6b7a4d2cbfa3562342471414", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) 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] [stderr] Compiling bayes v0.0.1 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcHAQjdt/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libbayes-a6fdfc5447273594,libnalgebra-d843e44f9747da4c,libnum_rational-56d6aa2b94467ef4,libnum_integer-e58cbb3672c06b5a,libgeneric_array-43e63fa64ab847a4,libtypenum-b636c2b461885073,libsimba-e00af6277778f355,libpaste-8fa68bf18b2b9b24,libnum_complex-64079ce40b5e15aa,librand_distr-0317b531c22806a8,librand-f4a2d0e203ff0969,librand_chacha-2af28a5988287917,libppv_lite86-d40de8daa0db893c,libzerocopy-70610920d7f7fd24,librand_core-11a57345124995d7,libgetrandom-38061430ded5d536,liblibc-25276162e0b026ba,libcfg_if-666d36e5ee0df220,libmatrixmultiply-4a4b7026a6a016ee,librawpointer-a726d041f28ef5ec,libapprox-21f90bcdfbac99fe,libnum_traits-6770d34d96eb45d5,liblibm-ce6ce238ee049dec,libserde-801c00cdf11ea7f9}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgsl" "-lgslcblas" "-lm" "-lc" "-lm" "-lrt" "-lpthread" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcHAQjdt/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/mod-bd9f8ed875107496" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lgsl [INFO] [stdout] rust-lld: error: unable to find library -lgslcblas [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bayes` (test "mod") due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` (part of `#[warn(unused)]`) 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcPhf19g/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lgsl" "-lgslcblas" "-lm" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libnalgebra-d843e44f9747da4c,libnum_rational-56d6aa2b94467ef4,libnum_integer-e58cbb3672c06b5a,libgeneric_array-43e63fa64ab847a4,libtypenum-b636c2b461885073,libsimba-e00af6277778f355,libpaste-8fa68bf18b2b9b24,libnum_complex-64079ce40b5e15aa,librand_distr-0317b531c22806a8,librand-f4a2d0e203ff0969,librand_chacha-2af28a5988287917,libppv_lite86-d40de8daa0db893c,libzerocopy-70610920d7f7fd24,librand_core-11a57345124995d7,libgetrandom-38061430ded5d536,liblibc-25276162e0b026ba,libcfg_if-666d36e5ee0df220,libmatrixmultiply-4a4b7026a6a016ee,librawpointer-a726d041f28ef5ec,libapprox-21f90bcdfbac99fe,libnum_traits-6770d34d96eb45d5,liblibm-ce6ce238ee049dec,libserde-801c00cdf11ea7f9}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lc" "-lm" "-lrt" "-lpthread" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcPhf19g/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/bayes-10e691b6bb1631a4" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lgsl [INFO] [stdout] rust-lld: error: unable to find library -lgslcblas [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bayes` (lib test) due to 1 previous error; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bcf82536d70dee4f21778e390a357bfd9e9936ee6b7a4d2cbfa3562342471414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcf82536d70dee4f21778e390a357bfd9e9936ee6b7a4d2cbfa3562342471414", kill_on_drop: false }` [INFO] [stdout] bcf82536d70dee4f21778e390a357bfd9e9936ee6b7a4d2cbfa3562342471414