[INFO] fetching crate rstat 0.6.0... [INFO] testing rstat-0.6.0 against beta-2024-09-05 for beta-1.82-1 [INFO] extracting crate rstat 0.6.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rstat 0.6.0 on toolchain beta-2024-09-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rstat 0.6.0 [INFO] finished tweaking crates.io crate rstat 0.6.0 [INFO] tweaked toml for crates.io crate rstat 0.6.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-09-05" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 77 packages to latest compatible versions [INFO] [stderr] Adding approx v0.3.2 (latest: v0.5.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding blas-src v0.2.1 (latest: v0.10.0) [INFO] [stderr] Adding blas-src v0.6.1 (latest: v0.10.0) [INFO] [stderr] Adding cauchy v0.2.2 (latest: v0.4.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.15) [INFO] [stderr] Adding itertools v0.8.2 (latest: v0.13.0) [INFO] [stderr] Adding lapack-src v0.6.0 (latest: v0.10.0) [INFO] [stderr] Adding lapacke v0.2.0 (latest: v0.5.0) [INFO] [stderr] Adding matrixmultiply v0.2.4 (latest: v0.3.9) [INFO] [stderr] Adding ndarray v0.13.1 (latest: v0.16.1) [INFO] [stderr] Adding ndarray-linalg v0.12.1 (latest: v0.16.0) [INFO] [stderr] Adding num v0.2.1 (latest: v0.4.3) [INFO] [stderr] Adding num-bigint v0.2.6 (latest: v0.4.6) [INFO] [stderr] Adding num-complex v0.2.4 (latest: v0.4.6) [INFO] [stderr] Adding num-rational v0.2.4 (latest: v0.4.2) [INFO] [stderr] Adding rand v0.5.6 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_distr v0.2.2 (latest: v0.4.3) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding spaces v5.0.0 (latest: v6.0.0) [INFO] [stderr] Adding special-fun v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding synstructure v0.12.6 (latest: v0.13.1) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-09-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c09aad7dbe7e0da2eeab90b65f06a1af052757f12d3975871d726d0dc958cc7 [INFO] running `Command { std: "docker" "start" "-a" "0c09aad7dbe7e0da2eeab90b65f06a1af052757f12d3975871d726d0dc958cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c09aad7dbe7e0da2eeab90b65f06a1af052757f12d3975871d726d0dc958cc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c09aad7dbe7e0da2eeab90b65f06a1af052757f12d3975871d726d0dc958cc7", kill_on_drop: false }` [INFO] [stdout] 0c09aad7dbe7e0da2eeab90b65f06a1af052757f12d3975871d726d0dc958cc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5eebeda62f8420f4d8a59efcfa56a81fff423610cf8b0921ff3f2c5e19b5a952 [INFO] running `Command { std: "docker" "start" "-a" "5eebeda62f8420f4d8a59efcfa56a81fff423610cf8b0921ff3f2c5e19b5a952", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling gimli v0.31.0 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling object v0.36.4 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling special-fun v0.2.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling spaces v5.0.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling addr2line v0.24.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling rstat v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/univariate/rayleigh.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | const FOUR_MINUS_PI: f64 = (4.0 - PI); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - const FOUR_MINUS_PI: f64 = (4.0 - PI); [INFO] [stdout] 13 + const FOUR_MINUS_PI: f64 = 4.0 - PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi.rs:55:49 [INFO] [stdout] | [INFO] [stdout] 55 | let norm = 2.0f64.powf(ko2 - 1.0) * ko2.gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi.rs:65:43 [INFO] [stdout] | [INFO] [stdout] 65 | 2.0f64.sqrt() * ((k + 1.0) / 2.0).gamma() / (k / 2.0).gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi.rs:65:63 [INFO] [stdout] | [INFO] [stdout] 65 | 2.0f64.sqrt() * ((k + 1.0) / 2.0).gamma() / (k / 2.0).gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | ko2.gamma().ln() + (k - 2.0f64.ln() - (k - 1.0) * ko2.digamma()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi_sq.rs:48:64 [INFO] [stdout] | [INFO] [stdout] 48 | Probability::new_unchecked(ko2.gammainc(x / 2.0) / ko2.gamma()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi_sq.rs:64:43 [INFO] [stdout] | [INFO] [stdout] 64 | let norm = 2.0f64.powf(ko2) * ko2.gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi_sq.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | ko2 + (2.0 * ko2.gamma()).ln() + (1.0 - ko2) * ko2.digamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/f_dist.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | d1o2.gamma().ln() + d2o2.gamma().ln() - ((d1 + d2) / 2.0).gamma().ln() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/f_dist.rs:159:34 [INFO] [stdout] | [INFO] [stdout] 159 | d1o2.gamma().ln() + d2o2.gamma().ln() - ((d1 + d2) / 2.0).gamma().ln() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/f_dist.rs:159:67 [INFO] [stdout] | [INFO] [stdout] 159 | d1o2.gamma().ln() + d2o2.gamma().ln() - ((d1 + d2) / 2.0).gamma().ln() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:73:37 [INFO] [stdout] | [INFO] [stdout] 73 | (1.0 - 1.0 / alpha).gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:84:55 [INFO] [stdout] | [INFO] [stdout] 84 | let gamma_1m1oa = (1.0 - 1.0 / alpha).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:86:37 [INFO] [stdout] | [INFO] [stdout] 86 | (1.0 - 2.0 / alpha).gamma() - gamma_1m1oa * gamma_1m1oa [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:97:55 [INFO] [stdout] | [INFO] [stdout] 97 | let gamma_1m1oa = (1.0 - 1.0 / alpha).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:98:55 [INFO] [stdout] | [INFO] [stdout] 98 | let gamma_1m2oa = (1.0 - 2.0 / alpha).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:100:53 [INFO] [stdout] | [INFO] [stdout] 100 | let numerator = (1.0 - 3.0 / alpha).gamma() - 3.0 * gamma_1m2oa * gamma_1m1oa [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:118:55 [INFO] [stdout] | [INFO] [stdout] 118 | let gamma_1m1oa = (1.0 - 1.0 / alpha).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:119:55 [INFO] [stdout] | [INFO] [stdout] 119 | let gamma_1m2oa = (1.0 - 2.0 / alpha).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:121:53 [INFO] [stdout] | [INFO] [stdout] 121 | let numerator = (1.0 - 4.0 / alpha).gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:122:49 [INFO] [stdout] | [INFO] [stdout] 122 | - 4.0 * (1.0 - 3.0 / alpha).gamma() * gamma_1m1oa [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/gamma.rs:69:58 [INFO] [stdout] | [INFO] [stdout] 69 | Probability::new_unchecked(a.gammainc(b * x) / a.gamma()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/gamma.rs:85:58 [INFO] [stdout] | [INFO] [stdout] 85 | b.powf(a) * x.powf(a - 1.0) * (-b * x).exp() / a.gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/gamma.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | a - b.ln() + a.gamma().ln() + (1.0 - a) * a.digamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/gamma.rs:138:49 [INFO] [stdout] | [INFO] [stdout] 138 | t1 - n * (a * (1.0 / b).max(JITTER) + a.gamma().ln()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/gev.rs:44:65 [INFO] [stdout] | [INFO] [stdout] 44 | fn g_func(&self, k: f64) -> f64 { (1.0 - k * self.0.zeta.0).gamma() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/inverse_gamma.rs:54:69 [INFO] [stdout] | [INFO] [stdout] 54 | Probability::new_unchecked(alpha.gammainc(beta / x) / alpha.gamma()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/inverse_gamma.rs:66:77 [INFO] [stdout] | [INFO] [stdout] 66 | beta.powf(alpha) * x.powf(-alpha - 1.0) * (-beta / x).exp() / alpha.gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/inverse_gamma.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | alpha + (beta * alpha.gamma()).ln() - (1.0 + alpha) * alpha.digamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/student_t.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | 0.5 + x * np1o2.gamma() * hyp2f1 / (nu * PI).sqrt() * (nu / 2.0).gamma(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/student_t.rs:51:78 [INFO] [stdout] | [INFO] [stdout] 51 | 0.5 + x * np1o2.gamma() * hyp2f1 / (nu * PI).sqrt() * (nu / 2.0).gamma(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/student_t.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | let norm = np1o2.gamma() / (nu * PI).sqrt() / (nu / 2.0).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/student_t.rs:70:66 [INFO] [stdout] | [INFO] [stdout] 70 | let norm = np1o2.gamma() / (nu * PI).sqrt() / (nu / 2.0).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/student_t.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | np1o2 * (np1o2.gamma() - no2.gamma()) + (nu.sqrt() * (no2.beta(0.5))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/student_t.rs:136:38 [INFO] [stdout] | [INFO] [stdout] 136 | np1o2 * (np1o2.gamma() - no2.gamma()) + (nu.sqrt() * (no2.beta(0.5))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/weibull.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | (1.0 + num / self.0.k.0).gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factorial_exact` is never used [INFO] [stdout] --> src/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn factorial_exact(n: u64) -> u64 { (1..=n).product() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factorial` is never used [INFO] [stdout] --> src/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn factorial(n: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/multivariate/dirichlet.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | assert!(xs.len() == n, format!("Input `xs` must have length {}.", n)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 92 - assert!(xs.len() == n, format!("Input `xs` must have length {}.", n)); [INFO] [stdout] 92 + assert!(xs.len() == n, "Input `xs` must have length {}.", n); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.01s [INFO] running `Command { std: "docker" "inspect" "5eebeda62f8420f4d8a59efcfa56a81fff423610cf8b0921ff3f2c5e19b5a952", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eebeda62f8420f4d8a59efcfa56a81fff423610cf8b0921ff3f2c5e19b5a952", kill_on_drop: false }` [INFO] [stdout] 5eebeda62f8420f4d8a59efcfa56a81fff423610cf8b0921ff3f2c5e19b5a952 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c04a899cc06acd6e942276adb3016d67901ed57585f21c92afc76ff0d9b85eea [INFO] running `Command { std: "docker" "start" "-a" "c04a899cc06acd6e942276adb3016d67901ed57585f21c92afc76ff0d9b85eea", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/univariate/rayleigh.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | const FOUR_MINUS_PI: f64 = (4.0 - PI); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - const FOUR_MINUS_PI: f64 = (4.0 - PI); [INFO] [stdout] 13 + const FOUR_MINUS_PI: f64 = 4.0 - PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi.rs:55:49 [INFO] [stdout] | [INFO] [stdout] 55 | let norm = 2.0f64.powf(ko2 - 1.0) * ko2.gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi.rs:65:43 [INFO] [stdout] | [INFO] [stdout] 65 | 2.0f64.sqrt() * ((k + 1.0) / 2.0).gamma() / (k / 2.0).gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi.rs:65:63 [INFO] [stdout] | [INFO] [stdout] 65 | 2.0f64.sqrt() * ((k + 1.0) / 2.0).gamma() / (k / 2.0).gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | ko2.gamma().ln() + (k - 2.0f64.ln() - (k - 1.0) * ko2.digamma()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi_sq.rs:48:64 [INFO] [stdout] | [INFO] [stdout] 48 | Probability::new_unchecked(ko2.gammainc(x / 2.0) / ko2.gamma()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi_sq.rs:64:43 [INFO] [stdout] | [INFO] [stdout] 64 | let norm = 2.0f64.powf(ko2) * ko2.gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi_sq.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | ko2 + (2.0 * ko2.gamma()).ln() + (1.0 - ko2) * ko2.digamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/f_dist.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | d1o2.gamma().ln() + d2o2.gamma().ln() - ((d1 + d2) / 2.0).gamma().ln() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/f_dist.rs:159:34 [INFO] [stdout] | [INFO] [stdout] 159 | d1o2.gamma().ln() + d2o2.gamma().ln() - ((d1 + d2) / 2.0).gamma().ln() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/f_dist.rs:159:67 [INFO] [stdout] | [INFO] [stdout] 159 | d1o2.gamma().ln() + d2o2.gamma().ln() - ((d1 + d2) / 2.0).gamma().ln() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:73:37 [INFO] [stdout] | [INFO] [stdout] 73 | (1.0 - 1.0 / alpha).gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:84:55 [INFO] [stdout] | [INFO] [stdout] 84 | let gamma_1m1oa = (1.0 - 1.0 / alpha).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:86:37 [INFO] [stdout] | [INFO] [stdout] 86 | (1.0 - 2.0 / alpha).gamma() - gamma_1m1oa * gamma_1m1oa [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:97:55 [INFO] [stdout] | [INFO] [stdout] 97 | let gamma_1m1oa = (1.0 - 1.0 / alpha).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:98:55 [INFO] [stdout] | [INFO] [stdout] 98 | let gamma_1m2oa = (1.0 - 2.0 / alpha).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:100:53 [INFO] [stdout] | [INFO] [stdout] 100 | let numerator = (1.0 - 3.0 / alpha).gamma() - 3.0 * gamma_1m2oa * gamma_1m1oa [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:118:55 [INFO] [stdout] | [INFO] [stdout] 118 | let gamma_1m1oa = (1.0 - 1.0 / alpha).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:119:55 [INFO] [stdout] | [INFO] [stdout] 119 | let gamma_1m2oa = (1.0 - 2.0 / alpha).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:121:53 [INFO] [stdout] | [INFO] [stdout] 121 | let numerator = (1.0 - 4.0 / alpha).gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:122:49 [INFO] [stdout] | [INFO] [stdout] 122 | - 4.0 * (1.0 - 3.0 / alpha).gamma() * gamma_1m1oa [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/gamma.rs:69:58 [INFO] [stdout] | [INFO] [stdout] 69 | Probability::new_unchecked(a.gammainc(b * x) / a.gamma()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/gamma.rs:85:58 [INFO] [stdout] | [INFO] [stdout] 85 | b.powf(a) * x.powf(a - 1.0) * (-b * x).exp() / a.gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/gamma.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | a - b.ln() + a.gamma().ln() + (1.0 - a) * a.digamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/gamma.rs:138:49 [INFO] [stdout] | [INFO] [stdout] 138 | t1 - n * (a * (1.0 / b).max(JITTER) + a.gamma().ln()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/gev.rs:44:65 [INFO] [stdout] | [INFO] [stdout] 44 | fn g_func(&self, k: f64) -> f64 { (1.0 - k * self.0.zeta.0).gamma() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/inverse_gamma.rs:54:69 [INFO] [stdout] | [INFO] [stdout] 54 | Probability::new_unchecked(alpha.gammainc(beta / x) / alpha.gamma()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/inverse_gamma.rs:66:77 [INFO] [stdout] | [INFO] [stdout] 66 | beta.powf(alpha) * x.powf(-alpha - 1.0) * (-beta / x).exp() / alpha.gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/inverse_gamma.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | alpha + (beta * alpha.gamma()).ln() - (1.0 + alpha) * alpha.digamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/student_t.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | 0.5 + x * np1o2.gamma() * hyp2f1 / (nu * PI).sqrt() * (nu / 2.0).gamma(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/student_t.rs:51:78 [INFO] [stdout] | [INFO] [stdout] 51 | 0.5 + x * np1o2.gamma() * hyp2f1 / (nu * PI).sqrt() * (nu / 2.0).gamma(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/student_t.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | let norm = np1o2.gamma() / (nu * PI).sqrt() / (nu / 2.0).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/student_t.rs:70:66 [INFO] [stdout] | [INFO] [stdout] 70 | let norm = np1o2.gamma() / (nu * PI).sqrt() / (nu / 2.0).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/student_t.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | np1o2 * (np1o2.gamma() - no2.gamma()) + (nu.sqrt() * (no2.beta(0.5))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/student_t.rs:136:38 [INFO] [stdout] | [INFO] [stdout] 136 | np1o2 * (np1o2.gamma() - no2.gamma()) + (nu.sqrt() * (no2.beta(0.5))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/weibull.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | (1.0 + num / self.0.k.0).gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factorial_exact` is never used [INFO] [stdout] --> src/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn factorial_exact(n: u64) -> u64 { (1..=n).product() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factorial` is never used [INFO] [stdout] --> src/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn factorial(n: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/multivariate/dirichlet.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | assert!(xs.len() == n, format!("Input `xs` must have length {}.", n)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 92 - assert!(xs.len() == n, format!("Input `xs` must have length {}.", n)); [INFO] [stdout] 92 + assert!(xs.len() == n, "Input `xs` must have length {}.", n); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rstat v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/univariate/rayleigh.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | const FOUR_MINUS_PI: f64 = (4.0 - PI); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - const FOUR_MINUS_PI: f64 = (4.0 - PI); [INFO] [stdout] 13 + const FOUR_MINUS_PI: f64 = 4.0 - PI; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi.rs:55:49 [INFO] [stdout] | [INFO] [stdout] 55 | let norm = 2.0f64.powf(ko2 - 1.0) * ko2.gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi.rs:65:43 [INFO] [stdout] | [INFO] [stdout] 65 | 2.0f64.sqrt() * ((k + 1.0) / 2.0).gamma() / (k / 2.0).gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi.rs:65:63 [INFO] [stdout] | [INFO] [stdout] 65 | 2.0f64.sqrt() * ((k + 1.0) / 2.0).gamma() / (k / 2.0).gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | ko2.gamma().ln() + (k - 2.0f64.ln() - (k - 1.0) * ko2.digamma()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi_sq.rs:48:64 [INFO] [stdout] | [INFO] [stdout] 48 | Probability::new_unchecked(ko2.gammainc(x / 2.0) / ko2.gamma()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi_sq.rs:64:43 [INFO] [stdout] | [INFO] [stdout] 64 | let norm = 2.0f64.powf(ko2) * ko2.gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/chi_sq.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | ko2 + (2.0 * ko2.gamma()).ln() + (1.0 - ko2) * ko2.digamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/f_dist.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | d1o2.gamma().ln() + d2o2.gamma().ln() - ((d1 + d2) / 2.0).gamma().ln() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/f_dist.rs:159:34 [INFO] [stdout] | [INFO] [stdout] 159 | d1o2.gamma().ln() + d2o2.gamma().ln() - ((d1 + d2) / 2.0).gamma().ln() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/f_dist.rs:159:67 [INFO] [stdout] | [INFO] [stdout] 159 | d1o2.gamma().ln() + d2o2.gamma().ln() - ((d1 + d2) / 2.0).gamma().ln() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:73:37 [INFO] [stdout] | [INFO] [stdout] 73 | (1.0 - 1.0 / alpha).gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:84:55 [INFO] [stdout] | [INFO] [stdout] 84 | let gamma_1m1oa = (1.0 - 1.0 / alpha).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:86:37 [INFO] [stdout] | [INFO] [stdout] 86 | (1.0 - 2.0 / alpha).gamma() - gamma_1m1oa * gamma_1m1oa [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:97:55 [INFO] [stdout] | [INFO] [stdout] 97 | let gamma_1m1oa = (1.0 - 1.0 / alpha).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:98:55 [INFO] [stdout] | [INFO] [stdout] 98 | let gamma_1m2oa = (1.0 - 2.0 / alpha).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:100:53 [INFO] [stdout] | [INFO] [stdout] 100 | let numerator = (1.0 - 3.0 / alpha).gamma() - 3.0 * gamma_1m2oa * gamma_1m1oa [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:118:55 [INFO] [stdout] | [INFO] [stdout] 118 | let gamma_1m1oa = (1.0 - 1.0 / alpha).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:119:55 [INFO] [stdout] | [INFO] [stdout] 119 | let gamma_1m2oa = (1.0 - 2.0 / alpha).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:121:53 [INFO] [stdout] | [INFO] [stdout] 121 | let numerator = (1.0 - 4.0 / alpha).gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/frechet.rs:122:49 [INFO] [stdout] | [INFO] [stdout] 122 | - 4.0 * (1.0 - 3.0 / alpha).gamma() * gamma_1m1oa [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/gamma.rs:69:58 [INFO] [stdout] | [INFO] [stdout] 69 | Probability::new_unchecked(a.gammainc(b * x) / a.gamma()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/gamma.rs:85:58 [INFO] [stdout] | [INFO] [stdout] 85 | b.powf(a) * x.powf(a - 1.0) * (-b * x).exp() / a.gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/gamma.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | a - b.ln() + a.gamma().ln() + (1.0 - a) * a.digamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/gamma.rs:138:49 [INFO] [stdout] | [INFO] [stdout] 138 | t1 - n * (a * (1.0 / b).max(JITTER) + a.gamma().ln()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/gev.rs:44:65 [INFO] [stdout] | [INFO] [stdout] 44 | fn g_func(&self, k: f64) -> f64 { (1.0 - k * self.0.zeta.0).gamma() } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/inverse_gamma.rs:54:69 [INFO] [stdout] | [INFO] [stdout] 54 | Probability::new_unchecked(alpha.gammainc(beta / x) / alpha.gamma()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/inverse_gamma.rs:66:77 [INFO] [stdout] | [INFO] [stdout] 66 | beta.powf(alpha) * x.powf(-alpha - 1.0) * (-beta / x).exp() / alpha.gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/inverse_gamma.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | alpha + (beta * alpha.gamma()).ln() - (1.0 + alpha) * alpha.digamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/student_t.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | 0.5 + x * np1o2.gamma() * hyp2f1 / (nu * PI).sqrt() * (nu / 2.0).gamma(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/student_t.rs:51:78 [INFO] [stdout] | [INFO] [stdout] 51 | 0.5 + x * np1o2.gamma() * hyp2f1 / (nu * PI).sqrt() * (nu / 2.0).gamma(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/student_t.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | let norm = np1o2.gamma() / (nu * PI).sqrt() / (nu / 2.0).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/student_t.rs:70:66 [INFO] [stdout] | [INFO] [stdout] 70 | let norm = np1o2.gamma() / (nu * PI).sqrt() / (nu / 2.0).gamma(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/student_t.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | np1o2 * (np1o2.gamma() - no2.gamma()) + (nu.sqrt() * (no2.beta(0.5))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/student_t.rs:136:38 [INFO] [stdout] | [INFO] [stdout] 136 | np1o2 * (np1o2.gamma() - no2.gamma()) + (nu.sqrt() * (no2.beta(0.5))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/univariate/weibull.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | (1.0 + num / self.0.k.0).gamma() [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factorial_exact` is never used [INFO] [stdout] --> src/utils.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn factorial_exact(n: u64) -> u64 { (1..=n).product() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `factorial` is never used [INFO] [stdout] --> src/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn factorial(n: u64) -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/multivariate/dirichlet.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 92 | assert!(xs.len() == n, format!("Input `xs` must have length {}.", n)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 92 - assert!(xs.len() == n, format!("Input `xs` must have length {}.", n)); [INFO] [stdout] 92 + assert!(xs.len() == n, "Input `xs` must have length {}.", n); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.40s [INFO] running `Command { std: "docker" "inspect" "c04a899cc06acd6e942276adb3016d67901ed57585f21c92afc76ff0d9b85eea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c04a899cc06acd6e942276adb3016d67901ed57585f21c92afc76ff0d9b85eea", kill_on_drop: false }` [INFO] [stdout] c04a899cc06acd6e942276adb3016d67901ed57585f21c92afc76ff0d9b85eea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d914c02299be394320411396530286b6ccee8f39457373430f68edce8568f2b3 [INFO] running `Command { std: "docker" "start" "-a" "d914c02299be394320411396530286b6ccee8f39457373430f68edce8568f2b3", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/univariate/rayleigh.rs:13:28 [INFO] [stderr] | [INFO] [stderr] 13 | const FOUR_MINUS_PI: f64 = (4.0 - PI); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 13 - const FOUR_MINUS_PI: f64 = (4.0 - PI); [INFO] [stderr] 13 + const FOUR_MINUS_PI: f64 = 4.0 - PI; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/chi.rs:55:49 [INFO] [stderr] | [INFO] [stderr] 55 | let norm = 2.0f64.powf(ko2 - 1.0) * ko2.gamma(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/chi.rs:65:43 [INFO] [stderr] | [INFO] [stderr] 65 | 2.0f64.sqrt() * ((k + 1.0) / 2.0).gamma() / (k / 2.0).gamma() [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/chi.rs:65:63 [INFO] [stderr] | [INFO] [stderr] 65 | 2.0f64.sqrt() * ((k + 1.0) / 2.0).gamma() / (k / 2.0).gamma() [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/chi.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 119 | ko2.gamma().ln() + (k - 2.0f64.ln() - (k - 1.0) * ko2.digamma()) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/chi_sq.rs:48:64 [INFO] [stderr] | [INFO] [stderr] 48 | Probability::new_unchecked(ko2.gammainc(x / 2.0) / ko2.gamma()) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/chi_sq.rs:64:43 [INFO] [stderr] | [INFO] [stderr] 64 | let norm = 2.0f64.powf(ko2) * ko2.gamma(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/chi_sq.rs:99:26 [INFO] [stderr] | [INFO] [stderr] 99 | ko2 + (2.0 * ko2.gamma()).ln() + (1.0 - ko2) * ko2.digamma() [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/f_dist.rs:159:14 [INFO] [stderr] | [INFO] [stderr] 159 | d1o2.gamma().ln() + d2o2.gamma().ln() - ((d1 + d2) / 2.0).gamma().ln() [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/f_dist.rs:159:34 [INFO] [stderr] | [INFO] [stderr] 159 | d1o2.gamma().ln() + d2o2.gamma().ln() - ((d1 + d2) / 2.0).gamma().ln() [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/f_dist.rs:159:67 [INFO] [stderr] | [INFO] [stderr] 159 | d1o2.gamma().ln() + d2o2.gamma().ln() - ((d1 + d2) / 2.0).gamma().ln() [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/frechet.rs:73:37 [INFO] [stderr] | [INFO] [stderr] 73 | (1.0 - 1.0 / alpha).gamma() [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/frechet.rs:84:55 [INFO] [stderr] | [INFO] [stderr] 84 | let gamma_1m1oa = (1.0 - 1.0 / alpha).gamma(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/frechet.rs:86:37 [INFO] [stderr] | [INFO] [stderr] 86 | (1.0 - 2.0 / alpha).gamma() - gamma_1m1oa * gamma_1m1oa [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/frechet.rs:97:55 [INFO] [stderr] | [INFO] [stderr] 97 | let gamma_1m1oa = (1.0 - 1.0 / alpha).gamma(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/frechet.rs:98:55 [INFO] [stderr] | [INFO] [stderr] 98 | let gamma_1m2oa = (1.0 - 2.0 / alpha).gamma(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/frechet.rs:100:53 [INFO] [stderr] | [INFO] [stderr] 100 | let numerator = (1.0 - 3.0 / alpha).gamma() - 3.0 * gamma_1m2oa * gamma_1m1oa [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/frechet.rs:118:55 [INFO] [stderr] | [INFO] [stderr] 118 | let gamma_1m1oa = (1.0 - 1.0 / alpha).gamma(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/frechet.rs:119:55 [INFO] [stderr] | [INFO] [stderr] 119 | let gamma_1m2oa = (1.0 - 2.0 / alpha).gamma(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/frechet.rs:121:53 [INFO] [stderr] | [INFO] [stderr] 121 | let numerator = (1.0 - 4.0 / alpha).gamma() [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/frechet.rs:122:49 [INFO] [stderr] | [INFO] [stderr] 122 | - 4.0 * (1.0 - 3.0 / alpha).gamma() * gamma_1m1oa [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/gamma.rs:69:58 [INFO] [stderr] | [INFO] [stderr] 69 | Probability::new_unchecked(a.gammainc(b * x) / a.gamma()) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/gamma.rs:85:58 [INFO] [stderr] | [INFO] [stderr] 85 | b.powf(a) * x.powf(a - 1.0) * (-b * x).exp() / a.gamma() [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/gamma.rs:120:24 [INFO] [stderr] | [INFO] [stderr] 120 | a - b.ln() + a.gamma().ln() + (1.0 - a) * a.digamma() [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/gamma.rs:138:49 [INFO] [stderr] | [INFO] [stderr] 138 | t1 - n * (a * (1.0 / b).max(JITTER) + a.gamma().ln()) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/gev.rs:44:65 [INFO] [stderr] | [INFO] [stderr] 44 | fn g_func(&self, k: f64) -> f64 { (1.0 - k * self.0.zeta.0).gamma() } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/inverse_gamma.rs:54:69 [INFO] [stderr] | [INFO] [stderr] 54 | Probability::new_unchecked(alpha.gammainc(beta / x) / alpha.gamma()) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/inverse_gamma.rs:66:77 [INFO] [stderr] | [INFO] [stderr] 66 | beta.powf(alpha) * x.powf(-alpha - 1.0) * (-beta / x).exp() / alpha.gamma() [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/inverse_gamma.rs:119:31 [INFO] [stderr] | [INFO] [stderr] 119 | alpha + (beta * alpha.gamma()).ln() - (1.0 + alpha) * alpha.digamma() [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/student_t.rs:51:29 [INFO] [stderr] | [INFO] [stderr] 51 | 0.5 + x * np1o2.gamma() * hyp2f1 / (nu * PI).sqrt() * (nu / 2.0).gamma(), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/student_t.rs:51:78 [INFO] [stderr] | [INFO] [stderr] 51 | 0.5 + x * np1o2.gamma() * hyp2f1 / (nu * PI).sqrt() * (nu / 2.0).gamma(), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/student_t.rs:70:26 [INFO] [stderr] | [INFO] [stderr] 70 | let norm = np1o2.gamma() / (nu * PI).sqrt() / (nu / 2.0).gamma(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/student_t.rs:70:66 [INFO] [stderr] | [INFO] [stderr] 70 | let norm = np1o2.gamma() / (nu * PI).sqrt() / (nu / 2.0).gamma(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/student_t.rs:136:24 [INFO] [stderr] | [INFO] [stderr] 136 | np1o2 * (np1o2.gamma() - no2.gamma()) + (nu.sqrt() * (no2.beta(0.5))) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/student_t.rs:136:38 [INFO] [stderr] | [INFO] [stderr] 136 | np1o2 * (np1o2.gamma() - no2.gamma()) + (nu.sqrt() * (no2.beta(0.5))) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: a method with this name may be added to the standard library in the future [INFO] [stderr] --> src/univariate/weibull.rs:34:34 [INFO] [stderr] | [INFO] [stderr] 34 | (1.0 + num / self.0.k.0).gamma() [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `special_fun::FloatSpecial::gamma(...)` to keep using the current method [INFO] [stderr] [INFO] [stderr] warning: function `factorial_exact` is never used [INFO] [stderr] --> src/utils.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn factorial_exact(n: u64) -> u64 { (1..=n).product() } [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `factorial` is never used [INFO] [stderr] --> src/utils.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn factorial(n: u64) -> u64 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/multivariate/dirichlet.rs:92:32 [INFO] [stderr] | [INFO] [stderr] 92 | assert!(xs.len() == n, format!("Input `xs` must have length {}.", n)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 92 - assert!(xs.len() == n, format!("Input `xs` must have length {}.", n)); [INFO] [stderr] 92 + assert!(xs.len() == n, "Input `xs` must have length {}.", n); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rstat` (lib) generated 39 warnings (run `cargo fix --lib -p rstat` to apply 2 suggestions) [INFO] [stderr] warning: `rstat` (lib test) generated 39 warnings (39 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rstat-7fb41687a8e7c21e) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test linalg::tests::test_choleksy ... ok [INFO] [stdout] test mixture::tests::test_uniform_pair_mixture ... ok [INFO] [stdout] test normal::multivariate::tests::test_pdf ... ok [INFO] [stdout] test linalg::tests::test_inverse_lt ... ok [INFO] [stdout] test params::constraints::tests::test_non_negative ... ok [INFO] [stdout] test probability::tests::test_sample_index_degenerate ... ok [INFO] [stdout] test univariate::arcsine::tests::test_mean ... ok [INFO] [stdout] test probability::tests::test_sample_index_degenerate_n ... ok [INFO] [stdout] test univariate::arcsine::tests::test_median ... ok [INFO] [stdout] test univariate::arcsine::tests::test_mode ... ok [INFO] [stdout] test univariate::arcsine::tests::test_skewness ... ok [INFO] [stdout] test univariate::arcsine::tests::test_variance ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rstat [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/univariate/rayleigh.rs:13:28 [INFO] [stderr] | [INFO] [stderr] 13 | const FOUR_MINUS_PI: f64 = (4.0 - PI); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 13 - const FOUR_MINUS_PI: f64 = (4.0 - PI); [INFO] [stderr] 13 + const FOUR_MINUS_PI: f64 = 4.0 - PI; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test src/lib.rs - Distribution::params (line 102) ... ok [INFO] [stdout] test src/normal/multivariate.rs - normal::multivariate::IsotropicNormal::standard_unchecked (line 593) ... ok [INFO] [stdout] test src/lib.rs - ContinuousDistribution::pdf (line 237) ... ok [INFO] [stdout] test src/normal/multivariate.rs - normal::multivariate::IsotropicNormal::homogeneous (line 541) ... ok [INFO] [stdout] test src/normal/multivariate.rs - normal::multivariate::IsotropicNormal::standard (line 575) ... ok [INFO] [stdout] test src/lib.rs - Distribution::support (line 84) ... ok [INFO] [stdout] test src/normal/multivariate.rs - normal::multivariate::IsotropicNormal::isotropic (line 497) ... ok [INFO] [stdout] test src/lib.rs - Distribution::cdf (line 122) ... ok [INFO] [stdout] test src/normal/multivariate.rs - normal::multivariate::DiagonalNormal::diagonal_unchecked (line 344) ... ok [INFO] [stdout] test src/lib.rs - DiscreteDistribution::pmf (line 200) ... ok [INFO] [stdout] test src/normal/multivariate.rs - normal::multivariate::IsotropicNormal::isotropic_unchecked (line 515) ... ok [INFO] [stdout] test src/normal/multivariate.rs - normal::multivariate::IsotropicNormal::homogeneous_unchecked (line 559) ... ok [INFO] [stdout] test src/normal/multivariate.rs - normal::multivariate::DiagonalNormal::diagonal (line 319) ... ok [INFO] [stdout] test src/normal/multivariate.rs - normal::multivariate::MvNormal>::new (line 105) ... ok [INFO] [stdout] test src/mixture.rs - mixture::Mixture (line 33) ... ok [INFO] [stdout] test src/lib.rs - Convolution::convolve (line 273) ... ok [INFO] [stdout] test src/normal/multivariate.rs - normal::multivariate::MvNormal>::new_unchecked (line 131) ... ok [INFO] [stdout] test src/probability.rs - probability::Probability::is_valid (line 80) ... ok [INFO] [stdout] test src/params/mod.rs - params::Param::value (line 18) ... ok [INFO] [stdout] test src/probability.rs - probability::Probability::ln (line 91) ... ok [INFO] [stdout] test src/probability.rs - probability::Probability::log2 (line 101) ... ok [INFO] [stdout] test src/probability.rs - probability::Probability::powf (line 111) ... ok [INFO] [stdout] test src/probability.rs - probability::Probability::new (line 35) ... ok [INFO] [stdout] test src/probability.rs - probability::Probability::powi (line 121) ... ok [INFO] [stdout] test src/probability.rs - probability::Probability::unwrap (line 70) ... ok [INFO] [stdout] test src/probability.rs - probability::UnitSimplex::centre (line 325) ... ok [INFO] [stdout] test src/probability.rs - probability::UnitSimplex::sample (line 351) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.26s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d914c02299be394320411396530286b6ccee8f39457373430f68edce8568f2b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d914c02299be394320411396530286b6ccee8f39457373430f68edce8568f2b3", kill_on_drop: false }` [INFO] [stdout] d914c02299be394320411396530286b6ccee8f39457373430f68edce8568f2b3