[INFO] fetching crate bayes 0.0.1... [INFO] testing bayes-0.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bayes 0.0.1 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bayes 0.0.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 38 packages to latest compatible versions [INFO] [stderr] Adding nalgebra v0.21.1 (available: v0.33.2) [INFO] [stderr] Adding petgraph v0.5.1 (available: v0.8.2) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.1) [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f80815ab58a3228ca888868f38161c28cb9d7ed96838b049b21dc5a0294e8411 [INFO] running `Command { std: "docker" "start" "-a" "f80815ab58a3228ca888868f38161c28cb9d7ed96838b049b21dc5a0294e8411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f80815ab58a3228ca888868f38161c28cb9d7ed96838b049b21dc5a0294e8411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f80815ab58a3228ca888868f38161c28cb9d7ed96838b049b21dc5a0294e8411", kill_on_drop: false }` [INFO] [stdout] f80815ab58a3228ca888868f38161c28cb9d7ed96838b049b21dc5a0294e8411 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a64684aaaa27af96cdba962d3c5c5b9ff5bf0a443c89cbbdf888f4fdb744dbde [INFO] running `Command { std: "docker" "start" "-a" "a64684aaaa27af96cdba962d3c5c5b9ff5bf0a443c89cbbdf888f4fdb744dbde", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling bayes v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling generic-array v0.13.3 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling serde_derive 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)]` 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 93 | fn windows(&self, win_sz : (usize, usize)) -> PatchIterator<'_, N, S, U1, U1>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 103 | fn chunks(&self, sz : (usize, usize)) -> PatchIterator<'_, N, S, Dynamic, Dynamic>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/basis/frequency/conv/iter.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 143 | sz : (usize, usize) [INFO] [stdout] 144 | ) -> PatchIterator { [INFO] [stdout] | --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | ) -> PatchIterator<'_, N, S, U1, U1> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/basis/frequency/conv/iter.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 170 | sz : (usize, usize) [INFO] [stdout] 171 | ) -> PatchIterator { [INFO] [stdout] | ------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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 40.64s [INFO] running `Command { std: "docker" "inspect" "a64684aaaa27af96cdba962d3c5c5b9ff5bf0a443c89cbbdf888f4fdb744dbde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a64684aaaa27af96cdba962d3c5c5b9ff5bf0a443c89cbbdf888f4fdb744dbde", kill_on_drop: false }` [INFO] [stdout] a64684aaaa27af96cdba962d3c5c5b9ff5bf0a443c89cbbdf888f4fdb744dbde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 85e1bd2d6d7f93f9cd098114049d6cb9f8c0f558c3b67da4f8e6b87fcfffe101 [INFO] running `Command { std: "docker" "start" "-a" "85e1bd2d6d7f93f9cd098114049d6cb9f8c0f558c3b67da4f8e6b87fcfffe101", 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)]` 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 93 | fn windows(&self, win_sz : (usize, usize)) -> PatchIterator<'_, N, S, U1, U1>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 103 | fn chunks(&self, sz : (usize, usize)) -> PatchIterator<'_, N, S, Dynamic, Dynamic>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/basis/frequency/conv/iter.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 143 | sz : (usize, usize) [INFO] [stdout] 144 | ) -> PatchIterator { [INFO] [stdout] | --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | ) -> PatchIterator<'_, N, S, U1, U1> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/basis/frequency/conv/iter.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 170 | sz : (usize, usize) [INFO] [stdout] 171 | ) -> PatchIterator { [INFO] [stdout] | ------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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] Compiling bayes v0.0.1 (/opt/rustwide/workdir) [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] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcC5UsOf/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libbayes-4e40c3ffbd744a9f.rlib}.rlib" "-lgsl" "-lgslcblas" "-lm" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libnalgebra-32b83d3e315aec58.rlib,libnum_rational-eb0cc5786dd81c7a.rlib,libnum_integer-d15f6a3d1f0d4520.rlib,libgeneric_array-784612b2efebcedb.rlib,libtypenum-946f014670f06d4a.rlib,libsimba-78a20a97e048d379.rlib,libpaste-6b1c41483e389aeb.rlib,libnum_complex-de758e460fafdbfa.rlib,librand_distr-bcb07b3956d239e5.rlib,librand-da1625b6c181cfb8.rlib,librand_chacha-bdced27dd35012f2.rlib,libppv_lite86-989f981f78363571.rlib,libzerocopy-cb6604b278eb5d7e.rlib,librand_core-3cacfbe5e0649eaf.rlib,libgetrandom-cadaa9d3a21aea6f.rlib,liblibc-3162cff3553113a6.rlib,libcfg_if-bfc6e2941b0f95e3.rlib,libmatrixmultiply-9744099092c83182.rlib,librawpointer-ee8696fe85e6dce4.rlib,libapprox-4befb8210c40afe9.rlib,libnum_traits-13de0e13ecb0c0bf.rlib,liblibm-c75a9b355d312f74.rlib,libserde-4403c8b52cd8f575.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcC5UsOf/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/mod-5425cbeb5c0810e4" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lgsl: No such file or directory [INFO] [stdout] /usr/bin/ld: cannot find -lgslcblas: No such file or directory [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)]` 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 93 | fn windows(&self, win_sz : (usize, usize)) -> PatchIterator<'_, N, S, U1, U1>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 103 | fn chunks(&self, sz : (usize, usize)) -> PatchIterator<'_, N, S, Dynamic, Dynamic>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/basis/frequency/conv/iter.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 143 | sz : (usize, usize) [INFO] [stdout] 144 | ) -> PatchIterator { [INFO] [stdout] | --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | ) -> PatchIterator<'_, N, S, U1, U1> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/basis/frequency/conv/iter.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 170 | sz : (usize, usize) [INFO] [stdout] 171 | ) -> PatchIterator { [INFO] [stdout] | ------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustc809A4x/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lgsl" "-lgslcblas" "-lm" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libnalgebra-32b83d3e315aec58.rlib,libnum_rational-eb0cc5786dd81c7a.rlib,libnum_integer-d15f6a3d1f0d4520.rlib,libgeneric_array-784612b2efebcedb.rlib,libtypenum-946f014670f06d4a.rlib,libsimba-78a20a97e048d379.rlib,libpaste-6b1c41483e389aeb.rlib,libnum_complex-de758e460fafdbfa.rlib,librand_distr-bcb07b3956d239e5.rlib,librand-da1625b6c181cfb8.rlib,librand_chacha-bdced27dd35012f2.rlib,libppv_lite86-989f981f78363571.rlib,libzerocopy-cb6604b278eb5d7e.rlib,librand_core-3cacfbe5e0649eaf.rlib,libgetrandom-cadaa9d3a21aea6f.rlib,liblibc-3162cff3553113a6.rlib,libcfg_if-bfc6e2941b0f95e3.rlib,libmatrixmultiply-9744099092c83182.rlib,librawpointer-ee8696fe85e6dce4.rlib,libapprox-4befb8210c40afe9.rlib,libnum_traits-13de0e13ecb0c0bf.rlib,liblibm-c75a9b355d312f74.rlib,libserde-4403c8b52cd8f575.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustc809A4x/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/bayes-54afa338200a0aa2" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: cannot find -lgsl: No such file or directory [INFO] [stdout] /usr/bin/ld: cannot find -lgslcblas: No such file or directory [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" "85e1bd2d6d7f93f9cd098114049d6cb9f8c0f558c3b67da4f8e6b87fcfffe101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85e1bd2d6d7f93f9cd098114049d6cb9f8c0f558c3b67da4f8e6b87fcfffe101", kill_on_drop: false }` [INFO] [stdout] 85e1bd2d6d7f93f9cd098114049d6cb9f8c0f558c3b67da4f8e6b87fcfffe101